Lines Matching refs:pathLength

200 	int pathLength;  in create_path()  local
203 if (path == NULL || ((pathLength = strlen(path)) > B_PATH_NAME_LENGTH)) in create_path()
206 BStackOrHeapArray<char, 128> buffer(pathLength + 1); in create_path()
210 while (++i < pathLength) { in create_path()
215 i = pathLength; in create_path()
279 size_t pathLength = _pathLength; in __find_directory() local
288 char *buffer = (char*)malloc(pathLength); in __find_directory()
293 memset(buffer, 0, pathLength); in __find_directory()
307 NULL, buffer, pathLength); in __find_directory()
310 NULL, buffer, pathLength); in __find_directory()
317 strlcat(buffer, "/boot", pathLength); in __find_directory()
324 strlcat(buffer, "/boot", pathLength); in __find_directory()
466 PathBuffer pathBuffer(buffer, pathLength, strlen(buffer)); in __find_directory()
473 size_t length = get_user_home_path(buffer, pathLength); in __find_directory()
474 if (length >= pathLength) in __find_directory()
476 pathBuffer.SetTo(buffer, pathLength, length); in __find_directory()
501 if (pathBuffer.Length() >= pathLength) in __find_directory()
510 strlcpy(returnedPath, buffer, pathLength); in __find_directory()
517 char *returnedPath, int32 pathLength) in __find_directory_alpha4() argument
519 return __find_directory(which, device, createIt, returnedPath, pathLength); in __find_directory_alpha4()
535 size_t pathLength = _pathLength; in __find_directory() local
540 char *buffer = (char*)malloc(pathLength); in __find_directory()
545 memset(buffer, 0, pathLength); in __find_directory()
547 strlcat(buffer, "/boot", pathLength); in __find_directory()
662 PathBuffer pathBuffer(buffer, pathLength, strlen(buffer)); in __find_directory()
683 if (pathBuffer.Length() >= pathLength) in __find_directory()
686 strlcpy(returnedPath, buffer, pathLength); in __find_directory()