Lines Matching refs:NULL
83 zend_string *callable = NULL; in dom_xpath_ext_function_php()
93 if (intern == NULL) { in dom_xpath_ext_function_php()
148 curns = xmlNewNs(NULL, node->name, NULL); in dom_xpath_ext_function_php()
153 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name); in dom_xpath_ext_function_php()
155 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) "xmlns", node->name); in dom_xpath_ext_function_php()
177 if (obj->stringval == NULL) { in dom_xpath_ext_function_php()
178 php_error_docref(NULL, E_WARNING, "Handler name must be a string"); in dom_xpath_ext_function_php()
191 fci.symbol_table = NULL; in dom_xpath_ext_function_php()
192 fci.object = NULL; in dom_xpath_ext_function_php()
197 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", ZSTR_VAL(callable)); in dom_xpath_ext_function_php()
199 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'.", ZSTR_VAL(callable)); in dom_xpath_ext_function_php()
203 result = zend_call_function(&fci, NULL); in dom_xpath_ext_function_php()
208 if (intern->node_list == NULL) { in dom_xpath_ext_function_php()
210 zend_hash_init(intern->node_list, 0, NULL, ZVAL_PTR_DTOR, 0); in dom_xpath_ext_function_php()
220 php_error_docref(NULL, E_WARNING, "A PHP Object cannot be converted to a XPath-string"); in dom_xpath_ext_function_php()
257 xmlDocPtr docp = NULL; in PHP_METHOD()
269 if (ctx == NULL) { in PHP_METHOD()
275 if (intern != NULL) { in PHP_METHOD()
277 if (oldctx != NULL) { in PHP_METHOD()
300 xmlDoc *docp = NULL; in dom_xpath_document_read()
328 if (ctxp == NULL) { in PHP_FUNCTION()
329 php_error_docref(NULL, E_WARNING, "Invalid XPath Context"); in PHP_FUNCTION()
351 zval *id, retval, *context = NULL; in php_xpath_eval()
353 xmlNodePtr nodep = NULL; in php_xpath_eval()
359 xmlDoc *docp = NULL; in php_xpath_eval()
360 xmlNsPtr *ns = NULL; in php_xpath_eval()
370 if (ctxp == NULL) { in php_xpath_eval()
371 php_error_docref(NULL, E_WARNING, "Invalid XPath Context"); in php_xpath_eval()
376 if (docp == NULL) { in php_xpath_eval()
377 php_error_docref(NULL, E_WARNING, "Invalid XPath Document Pointer"); in php_xpath_eval()
381 if (context != NULL) { in php_xpath_eval()
390 php_error_docref(NULL, E_WARNING, "Node From Wrong Document"); in php_xpath_eval()
400 if (ns != NULL) { in php_xpath_eval()
401 while (ns[nsnbr] != NULL) in php_xpath_eval()
411 ctxp->node = NULL; in php_xpath_eval()
413 if (ns != NULL) { in php_xpath_eval()
415 ctxp->namespaces = NULL; in php_xpath_eval()
438 if (xpathobjp->type == XPATH_NODESET && NULL != (nodesetp = xpathobjp->nodesetval)) { in php_xpath_eval()
449 curns = xmlNewNs(NULL, node->name, NULL); in php_xpath_eval()
454 node = xmlNewDocNode(docp, NULL, (xmlChar *) node->children, node->name); in php_xpath_eval()
456 node = xmlNewDocNode(docp, NULL, (xmlChar *) "xmlns", node->name); in php_xpath_eval()