/haiku/src/apps/haikudepot/model/ |
H A D | PackageIconTarRepository.cpp | 42 status_t _LeafNameToBitmapSize(BString& leafName, 88 BString leafName; local 90 fileName.CopyInto(leafName, secondSlashIdx + 1, 94 if (_LeafNameToBitmapSize(leafName, &bitmapSize) == B_OK) { 104 IconTarPtrEntryListener::_LeafNameToBitmapSize(BString& leafName, argument 107 if (leafName == "icon.hvif") { 111 if (leafName == "64.png") { 115 if (leafName == "32.png") { 119 if (leafName == "16.png") {
|
/haiku/src/tests/kits/storage/ |
H A D | PathTest.cpp | 202 const char *leafName = "boot"; local 204 BPath path(pathName, leafName); 212 const char *leafName = "home/Desktop"; local 214 BPath path(pathName, leafName); 222 const char *leafName = "but/who/cares"; local 224 BPath path(pathName, leafName); 232 const char *leafName = "."; local 234 BPath path(pathName, leafName); 242 const char *leafName = "home/.."; local 244 BPath path(pathName, leafName); 252 const char *leafName = "but//who/cares"; local 261 const char *leafName = "but/who/cares"; local 271 const char *leafName = "home"; local 282 const char *leafName = "but/who/cares"; local 292 const char *leafName = "Desktop//"; local 302 const char *leafName = "/boot"; local 363 const char *leafName = "boot"; local 374 const char *leafName = "home/Desktop"; local 385 const char *leafName = "home/.."; local 396 const char *leafName = "/boot"; local 537 const char *leafName; local [all...] |
/haiku/src/build/libbe/storage/ |
H A D | Entry.cpp | 578 char leafName[B_FILE_NAME_LENGTH]; local 579 int parentFD = _kern_open_parent_dir(fDirFd, leafName, B_FILE_NAME_LENGTH); 589 entry->fCStatus = entry->set_name(leafName); 887 char leafName[B_FILE_NAME_LENGTH]; local 901 int parentFD = _kern_open_parent_dir(dirFD, leafName, 917 parentFD = _kern_open_parent_dir(dirFD, leafName, 928 leafName); 932 if (leafName[0] == '\0' && dirPath[0] == '/') 933 strcpy(leafName, "."); 934 if (leafName[ [all...] |
/haiku/src/kits/storage/ |
H A D | Entry.cpp | 324 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); 556 char leafName[B_FILE_NAME_LENGTH]; local 570 int parentFD = _kern_open_parent_dir(dirFD, leafName, 586 parentFD = _kern_open_parent_dir(dirFD, leafName, 597 leafName); 601 if (leafName[0] == '\0' && dirPath[0] == '/') 602 strcpy(leafName, "."); 603 if (leafName[ [all...] |
/haiku/src/apps/mail/ |
H A D | MailApp.cpp | 536 BString leafName; local 544 leafName.SetTo(dataPath.Leaf()); 545 leafName.Append(kMetaphone); 546 indexPath.Append(leafName.String()); 550 leafName.SetTo(dataPath.Leaf()); 551 leafName.Append(kExact); 552 indexPath.Append(leafName.String()); 571 leafName.SetTo(dataPath.Leaf()); 572 leafName.Append(kMetaphone); 573 indexPath.Append(leafName [all...] |
/haiku/src/build/libroot/ |
H A D | fs.cpp | 307 const char *leafName = NULL; local 312 leafName = lastSlash + 1; 313 if (leafName[0] == '\0') { 315 leafName = NULL; 317 dirPathString = string(path, leafName - path); 323 leafName = path; 327 if (!leafName || strcmp(leafName, ".") == 0 || strcmp(leafName, "..") == 0) 338 normalizedPath += leafName; [all...] |
/haiku/src/tools/fs_shell/ |
H A D | command_cp.cpp | 1401 char leafName[FSSH_B_FILE_NAME_LENGTH]; local 1402 error = get_last_path_component(source, leafName, sizeof(leafName)); 1409 if (strcmp(leafName, ".") == 0 || strcmp(leafName, "..") == 0) { 1431 leafName); 1442 char *targetEntry = make_path(target, leafName);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 419 VnodePutter& _vnode, ino_t* _parentID, char* leafName = NULL); 2116 If the function fails and leafName is not NULL, \a _vnode contains the last directory, 2131 ino_t* _parentID, char* leafName) 2203 if (leafName != NULL) { 2204 strlcpy(leafName, path, B_FILE_NAME_LENGTH); 2271 ioContext, nextVnode, &lastParentID, leafName); 2277 if (leafName != NULL) 2305 bool kernel, VnodePutter& _vnode, ino_t* _parentID, char* leafName) 2308 get_current_io_context(kernel), _vnode, _parentID, leafName); 2129 vnode_path_to_vnode(struct vnode* start, char* path, bool traverseLeafLink, int count, struct io_context* ioContext, VnodePutter& _vnode, ino_t* _parentID, char* leafName) argument 2304 vnode_path_to_vnode(struct vnode* vnode, char* path, bool traverseLeafLink, bool kernel, VnodePutter& _vnode, ino_t* _parentID, char* leafName) argument
|
/haiku/src/kits/tracker/ |
H A D | FSUtils.cpp | 3157 const char* leafName = originalEntry.Name(); local 3158 if (entry.MoveTo(&dir, leafName) == B_OK) {
|