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

/haiku/src/apps/haikudepot/model/
H A DPackageIconTarRepository.cpp42 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 DPathTest.cpp202 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 DEntry.cpp578 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 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);
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 DMailApp.cpp536 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 Dfs.cpp307 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 Dcommand_cp.cpp1401 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 Dvfs.cpp419 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 DFSUtils.cpp3157 const char* leafName = originalEntry.Name(); local
3158 if (entry.MoveTo(&dir, leafName) == B_OK) {

Completed in 141 milliseconds