Home | History | Annotate | Download | only in libxml2

Lines Matching full:symbol

98  * @name: the name of the symbol
99 * @symbol: the resulting symbol address
101 * Lookup for a symbol address in the given module
103 * Returns 0 if the symbol was found, or -1 in case of error
106 xmlModuleSymbol(xmlModulePtr module, const char *name, void **symbol)
110 if ((NULL == module) || (symbol == NULL)) {
117 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
123 "failed to find symbol: %s\n",
231 * returns 0 on success and the loaded symbol in result, and -1 on error.
235 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
237 *symbol = dlsym(handle, name);
275 * returns 0 on success and the loaded symbol in result, and -1 on error.
279 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
284 rc = shl_findsym(&handle, name, TYPE_UNDEFINED, symbol);
323 * returns 0 on success and the loaded symbol in result, and -1 on error.
327 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
329 *symbol = GetProcAddress(handle, name);
330 return (NULL == *symbol) ? -1 : 0;
373 * returns 0 on success and the loaded symbol in result, and -1 on error.
377 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
381 rc = get_image_symbol((image_id) handle, name, B_SYMBOL_TYPE_ANY, symbol);
428 * returns 0 on success and the loaded symbol in result, and -1 on error.
432 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
436 rc = DosQueryProcAddr(handle, 0, name, symbol);