Home
last modified time | relevance | path

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

12345678

/PHP-8.3/ext/dom/
H A Ddom_properties.h22 int dom_attr_name_read(dom_object *obj, zval *retval);
23 int dom_attr_specified_read(dom_object *obj, zval *retval);
24 int dom_attr_value_read(dom_object *obj, zval *retval);
35 int dom_document_doctype_read(dom_object *obj, zval *retval);
44 int dom_document_version_read(dom_object *obj, zval *retval);
50 int dom_document_config_read(dom_object *obj, zval *retval);
76 int dom_element_id_read(dom_object *obj, zval *retval);
86 int dom_entity_version_read(dom_object *obj, zval *retval);
102 int dom_node_node_name_read(dom_object *obj, zval *retval);
119 int dom_node_prefix_read(dom_object *obj, zval *retval);
[all …]
H A Dentity.c39 int dom_entity_public_id_read(dom_object *obj, zval *retval) in dom_entity_public_id_read() argument
49 ZVAL_NULL(retval); in dom_entity_public_id_read()
51 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_entity_public_id_read()
74 ZVAL_NULL(retval); in dom_entity_system_id_read()
76 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_entity_system_id_read()
99 ZVAL_NULL(retval); in dom_entity_notation_name_read()
103 ZVAL_EMPTY_STRING(retval); in dom_entity_notation_name_read()
105 ZVAL_STRING(retval, (const char *) nodep->content); in dom_entity_notation_name_read()
121 ZVAL_NULL(retval); in dom_entity_actual_encoding_read()
134 ZVAL_NULL(retval); in dom_entity_encoding_read()
[all …]
H A Ddocumenttype.c31 int dom_documenttype_name_read(dom_object *obj, zval *retval) in dom_documenttype_name_read() argument
63 php_dom_create_iterator(retval, DOM_NAMEDNODEMAP); in dom_documenttype_entities_read()
67 intern = Z_DOMOBJ_P(retval); in dom_documenttype_entities_read()
91 php_dom_create_iterator(retval, DOM_NAMEDNODEMAP); in dom_documenttype_notations_read()
95 intern = Z_DOMOBJ_P(retval); in dom_documenttype_notations_read()
118 ZVAL_STRING(retval, (char *) (dtdptr->ExternalID)); in dom_documenttype_public_id_read()
120 ZVAL_EMPTY_STRING(retval); in dom_documenttype_public_id_read()
143 ZVAL_STRING(retval, (char *) (dtdptr->SystemID)); in dom_documenttype_system_id_read()
145 ZVAL_EMPTY_STRING(retval); in dom_documenttype_system_id_read()
191 ZVAL_STR(retval, smart_str_extract(&ret_buf)); in dom_documenttype_internal_subset_read()
[all …]
H A Dnotation.c40 int dom_notation_public_id_read(dom_object *obj, zval *retval) in dom_notation_public_id_read() argument
50 ZVAL_STRING(retval, (char *) (nodep->ExternalID)); in dom_notation_public_id_read()
52 ZVAL_EMPTY_STRING(retval); in dom_notation_public_id_read()
65 int dom_notation_system_id_read(dom_object *obj, zval *retval) in dom_notation_system_id_read() argument
75 ZVAL_STRING(retval, (char *) (nodep->SystemID)); in dom_notation_system_id_read()
77 ZVAL_EMPTY_STRING(retval); in dom_notation_system_id_read()
H A Dattr.c77 int dom_attr_name_read(dom_object *obj, zval *retval) in dom_attr_name_read() argument
88 ZVAL_STRING(retval, (char *) attrp->name); in dom_attr_name_read()
100 int dom_attr_specified_read(dom_object *obj, zval *retval) in dom_attr_specified_read() argument
103 ZVAL_TRUE(retval); in dom_attr_specified_read()
114 int dom_attr_value_read(dom_object *obj, zval *retval) in dom_attr_value_read() argument
126 ZVAL_STRING(retval, (char *) content); in dom_attr_value_read()
129 ZVAL_EMPTY_STRING(retval); in dom_attr_value_read()
162 int dom_attr_owner_element_read(dom_object *obj, zval *retval) in dom_attr_owner_element_read() argument
175 ZVAL_NULL(retval); in dom_attr_owner_element_read()
179 php_dom_create_object(nodeparent, retval, obj); in dom_attr_owner_element_read()
[all …]
H A Dentityreference.c83 int dom_entity_reference_child_read(dom_object *obj, zval *retval) in dom_entity_reference_child_read() argument
94 ZVAL_NULL(retval); in dom_entity_reference_child_read()
98 php_dom_create_object((xmlNodePtr) entity, retval, obj); in dom_entity_reference_child_read()
102 int dom_entity_reference_text_content_read(dom_object *obj, zval *retval) in dom_entity_reference_text_content_read() argument
112 return dom_node_text_content_read(obj, retval); in dom_entity_reference_text_content_read()
115 int dom_entity_reference_child_nodes_read(dom_object *obj, zval *retval) in dom_entity_reference_child_nodes_read() argument
125 return dom_node_child_nodes_read(obj, retval); in dom_entity_reference_child_nodes_read()
H A Dxpath.c37 zval retval; in dom_xpath_ext_function_php() local
151 fci.retval = &retval; in dom_xpath_ext_function_php()
162 if (Z_TYPE(retval) == IS_OBJECT && instanceof_function(Z_OBJCE(retval), dom_node_class_entry)) { in dom_xpath_ext_function_php()
168 Z_ADDREF(retval); in dom_xpath_ext_function_php()
170 obj = Z_DOMOBJ_P(&retval); in dom_xpath_ext_function_php()
173 } else if (Z_TYPE(retval) == IS_FALSE || Z_TYPE(retval) == IS_TRUE) { in dom_xpath_ext_function_php()
183 zval_ptr_dtor(&retval); in dom_xpath_ext_function_php()
337 zval *id, retval, *context = NULL; in php_xpath_eval() local
427 array_init(&retval); in php_xpath_eval()
448 ZVAL_EMPTY_ARRAY(&retval); in php_xpath_eval()
[all …]
H A Dnode.c166 ZVAL_NULL(retval); in dom_node_node_value_read()
251 ZVAL_NULL(retval); in dom_node_parent_get()
327 ZVAL_NULL(retval); in dom_node_first_child_read()
358 ZVAL_NULL(retval); in dom_node_last_child_read()
386 ZVAL_NULL(retval); in dom_node_previous_sibling_read()
414 ZVAL_NULL(retval); in dom_node_next_sibling_read()
447 ZVAL_NULL(retval); in dom_node_previous_element_sibling_read()
480 ZVAL_NULL(retval); in dom_node_next_element_sibling_read()
510 ZVAL_NULL(retval); in dom_node_attributes_read()
553 ZVAL_NULL(retval); in dom_node_owner_document_read()
[all …]
/PHP-8.3/ext/session/
H A Dmod_user.c31 ZVAL_UNDEF(retval); in ps_call_handler()
40 ZVAL_NULL(retval); in ps_call_handler()
85 zval retval; in PS_OPEN_FUNC() local
113 zval retval; in PS_CLOSE_FUNC() local
146 zval retval; in PS_READ_FUNC() local
169 zval retval; in PS_WRITE_FUNC() local
187 zval retval; in PS_DESTROY_FUNC() local
204 zval retval; in PS_GC_FUNC() local
229 zval retval; in PS_CREATE_SID_FUNC() local
260 zval retval; in PS_VALIDATE_SID_FUNC() local
[all …]
/PHP-8.3/ext/spl/
H A Dspl_engine.h24 static inline void spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, zval *arg1) in spl_instantiate_arg_ex1() argument
26 object_init_ex(retval, pce); in spl_instantiate_arg_ex1()
27 zend_call_known_instance_method_with_1_params(pce->constructor, Z_OBJ_P(retval), NULL, arg1); in spl_instantiate_arg_ex1()
31 zend_class_entry *pce, zval *retval, zval *arg1, zval *arg2) in spl_instantiate_arg_ex2() argument
33 object_init_ex(retval, pce); in spl_instantiate_arg_ex2()
35 pce->constructor, Z_OBJ_P(retval), NULL, arg1, arg2); in spl_instantiate_arg_ex2()
39 zend_class_entry *pce, zval *retval, uint32_t argc, zval *argv) in spl_instantiate_arg_n() argument
41 object_init_ex(retval, pce); in spl_instantiate_arg_n()
42 zend_call_known_instance_method(pce->constructor, Z_OBJ_P(retval), NULL, argc, argv); in spl_instantiate_arg_n()
/PHP-8.3/ext/readline/
H A Dreadline_cli.c456 if (retval) { in cli_completion_generator_var()
462 return retval; in cli_completion_generator_var()
470 if (retval) { in cli_completion_generator_ini()
476 return retval; in cli_completion_generator_ini()
483 if (retval) { in cli_completion_generator_func()
488 return retval; in cli_completion_generator_func()
495 if (retval) { in cli_completion_generator_class()
500 return retval; in cli_completion_generator_class()
507 if (retval) { in cli_completion_generator_define()
509 retval = strdup(retval); in cli_completion_generator_define()
[all …]
/PHP-8.3/ext/xmlwriter/
H A Dphp_xmlwriter.c209 int retval; in ZEND_GET_MODULE() local
229 int retval; in php_xmlwriter_end() local
246 int retval; in PHP_FUNCTION() local
288 int retval; in PHP_FUNCTION() local
311 int retval; in PHP_FUNCTION() local
334 int retval; in PHP_FUNCTION() local
364 int retval; in PHP_FUNCTION() local
401 int retval; in PHP_FUNCTION() local
432 int retval; in PHP_FUNCTION() local
477 int retval; in PHP_FUNCTION() local
[all …]
/PHP-8.3/ext/mysqli/
H A Dmysqli_prop.c109 ZVAL_STRING(retval, c);\
111 ZVAL_NULL(retval);\
124 ZVAL_STRING(retval, c);\
161 ZVAL_NULL(retval); in link_connect_error_read()
182 ZVAL_LONG(retval, -1); in link_affected_rows_read()
206 array_init(retval); in link_error_list_read()
221 ZVAL_EMPTY_ARRAY(retval); in link_error_list_read()
270 ZVAL_NULL(retval); in result_lengths_read()
274 array_init(retval); in result_lengths_read()
321 ZVAL_LONG(retval, -1); in stmt_affected_rows_read()
[all …]
H A Dmysqli_driver.c31 static int driver_report_read(mysqli_object *obj, zval *retval, bool quiet) in driver_report_read() argument
33 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read()
48 static int driver_client_version_read(mysqli_object *obj, zval *retval, bool quiet) in driver_client_version_read() argument
50 ZVAL_LONG(retval, mysql_get_client_version()); in driver_client_version_read()
56 static int driver_client_info_read(mysqli_object *obj, zval *retval, bool quiet) in driver_client_info_read() argument
58 ZVAL_STRING(retval, (char *)mysql_get_client_info()); in driver_client_info_read()
64 static int driver_driver_version_read(mysqli_object *obj, zval *retval, bool quiet) in driver_driver_version_read() argument
70 ZVAL_LONG(retval, MYSQLI_VERSION_ID); in driver_driver_version_read()
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_reverse_api.c72 MYSQLND *retval = api->conversion_cb(zv); in zval_to_mysqlnd() local
73 if (retval) { in zval_to_mysqlnd()
74 if (retval->data) { in zval_to_mysqlnd()
75 …*save_client_api_capabilities = retval->data->m->negotiate_client_api_capabilities(retval->data, c… in zval_to_mysqlnd()
77 return retval; in zval_to_mysqlnd()
/PHP-8.3/main/streams/
H A Duserspace.c566 zval retval; in php_userstreamop_write() local
615 zval retval; in php_userstreamop_read() local
693 zval retval; in php_userstreamop_close() local
716 zval retval; in php_userstreamop_flush() local
740 zval retval; in php_userstreamop_seek() local
841 zval retval; in php_userstreamop_stat() local
869 zval retval; in php_userstreamop_set_option() local
1314 zval retval; in php_userstreamop_readdir() local
1348 zval retval; in php_userstreamop_closedir() local
1370 zval retval; in php_userstreamop_rewinddir() local
[all …]
/PHP-8.3/ext/random/
H A Dengine_user.c29 zval retval; in generate() local
31 zend_call_known_instance_method_with_0_params(s->generate_method, s->object, &retval); in generate()
38 size = Z_STRLEN(retval); in generate()
49 result += ((uint64_t) (unsigned char) Z_STRVAL(retval)[i]) << (8 * i); in generate()
56 zval_ptr_dtor(&retval); in generate()
H A Drandomizer.c273 zend_string *retval; in PHP_METHOD() local
286 retval = zend_string_alloc(length, 0); in PHP_METHOD()
291 zend_string_free(retval); in PHP_METHOD()
302 ZSTR_VAL(retval)[length] = '\0'; in PHP_METHOD() local
303 RETURN_STR(retval); in PHP_METHOD()
382 zend_string *source, *retval; in PHP_METHOD() local
410 zend_string_free(retval); in PHP_METHOD()
430 zend_string_free(retval); in PHP_METHOD()
439 zend_string_free(retval); in PHP_METHOD()
457 ZSTR_VAL(retval)[length] = '\0'; in PHP_METHOD() local
[all …]
/PHP-8.3/ext/filter/
H A Dcallback_filter.c21 zval retval; in php_filter_callback() local
33 status = call_user_function(NULL, NULL, option_array, &retval, 1, args); in php_filter_callback()
35 if (status == SUCCESS && !Z_ISUNDEF(retval)) { in php_filter_callback()
37 ZVAL_COPY_VALUE(value, &retval); in php_filter_callback()
/PHP-8.3/ext/standard/tests/streams/
H A Dbug54946.phpt7 $retval = stream_get_contents($stream, 1, 1);
9 var_dump($retval);
17 $retval = stream_get_contents($stream, 1, 1);
18 var_dump($retval);
28 $retval = stream_get_contents($stream, 1);
29 var_dump($retval);
/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c190 struct chunk_header *retval; in alloc_chunk() local
204 if (retval == MAP_FAILED) { in alloc_chunk()
212 munmap((void *)retval, size); in alloc_chunk()
218 return retval; in alloc_chunk()
227 struct chunk_header *retval; in alloc_chunk() local
233 if (retval == MAP_FAILED) in alloc_chunk()
236 retval->executable = mremap(retval, size, NULL, size, MAP_REMAPDUP); in alloc_chunk()
238 munmap((void *)retval, size); in alloc_chunk()
243 munmap(retval->executable, size); in alloc_chunk()
244 munmap((void *)retval, size); in alloc_chunk()
[all …]
/PHP-8.3/ext/xmlreader/
H A Dphp_xmlreader.c134 return retval; in xmlreader_get_property_ptr_ptr()
155 retval = rv; in xmlreader_read_property()
161 return retval; in xmlreader_read_property()
416 int retval; in php_xmlreader_no_arg() local
472 int retval = -1; in php_xmlreader_set_relaxng_schema() local
661 int retval; in PHP_METHOD() local
694 int retval; in PHP_METHOD() local
721 int retval; in PHP_METHOD() local
778 int retval; in PHP_METHOD() local
805 int retval; in PHP_METHOD() local
[all …]
/PHP-8.3/Zend/
H A Dzend_interfaces.h41 …n **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, uint32_t param_co…
44 zend_function **fn_proxy, const char *function_name, zval *retval) in zend_call_method_with_0_params() argument
46 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 0,… in zend_call_method_with_0_params()
50 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1) in zend_call_method_with_1_params() argument
52 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 1,… in zend_call_method_with_1_params()
56 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1, zval* arg2) in zend_call_method_with_2_params() argument
58 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 2,… in zend_call_method_with_2_params()
/PHP-8.3/ext/gettext/
H A Dgettext.c75 char *domain_name = NULL, *retval; in PHP_FUNCTION() local
87 retval = textdomain(domain_name); in PHP_FUNCTION()
89 RETURN_STRING(retval); in PHP_FUNCTION()
170 char *retval, dir_name[MAXPATHLEN]; in PHP_FUNCTION() local
195 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION()
197 RETURN_STRING(retval); in PHP_FUNCTION()
284 char *domain, *codeset = NULL, *retval = NULL; in PHP_FUNCTION() local
293 retval = bind_textdomain_codeset(domain, codeset); in PHP_FUNCTION()
295 if (!retval) { in PHP_FUNCTION()
298 RETURN_STRING(retval); in PHP_FUNCTION()
/PHP-8.3/ext/oci8/
H A Doci8_failover.c46 zval retval, params[3]; in callback_fn() local
63 if (call_user_function(NULL, NULL, &connection->taf_callback, &retval, 3, params) == FAILURE) { in callback_fn()
68 if (Z_TYPE(retval) == IS_LONG) { in callback_fn()
69 returnValue = (sb4) Z_LVAL(retval); in callback_fn()
76 zval_ptr_dtor(&retval); in callback_fn()

Completed in 56 milliseconds

12345678