/third_party/vk-gl-cts/framework/delibs/deutil/ |
H A D | deDynamicLibrary.c | 21 * \brief Dynamic link library abstraction. 41 deDynamicLibrary* library = (deDynamicLibrary*)deCalloc(sizeof(deDynamicLibrary)); in deDynamicLibrary_open() local 42 if (!library) in deDynamicLibrary_open() 46 library->libHandle = dlopen(basename((char*)fileName), RTLD_LAZY); in deDynamicLibrary_open() 48 library->libHandle = dlopen(fileName, RTLD_LAZY); in deDynamicLibrary_open() 50 if (!library->libHandle) in deDynamicLibrary_open() 52 deFree(library); in deDynamicLibrary_open() 56 return library; in deDynamicLibrary_open() 59 void deDynamicLibrary_close (deDynamicLibrary* library) in deDynamicLibrary_close() argument 61 if (library in deDynamicLibrary_close() 66 deDynamicLibrary_getFunction(const deDynamicLibrary* library, const char* symbolName) deDynamicLibrary_getFunction() argument 94 deDynamicLibrary* library = (deDynamicLibrary*)deCalloc(sizeof(deDynamicLibrary)); deDynamicLibrary_open() local 108 deDynamicLibrary_close(deDynamicLibrary* library) deDynamicLibrary_close() argument 115 deDynamicLibrary_getFunction(const deDynamicLibrary* library, const char* symbolName) deDynamicLibrary_getFunction() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | SharedLibrary.hpp | 28 void freeLibrary(void *library); 29 void *getProcAddress(void *library, const char *name); 37 void *library = getLibraryHandle(libraryPath.c_str()); in loadLibrary() local 39 if(library) in loadLibrary() 41 if(!mustContainSymbol || getProcAddress(library, mustContainSymbol)) in loadLibrary() 43 return library; in loadLibrary() 46 freeLibrary(library); in loadLibrary() 53 void *library = loadLibrary(libraryPath.c_str()); in loadLibrary() local 55 if(library) in loadLibrary() 57 if(!mustContainSymbol || getProcAddress(library, mustContainSymbo in loadLibrary() 82 freeLibrary(void *library) freeLibrary() argument 87 getProcAddress(void *library, const char *name) getProcAddress() argument 114 freeLibrary(void *library) freeLibrary() argument 122 getProcAddress(void *library, const char *name) getProcAddress() argument 137 getFuncAddress(void *library, const char *functionName, FunctionPointer *out) getFuncAddress() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | SharedLibrary.hpp | 28 void freeLibrary(void *library); 29 void *getProcAddress(void *library, const char *name); 38 void *library = getLibraryHandle(libraryPath.c_str()); in loadLibrary() local 40 if(library) in loadLibrary() 42 if(!mustContainSymbol || getProcAddress(library, mustContainSymbol)) in loadLibrary() 44 return library; in loadLibrary() 47 freeLibrary(library); in loadLibrary() 54 void *library = loadLibrary(libraryPath.c_str()); in loadLibrary() local 56 if(library) in loadLibrary() 58 if(!mustContainSymbol || getProcAddress(library, mustContainSymbo in loadLibrary() 83 freeLibrary(void *library) freeLibrary() argument 88 getProcAddress(void *library, const char *name) getProcAddress() argument 115 freeLibrary(void *library) freeLibrary() argument 123 getProcAddress(void *library, const char *name) getProcAddress() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftrfork.c | 50 FT_Raccess_Get_HeaderInfo( FT_Library library, in FT_BASE_DEF() 62 FT_UNUSED( library ); in FT_BASE_DEF() 179 FT_Raccess_Get_DataOffsets( FT_Library library, in FT_BASE_DEF() 191 FT_Memory memory = library->memory; in FT_BASE_DEF() 342 raccess_guess_apple_double( FT_Library library, 349 raccess_guess_apple_single( FT_Library library, 356 raccess_guess_darwin_ufs_export( FT_Library library, 363 raccess_guess_darwin_newvfs( FT_Library library, 370 raccess_guess_darwin_hfsplus( FT_Library library, 377 raccess_guess_vfat( FT_Library library, 443 FT_Raccess_Guess( FT_Library library, FT_Stream stream, char* base_name, char **new_names, FT_Long *offsets, FT_Error *errors ) FT_Raccess_Guess() argument 476 raccess_get_rule_type_from_rule_index( FT_Library library, FT_UInt rule_index ) raccess_get_rule_type_from_rule_index() argument 509 raccess_guess_apple_double( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_apple_double() argument 531 raccess_guess_apple_single( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_apple_single() argument 553 raccess_guess_darwin_ufs_export( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_darwin_ufs_export() argument 583 raccess_guess_darwin_hfsplus( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_darwin_hfsplus() argument 619 raccess_guess_darwin_newvfs( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_darwin_newvfs() argument 655 raccess_guess_vfat( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_vfat() argument 682 raccess_guess_linux_cap( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_linux_cap() argument 708 raccess_guess_linux_double( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_linux_double() argument 739 raccess_guess_linux_netatalk( FT_Library library, FT_Stream stream, char *base_file_name, char **result_file_name, FT_Long *result_offset ) raccess_guess_linux_netatalk() argument 771 raccess_guess_apple_generic( FT_Library library, FT_Stream stream, char *base_file_name, FT_Int32 magic, FT_Long *result_offset ) raccess_guess_apple_generic() argument 837 raccess_guess_linux_double_from_file_name( FT_Library library, char *file_name, FT_Long *result_offset ) raccess_guess_linux_double_from_file_name() argument 910 FT_Raccess_Guess( FT_Library library, FT_Stream stream, char *base_name, char **new_names, FT_Long *offsets, FT_Error *errors ) FT_Raccess_Guess() argument [all...] |
H A D | ftglyph.c | 26 * handy for many other simple uses of the library. 65 FT_Library library = FT_GLYPH( glyph )->library; in FT_CALLBACK_DEF() local 86 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); in FT_CALLBACK_DEF() 98 FT_Library library = bitmap_source->library; in FT_CALLBACK_DEF() local 106 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap ); in FT_CALLBACK_DEF() 114 FT_Library library = FT_GLYPH( glyph )->library; in ft_bitmap_glyph_done() local 117 FT_Bitmap_Done( library, in ft_bitmap_glyph_done() 165 FT_Library library = FT_GLYPH( glyph )->library; FT_CALLBACK_DEF() local 209 FT_Library library = FT_GLYPH( source )->library; FT_CALLBACK_DEF() local 289 ft_new_glyph( FT_Library library, const FT_Glyph_Class* clazz, FT_Glyph* aglyph ) ft_new_glyph() argument 548 FT_Library library; FT_EXPORT_DEF() local [all...] |
H A D | ftobjs.c | 105 ft_open_face_internal( FT_Library library, 193 FT_Stream_New( FT_Library library, in FT_BASE_DEF() 205 if ( !library ) in FT_BASE_DEF() 211 memory = library->memory; in FT_BASE_DEF() 318 slot->library = driver->root.library; in ft_glyphslot_init() 842 FT_Library library; in FT_EXPORT_DEF() local 858 library = driver->root.library; in FT_EXPORT_DEF() 859 hinter = library in FT_EXPORT_DEF() 1608 new_memory_stream( FT_Library library, FT_Byte* base, FT_ULong size, FT_Stream_CloseFunc close, FT_Stream *astream ) new_memory_stream() argument 1871 Mac_Read_POST_Resource( FT_Library library, FT_Stream stream, FT_Long *offsets, FT_Long resource_cnt, FT_Long face_index, FT_Face *aface ) Mac_Read_POST_Resource() argument 2093 Mac_Read_sfnt_Resource( FT_Library library, FT_Stream stream, FT_Long *offsets, FT_Long resource_cnt, FT_Long face_index, FT_Face *aface ) Mac_Read_sfnt_Resource() argument 2166 IsMacResource( FT_Library library, FT_Stream stream, FT_Long resource_offset, FT_Long face_index, FT_Face *aface ) IsMacResource() argument 2226 IsMacBinary( FT_Library library, FT_Stream stream, FT_Long face_index, FT_Face *aface ) IsMacBinary() argument 2277 load_face_in_embedded_rfork( FT_Library library, FT_Stream stream, FT_Long face_index, FT_Face *aface, const FT_Open_Args *args ) load_face_in_embedded_rfork() argument 2376 load_mac_face( FT_Library library, FT_Stream stream, FT_Long face_index, FT_Face *aface, const FT_Open_Args *args ) load_mac_face() argument 2433 ft_open_face_internal( FT_Library library, const FT_Open_Args* args, FT_Long face_index, FT_Face *aface, FT_Bool test_mac_fonts ) ft_open_face_internal() argument 4442 FT_Library library = FT_FACE_LIBRARY( face ); ft_lookup_glyph_renderer() local 4467 FT_Library library = module->library; ft_add_renderer() local 4514 FT_Library library; ft_remove_renderer() local 4869 FT_Library library; FT_EXPORT_DEF() local 4915 FT_Library library = module->library; Destroy_Module() local 5082 FT_Get_Module_Interface( FT_Library library, const char* mod_name ) FT_Get_Module_Interface() argument 5115 FT_Library library = module->library; FT_BASE_DEF() local 5184 ft_property_do( FT_Library library, const FT_String* module_name, const FT_String* property_name, void* value, FT_Bool set, FT_Bool value_is_string ) ft_property_do() argument 5358 FT_Library library = NULL; FT_EXPORT_DEF() local 5394 FT_Library_Version( FT_Library library, FT_Int *amajor, FT_Int *aminor, FT_Int *apatch ) FT_Library_Version() argument 5528 FT_Set_Debug_Hook( FT_Library library, FT_UInt hook_index, FT_DebugHook_Func debug_hook ) FT_Set_Debug_Hook() argument [all...] |
H A D | ftlcdfil.c | 52 lcd_weights = slot->library->lcd_weights; in ft_lcd_padding() 53 lcd_filter_func = slot->library->lcd_filter_func; in ft_lcd_padding() 290 FT_Library_SetLcdFilterWeights( FT_Library library, in FT_EXPORT_DEF() 293 if ( !library ) in FT_EXPORT_DEF() 299 ft_memcpy( library->lcd_weights, weights, FT_LCD_FILTER_FIVE_TAPS ); in FT_EXPORT_DEF() 300 library->lcd_filter_func = ft_lcd_filter_fir; in FT_EXPORT_DEF() 309 FT_Library_SetLcdFilter( FT_Library library, in FT_EXPORT_DEF() 318 if ( !library ) in FT_EXPORT_DEF() 324 library->lcd_filter_func = NULL; in FT_EXPORT_DEF() 328 ft_memcpy( library in FT_EXPORT_DEF() [all...] |
H A D | ftinit.c | 25 * fresh new library object. The set is taken from the header file 31 * builds a library out of it, then calls FT_Default_Drivers(). 80 FT_Add_Default_Modules( FT_Library library ) in FT_Add_Default_Modules() 91 /* test for valid `library' delayed to FT_Add_Module() */ in FT_Add_Default_Modules() 94 error = FT_Add_Module( library, *cur ); in FT_Add_Default_Modules() 112 FT_Set_Default_Properties( FT_Library library ) in FT_Set_Default_Properties() 175 ft_property_string_set( library, in FT_Set_Default_Properties() 188 FT_Set_Default_Properties( FT_Library library ) in FT_Set_Default_Properties() 190 FT_UNUSED( library ); in FT_Set_Default_Properties() 221 /* build a library ou in FT_EXPORT_DEF() [all...] |
H A D | ftmac.c | 700 FT_New_Face_From_LWFN( FT_Library library, in FT_New_Face_From_LWFN() argument 716 error = read_lwfn( library->memory, res, &pfb_data, &pfb_size ); in FT_New_Face_From_LWFN() 721 return open_face_from_buffer( library, in FT_New_Face_From_LWFN() 732 FT_New_Face_From_SFNT( FT_Library library, in FT_New_Face_From_SFNT() argument 741 FT_Memory memory = library->memory; in FT_New_Face_From_SFNT() 776 if ( !open_face_PS_from_sfnt_stream( library, in FT_New_Face_From_SFNT() 791 error = open_face_from_buffer( library, in FT_New_Face_From_SFNT() 804 FT_New_Face_From_Suitcase( FT_Library library, in FT_New_Face_From_Suitcase() argument 837 error = FT_New_Face_From_FOND( library, fond, face_index, aface ); in FT_New_Face_From_Suitcase() 852 FT_New_Face_From_FOND( FT_Library library, in FT_EXPORT_DEF() 926 FT_New_Face_From_Resource( FT_Library library, const UInt8* pathname, FT_Long face_index, FT_Face* aface ) FT_New_Face_From_Resource() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcConfigListEGL.cpp | 96 const eglw::Library& library = nativeDisplay->getLibrary(); in getDefaultEglConfigList() local 98 std::vector<eglw::EGLConfig> configs = eglu::getConfigs(library, display); in getDefaultEglConfigList() 99 bool supportFloatConfigs = eglu::hasExtension(library, display, "EGL_EXT_pixel_format_float"); in getDefaultEglConfigList() 100 bool supportYUVConfigs = eglu::hasExtension(library, display, "EGL_EXT_yuv_surface"); in getDefaultEglConfigList() 104 int id = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_CONFIG_ID); in getDefaultEglConfigList() 105 deUint32 renderableBits = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_RENDERABLE_TYPE); in getDefaultEglConfigList() 106 deUint32 conformantBits = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_CONFORMANT); in getDefaultEglConfigList() 107 deInt32 redSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_RED_SIZE); in getDefaultEglConfigList() 108 deInt32 greenSize = eglu::getConfigAttribInt(library, display, *cfgIter, EGL_GREEN_SIZE); in getDefaultEglConfigList() 109 deInt32 blueSize = eglu::getConfigAttribInt(library, displa in getDefaultEglConfigList() [all...] |
/third_party/rust/crates/clang-sys/src/ |
H A D | link.rs | 17 pub fn $name(library: &mut super::SharedLibrary) { 18 let symbol = unsafe { library.library.get(stringify!($name).as_bytes()) }.ok(); 19 library.functions.$name = match symbol { 46 /// The (minimum) version of a `libclang` shared library. 72 /// A dynamically loaded instance of the `libclang` library. 75 library: libloading::Library, 81 fn new(library: libloading::Library, path: PathBuf) -> Self { in new() 82 Self { library, path, functions: Functions::default() } in new() 85 /// Returns the path to this `libclang` shared library 195 let mut library = SharedLibrary::new(library?, path); load_manually() variables [all...] |
/third_party/skia/third_party/externals/freetype/include/freetype/ |
H A D | ftmodapi.h | 258 * Add a new module to a given library instance. 261 * library :: 262 * A handle to the library object. 276 FT_Add_Module( FT_Library library, 289 * library :: 290 * A handle to the library object. 303 FT_Get_Module( FT_Library library, 313 * Remove a given module from a library instance. 316 * library :: 317 * A handle to a library objec 523 FT_Set_Default_Properties( FT_Library library ); global() variable 551 FT_Reference_Library( FT_Library library ); global() variable 615 FT_Done_Library( FT_Library library ); global() variable 719 FT_Add_Default_Modules( FT_Library library ); global() variable 797 FT_Get_TrueType_Engine_Type( FT_Library library ); global() variable [all...] |
H A D | ftbitmap.h | 94 * library :: 95 * A handle to a library object. 112 FT_Bitmap_Copy( FT_Library library, 128 * library :: 129 * A handle to a library object. 157 FT_Bitmap_Embolden( FT_Library library, 174 * library :: 175 * A handle to a library object. 197 * The `library` argument is taken to have access to FreeType's memory 204 FT_Bitmap_Convert( FT_Library library, [all...] |
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluGLFunctionLoader.cpp | 32 GLFunctionLoader::GLFunctionLoader (const eglw::Library& egl, const tcu::FunctionLibrary* library) in GLFunctionLoader() argument 34 , m_library (library) in GLFunctionLoader() 62 tcu::FunctionLibrary* library = DE_NULL; in getLibrary() local 68 library = m_platform.createDefaultGLFunctionLibrary(apiType, m_cmdLine); in getLibrary() 71 m_libraries.insert(std::make_pair(key, library)); in getLibrary() 75 delete library; in getLibrary() 80 library = iter->second; in getLibrary() 82 return library; in getLibrary()
|
/third_party/mesa3d/src/util/ |
H A D | u_dl.c | 57 util_dl_get_proc_address(struct util_dl_library *library, in util_dl_get_proc_address() argument 61 return (util_dl_proc) pointer_to_func(dlsym((void *)library, procname)); in util_dl_get_proc_address() 63 return (util_dl_proc)GetProcAddress((HMODULE)library, procname); in util_dl_get_proc_address() 71 util_dl_close(struct util_dl_library *library) in util_dl_close() argument 74 dlclose((void *)library); in util_dl_close() 76 FreeLibrary((HMODULE)library); in util_dl_close() 78 (void)library; in util_dl_close()
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
H A D | test_afm.c | 75 parse_afm( FT_Library library, in parse_afm() argument 84 psaux = (PSAux_Service)FT_Get_Module_Interface( library, "psaux" ); in parse_afm() 93 library->memory, in parse_afm() 113 FT_Library library; in main() local 122 error = FT_Init_FreeType( &library ); in main() 130 stream.memory = library->memory; in main() 133 error = parse_afm( library, &stream, &fi ); in main() 137 FT_Memory memory = library->memory; in main() 153 FT_Done_FreeType( library ); in main()
|
/third_party/node/tools/ |
H A D | gen_node_def.cc | 13 // when building Node.js as a shared library. This is conceptually 67 HMODULE library; member 71 Library(HMODULE library) : library(library) { in Library() 72 auto libnode = RelativeAddress(library); in Library() 95 // This is the name of the library without the suffix, this is more robust in Library() 116 ~Library() { FreeLibrary(library); } in ~Library() 134 auto library = LoadLibrary(dllPath); in LoadLibraryOrExit() local 135 if (library ! in LoadLibraryOrExit() [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | all.sh | 26 # * Makefile, library/Makefile, programs/Makefile, tests/Makefile, 97 # * Check out `Makefile`, `library/Makefile`, `programs/Makefile`, 119 test -d include -a -d library -a -d programs -a -d tests 150 files_to_back_up="$files_to_back_up Makefile library/Makefile programs/Makefile tests/Makefile programs/fuzz/Makefile" 419 "$ARMC6_FROMELF" -z library/*.o 592 git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile programs/fuzz/Makefile 593 git checkout -- Makefile library/Makefile programs/Makefile tests/Makefile programs/fuzz/Makefile 868 # 2d. On top of psa/crypto_config.h, the driver library uses its own config 873 # 3. Build the driver library, then the main libraries, test, and programs. 888 # Adjust the configuration - for both libtestdriver1 and main library, [all...] |
/third_party/skia/third_party/externals/freetype/builds/mac/ |
H A D | ftmac.c | 1080 FT_New_Face_From_LWFN( FT_Library library, in FT_New_Face_From_LWFN() argument 1096 error = read_lwfn( library->memory, res, &pfb_data, &pfb_size ); in FT_New_Face_From_LWFN() 1101 return open_face_from_buffer( library, in FT_New_Face_From_LWFN() 1112 FT_New_Face_From_SFNT( FT_Library library, in FT_New_Face_From_SFNT() argument 1121 FT_Memory memory = library->memory; in FT_New_Face_From_SFNT() 1153 if ( !open_face_PS_from_sfnt_stream( library, in FT_New_Face_From_SFNT() 1168 error = open_face_from_buffer( library, in FT_New_Face_From_SFNT() 1181 FT_New_Face_From_Suitcase( FT_Library library, in FT_New_Face_From_Suitcase() argument 1214 error = FT_New_Face_From_FOND( library, fond, face_index, aface ); in FT_New_Face_From_Suitcase() 1229 FT_New_Face_From_FOND( FT_Library library, in FT_EXPORT_DEF() 1347 FT_New_Face_From_Resource( FT_Library library, const UInt8* pathname, FT_Long face_index, FT_Face* aface ) FT_New_Face_From_Resource() argument [all...] |
/third_party/mbedtls/ |
H A D | Makefile | 5 ifneq (,$(filter-out lib library/%,$(or $(MAKECMDGOALS),all))) 32 $(MAKE) -C library 40 library/%: 41 $(MAKE) -C library $* 48 generated_files: library/generated_files 84 $(VISUALC_FILES): | library/generated_files 102 cp -RP library/libmbedtls.* $(DESTDIR)/lib 103 cp -RP library/libmbedx509.* $(DESTDIR)/lib 104 cp -RP library/libmbedcrypto.* $(DESTDIR)/lib 150 $(MAKE) -C library clea [all...] |
/third_party/skia/src/ports/ |
H A D | SkOSLibrary_win.cpp | 17 void* SkGetProcedureAddress(void* library, const char* functionName) { in SkGetProcedureAddress() argument 18 return reinterpret_cast<void*>(::GetProcAddress((HMODULE)library, functionName)); in SkGetProcedureAddress() 21 bool SkFreeDynamicLibrary(void* library) { in SkFreeDynamicLibrary() argument 22 return FreeLibrary((HMODULE)library); in SkFreeDynamicLibrary()
|
H A D | SkOSLibrary_posix.cpp | 18 void* SkGetProcedureAddress(void* library, const char* functionName) { in SkGetProcedureAddress() argument 19 return dlsym(library, functionName); in SkGetProcedureAddress() 22 bool SkFreeDynamicLibrary(void* library) { in SkFreeDynamicLibrary() argument 23 return dlclose(library) == 0; in SkFreeDynamicLibrary()
|
/third_party/skia/third_party/externals/angle2/src/common/vulkan/ |
H A D | libvulkan_loader.cpp | 46 std::unique_ptr<Library> library( in OpenLibVulkan() 48 if (library && library->getNative()) in OpenLibVulkan() 50 return library; in OpenLibVulkan()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/java/src/com/android/angle/test/ |
H A D | AngleUnitTestActivity.java | 28 for (String library : NativeLibraries.LIBRARIES) in onCreate() 30 Log.i(TAG, "loading: " + library); in onCreate() 31 System.loadLibrary(library); in onCreate() 32 Log.i(TAG, "loaded: " + library); in onCreate()
|
/third_party/skia/third_party/externals/spirv-tools/utils/ |
H A D | check_symbol_exports.py | 15 """Ensures that all externally visible functions in the library have an appropriate name 50 def check_library(library): 51 """Scans the given library file for global exports. If all such 82 for line in command_output(['objdump', '-t', library], '.').split('\n'): 102 parser = argparse.ArgumentParser(description='Check global names exported from a library') 103 parser.add_argument('library', help='The static library to examine') 106 if not os.path.isfile(args.library): 107 print('{}: error: {} does not exist'.format(PROG, args.library)) 111 status = check_library(args.library) [all...] |