Lines Matching refs:NULL

39 …php_error_docref(NULL, E_WARNING, "Cannot create XPath expression (string contains both quote and …  in php_xsl_xslt_string_to_xpathexpr()
40 return NULL; in php_xsl_xslt_string_to_xpathexpr()
61 char **params = NULL; in php_xsl_xslt_make_params()
69 ZEND_ASSERT(string_key != NULL); in php_xsl_xslt_make_params()
73 return NULL; in php_xsl_xslt_make_params()
88 params[i++] = NULL; in php_xsl_xslt_make_params()
97 zval *args = NULL; in xsl_ext_function_php()
106 zend_string *callable = NULL; in xsl_ext_function_php()
115 if (tctxt == NULL) { in xsl_ext_function_php()
121 if (intern == NULL) { in xsl_ext_function_php()
145 zend_throw_error(NULL, "Function name must be passed as the first argument"); in xsl_ext_function_php()
156 if (obj == NULL) { in xsl_ext_function_php()
189 curns = xmlNewNs(NULL, node->name, NULL); in xsl_ext_function_php()
194 node = xmlNewDocNode(node->doc, NULL, (xmlChar *) node->children, node->name); in xsl_ext_function_php()
196 node = xmlNewDocNode(node->doc, NULL, (const xmlChar *) "xmlns", node->name); in xsl_ext_function_php()
222 fci.named_params = NULL; in xsl_ext_function_php()
226 fci.params = NULL; in xsl_ext_function_php()
231 if (obj == NULL || obj->stringval == NULL) { in xsl_ext_function_php()
232 php_error_docref(NULL, E_WARNING, "Handler name must be a string"); in xsl_ext_function_php()
247 fci.object = NULL; in xsl_ext_function_php()
251 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", ZSTR_VAL(callable)); in xsl_ext_function_php()
255 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'", ZSTR_VAL(callable)); in xsl_ext_function_php()
259 zend_call_function(&fci, NULL); in xsl_ext_function_php()
265 if (intern->node_list == NULL) { in xsl_ext_function_php()
276 php_error_docref(NULL, E_WARNING, "A PHP Object cannot be converted to a XPath-string"); in xsl_ext_function_php()
312 zval *id, *docp = NULL; in PHP_METHOD()
313 xmlDoc *doc = NULL, *newdoc = NULL; in PHP_METHOD()
317 xmlNode *nodep = NULL; in PHP_METHOD()
331 if (doc == NULL) { in PHP_METHOD()
357 cloneDocu = zend_std_read_property(Z_OBJ_P(id), member, BP_VAR_IS, NULL, &rv); in PHP_METHOD()
381 if (((xsltStylesheetPtr) intern->ptr)->_private != NULL) { in PHP_METHOD()
382 ((xsltStylesheetPtr) intern->ptr)->_private = NULL; in PHP_METHOD()
385 intern->ptr = NULL; in PHP_METHOD()
395 xmlDocPtr newdocp = NULL; in php_xsl_apply_stylesheet()
396 xmlDocPtr doc = NULL; in php_xsl_apply_stylesheet()
397 xmlNodePtr node = NULL; in php_xsl_apply_stylesheet()
400 char **params = NULL; in php_xsl_apply_stylesheet()
407 xsltSecurityPrefsPtr secPrefs = NULL; in php_xsl_apply_stylesheet()
415 if (doc == NULL) { in php_xsl_apply_stylesheet()
417 return NULL; in php_xsl_apply_stylesheet()
420 if (style == NULL) { in php_xsl_apply_stylesheet()
422 zend_throw_error(NULL, "%s() can only be called after a stylesheet has been imported", in php_xsl_apply_stylesheet()
425 return NULL; in php_xsl_apply_stylesheet()
430 f = NULL; in php_xsl_apply_stylesheet()
435 f = NULL; in php_xsl_apply_stylesheet()
458 doXInclude = zend_std_read_property(Z_OBJ_P(id), member, BP_VAR_IS, NULL, &rv); in php_xsl_apply_stylesheet()
502 …php_error_docref(NULL, E_WARNING, "Can't set libxslt security properties, not doing transformation… in php_xsl_apply_stylesheet()
504 newdocp = xsltApplyStylesheetUser(style, doc, (const char**) params, NULL, f, ctxt); in php_xsl_apply_stylesheet()
515 if (intern->node_list != NULL) { in php_xsl_apply_stylesheet()
518 intern->node_list = NULL; in php_xsl_apply_stylesheet()
523 intern->doc = NULL; in php_xsl_apply_stylesheet()
543 zval *id, *docp = NULL; in PHP_METHOD()
546 zend_string *ret_class = NULL; in PHP_METHOD()
567 while (curce->parent != NULL) { in PHP_METHOD()
572 if (ce == NULL || !instanceof_function(ce, curce)) { in PHP_METHOD()
586 php_dom_create_object((xmlNodePtr) newdocp, return_value, NULL); in PHP_METHOD()
598 zval *id, *docp = NULL; in PHP_METHOD()
629 zval *id, *docp = NULL; in PHP_METHOD()
673 zend_string *string_key, *name, *value = NULL; in PHP_METHOD()
694 if (string_key == NULL) { in PHP_METHOD()
734 if ((value = zend_hash_find(intern->parameter, name)) != NULL) { in PHP_METHOD()
769 zend_string *restrict_str = NULL; in PHP_METHOD()
770 HashTable *restrict_ht = NULL; in PHP_METHOD()
806 char *filename = NULL; in PHP_METHOD()
817 if (filename != NULL) { in PHP_METHOD()
820 intern->profiling = NULL; in PHP_METHOD()