Searched refs:leafName (Results 1 - 8 of 8) sorted by relevance

/haiku-fatelf/src/tests/kits/storage/
H A DPathTest.cpp198 const char *leafName = "boot"; local
200 BPath path(pathName, leafName);
208 const char *leafName = "home/Desktop"; local
210 BPath path(pathName, leafName);
218 const char *leafName = "but/who/cares"; local
220 BPath path(pathName, leafName);
228 const char *leafName = "."; local
230 BPath path(pathName, leafName);
238 const char *leafName = "home/.."; local
240 BPath path(pathName, leafName);
248 const char *leafName = "but//who/cares"; local
257 const char *leafName = "but/who/cares"; local
267 const char *leafName = "home"; local
278 const char *leafName = "but/who/cares"; local
288 const char *leafName = "Desktop//"; local
298 const char *leafName = "/boot"; local
359 const char *leafName = "boot"; local
370 const char *leafName = "home/Desktop"; local
381 const char *leafName = "home/.."; local
392 const char *leafName = "/boot"; local
533 const char *leafName; local
[all...]
/haiku-fatelf/src/build/libbe/storage/
H A DEntry.cpp568 char leafName[B_FILE_NAME_LENGTH]; local
569 int parentFD = _kern_open_parent_dir(fDirFd, leafName, B_FILE_NAME_LENGTH);
579 entry->fCStatus = entry->set_name(leafName);
877 char leafName[B_FILE_NAME_LENGTH]; local
891 int parentFD = _kern_open_parent_dir(dirFD, leafName,
907 parentFD = _kern_open_parent_dir(dirFD, leafName,
918 leafName);
922 if (leafName[0] == '\0' && dirPath[0] == '/')
923 strcpy(leafName, ".");
924 if (leafName[
[all...]
/haiku-fatelf/src/kits/storage/
H A DEntry.cpp324 char leafName[B_FILE_NAME_LENGTH]; local
325 int parentFD = _kern_open_parent_dir(fDirFd, leafName, B_FILE_NAME_LENGTH);
335 entry->fCStatus = entry->_SetName(leafName);
522 char leafName[B_FILE_NAME_LENGTH]; local
536 int parentFD = _kern_open_parent_dir(dirFD, leafName,
552 parentFD = _kern_open_parent_dir(dirFD, leafName,
563 leafName);
567 if (leafName[0] == '\0' && dirPath[0] == '/')
568 strcpy(leafName, ".");
569 if (leafName[
[all...]
/haiku-fatelf/src/apps/mail/
H A DMailApp.cpp521 BString leafName; local
529 leafName.SetTo(dataPath.Leaf());
530 leafName.Append(kMetaphone);
531 indexPath.Append(leafName.String());
535 leafName.SetTo(dataPath.Leaf());
536 leafName.Append(kExact);
537 indexPath.Append(leafName.String());
556 leafName.SetTo(dataPath.Leaf());
557 leafName.Append(kMetaphone);
558 indexPath.Append(leafName
[all...]
/haiku-fatelf/src/build/libroot/
H A Dfs.cpp310 const char *leafName = NULL; local
315 leafName = lastSlash + 1;
316 if (leafName[0] == '\0') {
318 leafName = NULL;
320 dirPathString = string(path, leafName - path);
327 leafName = path;
331 if (!leafName || strcmp(leafName, ".") == 0 || strcmp(leafName, "..") == 0)
342 normalizedPath += leafName;
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dxcp.cpp1221 char leafName[B_FILE_NAME_LENGTH]; local
1222 error = get_last_path_component(source, leafName, sizeof(leafName));
1229 if (strcmp(leafName, ".") == 0 || strcmp(leafName, "..") == 0) {
1249 "it's last path component is `%s'\n", source, leafName);
1260 char *targetEntry = make_path(target, leafName);
/haiku-fatelf/src/tools/fs_shell/
H A Dcommand_cp.cpp1395 char leafName[FSSH_B_FILE_NAME_LENGTH]; local
1396 error = get_last_path_component(source, leafName, sizeof(leafName));
1403 if (strcmp(leafName, ".") == 0 || strcmp(leafName, "..") == 0) {
1425 leafName);
1436 char *targetEntry = make_path(target, leafName);
/haiku-fatelf/src/kits/tracker/
H A DFSUtils.cpp2990 char leafName[B_FILE_NAME_LENGTH]; local
2991 originalEntry.GetName(leafName);
2992 if (entry.MoveTo(&dir, leafName) == B_OK) {

Completed in 82 milliseconds