Home
last modified time | relevance | path

Searched refs:newval (Results 1 – 25 of 26) sorted by relevance

12

/php-src/ext/dom/
H A Ddom_properties.h25 zend_result dom_attr_value_write(dom_object *obj, zval *newval);
31 zend_result dom_characterdata_data_write(dom_object *obj, zval *newval);
41 zend_result dom_document_encoding_write(dom_object *obj, zval *newval);
43 zend_result dom_document_standalone_write(dom_object *obj, zval *newval);
45 zend_result dom_document_version_write(dom_object *obj, zval *newval);
60 zend_result dom_document_recover_write(dom_object *obj, zval *newval);
67 zend_result dom_html_document_body_write(dom_object *obj, zval *newval);
85 zend_result dom_element_id_write(dom_object *obj, zval *newval);
119 zend_result dom_node_node_value_write(dom_object *obj, zval *newval);
136 zend_result dom_node_prefix_write(dom_object *obj, zval *newval);
[all …]
H A Dprocessinginstruction.c95 zend_result dom_processinginstruction_data_write(dom_object *obj, zval *newval) in dom_processinginstruction_data_write() argument
100 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_processinginstruction_data_write()
101 zend_string *str = Z_STR_P(newval); in dom_processinginstruction_data_write()
H A Dattr.c132 zend_result dom_attr_value_write(dom_object *obj, zval *newval) in dom_attr_value_write() argument
139 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_attr_value_write()
140 zend_string *str = Z_STR_P(newval); in dom_attr_value_write()
H A Ddocument.c120 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING || Z_TYPE_P(newval) == IS_NULL); in dom_document_encoding_write()
122 if (Z_TYPE_P(newval) == IS_NULL) { in dom_document_encoding_write()
126 const zend_string *str = Z_STR_P(newval); in dom_document_encoding_write()
165 ZEND_ASSERT(Z_TYPE_P(newval) == IS_TRUE || Z_TYPE_P(newval) == IS_FALSE); in dom_document_standalone_write()
166 docp->standalone = Z_TYPE_P(newval) == IS_TRUE; in dom_document_standalone_write()
198 zend_string *str = zval_get_string(newval); in dom_document_version_write()
236 doc_prop->stricterror = zend_is_true(newval); in dom_document_strict_error_checking_write()
258 doc_prop->formatoutput = zend_is_true(newval); in dom_document_format_output_write()
279 doc_prop->validateonparse = zend_is_true(newval); in dom_document_validate_on_parse_write()
342 doc_prop->recover = zend_is_true(newval); in dom_document_recover_write()
[all …]
H A Dcharacterdata.c64 zend_result dom_characterdata_data_write(dom_object *obj, zval *newval) in dom_characterdata_data_write() argument
69 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_characterdata_data_write()
70 zend_string *str = Z_STR_P(newval); in dom_characterdata_data_write()
H A Dinner_outer_html_mixin.c355 zend_result dom_element_inner_html_write(dom_object *obj, zval *newval) in dom_element_inner_html_write() argument
363 xmlNodePtr fragment = dom_parse_fragment(obj, context_node, Z_STR_P(newval)); in dom_element_inner_html_write()
416 zend_result dom_element_outer_html_write(dom_object *obj, zval *newval) in dom_element_outer_html_write() argument
449 xmlNodePtr fragment = dom_parse_fragment(obj, parent, Z_STR_P(newval)); in dom_element_outer_html_write()
H A Dhtml_document.c1450 zend_result dom_html_document_encoding_write(dom_object *obj, zval *newval) in dom_html_document_encoding_write() argument
1455 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_html_document_encoding_write()
1457 zend_string *str = Z_STR_P(newval); in dom_html_document_encoding_write()
1522 zend_result dom_html_document_body_write(dom_object *obj, zval *newval) in dom_html_document_body_write() argument
1527 if (Z_TYPE_P(newval) != IS_NULL) { in dom_html_document_body_write()
1528 dom_object *newval_intern = Z_DOMOBJ_P(newval); in dom_html_document_body_write()
1665 zend_result dom_html_document_title_write(dom_object *obj, zval *newval) in dom_html_document_title_write() argument
1712 dom_string_replace_all(docp, element, newval); in dom_html_document_title_write()
1742 dom_string_replace_all(docp, element, newval); in dom_html_document_title_write()
H A Delement.c148 static xmlAttrPtr dom_element_reflected_attribute_write(dom_object *obj, zval *newval, const char *… in dom_element_reflected_attribute_write() argument
158 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_element_reflected_attribute_write()
159 return xmlSetNsProp(nodep, NULL, (const xmlChar *) name, (const xmlChar *) Z_STRVAL_P(newval)); in dom_element_reflected_attribute_write()
171 zend_result dom_element_class_name_write(dom_object *obj, zval *newval) in dom_element_class_name_write() argument
173 if (dom_element_reflected_attribute_write(obj, newval, "class")) { in dom_element_class_name_write()
218 zend_result dom_element_id_write(dom_object *obj, zval *newval) in dom_element_id_write() argument
220 xmlAttrPtr attr = dom_element_reflected_attribute_write(obj, newval, "id"); in dom_element_id_write()
1973 zend_result dom_modern_element_substituted_node_value_write(dom_object *obj, zval *newval) in dom_modern_element_substituted_node_value_write() argument
1979 xmlNodeSetContentLen(nodep, (xmlChar *) Z_STRVAL_P(newval), Z_STRLEN_P(newval)); in dom_modern_element_substituted_node_value_write()
H A Dtoken_list.c378 zend_result dom_token_list_value_write(dom_object *obj, zval *newval) in dom_token_list_value_write() argument
381 if (UNEXPECTED(zend_str_has_nul_byte(Z_STR_P(newval)))) { in dom_token_list_value_write()
385 …SetNsProp(dom_token_list_get_element(intern), NULL, BAD_CAST "class", BAD_CAST Z_STRVAL_P(newval)); in dom_token_list_value_write()
H A Dnode.c178 zend_result dom_node_node_value_write(dom_object *obj, zval *newval) in dom_node_node_value_write() argument
183 zend_string *str = zval_get_string(newval); in dom_node_node_value_write()
549 zend_result dom_node_prefix_write(dom_object *obj, zval *newval) in dom_node_prefix_write() argument
571 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING); in dom_node_prefix_write()
572 prefix_str = Z_STR_P(newval); in dom_node_prefix_write()
704 zend_result dom_node_text_content_write(dom_object *obj, zval *newval) in dom_node_text_content_write() argument
711 ZEND_ASSERT(Z_TYPE_P(newval) == IS_STRING || Z_TYPE_P(newval) == IS_NULL); in dom_node_text_content_write()
714 if (Z_TYPE_P(newval) == IS_NULL) { in dom_node_text_content_write()
718 xmlChars = (const xmlChar *) Z_STRVAL_P(newval); in dom_node_text_content_write()
719 len = Z_STRLEN_P(newval); in dom_node_text_content_write()
H A Dxpath.c203 zend_result dom_xpath_register_node_ns_write(dom_object *obj, zval *newval) in dom_xpath_register_node_ns_write() argument
205 php_xpath_obj_from_dom_obj(obj)->register_node_ns = zend_is_true(newval); in dom_xpath_register_node_ns_write()
/php-src/tests/classes/
H A Darray_access_003.phpt27 function offsetSet($index, $newval): void {
28 echo __METHOD__ . "($index,$newval)\n";
30 $this->cnt = $newval;
32 $this->a[$index] = $newval;
H A Darray_access_004.phpt25 function offsetSet($index, $newval): void {
26 echo __METHOD__ . "($index,$newval)\n";
28 $this->cnt = $newval;
30 $this->a[$index] = $newval;
H A Darray_access_001.phpt17 function offsetSet($index, $newval): void {
18 echo __METHOD__ . "($index,$newval)\n";
19 $this->a[$index] = $newval;
H A Darray_access_002.phpt17 function offsetSet($index, $newval): void {
18 echo __METHOD__ . "($index,$newval)\n";
19 $this->a[$index] = $newval;
/php-src/ext/spl/tests/
H A Dbug32134.phpt22 public function offsetSet($index, $newval): void
24 echo __METHOD__ . "($index,$newval)\n";
25 parent::offsetSet($index, $newval);
/php-src/ext/dom/tests/
H A Dbug37456.phpt14 $attr = $root->setAttribute('bar', 'newval');
20 newval
/php-src/Zend/tests/in-de-crement/
H A Doverloaded_access.phpt13 function offsetSet($index, $newval): void {
/php-src/ext/snmp/
H A Dphp_snmp.h68 typedef int (*php_snmp_write_t)(php_snmp_object *snmp_object, zval *newval);
H A Dsnmp.c1922 static int php_snmp_write_max_oids(php_snmp_object *snmp_object, zval *newval)
1926 if (Z_TYPE_P(newval) == IS_NULL) {
1931 lval = zval_get_long(newval);
1944 static int php_snmp_write_valueretrieval(php_snmp_object *snmp_object, zval *newval) in php_snmp_write_valueretrieval() argument
1946 zend_long lval = zval_get_long(newval); in php_snmp_write_valueretrieval()
1960 static int php_snmp_write_##name(php_snmp_object *snmp_object, zval *newval) \
1963 ZVAL_COPY(&ztmp, newval); \
1965 newval = &ztmp; \
1967 snmp_object->name = Z_TYPE_P(newval) == IS_TRUE? 1 : 0; \
1979 zend_long lval = zval_get_long(newval); in PHP_SNMP_BOOL_PROPERTY_WRITER_FUNCTION()
[all …]
/php-src/ext/ldap/
H A Dldap.c3106 zval *link = NULL, *newval; in PHP_FUNCTION() local
3111 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O!lz", &link, ldap_link_ce, &option, &newval) != SUCCE… in PHP_FUNCTION()
3152 zend_long lval = zval_try_get_long(newval, &failed); in PHP_FUNCTION()
3154 …_type_error(3, "must be of type int for the given option, %s given", zend_zval_value_name(newval)); in PHP_FUNCTION()
3172 zend_long lval = zval_try_get_long(newval, &failed); in PHP_FUNCTION()
3188 zend_long lval = zval_try_get_long(newval, &failed); in PHP_FUNCTION()
3205 zend_long lval = zval_try_get_long(newval, &failed); in PHP_FUNCTION()
3246 zend_string *val = zval_try_get_string(newval); in PHP_FUNCTION()
3265 void *val = zend_is_true(newval) ? LDAP_OPT_ON : LDAP_OPT_OFF; in PHP_FUNCTION()
3277 if (Z_TYPE_P(newval) != IS_ARRAY) { in PHP_FUNCTION()
[all …]
/php-src/Zend/tests/
H A Dobject_handlers.phpt26 function offsetSet($index, $newval): void {
/php-src/ext/standard/
H A Dstreamsfuncs.c567 MAKE_STD_ZVAL(newval); in PHP_FUNCTION()
568 array_init(newval); in PHP_FUNCTION()
571 add_next_index_string(newval, (char *)filter->fops->label); in PHP_FUNCTION()
574 add_assoc_zval(return_value, "filters", newval); in PHP_FUNCTION()
/php-src/sapi/cli/
H A Dphp_cli_server.c1698 …zend_string *newval = zend_string_safe_alloc(1, ZSTR_LEN(curval), ZSTR_LEN(client->current_header… in php_cli_server_client_save_header() local
1700 memcpy(ZSTR_VAL(newval), ZSTR_VAL(curval), ZSTR_LEN(curval)); in php_cli_server_client_save_header()
1701 memcpy(ZSTR_VAL(newval) + ZSTR_LEN(curval), ", ", 2); in php_cli_server_client_save_header()
1702 …memcpy(ZSTR_VAL(newval) + ZSTR_LEN(curval) + 2, ZSTR_VAL(client->current_header_value), ZSTR_LEN(c… in php_cli_server_client_save_header()
1704 ZVAL_STR(&tmp, newval); in php_cli_server_client_save_header()
/php-src/ext/mysqli/
H A Dmysqli.c75 typedef zend_result (*mysqli_write_t)(mysqli_object *obj, zval *newval);

Completed in 284 milliseconds

12