Home | History | Annotate | Download | only in libxml2

Lines Matching defs:name

23     unsigned char *name;
27 static void *xmlModulePlatformOpen(const char *name);
29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result);
46 const char *name = NULL;
49 name = (const char *) module->name;
54 name, NULL, 0, 0,
60 * @name: the module name
63 * Opens a module/shared library given its name or path
65 * guaranteed with @name using ASCII. We canot guarantee that
66 * an UTF-8 string would work, which is why name is a const char *
73 xmlModuleOpen(const char *name, int options ATTRIBUTE_UNUSED)
85 module->handle = xmlModulePlatformOpen(name);
91 name, NULL, 0, 0, "failed to open %s\n", name);
95 module->name = xmlStrdup((const xmlChar *) name);
102 * @name: the name of the symbol
107 * guaranteed with @name using ASCII. We canot guarantee that
108 * an UTF-8 string would work, which is why name is a const char *
114 xmlModuleSymbol(xmlModulePtr module, const char *name, void **symbol)
118 if ((NULL == module) || (symbol == NULL) || (name == NULL)) {
125 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
130 name, NULL, 0, 0,
132 (name == NULL ? "NULL" : name));
166 (const char *) module->name, NULL, 0, 0,
167 "failed to close: %s\n", module->name);
195 xmlFree(module->name);
212 * @name: path to the module
218 xmlModulePlatformOpen(const char *name)
220 return dlopen(name, RTLD_GLOBAL | RTLD_NOW);
243 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
245 *symbol = dlsym(handle, name);
264 xmlModulePlatformOpen(const char *name)
266 return shl_load(name, BIND_IMMEDIATE, 0L);
287 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
292 rc = shl_findsym(&handle, name, TYPE_UNDEFINED, symbol);
309 xmlModulePlatformOpen(const char *name)
311 return LoadLibraryA(name);
335 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
341 *symbol = GetProcAddressA(handle, name);
343 *symbol = GetProcAddress(handle, name);
361 xmlModulePlatformOpen(const char *name)
363 return (void *) load_add_on(name);
392 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
396 rc = get_image_symbol((image_id) handle, name, B_SYMBOL_TYPE_ANY, symbol);
414 xmlModulePlatformOpen(const char *name)
420 rc = DosLoadModule(errbuf, sizeof(errbuf) - 1, name, &handle);
447 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
451 rc = DosQueryProcAddr(handle, 0, name, symbol);