Lines Matching refs:rc
116 int rc = -1; in xmlModuleSymbol() local
122 return rc; in xmlModuleSymbol()
125 rc = xmlModulePlatformSymbol(module->handle, name, symbol); in xmlModuleSymbol()
127 if (rc == -1) { in xmlModuleSymbol()
133 return rc; in xmlModuleSymbol()
136 return rc; in xmlModuleSymbol()
152 int rc; in xmlModuleClose() local
161 rc = xmlModulePlatformClose(module->handle); in xmlModuleClose()
163 if (rc != 0) { in xmlModuleClose()
171 rc = xmlModuleFree(module); in xmlModuleClose()
172 return (rc); in xmlModuleClose()
289 int rc; in xmlModulePlatformSymbol() local
292 rc = shl_findsym(&handle, name, TYPE_UNDEFINED, symbol); in xmlModulePlatformSymbol()
293 return rc; in xmlModulePlatformSymbol()
322 int rc; in xmlModulePlatformClose() local
324 rc = FreeLibrary(handle); in xmlModulePlatformClose()
325 return (0 == rc); in xmlModulePlatformClose()
375 status_t rc; in xmlModulePlatformClose() local
377 rc = unload_add_on((image_id) handle); in xmlModulePlatformClose()
379 if (rc == B_OK) in xmlModulePlatformClose()
394 status_t rc; in xmlModulePlatformSymbol() local
396 rc = get_image_symbol((image_id) handle, name, B_SYMBOL_TYPE_ANY, symbol); in xmlModulePlatformSymbol()
398 return (rc == B_OK) ? 0 : -1; in xmlModulePlatformSymbol()
418 int rc; in xmlModulePlatformOpen() local
420 rc = DosLoadModule(errbuf, sizeof(errbuf) - 1, name, &handle); in xmlModulePlatformOpen()
422 if (rc) in xmlModulePlatformOpen()
449 int rc; in xmlModulePlatformSymbol() local
451 rc = DosQueryProcAddr(handle, 0, name, symbol); in xmlModulePlatformSymbol()
453 return (rc == NO_ERROR) ? 0 : -1; in xmlModulePlatformSymbol()