Home
last modified time | relevance | path

Searched refs:componentLength (Results 1 – 6 of 6) sorted by relevance

/haiku/src/system/boot/loader/
H A DPathBlocklist.cpp54 size_t componentLength = strlen(component); in Append() local
55 if (componentLength > 0 && component[componentLength - 1] == '/') in Append()
56 componentLength--; in Append()
57 if (componentLength == 0) in Append()
61 size_t length = (fLength > 0 ? fLength + 1 : 0) + componentLength; in Append()
67 memcpy(fPath + oldLength, component, componentLength); in Append()
/haiku/src/tools/fs_shell/
H A DKPath.cpp217 fssh_size_t componentLength = fssh_strlen(component); in Append() local
218 if (componentLength < 1) in Append()
225 fssh_size_t resultPathLength = fPathLength + componentLength + (insertSlash ? 1 : 0); in Append()
232 fssh_memcpy(fBuffer + fPathLength, component, componentLength + 1); in Append()
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A DKPath.cpp322 size_t componentLength = strlen(component); in Append() local
323 if (componentLength < 1) in Append()
330 size_t resultPathLength = fPathLength + componentLength in Append()
338 memcpy(fBuffer + fPathLength, component, componentLength + 1); in Append()
/haiku/src/system/kernel/fs/
H A DKPath.cpp337 size_t componentLength = strlen(component); in Append() local
338 if (componentLength < 1) in Append()
345 size_t resultPathLength = fPathLength + componentLength in Append()
353 memcpy(fBuffer + fPathLength, component, componentLength + 1); in Append()
/haiku/src/system/libroot/os/
H A Dfind_paths.cpp374 size_t componentLength = componentEnd - remainder; in normalize_longest_existing_path_prefix() local
375 if (componentLength == 1 && *remainder == '.') { in normalize_longest_existing_path_prefix()
381 if (end + 1 + componentLength >= bufferEnd) in normalize_longest_existing_path_prefix()
385 memcpy(end, remainder, componentLength); in normalize_longest_existing_path_prefix()
386 end += componentLength; in normalize_longest_existing_path_prefix()
387 remainder += componentLength; in normalize_longest_existing_path_prefix()
/haiku/src/kits/storage/
H A DPathMonitor.cpp803 size_t componentLength = componentEnd - path; in PathHandler() local
807 if (componentLength == 1) { in PathHandler()
811 if (componentLength == 2 && path[1] == '.') { in PathHandler()