Lines Matching refs:NULL
46 const char *name = NULL; in xmlModuleErrMemory()
48 if (module != NULL) { in xmlModuleErrMemory()
52 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleErrMemory()
53 XML_ERR_NO_MEMORY, XML_ERR_FATAL, NULL, 0, extra, in xmlModuleErrMemory()
54 name, NULL, 0, 0, in xmlModuleErrMemory()
78 if (module == NULL) { in xmlModuleOpen()
79 xmlModuleErrMemory(NULL, "creating module"); in xmlModuleOpen()
80 return (NULL); in xmlModuleOpen()
87 if (module->handle == NULL) { in xmlModuleOpen()
89 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleOpen()
90 XML_MODULE_OPEN, XML_ERR_FATAL, NULL, 0, 0, in xmlModuleOpen()
91 name, NULL, 0, 0, "failed to open %s\n", name); in xmlModuleOpen()
92 return(NULL); in xmlModuleOpen()
118 if ((NULL == module) || (symbol == NULL) || (name == NULL)) { in xmlModuleSymbol()
119 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleSymbol()
120 XML_MODULE_OPEN, XML_ERR_FATAL, NULL, 0, 0, in xmlModuleSymbol()
121 NULL, NULL, 0, 0, "null parameter\n"); in xmlModuleSymbol()
128 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleSymbol()
129 XML_MODULE_OPEN, XML_ERR_FATAL, NULL, 0, 0, in xmlModuleSymbol()
130 name, NULL, 0, 0, in xmlModuleSymbol()
132 (name == NULL ? "NULL" : name)); in xmlModuleSymbol()
154 if (NULL == module) { in xmlModuleClose()
155 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleClose()
156 XML_MODULE_CLOSE, XML_ERR_FATAL, NULL, 0, 0, in xmlModuleClose()
157 NULL, NULL, 0, 0, "null module pointer\n"); in xmlModuleClose()
164 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleClose()
165 XML_MODULE_CLOSE, XML_ERR_FATAL, NULL, 0, 0, in xmlModuleClose()
166 (const char *) module->name, NULL, 0, 0, in xmlModuleClose()
188 if (NULL == module) { in xmlModuleFree()
189 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, in xmlModuleFree()
190 XML_MODULE_CLOSE, XML_ERR_FATAL, NULL, 0, NULL, in xmlModuleFree()
191 NULL, NULL, 0, 0, "null module pointer\n"); in xmlModuleFree()
246 if (dlerror() != NULL) { in xmlModulePlatformSymbol()
345 return (NULL == *symbol) ? -1 : 0; in xmlModulePlatformSymbol()