Lines Matching refs:NULL

32     NULL, XML_ENTITY_DECL, BAD_CAST "lt",
33 NULL, NULL, NULL, NULL, NULL, NULL,
36 NULL, NULL, NULL, NULL, 0, 1
39 NULL, XML_ENTITY_DECL, BAD_CAST "gt",
40 NULL, NULL, NULL, NULL, NULL, NULL,
43 NULL, NULL, NULL, NULL, 0, 1
46 NULL, XML_ENTITY_DECL, BAD_CAST "amp",
47 NULL, NULL, NULL, NULL, NULL, NULL,
50 NULL, NULL, NULL, NULL, 0, 1
53 NULL, XML_ENTITY_DECL, BAD_CAST "quot",
54 NULL, NULL, NULL, NULL, NULL, NULL,
57 NULL, NULL, NULL, NULL, 0, 1
60 NULL, XML_ENTITY_DECL, BAD_CAST "apos",
61 NULL, NULL, NULL, NULL, NULL, NULL,
64 NULL, NULL, NULL, NULL, 0, 1
76 __xmlSimpleError(XML_FROM_TREE, XML_ERR_NO_MEMORY, NULL, NULL, extra); in xmlEntitiesErrMemory()
89 __xmlSimpleError(XML_FROM_TREE, code, NULL, msg, NULL); in xmlEntitiesErr()
98 xmlDictPtr dict = NULL; in xmlFreeEntity()
100 if (entity == NULL) in xmlFreeEntity()
103 if (entity->doc != NULL) in xmlFreeEntity()
110 if (dict != NULL) { in xmlFreeEntity()
111 if ((entity->name != NULL) && (!xmlDictOwns(dict, entity->name))) in xmlFreeEntity()
113 if ((entity->ExternalID != NULL) && in xmlFreeEntity()
116 if ((entity->SystemID != NULL) && in xmlFreeEntity()
119 if ((entity->URI != NULL) && (!xmlDictOwns(dict, entity->URI))) in xmlFreeEntity()
121 if ((entity->content != NULL) in xmlFreeEntity()
124 if ((entity->orig != NULL) && (!xmlDictOwns(dict, entity->orig))) in xmlFreeEntity()
127 if (entity->name != NULL) in xmlFreeEntity()
129 if (entity->ExternalID != NULL) in xmlFreeEntity()
131 if (entity->SystemID != NULL) in xmlFreeEntity()
133 if (entity->URI != NULL) in xmlFreeEntity()
135 if (entity->content != NULL) in xmlFreeEntity()
137 if (entity->orig != NULL) in xmlFreeEntity()
155 if (ret == NULL) { in xmlCreateEntity()
157 return(NULL); in xmlCreateEntity()
167 if (dict == NULL) { in xmlCreateEntity()
169 if (ExternalID != NULL) in xmlCreateEntity()
171 if (SystemID != NULL) in xmlCreateEntity()
175 if (ExternalID != NULL) in xmlCreateEntity()
177 if (SystemID != NULL) in xmlCreateEntity()
180 if (content != NULL) { in xmlCreateEntity()
182 if ((dict != NULL) && (ret->length < 5)) in xmlCreateEntity()
189 ret->content = NULL; in xmlCreateEntity()
191 ret->URI = NULL; /* to be computed by the layer knowing in xmlCreateEntity()
193 ret->orig = NULL; in xmlCreateEntity()
206 xmlDictPtr dict = NULL; in xmlAddEntity()
207 xmlEntitiesTablePtr table = NULL; in xmlAddEntity()
210 if (name == NULL) in xmlAddEntity()
211 return(NULL); in xmlAddEntity()
212 if (dtd == NULL) in xmlAddEntity()
213 return(NULL); in xmlAddEntity()
214 if (dtd->doc != NULL) in xmlAddEntity()
221 if (dtd->entities == NULL) in xmlAddEntity()
227 if (dtd->pentities == NULL) in xmlAddEntity()
232 return(NULL); in xmlAddEntity()
234 if (table == NULL) in xmlAddEntity()
235 return(NULL); in xmlAddEntity()
237 if (ret == NULL) in xmlAddEntity()
238 return(NULL); in xmlAddEntity()
246 return(NULL); in xmlAddEntity()
261 if (name == NULL) return(NULL); in xmlGetPredefinedEntity()
284 return(NULL); in xmlGetPredefinedEntity()
307 if (doc == NULL) { in xmlAddDtdEntity()
310 return(NULL); in xmlAddDtdEntity()
312 if (doc->extSubset == NULL) { in xmlAddDtdEntity()
315 return(NULL); in xmlAddDtdEntity()
319 if (ret == NULL) return(NULL); in xmlAddDtdEntity()
326 if (dtd->last == NULL) { in xmlAddDtdEntity()
356 if (doc == NULL) { in xmlAddDocEntity()
359 return(NULL); in xmlAddDocEntity()
361 if (doc->intSubset == NULL) { in xmlAddDocEntity()
364 return(NULL); in xmlAddDocEntity()
368 if (ret == NULL) return(NULL); in xmlAddDocEntity()
375 if (dtd->last == NULL) { in xmlAddDocEntity()
409 if ((doc != NULL) && (doc->intSubset != NULL)) { in xmlNewEntity()
412 if (doc != NULL) in xmlNewEntity()
415 dict = NULL; in xmlNewEntity()
417 if (ret == NULL) in xmlNewEntity()
418 return(NULL); in xmlNewEntity()
454 if (doc == NULL) in xmlGetParameterEntity()
455 return(NULL); in xmlGetParameterEntity()
456 if ((doc->intSubset != NULL) && (doc->intSubset->pentities != NULL)) { in xmlGetParameterEntity()
459 if (ret != NULL) in xmlGetParameterEntity()
462 if ((doc->extSubset != NULL) && (doc->extSubset->pentities != NULL)) { in xmlGetParameterEntity()
466 return(NULL); in xmlGetParameterEntity()
484 if (doc == NULL) in xmlGetDtdEntity()
485 return(NULL); in xmlGetDtdEntity()
486 if ((doc->extSubset != NULL) && (doc->extSubset->entities != NULL)) { in xmlGetDtdEntity()
490 return(NULL); in xmlGetDtdEntity()
509 if (doc != NULL) { in xmlGetDocEntity()
510 if ((doc->intSubset != NULL) && (doc->intSubset->entities != NULL)) { in xmlGetDocEntity()
513 if (cur != NULL) in xmlGetDocEntity()
517 if ((doc->extSubset != NULL) && in xmlGetDocEntity()
518 (doc->extSubset->entities != NULL)) { in xmlGetDocEntity()
521 if (cur != NULL) in xmlGetDocEntity()
537 if (tmp == NULL) goto mem_error; \
558 xmlChar *buffer = NULL; in xmlEncodeEntitiesInternal()
559 xmlChar *out = NULL; in xmlEncodeEntitiesInternal()
563 if (input == NULL) return(NULL); in xmlEncodeEntitiesInternal()
564 if (doc != NULL) in xmlEncodeEntitiesInternal()
572 if (buffer == NULL) { in xmlEncodeEntitiesInternal()
574 return(NULL); in xmlEncodeEntitiesInternal()
597 ((end = xmlStrstr(cur, BAD_CAST "-->")) != NULL)) { in xmlEncodeEntitiesInternal()
650 if (((doc != NULL) && (doc->encoding != NULL)) || (html)) { in xmlEncodeEntitiesInternal()
671 if (doc != NULL) in xmlEncodeEntitiesInternal()
704 if (doc != NULL) in xmlEncodeEntitiesInternal()
739 return(NULL); in xmlEncodeEntitiesInternal()
788 xmlChar *buffer = NULL; in xmlEncodeSpecialChars()
789 xmlChar *out = NULL; in xmlEncodeSpecialChars()
791 if (input == NULL) return(NULL); in xmlEncodeSpecialChars()
798 if (buffer == NULL) { in xmlEncodeSpecialChars()
800 return(NULL); in xmlEncodeSpecialChars()
859 return(NULL); in xmlEncodeSpecialChars()
885 if (entity != NULL) in xmlFreeEntityWrapper()
914 if (cur == NULL) { in xmlCopyEntity()
916 return(NULL); in xmlCopyEntity()
922 if (ent->name != NULL) in xmlCopyEntity()
924 if (ent->ExternalID != NULL) in xmlCopyEntity()
926 if (ent->SystemID != NULL) in xmlCopyEntity()
928 if (ent->content != NULL) in xmlCopyEntity()
930 if (ent->orig != NULL) in xmlCopyEntity()
932 if (ent->URI != NULL) in xmlCopyEntity()
1003 if ((buf == NULL) || (ent == NULL)) return; in xmlDumpEntityDecl()
1009 if (ent->orig != NULL) in xmlDumpEntityDecl()
1018 if (ent->ExternalID != NULL) { in xmlDumpEntityDecl()
1032 if (ent->ExternalID != NULL) { in xmlDumpEntityDecl()
1041 if (ent->content != NULL) { /* Should be true ! */ in xmlDumpEntityDecl()
1043 if (ent->orig != NULL) in xmlDumpEntityDecl()
1054 if (ent->orig == NULL) in xmlDumpEntityDecl()
1063 if (ent->ExternalID != NULL) { in xmlDumpEntityDecl()