Home
last modified time | relevance | path

Searched refs:pathLen (Results 1 – 15 of 15) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp858 size_t pathLen; in Sync() local
859 status_t error = _BuildPath(node, path, pathLen); in Sync()
1035 size_t pathLen; in DoIO() local
1049 error = _BuildPath(node, path, pathLen); in DoIO()
1147 size_t pathLen; in FSync() local
1148 status_t error = _BuildPath(node, path, pathLen); in FSync()
1205 size_t pathLen; in ReadSymlink() local
1206 status_t error = _BuildPath(node, path, pathLen); in ReadSymlink()
1250 size_t pathLen; in CreateSymlink() local
1251 status_t error = _BuildPath(dir, name, path, pathLen); in CreateSymlink()
[all …]
H A DFUSEVolume.h199 char* path, size_t& pathLen);
201 size_t& pathLen);
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixEndpoint.cpp101 size_t pathLen = strnlen(address->sun_path, sizeof(address->sun_path)); in _Bind() local
102 if (pathLen == 0 || pathLen == sizeof(address->sun_path)) in _Bind()
118 size_t addressLen = address->sun_path + pathLen + 1 - (char*)address; in _Bind()
H A DUnixDatagramEndpoint.cpp529 size_t pathLen = strnlen(address->sun_path, sizeof(address->sun_path)); in _InitializeEndpoint() local
530 if (pathLen == 0 || pathLen == sizeof(address->sun_path)) in _InitializeEndpoint()
H A DUnixStreamEndpoint.cpp251 size_t pathLen = strnlen(address->sun_path, sizeof(address->sun_path)); in Connect() local
252 if (pathLen == 0 || pathLen == sizeof(address->sun_path)) in Connect()
/haiku/src/kits/storage/
H A DPath.cpp159 uint32 pathLen = strlen(path); in SetTo() local
160 if (pathLen >= sizeof(newPath)) in SetTo()
166 bool needsSeparator = (pathLen > 0 && path[pathLen - 1] != '/'); in SetTo()
167 uint32 wholeLen = pathLen + (needsSeparator ? 1 : 0) in SetTo()
173 newPath[pathLen] = '/'; in SetTo()
174 pathLen++; in SetTo()
176 strcpy(newPath + pathLen, leaf); in SetTo()
H A Dstorage_support.cpp60 int pathLen = strlen(fullPath); in parse_path() local
61 if (pathLen == 0) in parse_path()
64 int i = pathLen - 1; in parse_path()
/haiku/src/tools/fs_shell/
H A Dpath_util.cpp58 int pathLen = dirLen + entryLen + (insertSeparator ? 1 : 0) + 1; in make_path() local
61 char *path = (char*)malloc(pathLen); in make_path()
/haiku/src/bin/debug/
H A Ddebug_utils.cpp47 int pathLen = (pathEnd ? pathEnd - paths : strlen(paths)); in find_program() local
50 if (pathLen > 0) { in find_program()
52 std::string path(paths, pathLen); in find_program()
/haiku/src/kits/debug/
H A DTeamDebugger.cpp181 int pathLen = (pathEnd ? pathEnd - paths : strlen(paths)); in _FindProgram() local
184 if (pathLen > 0) { in _FindProgram()
186 BString directory(paths, pathLen); in _FindProgram()
/haiku/src/system/libroot/os/
H A Dimage.cpp339 int pathLen = (pathEnd ? pathEnd - paths : strlen(paths)); in __look_up_in_path() local
343 if (pathLen == 0 in __look_up_in_path()
344 || pathLen + 1 + fileNameLen >= B_PATH_NAME_LENGTH) { in __look_up_in_path()
350 memcpy(path, paths, pathLen); in __look_up_in_path()
351 path[pathLen] = '\0'; in __look_up_in_path()
353 if (path[pathLen - 1] != '/') in __look_up_in_path()
/haiku/src/system/runtime_loader/
H A Delf.cpp136 size_t pathLen = imagePaths - imagePath; in preload_images() local
137 if (pathLen > sizeof(path) - 1) in preload_images()
144 memcpy(path, imagePath, pathLen); in preload_images()
145 path[pathLen] = '\0'; in preload_images()
523 size_t pathLen = imagePaths - imagePath; in preload_addons() local
524 if (pathLen > sizeof(path) - 1) in preload_addons()
526 memcpy(path, imagePath, pathLen); in preload_addons()
527 path[pathLen] = '\0'; in preload_addons()
/haiku/src/build/libroot/
H A Dfs.cpp261 const size_t pathLen = strlen(path); in normalize_dir_path() local
264 if (pathLen == 0 || path[0] != '/') { in normalize_dir_path()
272 const char *end = &path[pathLen]; in normalize_dir_path()
/haiku/src/system/kernel/disk_device_manager/
H A DKPartition.cpp764 int32 pathLen = mountPoint->BufferSize(); in GetMountPoint() local
765 strncpy(path, basePath, pathLen); in GetMountPoint()
771 snprintf(path, pathLen, "%s%d", (char*)basePath, i); in GetMountPoint()
/haiku/src/system/kernel/
H A Dmodule.cpp1943 size_t pathLen = pathBuffer.Length(); in module_init_post_boot_device() local
1945 pathLen + 1); in module_init_post_boot_device()