Lines Matching refs:module
44 xmlModuleErrMemory(xmlModulePtr module, const char *extra) in xmlModuleErrMemory() argument
48 if (module != NULL) { in xmlModuleErrMemory()
49 name = (const char *) module->name; in xmlModuleErrMemory()
71 xmlModulePtr module; in xmlModuleOpen() local
73 module = (xmlModulePtr) xmlMalloc(sizeof(xmlModule)); in xmlModuleOpen()
74 if (module == NULL) { in xmlModuleOpen()
79 memset(module, 0, sizeof(xmlModule)); in xmlModuleOpen()
81 module->handle = xmlModulePlatformOpen(name); in xmlModuleOpen()
83 if (module->handle == NULL) { in xmlModuleOpen()
84 xmlFree(module); in xmlModuleOpen()
91 module->name = xmlStrdup((const xmlChar *) name); in xmlModuleOpen()
92 return (module); in xmlModuleOpen()
106 xmlModuleSymbol(xmlModulePtr module, const char *name, void **symbol) in xmlModuleSymbol() argument
110 if ((NULL == module) || (symbol == NULL)) { in xmlModuleSymbol()
117 rc = xmlModulePlatformSymbol(module->handle, name, symbol); in xmlModuleSymbol()
142 xmlModuleClose(xmlModulePtr module) in xmlModuleClose() argument
146 if (NULL == module) { in xmlModuleClose()
153 rc = xmlModulePlatformClose(module->handle); in xmlModuleClose()
158 (const char *) module->name, NULL, 0, 0, in xmlModuleClose()
159 "failed to close: %s\n", module->name); in xmlModuleClose()
163 rc = xmlModuleFree(module); in xmlModuleClose()
178 xmlModuleFree(xmlModulePtr module) in xmlModuleFree() argument
180 if (NULL == module) { in xmlModuleFree()
187 xmlFree(module->name); in xmlModuleFree()
188 xmlFree(module); in xmlModuleFree()