• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching defs:symbol

102  * @name: the name of the symbol
103 * @symbol: the resulting symbol address
105 * Lookup for a symbol address in the given module
111 * Returns 0 if the symbol was found, or -1 in case of error
114 xmlModuleSymbol(xmlModulePtr module, const char *name, void **symbol)
118 if ((NULL == module) || (symbol == NULL)) {
125 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
131 "failed to find symbol: %s\n",
239 * returns 0 on success and the loaded symbol in result, and -1 on error.
243 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
245 *symbol = dlsym(handle, name);
283 * returns 0 on success and the loaded symbol in result, and -1 on error.
287 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
292 rc = shl_findsym(&handle, name, TYPE_UNDEFINED, symbol);
331 * returns 0 on success and the loaded symbol in result, and -1 on error.
335 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
341 *symbol = GetProcAddressA(handle, name);
343 *symbol = GetProcAddress(handle, name);
345 return (NULL == *symbol) ? -1 : 0;
388 * returns 0 on success and the loaded symbol in result, and -1 on error.
392 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
396 rc = get_image_symbol((image_id) handle, name, B_SYMBOL_TYPE_ANY, symbol);
443 * returns 0 on success and the loaded symbol in result, and -1 on error.
447 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
451 rc = DosQueryProcAddr(handle, 0, name, symbol);