Lines Matching refs:library
329 LayerLibrary library(path + "/" + filename, filename); in AddLayerLibrary() local
330 if (!library.Open()) in AddLayerLibrary()
333 if (!library.EnumerateLayers(g_layer_libraries.size(), g_instance_layers)) { in AddLayerLibrary()
334 library.Close(); in AddLayerLibrary()
338 library.Close(); in AddLayerLibrary()
340 g_layer_libraries.emplace_back(std::move(library)); in AddLayerLibrary()
456 const LayerLibrary& library = g_layer_libraries[layer.library_idx]; in GetLayerGetProcAddr() local
457 return library.GetGPA(layer, gpa_name); in GetLayerGetProcAddr()
520 LayerLibrary& library = g_layer_libraries[layer.library_idx]; in GetLayerRef() local
521 return LayerRef((library.Open()) ? &layer : nullptr); in GetLayerRef()
528 LayerLibrary& library = g_layer_libraries[layer_->library_idx]; in ~LayerRef() local
529 library.Close(); in ~LayerRef()