Searched refs:leafStart (Results 1 – 3 of 3) sorted by relevance
/haiku/src/kits/storage/ |
H A D | storage_support.cpp | 55 parse_path(const char *fullPath, int &dirEnd, int &leafStart, int &leafEnd) in parse_path() argument 70 dirEnd = leafStart = leafEnd = 1; in parse_path() 76 leafStart = i + 1; in parse_path() 77 if (leafStart == 0) { in parse_path() 79 dirEnd = leafStart = leafEnd; in parse_path() 114 int leafStart, leafEnd, dirEnd; in parse_path() local 115 status_t error = parse_path(fullPath, dirEnd, leafStart, leafEnd); in parse_path() 119 || leafEnd - leafStart >= B_FILE_NAME_LENGTH) { in parse_path() 126 strlcpy(leaf, fullPath + leafStart, leafEnd - leafStart + 1); in parse_path() 133 internal_parse_path(const char *fullPath, int &leafStart, int &leafEnd, in internal_parse_path() argument [all …]
|
/haiku/src/bin/ |
H A D | copyattr.cpp | 584 int leafStart = sourceLen; in copy_files() local 585 while (leafStart > 0 && sourcePath[leafStart - 1] != '/') in copy_files() 586 leafStart--; in copy_files() 590 int leafLen = sourceLen - leafStart; in copy_files() 592 && strncmp(sourcePath + leafStart, "..", leafLen) == 0)) { in copy_files()
|
/haiku/headers/private/storage/ |
H A D | storage_support.h | 36 status_t parse_path(const char *fullPath, int &dirEnd, int &leafStart,
|