/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | Path.cpp | 26 Path::SetTo(const char* path, const char* leaf) argument 36 // get leaf len and check, if a separator needs to be inserted 39 if (leaf) { 40 leafLen = strlen(leaf); 42 insertSeparator = (path[len - 1] != '/' && leaf[0] != '/'); 58 // append leaf 60 memcpy(fBuffer + len, leaf, leafLen); 70 Path::Append(const char* leaf) argument 72 if (!leaf) 76 return SetTo(leaf); [all...] |
H A D | Path.h | 14 const char* leaf = NULL); 15 status_t Append(const char* leaf);
|
/haiku/src/kits/storage/ |
H A D | storage_support.cpp | 36 /*! \brief Parses the supplied path and returns the position of the leaf name 40 function always returns a non-empty directory path part. The leaf name 48 the leaf name part shall be written. The index is inclusive. 50 the leaf name part shall be written. The index is exclusive. 63 // find then end of the leaf name (skip trailing '/') 73 // find the start of the leaf name 92 /*! \brief Parses the supplied path and returns the leaf name part of the path 96 function always returns a non-empty directory path part. The leaf name 104 \param leaf Pointer to a character array of size \c B_FILE_NAME_LENGTH 105 or greater, into which the leaf nam 111 parse_path(const char *fullPath, char *dirPath, char *leaf) argument 186 split_path(const char *fullPath, char *&path, char *&leaf) argument 200 split_path(const char *fullPath, char **path, char **leaf) argument [all...] |
H A D | Path.cpp | 72 BPath::BPath(const char* dir, const char* leaf, bool normalize) argument 77 SetTo(dir, leaf, normalize); 83 BPath::BPath(const BDirectory* dir, const char* leaf, bool normalize) argument 88 SetTo(dir, leaf, normalize); 146 // leaf combination. 148 BPath::SetTo(const char* path, const char* leaf, bool normalize) argument 151 if (error == B_OK && leaf && BPrivate::Storage::is_absolute_path(leaf)) 157 // build a new path from path and leaf 164 // append leaf, i [all...] |
/haiku/src/kits/mail/ |
H A D | numailkit.cpp | 65 BString leaf = name; local 66 leaf << ".tmp"; 85 ret = settings_entry.SetTo(&account_dir,leaf.String()); 89 path.Path(), leaf.String(), strerror(ret)); 162 path.Path(), leaf.String(), (float)timeout/1e6, strerror(ret)); 179 path.Path(), leaf.String(), (float)timeout/1e6, strerror(ret)); 194 path.Path(), leaf.String(), strerror(ret)); 203 path.Path(), leaf.String(), strerror(ret));
|
/haiku/src/apps/haikudepot/util/ |
H A D | StorageUtils.h | 16 static status_t LocalWorkingFilesPath(const BString leaf, 19 static status_t LocalWorkingDirectoryPath(const BString leaf,
|
H A D | StorageUtils.cpp | 360 StorageUtils::LocalWorkingFilesPath(const BString leaf, BPath& path, argument 380 result = resultPath.Append(leaf); 387 "[%s] data; %s", leaf.String(), strerror(result)); 395 StorageUtils::LocalWorkingDirectoryPath(const BString leaf, BPath& path, argument 408 result = resultPath.Append(leaf); 422 "[%s] data; %s", leaf.String(), strerror(result));
|
/haiku/headers/os/storage/ |
H A D | Path.h | 26 BPath(const char* dir, const char* leaf = NULL, 29 const char* leaf = NULL, 38 status_t SetTo(const char* path, const char* leaf = NULL, 41 const char* leaf = NULL,
|
/haiku/headers/private/storage/ |
H A D | storage_support.h | 38 status_t parse_path(const char *fullPath, char *dirPath, char *leaf); 40 //! splits a path name into directory path and leaf name 41 status_t split_path(const char *fullPath, char *&path, char *&leaf); 43 //! splits a path name into directory path and leaf name 44 status_t split_path(const char *fullPath, char **path, char **leaf);
|
/haiku/src/system/libroot/posix/musl/search/ |
H A D | twalk.c | 9 action(r, leaf, d);
|
/haiku/src/system/kernel/util/ |
H A D | RadixBitmap.cpp | 37 * involved: One for the bitmaps contained in the leaf nodes (typically 38 * 32), and one for the meta nodes (typically 16). Both meta and leaf 111 // leaf node 123 // not leaf node 197 radix_leaf_alloc(radix_node *leaf, radix_slot_t slotIndex, int32 count) 200 bitmap_t bitmap = ~leaf->u.bitmap; 205 leaf->u.bitmap |= mask; 213 if (leaf->big_hint >= count) 214 leaf->big_hint = count - 1; 273 radix_leaf_dealloc(radix_node *leaf, radix_slot_ [all...] |
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | KPath.cpp | 273 const char* leaf = Leaf(); local 274 if (leaf == NULL) 277 int32 leafIndex = leaf - fBuffer; 278 // chop off the current leaf (don't replace "/", though) 285 // if a leaf was given, append it 295 // get the leaf -- bail out, if not initialized or only the "/" is left 296 const char* leaf = Leaf(); local 297 if (leaf == NULL || leaf == fBuffer || leaf[ [all...] |
/haiku/headers/posix/ |
H A D | search.h | 26 leaf enumerator in enum:__anon2
|
/haiku/src/system/kernel/fs/ |
H A D | KPath.cpp | 286 const char* leaf = Leaf(); local 287 if (leaf == NULL) 290 int32 leafIndex = leaf - fBuffer; 291 // chop off the current leaf (don't replace "/", though) 298 // if a leaf was given, append it 308 // get the leaf -- bail out, if not initialized or only the "/" is left 309 const char* leaf = Leaf(); local 310 if (leaf == NULL || leaf == fBuffer || leaf[ [all...] |
/haiku/src/bin/ |
H A D | checkitout.cpp | 146 BString leaf(url.Path()); 147 if (leaf.FindLast('/') > -1) 148 leaf.Remove(0, leaf.FindLast('/') + 1); 149 PRINT(("leaf %s\n", leaf.String())); 150 _FilePanel(B_DIRECTORY_NODE, leaf);
|
/haiku/src/tools/fs_shell/ |
H A D | KPath.cpp | 186 const char *leaf = Leaf(); local 187 if (!leaf) 190 int32_t leafIndex = leaf - fBuffer; 191 // chop off the current leaf (don't replace "/", though) 198 // if a leaf was given, append it
|
H A D | syscalls.h | 29 const char *leaf, char *userPath, fssh_size_t pathLength);
|
/haiku/src/tools/ |
H A D | rm_attrs.cpp | 50 bool PushLeaf(const char* leaf) argument 52 size_t leafLen = strlen(leaf); 61 strcpy(fPath + fPathLen, leaf);
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Node.cpp | 154 This could be leaf or node block perform check for both 157 ExtentLeafHeader* leaf = ExtentLeafHeader::Create(fInode, fLeafBuffer); local 158 if (leaf == NULL) 161 if ((leaf->Magic() == XFS_DIR2_LEAFN_MAGIC 162 || leaf->Magic() == XFS_DIR3_LEAFN_MAGIC) 163 && !VerifyHeader<ExtentLeafHeader>(leaf, fLeafBuffer, fInode, 166 delete leaf; 169 delete leaf; 170 leaf = NULL; 488 This Function returns Actual size of leaf heade [all...] |
H A D | BPlusTree.cpp | 300 // We should be at the left most leaf node. 304 // Run till you have leaf blocks to checkout 325 TRACE("Next leaf is at: (%" B_PRIu64 ")\n", fileSystemBlockNo); 389 This could be leaf or node block perform check for both 392 ExtentLeafHeader* leaf = ExtentLeafHeader::Create(fInode, fSingleDirBlock); local 393 if (leaf == NULL) 396 if ((leaf->Magic() == XFS_DIR2_LEAFN_MAGIC 397 || leaf->Magic() == XFS_DIR3_LEAFN_MAGIC) 398 && !VerifyHeader<ExtentLeafHeader>(leaf, fSingleDirBlock, fInode, 401 delete leaf; [all...] |
H A D | LeafDirectory.cpp | 63 // check leaf buffer 67 ExtentLeafHeader* leaf = ExtentLeafHeader::Create(fInode, fLeafBuffer); 68 if (leaf == NULL) 70 if (!VerifyHeader<ExtentLeafHeader>(leaf, fLeafBuffer, fInode, 0, fLeafMap, XFS_LEAF)) { 71 ERROR("Invalid leaf header"); 72 delete leaf; 75 delete leaf; 168 TRACE("NumberOfEntries in leaf: (%" B_PRIu16 ")\n", header->Count()); 437 This Function returns Actual size of leaf header
|
/haiku/src/system/boot/loader/file_systems/tarfs/ |
H A D | tarfs.cpp | 499 char* leaf = strrchr(header->name, '/'); local 501 if (leaf) { 503 *leaf = '\0'; 504 leaf++; 506 leaf = header->name; 519 entry = new(nothrow) TarFS::File(header, leaf); 521 entry = new(nothrow) TarFS::Symlink(header, leaf);
|
/haiku/src/apps/haikudepot/model/ |
H A D | Model.cpp | 835 BString leaf; local 836 leaf.SetToFormat("repository-all_%s.json.gz", 838 return StorageUtils::LocalWorkingFilesPath(leaf, path); 850 BString leaf; local 851 leaf.SetToFormat("reference-all_%s.json.gz", 853 return StorageUtils::LocalWorkingFilesPath(leaf, path); 868 BString leaf; local 869 leaf.SetToFormat("pkg-all-%s-%s.json.gz", repositorySourceCode.String(), 871 return StorageUtils::LocalWorkingFilesPath(leaf, path);
|
/haiku/src/libs/libfdt/ |
H A D | fdt_ro.c | 315 * give only the leaf name (after all /). The actual tree 318 const char *leaf; local 319 leaf = strrchr(nameptr, '/'); 320 if (leaf == NULL) { 324 nameptr = leaf+1;
|
/haiku/headers/build/private/kernel/ |
H A D | syscalls.h | 55 const char *leaf, char *userPath, size_t pathLength);
|