Lines Matching refs:search_path_size
2882 size_t search_path_size = 0; in read_data_files_in_search_paths() local
2991 search_path_size = 2; in read_data_files_in_search_paths()
2996 search_path_size += strlen(override_path) + 2; in read_data_files_in_search_paths()
3000 search_path_size += determine_data_file_path_size(additional_env, 0) + 2; in read_data_files_in_search_paths()
3004 search_path_size += determine_data_file_path_size(package_path, 0) + 2; in read_data_files_in_search_paths()
3006 if (search_path_size == 2) { in read_data_files_in_search_paths()
3016 search_path_size += MAXPATHLEN; in read_data_files_in_search_paths()
3020 search_path_size += determine_data_file_path_size(home_config_dir, rel_size); in read_data_files_in_search_paths()
3022 search_path_size += determine_data_file_path_size(xdg_config_dirs, rel_size); in read_data_files_in_search_paths()
3023 search_path_size += determine_data_file_path_size(SYSCONFDIR, rel_size); in read_data_files_in_search_paths()
3025 search_path_size += determine_data_file_path_size(EXTRASYSCONFDIR, rel_size); in read_data_files_in_search_paths()
3029 search_path_size += determine_data_file_path_size(home_data_dir, rel_size); in read_data_files_in_search_paths()
3031 search_path_size += determine_data_file_path_size(xdg_data_dirs, rel_size); in read_data_files_in_search_paths()
3037 …search_path = loader_instance_heap_calloc(inst, search_path_size, VK_SYSTEM_ALLOCATION_SCOPE_COMMA…
3041 (uint32_t)search_path_size);
3071 … if (CFURLGetFileSystemRepresentation(ref, TRUE, (UInt8 *)cur_path_ptr, search_path_size)) {
3107 assert(cur_path_ptr - search_path < (ptrdiff_t)search_path_size);
3143 search_path_size = search_path_updated_size;
3147 if (search_path_size > 0) {
3148 …char *tmp_search_path = loader_instance_heap_alloc(inst, search_path_size + 1, VK_SYSTEM_ALLOCATIO…
3150 strncpy(tmp_search_path, search_path, search_path_size);
3151 tmp_search_path[search_path_size] = '\0';