Lines Matching refs:normalizedPath
259 normalize_dir_path(const char *path, string &normalizedPath)
269 normalizedPath = pwd;
281 string::size_type pos = normalizedPath.rfind('/');
283 normalizedPath.resize(pos);
289 if (normalizedPath.length() != 1)
290 normalizedPath += '/';
292 normalizedPath.append(ptr, len);
295 if (normalizedPath.length() == 0)
296 normalizedPath += '/';
304 normalize_entry_path(const char *path, string &normalizedPath)
328 return normalize_dir_path(path, normalizedPath);
331 status_t error = normalize_dir_path(dirPath, normalizedPath);
336 if (normalizedPath.length() > 1) // don't append "/", if parent is root
337 normalizedPath += '/';
338 normalizedPath += leafName;
450 string normalizedPath;
451 if (normalize_dir_path(path, normalizedPath) == B_OK)
452 sDirPathMap[ref] = normalizedPath;
677 string normalizedPath;
678 status_t error = normalize_entry_path(path, normalizedPath);
682 descriptor = new SymlinkDescriptor(normalizedPath.c_str());