Home
last modified time | relevance | path

Searched refs:ZEND_ASSERT (Results 76 – 100 of 228) sorted by path

12345678910

/php-src/ext/dba/
H A Ddba_lmdb.c47 ZEND_ASSERT(map_size >= 0); in DBA_OPEN_FUNC()
53 ZEND_ASSERT(info->driver_flags >= 0); in DBA_OPEN_FUNC()
/php-src/ext/dom/
H A Dattr.c126 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_attr_value_write()
H A Dcharacterdata.c69 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_characterdata_data_write()
H A Ddocument.c120 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING || Z_TYPE_P(newval) == IS_NULL); in dom_document_encoding_write()
1062 ZEND_ASSERT(iteration_object != NULL); in php_dom_transfer_document_ref_single_node()
1460 ZEND_ASSERT(doc_ptr != NULL); /* Must exist, we have a document */ in php_dom_finish_loading_document()
H A Ddom_iterators.c208 ZEND_ASSERT(basenode != NULL); in php_dom_iterator_move_forward()
H A Ddomimplementation.c318 ZEND_ASSERT(doctype->parent == document); in PHP_METHOD()
H A Delement.c155 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_element_reflected_attribute_write()
453 ZEND_ASSERT(current_worklist_item->current_node->type == XML_ELEMENT_NODE); in dom_deep_ns_redef()
496 ZEND_ASSERT(thisp != NULL); in dom_remove_attribute()
497 ZEND_ASSERT(attrp != NULL); in dom_remove_attribute()
652 ZEND_ASSERT(attrp->type == XML_ATTRIBUTE_NODE); in dom_element_set_attribute_node_common()
735 ZEND_ASSERT(attrp->type == XML_ATTRIBUTE_NODE); in dom_element_remove_attribute_node()
1003 ZEND_ASSERT(node->type == XML_ELEMENT_NODE); in dom_remove_eliminated_ns_single_element()
1022 ZEND_ASSERT(node != base); in dom_remove_eliminated_ns()
H A Dhtml_collection.c117 ZEND_ASSERT(index.type == DOM_NODELIST_DIM_LONG); in dom_html_collection_read_dimension()
138 ZEND_ASSERT(index.type == DOM_NODELIST_DIM_LONG); in dom_html_collection_has_dimension()
H A Dhtml_document.c90 ZEND_ASSERT(OBJ_PROP_TO_NUM(prop_info->offset) == PROP_INDEX); in dom_modern_document_implementation_read()
608 ZEND_ASSERT(encode_status != LXB_STATUS_ERROR && "parameters and replacements should be valid"); in dom_decode_encode_slow_path()
1335 ZEND_ASSERT(result == SUCCESS); in PHP_METHOD()
1345 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_html_document_encoding_write()
H A Dnamespace_compat.c118 ZEND_ASSERT(prefix != NULL); in dom_create_owned_ns()
119 ZEND_ASSERT(uri != NULL); in dom_create_owned_ns()
204 ZEND_ASSERT(ns != NULL); in php_dom_libxml_ns_mapper_store_and_normalize_parsed_ns()
258 ZEND_ASSERT(xmlns_ns != NULL); in php_dom_ns_compat_mark_attribute()
301 ZEND_ASSERT(ns != NULL); in php_dom_ns_is_fast_ex()
319 ZEND_ASSERT(nodep != NULL); in php_dom_ns_is_fast()
329 ZEND_ASSERT(nodep != NULL); in php_dom_ns_is_html_and_document_is_html()
336 ZEND_ASSERT(attrp != NULL); in php_dom_reconcile_attribute_namespace_after_insertion()
441 ZEND_ASSERT(node != base); in php_dom_libxml_reconcile_modern()
460 ZEND_ASSERT(node != NULL); in php_dom_get_in_scope_ns()
[all …]
H A Dnode.c63 ZEND_ASSERT(node != NULL); in php_dom_is_node_connected()
598 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_node_prefix_write()
1483 ZEND_ASSERT(new_intern->document->private_data == NULL); in PHP_METHOD()
1681 ZEND_ASSERT(this_attr != NULL); in PHP_DOM_DEFINE_LIST_COUNTER_HELPER()
1682 ZEND_ASSERT(other_attr != NULL); in PHP_DOM_DEFINE_LIST_COUNTER_HELPER()
1690 ZEND_ASSERT(this != NULL); in php_dom_node_is_equal_node()
1691 ZEND_ASSERT(other != NULL); in php_dom_node_is_equal_node()
2544 ZEND_ASSERT(node1 != node2); in dom_node_compare_document_position()
2545 ZEND_ASSERT(node1 != NULL); in dom_node_compare_document_position()
2546 ZEND_ASSERT(node2 != NULL); in dom_node_compare_document_position()
[all …]
H A Dparentnode.c232 ZEND_ASSERT(child != NULL); in php_dom_fragment_insertion_hierarchy_check_replace()
254 ZEND_ASSERT(parentNode != NULL); in dom_is_pre_insert_valid_without_step_1()
258 ZEND_ASSERT(!php_dom_pre_insert_is_parent_invalid(parentNode)); in dom_is_pre_insert_valid_without_step_1()
375 ZEND_ASSERT(Z_TYPE_P(nodes) == IS_STRING); in dom_zvals_to_single_node()
417 ZEND_ASSERT(Z_TYPE(nodes[i]) == IS_STRING); in dom_zvals_to_single_node()
493 ZEND_ASSERT(node->parent == NULL); in dom_insert_node_list_cleanup()
497 ZEND_ASSERT(node->_private != NULL); in dom_insert_node_list_cleanup()
H A Dphp_dom.c391 ZEND_ASSERT(prop && ZEND_TYPE_IS_SET(prop->type)); in dom_write_property()
462 ZEND_ASSERT(string_key != NULL); in dom_get_debug_info_helper()
617 ZEND_ASSERT(original_node->type == XML_NAMESPACE_DECL); in dom_object_namespace_node_clone_obj()
1350 ZEND_ASSERT(basenode != NULL); in dom_namednode_iter()
1521 ZEND_ASSERT(modern); in php_dom_create_iterator()
1526 ZEND_ASSERT(iterator_type == DOM_NODELIST); in php_dom_create_iterator()
1906 ZEND_ASSERT(nodep->type != XML_ATTRIBUTE_NODE); in dom_reconcile_ns()
1919 ZEND_ASSERT(nodep != NULL); in dom_reconcile_ns_list_internal()
2037 ZEND_ASSERT(tree != NULL); in dom_get_ns_resolve_prefix_conflict()
2229 ZEND_ASSERT(nodep != NULL); in php_dom_get_content_into_zval()
[all …]
H A Dphp_dom.h228 ZEND_ASSERT(cache_tag != NULL); in php_dom_is_cache_tag_stale_from_doc_ptr()
229 ZEND_ASSERT(doc_ptr != NULL); in php_dom_is_cache_tag_stale_from_doc_ptr()
240 ZEND_ASSERT(node != NULL); in php_dom_is_cache_tag_stale_from_node()
254 ZEND_ASSERT(cache_tag != NULL); in php_dom_mark_cache_tag_up_to_date_from_node()
266 ZEND_ASSERT(cache_tag != NULL); in php_dom_mark_cache_tag_up_to_date_from_doc_ref()
267 ZEND_ASSERT(document != NULL); in php_dom_mark_cache_tag_up_to_date_from_doc_ref()
273 ZEND_ASSERT(node != NULL); in php_dom_follow_spec_node()
H A Dprocessinginstruction.c100 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_processinginstruction_data_write()
H A Dxml_common.h88 ZEND_ASSERT(intern->document != NULL); in php_dom_get_ns_mapper()
120 ZEND_ASSERT(intern != NULL); in php_dom_follow_spec_intern()
H A Dxml_serializer.c162 ZEND_ASSERT(prefix != NULL); in dom_xml_local_prefix_map_add()
172 ZEND_ASSERT(prefix != NULL); in dom_xml_local_prefix_map_find()
208 ZEND_ASSERT(map->ht != NULL); in dom_xml_ns_prefix_map_add()
209 ZEND_ASSERT(prefix != NULL); in dom_xml_ns_prefix_map_add()
255 ZEND_ASSERT(map->ht != NULL); in dom_get_candidates_list()
266 ZEND_ASSERT(prefix != NULL); in dom_prefix_in_candidate_list()
291 ZEND_ASSERT(ns != NULL); in dom_prefix_found_in_ns_prefix_map()
335 ZEND_ASSERT(prefix_definition != NULL); in dom_recording_the_namespace_information()
339 ZEND_ASSERT(namespace_definition != NULL); in dom_recording_the_namespace_information()
405 ZEND_ASSERT(prefix != NULL); in dom_retrieve_a_preferred_prefix_string()
[all …]
H A Dxpath.c60 ZEND_ASSERT(node->type != XML_NAMESPACE_DECL); in dom_xpath_proxy_factory()
512 ZEND_ASSERT(ptr == end); in PHP_METHOD()
H A Dxpath_callbacks.c325 ZEND_ASSERT(obj != NULL); in php_dom_xpath_callback_fetch_args()
416 ZEND_ASSERT(ns->mode == PHP_DOM_REG_FUNC_MODE_SET); in php_dom_xpath_callback_dispatch()
499 ZEND_ASSERT(xpath_callbacks->namespaces != NULL); in php_dom_xpath_callbacks_call_custom_ns()
503 ZEND_ASSERT(ns != NULL); in php_dom_xpath_callbacks_call_custom_ns()
/php-src/ext/exif/
H A Dexif.c2056 ZEND_ASSERT(!ptr_offset_overflows(valid_start, valid_length)); in exif_offset_info_init()
2058 ZEND_ASSERT(!__asan_region_is_poisoned(valid_start, valid_length)); in exif_offset_info_init()
3826 ZEND_ASSERT(marker != 0xff); in exif_scan_JPEG_header()
/php-src/ext/ffi/
H A Dffi.c277 ZEND_ASSERT(dst_type->kind == ZEND_FFI_TYPE_FUNC); in zend_ffi_func_ptr_are_compatible()
278 ZEND_ASSERT(src_type->kind == ZEND_FFI_TYPE_FUNC); in zend_ffi_func_ptr_are_compatible()
2753 ZEND_ASSERT(type->kind == ZEND_FFI_TYPE_FUNC); in ZEND_FUNCTION()
2910 ZEND_ASSERT(type->kind == ZEND_FFI_TYPE_FUNC); in zend_ffi_get_func()
2950 ZEND_ASSERT(FFI_G(restriction) == ZEND_FFI_PRELOAD); in zend_ffi_validate_api_restriction()
5935 ZEND_ASSERT(enum_type && enum_type->kind == ZEND_FFI_TYPE_ENUM);
6090 ZEND_ASSERT(struct_type && struct_type->kind == ZEND_FFI_TYPE_STRUCT);
6135 ZEND_ASSERT(struct_type && struct_type->kind == ZEND_FFI_TYPE_STRUCT);
6202 ZEND_ASSERT(struct_type && struct_type->kind == ZEND_FFI_TYPE_STRUCT);
6302 ZEND_ASSERT(struct_type->kind == ZEND_FFI_TYPE_STRUCT);
/php-src/ext/ftp/
H A Dftp.c993 ZEND_ASSERT(line_length != 0); in ftp_send_stream_to_data_socket()
1740 ZEND_ASSERT(r != NULL); in ftp_getdata()
1967 ZEND_ASSERT(ftp != NULL); in data_close()
/php-src/ext/gd/
H A Dgd.c612 ZEND_ASSERT(body_size > 0); in PHP_FUNCTION()
/php-src/ext/gettext/
H A Dgettext.c235 ZEND_ASSERT(msgstr); in PHP_FUNCTION()
262 ZEND_ASSERT(msgstr); in PHP_FUNCTION()
293 ZEND_ASSERT(msgstr); in PHP_FUNCTION()
/php-src/ext/gmp/
H A Dgmp.c443 ZEND_ASSERT(Z_TYPE(result) == IS_LONG); in gmp_compare()
1690 ZEND_ASSERT(use_b_si == 0); in ZEND_FUNCTION()

Completed in 123 milliseconds

12345678910