Searched refs:path_max_len (Results 1 – 2 of 2) sorted by relevance
703 size_t path_max_len; member708 if (strlen(file) + target->path_len + 1 > target->path_max_len) { in path_append()710 target->path_max_len *= 2; in path_append()711 p = realloc(target->path, target->path_max_len); in path_append()1048 file_info.path_max_len = 255; in populate_fs2()1049 file_info.path = calloc(file_info.path_max_len, 1); in populate_fs2()
348 size_t FileSpec::GetPath(char *path, size_t path_max_len, in GetPath() argument354 ::snprintf(path, path_max_len, "%s", result.c_str()); in GetPath()355 return std::min(path_max_len - 1, result.length()); in GetPath()