Lines Matching refs:library_path

1922 /* Processes a json manifest's library_path and the location of the json manifest to create the path of the library
1925 * If library_path is an absolute path, we do not prepend the base path of manifest_file_path
1927 * This function takes ownership of library_path - caller does not need to worry about freeing it.
1929 VkResult combine_manifest_directory_and_library_path(const struct loader_instance *inst, char *library_path,
1931 assert(library_path && manifest_file_path && out_fullpath);
1932 if (loader_platform_is_path_absolute(library_path)) {
1933 *out_fullpath = library_path;
1938 size_t library_path_len = strlen(library_path);
1942 if (library_path[i] == DIRECTORY_SYMBOL) {
1947 // Means that the library_path is neither absolute nor relative - thus we should not modify it at all
1949 *out_fullpath = library_path;
1976 loader_strncpy(&(*out_fullpath)[cur_loc_in_out_fullpath], new_str_len - cur_loc_in_out_fullpath, library_path,
1982 loader_instance_heap_free(inst, library_path);
2230 * (for non-meta layers) "library_path"
2347 // Parse library_path
2350 cJSON *library_path = loader_cJSON_GetObjectItem(layer_node, "library_path");
2352 if (NULL != library_path) {
2364 char *library_path_str = loader_cJSON_Print(library_path);
2367 "Skipping layer due to problem accessing the library_path value in manifest JSON file %s", filename);
2379 if (NULL == library_path) {
2391 "Layer missing both library_path and component_layers fields. One or the other MUST be defined. Skipping "
3486 item = loader_cJSON_GetObjectItem(itemICD, "library_path");
3489 "loader_parse_icd_manifest: Failed to find \'library_path\' object in ICD JSON file %s. Skipping ICD JSON.",
3494 char *library_path = loader_cJSON_Print(item);
3495 if (!library_path) {
3497 "loader_parse_icd_manifest: Failed retrieving ICD JSON %s \'library_path\' field. Skipping ICD JSON.", file_str);
3502 if (strlen(library_path) == 0) {
3504 "loader_parse_icd_manifest: ICD JSON %s \'library_path\' field is empty. Skipping ICD JSON.", file_str);
3510 loader_log(inst, VULKAN_LOADER_DEBUG_BIT | VULKAN_LOADER_DRIVER_BIT, 0, "Searching for ICD drivers named %s", library_path);
3511 // This function takes ownership of library_path - so we don't need to clean it up
3512 res = combine_manifest_directory_and_library_path(inst, library_path, file_str, &icd->full_library_path);