Searched refs:normalizedPath (Results 1 - 9 of 9) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackagesDirectory.cpp122 KPath normalizedPath; local
123 if (normalizedPath.InitCheck() != B_OK)
124 RETURN_ERROR(normalizedPath.InitCheck());
126 char* normalizedPathBuffer = normalizedPath.LockBuffer();
128 true, normalizedPathBuffer, normalizedPath.BufferSize());
/haiku/src/bin/
H A Dsetarch.cpp103 BPath normalizedPath; local
104 if (normalizedPath.SetTo(path, NULL, true) == B_OK)
105 path = normalizedPath.Path();
H A Dramdisk.cpp198 BPath normalizedPath;
199 error = entry.GetPath(&normalizedPath);
206 if (strlcpy(request.path, normalizedPath.Path(), sizeof(request.path))
/haiku/src/kits/network/libnetservices/
H A DNetworkCookie.cpp505 BString normalizedPath = path; local
506 int slashPos = normalizedPath.FindLast('/');
507 if (slashPos != normalizedPath.Length() - 1)
508 normalizedPath.Truncate(slashPos + 1);
510 if (normalizedPath.Length() < cookiePath.Length())
514 return normalizedPath.Compare(cookiePath, cookiePath.Length()) == 0;
564 BString normalizedPath = path; local
565 int slashPos = normalizedPath.FindLast('/');
566 normalizedPath.Truncate(slashPos);
568 if (Path().Compare(normalizedPath, normalizedPat
[all...]
/haiku/src/build/libroot/
H A Dfs.cpp259 normalize_dir_path(const char *path, string &normalizedPath) argument
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) argument
450 string normalizedPath; local
677 string normalizedPath; local
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A DKPath.cpp428 BPath normalizedPath; local
429 status_t error = normalizedPath.SetTo(path, NULL, true);
436 strlcpy(fBuffer, normalizedPath.Path(), fBufferSize);
/haiku/src/kits/debugger/files/
H A DFileManager.cpp400 BString normalizedPath; local
401 char* buffer = normalizedPath.LockBuffer(path.Length());
444 normalizedPath.UnlockBuffer(outIndex);
445 _normalizedPath = normalizedPath;
/haiku/src/kits/storage/
H A DPathMonitor.cpp780 BString normalizedPath; local
782 normalizedPath = "/";
785 normalizedPath = BPath(".").Path();
786 if (normalizedPath.IsEmpty()) {
817 int32 normalizedPathLength = normalizedPath.Length();
818 if (normalizedPath.ByteAt(normalizedPathLength - 1) != '/') {
819 normalizedPath << '/';
822 normalizedPath.Append(path, componentEnd - path);
825 if (normalizedPath.Length() != normalizedPathLength) {
833 fPath = normalizedPath;
[all...]
/haiku/src/system/libroot/os/
H A Dfind_paths.cpp310 char normalizedPath[B_PATH_NAME_LENGTH]; local
311 error = _kern_normalize_path(path, true, normalizedPath);

Completed in 381 milliseconds