Home
last modified time | relevance | path

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

/PHP-5.3/ext/dom/
H A Dprocessinginstruction.c147 int dom_processinginstruction_data_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_processinginstruction_data_write()
159 if (newval->type != IS_STRING) { in dom_processinginstruction_data_write()
160 if(Z_REFCOUNT_P(newval) > 1) { in dom_processinginstruction_data_write()
161 value_copy = *newval; in dom_processinginstruction_data_write()
163 newval = &value_copy; in dom_processinginstruction_data_write()
165 convert_to_string(newval); in dom_processinginstruction_data_write()
168 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1); in dom_processinginstruction_data_write()
170 if (newval == &value_copy) { in dom_processinginstruction_data_write()
171 zval_dtor(newval); in dom_processinginstruction_data_write()
H A Ddom_properties.h28 int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC);
34 int dom_characterdata_data_write(dom_object *obj, zval *newval TSRMLS_DC);
44 int dom_document_encoding_write(dom_object *obj, zval *newval TSRMLS_DC);
46 int dom_document_standalone_write(dom_object *obj, zval *newval TSRMLS_DC);
48 int dom_document_version_write(dom_object *obj, zval *newval TSRMLS_DC);
63 int dom_document_recover_write(dom_object *obj, zval *newval TSRMLS_DC);
107 int dom_entity_encoding_write(dom_object *obj, zval *newval TSRMLS_DC);
109 int dom_entity_version_write(dom_object *obj, zval *newval TSRMLS_DC);
120 int dom_node_node_value_write(dom_object *obj, zval *newval TSRMLS_DC);
132 int dom_node_prefix_write(dom_object *obj, zval *newval TSRMLS_DC);
[all …]
H A Ddocument.c384 zval_dtor(newval); in dom_document_encoding_write()
448 zval_dtor(newval); in dom_document_standalone_write()
513 zval_dtor(newval); in dom_document_version_write()
558 zval_dtor(newval); in dom_document_strict_error_checking_write()
601 zval_dtor(newval); in dom_document_format_output_write()
643 zval_dtor(newval); in dom_document_validate_on_parse_write()
685 zval_dtor(newval); in dom_document_resolve_externals_write()
727 zval_dtor(newval); in dom_document_preserve_whitespace_write()
769 zval_dtor(newval); in dom_document_recover_write()
811 zval_dtor(newval); in dom_document_substitue_entities_write()
[all …]
H A Dattr.c170 int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_attr_value_write()
186 if (newval->type != IS_STRING) { in dom_attr_value_write()
187 if(Z_REFCOUNT_P(newval) > 1) { in dom_attr_value_write()
188 value_copy = *newval; in dom_attr_value_write()
190 newval = &value_copy; in dom_attr_value_write()
192 convert_to_string(newval); in dom_attr_value_write()
195 xmlNodeSetContentLen((xmlNodePtr) attrp, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1); in dom_attr_value_write()
197 if (newval == &value_copy) { in dom_attr_value_write()
198 zval_dtor(newval); in dom_attr_value_write()
H A Dcharacterdata.c103 int dom_characterdata_data_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_characterdata_data_write()
115 if (newval->type != IS_STRING) { in dom_characterdata_data_write()
116 if(Z_REFCOUNT_P(newval) > 1) { in dom_characterdata_data_write()
117 value_copy = *newval; in dom_characterdata_data_write()
119 newval = &value_copy; in dom_characterdata_data_write()
121 convert_to_string(newval); in dom_characterdata_data_write()
124 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1); in dom_characterdata_data_write()
126 if (newval == &value_copy) { in dom_characterdata_data_write()
127 zval_dtor(newval); in dom_characterdata_data_write()
H A Dentity.c141 int dom_entity_actual_encoding_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_entity_actual_encoding_write()
160 int dom_entity_encoding_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_entity_encoding_write()
179 int dom_entity_version_write(dom_object *obj, zval *newval TSRMLS_DC) in dom_entity_version_write()
H A Dnode.c357 value_copy = *newval; in dom_node_node_value_write()
359 newval = &value_copy; in dom_node_node_value_write()
361 convert_to_string(newval); in dom_node_node_value_write()
363 xmlNodeSetContentLen(nodep, Z_STRVAL_P(newval), Z_STRLEN_P(newval) + 1); in dom_node_node_value_write()
364 if (newval == &value_copy) { in dom_node_node_value_write()
365 zval_dtor(newval); in dom_node_node_value_write()
799 value_copy = *newval; in dom_node_prefix_write()
801 newval = &value_copy; in dom_node_prefix_write()
803 convert_to_string(newval); in dom_node_prefix_write()
830 zval_dtor(newval); in dom_node_prefix_write()
[all …]
H A Dphp_dom.c103 typedef int (*dom_write_t)(dom_object *obj, zval *newval TSRMLS_DC);
288 static int dom_write_na(dom_object *obj, zval *newval TSRMLS_DC) in dom_write_na()
/PHP-5.3/tests/classes/
H A Darray_access_003.phpt27 function offsetSet($index, $newval) {
28 echo __METHOD__ . "($index,$newval)\n";
30 $this->cnt = $newval;
32 return $this->a[$index] = $newval;
H A Darray_access_004.phpt25 function offsetSet($index, $newval) {
26 echo __METHOD__ . "($index,$newval)\n";
28 $this->cnt = $newval;
30 return $this->a[$index] = $newval;
H A Darray_access_001.phpt17 function offsetSet($index, $newval) {
18 echo __METHOD__ . "($index,$newval)\n";
19 return $this->a[$index] = $newval;
H A Darray_access_002.phpt17 function offsetSet($index, $newval) {
18 echo __METHOD__ . "($index,$newval)\n";
19 /*return*/ $this->a[$index] = $newval;
/PHP-5.3/ext/spl/tests/
H A Dbug32134.phpt22 public function offsetSet($index, $newval)
24 echo __METHOD__ . "($index,$newval)\n";
25 return parent::offsetSet($index, $newval);
/PHP-5.3/ext/dom/tests/
H A Dbug37456.phpt14 $attr = $root->setAttribute('bar', 'newval');
21 newval
/PHP-5.3/ext/ldap/
H A Dldap.c1658 zval *link, **newval; in PHP_FUNCTION() local
1687 convert_to_long_ex(newval); in PHP_FUNCTION()
1688 val = Z_LVAL_PP(newval); in PHP_FUNCTION()
1698 convert_to_long_ex(newval); in PHP_FUNCTION()
1710 convert_to_long_ex(newval); in PHP_FUNCTION()
1733 convert_to_string_ex(newval); in PHP_FUNCTION()
1734 val = Z_STRVAL_PP(newval); in PHP_FUNCTION()
1746 convert_to_boolean_ex(newval); in PHP_FUNCTION()
1747 val = Z_LVAL_PP(newval) in PHP_FUNCTION()
1762 …if ((Z_TYPE_PP(newval) != IS_ARRAY) || !(ncontrols = zend_hash_num_elements(Z_ARRVAL_PP(newval))))… in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/spl/
H A Dspl.php696 function offsetSet($index, $newval) {/**/} argument
808 function offsetSet($index, $newval) {/**/} argument
H A Dspl_array.c413 zval *newval; in spl_array_read_dimension_ex() local
416 MAKE_STD_ZVAL(newval); in spl_array_read_dimension_ex()
417 *newval = **ret; in spl_array_read_dimension_ex()
418 zval_copy_ctor(newval); in spl_array_read_dimension_ex()
419 Z_SET_REFCOUNT_P(newval, 1); in spl_array_read_dimension_ex()
423 *ret = newval; in spl_array_read_dimension_ex()
1914 ZEND_ARG_INFO(0, newval)
H A Dspl_fixedarray.c1055 ZEND_ARG_INFO(0, newval)
H A Dspl_dllist.c1185 ZEND_ARG_INFO(0, newval)
H A Dspl_iterators.c2840 ZEND_ARG_INFO(0, newval)
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c497 zval *newval; in PHP_FUNCTION() local
507 MAKE_STD_ZVAL(newval); in PHP_FUNCTION()
508 MAKE_COPY_ZVAL(&stream->wrapperdata, newval); in PHP_FUNCTION()
510 add_assoc_zval(return_value, "wrapper_data", newval); in PHP_FUNCTION()
523 MAKE_STD_ZVAL(newval); in PHP_FUNCTION()
524 array_init(newval); in PHP_FUNCTION()
527 add_next_index_string(newval, (char *)filter->fops->label, 1); in PHP_FUNCTION()
530 add_assoc_zval(return_value, "filters", newval); in PHP_FUNCTION()
/PHP-5.3/Zend/tests/
H A Dobject_handlers.phpt25 function offsetSet($index, $newval) {
/PHP-5.3/ext/mysqli/
H A Dmysqli.c78 typedef int (*mysqli_write_t)(mysqli_object *obj, zval *newval TSRMLS_DC);
300 static int mysqli_write_na(mysqli_object *obj, zval *newval TSRMLS_DC) in mysqli_write_na()
/PHP-5.3/ext/xmlreader/
H A Dphp_xmlreader.c44 typedef int (*xmlreader_write_t)(xmlreader_object *obj, zval *newval TSRMLS_DC);
/PHP-5.3/Zend/
H A DZEND_CHANGES916 function offsetSet($index, $newval) {
917 return $this->a[$index] = $newval;

Completed in 88 milliseconds