Home
last modified time | relevance | path

Searched refs:retval (Results 76 – 100 of 169) sorted by relevance

1234567

/PHP-7.4/ext/standard/
H A Ddns.c1005 zval retval; in PHP_FUNCTION() local
1008 if (Z_TYPE(retval) != IS_UNDEF && store_results) { in PHP_FUNCTION()
1009 add_next_index_zval(return_value, &retval); in PHP_FUNCTION()
1018 zval retval; in PHP_FUNCTION() local
1020 cp = php_parserr(cp, end, &answer, DNS_T_ANY, authns != NULL, raw, &retval); in PHP_FUNCTION()
1021 if (Z_TYPE(retval) != IS_UNDEF) { in PHP_FUNCTION()
1022 add_next_index_zval(authns, &retval); in PHP_FUNCTION()
1030 zval retval; in PHP_FUNCTION() local
1032 cp = php_parserr(cp, end, &answer, DNS_T_ANY, 1, raw, &retval); in PHP_FUNCTION()
1033 if (Z_TYPE(retval) != IS_UNDEF) { in PHP_FUNCTION()
[all …]
H A Dfilters.c1297 php_conv *retval = NULL; in php_conv_open() local
1320 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1337 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1372 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1410 retval = NULL; in php_conv_open()
1413 return retval; in php_conv_open()
1416 if (retval != NULL) { in php_conv_open()
1417 pefree(retval, persistent); in php_conv_open()
1711 php_stream_filter *retval = NULL; in strfilter_convert_create() local
1746 if (retval == NULL) { in strfilter_convert_create()
[all …]
H A Dbasic_functions.c4738 zval *retval; local
4746 if (retval) {
4924 zval retval; local
4933 fci.retval = &retval;
4959 fci.retval = &retval;
4976 zval retval; local
4991 fci.retval = &retval;
5023 fci.retval = &retval;
5069 zval retval; local
5081 &retval,
[all …]
H A Darray.c790 zval retval; in PHP_FUNCTION() local
959 zval retval; in php_array_user_compare() local
969 BG(user_compare_fci).retval = &retval; in php_array_user_compare()
1071 zval retval; in php_array_user_key_compare() local
1090 BG(user_compare_fci).retval = &retval; in php_array_user_key_compare()
1365 BG(array_walk_fci).retval = &retval; in php_array_walk()
4657 zval retval; local
4664 BG(user_compare_fci).retval = &retval;
6022 zval retval; local
6053 fci.retval = &retval;
[all …]
/PHP-7.4/ext/dom/
H A Dphp_dom.c317 zval *retval = NULL; in dom_get_property_ptr_ptr() local
324 return retval; in dom_get_property_ptr_ptr()
333 zval *retval; in dom_read_property() local
345 retval = rv; in dom_read_property()
354 return retval; in dom_read_property()
386 int retval = 0; in dom_property_exists() local
395 retval = 1; in dom_property_exists()
409 return retval; in dom_property_exists()
1329 int retval = 0; in dom_has_feature() local
1333 retval = 1; in dom_has_feature()
[all …]
H A Dnodelist.c59 int dom_nodelist_length_read(dom_object *obj, zval *retval) in dom_nodelist_length_read() argument
100 ZVAL_LONG(retval, count); in dom_nodelist_length_read()
/PHP-7.4/ext/standard/tests/image/
H A Diptcembed_002.phpt29 $retval = chr(0x1C) . chr($rec) . chr($data);
30 if($length < 0x8000) { $retval .= chr($length >> 8) . chr($length & 0xFF); }
31 …else { $retval .= chr(0x80) . chr(0x04) . chr(($length >> 24) & 0xFF) . chr(($length >> 16) & 0…
32 return $retval . $value;
/PHP-7.4/Zend/
H A Dzend_execute.c2128 zval *retval = NULL; in zend_fetch_dimension_address_inner() local
2137 return retval; in zend_fetch_dimension_address_inner()
2165 if (retval) { in zend_fetch_dimension_address_inner()
2168 retval = Z_INDIRECT_P(retval); in zend_fetch_dimension_address_inner()
2231 return retval; in zend_fetch_dimension_address_inner()
2256 zval *retval; in zend_fetch_dimension_address() local
2320 } else if (EXPECTED(retval && Z_TYPE_P(retval) != IS_UNDEF)) { in zend_fetch_dimension_address()
2324 retval = result; in zend_fetch_dimension_address()
2331 ZVAL_UNREF(retval); in zend_fetch_dimension_address()
2389 zval *retval; in zend_fetch_dimension_address_read() local
[all …]
H A Dzend_execute_API.c640 fci.retval = retval_ptr; in _call_user_function_ex()
658 ZVAL_UNDEF(fci->retval); in zend_call_function()
828 ZVAL_NULL(fci->retval); in zend_call_function()
841 zval_ptr_dtor(fci->retval); in zend_call_function()
842 ZVAL_UNDEF(fci->retval); in zend_call_function()
850 ZVAL_NULL(fci->retval); in zend_call_function()
871 ZVAL_UNDEF(fci->retval); in zend_call_function()
1067 int retval; in zend_eval_stringl() local
1117 retval = SUCCESS; in zend_eval_stringl()
1119 retval = FAILURE; in zend_eval_stringl()
[all …]
H A Dzend_API.c1052 int retval; in zend_parse_parameters_ex() local
1058 return retval; in zend_parse_parameters_ex()
1065 int retval; in zend_parse_parameters() local
1072 return retval; in zend_parse_parameters()
1079 int retval; in zend_parse_parameters_throw() local
1086 return retval; in zend_parse_parameters_throw()
1093 int retval; in zend_parse_method_parameters() local
1133 int retval; in zend_parse_method_parameters_ex() local
3117 retval = 1; in zend_is_callable_check_func()
3224 if (retval in zend_is_callable_check_func()
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_wrapper.c252 zval rv, *retval = NULL; in disp_invokeex() local
283retval = zend_read_property(Z_OBJCE(disp->object), &disp->object, Z_STRVAL_P(name), Z_STRLEN_P(nam… in disp_invokeex()
288 retval = &rv; in disp_invokeex()
290 retval, pdp->cArgs, params)) { in disp_invokeex()
325 if (retval) { in disp_invokeex()
328 php_com_variant_from_zval(pvarRes, retval, COMG(code_page)); in disp_invokeex()
330 zval_ptr_dtor(retval); in disp_invokeex()
/PHP-7.4/main/
H A Doutput.c954 zval retval, ob_data, ob_mode; in php_output_handler_op() local
961 #define PHP_OUTPUT_USER_SUCCESS(retval) ((Z_TYPE(retval) != IS_UNDEF) && !(Z_TYPE(retval) == IS_FAL… in php_output_handler_op() argument
962 …&handler->func.user->fci, &handler->func.user->fcc, &retval, NULL) && PHP_OUTPUT_USER_SUCCESS(retv… in php_output_handler_op()
965 if (Z_TYPE(retval) != IS_FALSE && Z_TYPE(retval) != IS_TRUE) { in php_output_handler_op()
966 convert_to_string_ex(&retval); in php_output_handler_op()
967 if (Z_STRLEN(retval)) { in php_output_handler_op()
968 context->out.data = estrndup(Z_STRVAL(retval), Z_STRLEN(retval)); in php_output_handler_op()
969 context->out.used = Z_STRLEN(retval); in php_output_handler_op()
980 zval_ptr_dtor(&retval); in php_output_handler_op()
/PHP-7.4/ext/date/
H A Dphp_date.c1197 retval = (retval / 864) % 1000; in date_format()
1395 retval = (retval / 864) % 1000; in php_idate()
1416 return retval; in php_idate()
1501 return retval; in php_parse_date()
2091 retval = 1; in date_interval_has_property()
2105 return retval; in date_interval_has_property()
4208 return retval; in date_interval_initialize()
4223 zval *retval; in date_interval_read_property() local
4276 retval = rv; in date_interval_read_property()
4290 return retval; in date_interval_read_property()
[all …]
/PHP-7.4/ext/xmlrpc/
H A Dxmlrpc-epi-php.c253 …quest_worker(char *xml_in, int xml_in_len, char *encoding_in, zval* method_name_out, zval *retval);
763 ZVAL_NULL(retval); in decode_request_worker()
765 XMLRPC_to_PHP(XMLRPC_RequestGetData(response), retval); in decode_request_worker()
773 ZVAL_NULL(retval); in decode_request_worker()
916 zval retval, *php_function; in php_xmlrpc_introspection_callback() local
927 if (call_user_function(NULL, NULL, php_function, &retval, 1, callback_params) == SUCCESS) { in php_xmlrpc_introspection_callback()
932 if (!try_convert_to_string(&retval)) { in php_xmlrpc_introspection_callback()
937 xData = XMLRPC_IntrospectionCreateDescription(Z_STRVAL(retval), &err); in php_xmlrpc_introspection_callback()
953 zval_ptr_dtor(&retval); in php_xmlrpc_introspection_callback()
1152 int retval = XMLRPC_ServerAddIntrospectionData(server->server_ptr, xDesc); in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/sockets/
H A Dsendrecvmsg.c324 int retval; in php_do_setsockopt_ipv6_rfc3542() local
360 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_rfc3542()
361 if (retval != 0) { in php_do_setsockopt_ipv6_rfc3542()
366 return retval != 0 ? FAILURE : SUCCESS; in php_do_setsockopt_ipv6_rfc3542()
/PHP-7.4/ext/mysqli/
H A Dmysqli.c307 zval *retval; in mysqli_read_property() local
328 retval = rv; in mysqli_read_property()
330 retval = &EG(uninitialized_zval); in mysqli_read_property()
340 return retval; in mysqli_read_property()
434 HashTable *retval, *props = obj->prop_handler; in mysqli_object_get_debug_info() local
437 retval = zend_new_array(zend_hash_num_elements(props) + 1); in mysqli_object_get_debug_info()
446 zend_hash_add(retval, Z_STR(member), value); in mysqli_object_get_debug_info()
451 return retval; in mysqli_object_get_debug_info()
1273 zval dataset, retval; in php_mysqli_fetch_into_hash() local
1291 fci.retval = &retval; in php_mysqli_fetch_into_hash()
[all …]
/PHP-7.4/ext/intl/collator/
H A Dcollator_convert.c31 #define COLLATOR_CONVERT_RETURN_FAILED(retval) { \ argument
32 Z_TRY_ADDREF_P(retval); \
33 return retval; \
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_protocol_frame_codec.c221 enum_func_status retval = PASS; in MYSQLND_METHOD() local
238 retval = FAIL; in MYSQLND_METHOD()
242retval = pfc->data->m.decode(pfc->data->uncompressed_data->data, decompressed_size, compressed_dat… in MYSQLND_METHOD()
243 if (FAIL == retval) { in MYSQLND_METHOD()
250 retval = FAIL; in MYSQLND_METHOD()
258 DBG_RETURN(retval); in MYSQLND_METHOD()
/PHP-7.4/TSRM/
H A DTSRM.c770 void *retval = (void *) tsrm_new_thread_begin_handler; in tsrm_set_new_thread_begin_handler() local
773 return retval; in tsrm_set_new_thread_begin_handler()
779 void *retval = (void *) tsrm_new_thread_end_handler; in tsrm_set_new_thread_end_handler() local
782 return retval; in tsrm_set_new_thread_end_handler()
788 void *retval = (void *) tsrm_shutdown_handler; in tsrm_set_shutdown_handler() local
791 return retval; in tsrm_set_shutdown_handler()
/PHP-7.4/main/streams/
H A Dxp_socket.c82 int retval; in php_sockop_write() local
87 retval = php_pollfd_for(sock->socket, POLLOUT, ptimeout); in php_sockop_write()
89 if (retval == 0) { in php_sockop_write()
94 if (retval > 0) { in php_sockop_write()
123 int retval; in php_sock_stream_wait_for_data() local
138 retval = php_pollfd_for(sock->socket, PHP_POLLREADABLE, ptimeout); in php_sock_stream_wait_for_data()
140 if (retval == 0) in php_sock_stream_wait_for_data()
143 if (retval >= 0) in php_sock_stream_wait_for_data()
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp236 zend_object *retval = IntlIterator_ce_ptr->create_object(ce); in IntlPartsIterator_object_create() local
237 retval->handlers = &IntlPartsIterator_handlers; in IntlPartsIterator_object_create()
239 return retval; in IntlPartsIterator_object_create()
/PHP-7.4/ext/curl/
H A Dmulti.c492 zval retval; in _php_server_push_callback() local
531 fci.retval = &retval; in _php_server_push_callback()
539 } else if (!Z_ISUNDEF(retval)) { in _php_server_push_callback()
540 if (CURL_PUSH_DENY != zval_get_long(&retval)) { in _php_server_push_callback()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c1350 fci.retval = &retval; in _reflection_export()
1814 zval retval; in ZEND_METHOD() local
1831 fci.retval = &retval; in ZEND_METHOD()
1866 zval retval; in ZEND_METHOD() local
1894 fci.retval = &retval; in ZEND_METHOD()
3074 zval retval; in reflection_method_invoke() local
3152 fci.retval = &retval; in reflection_method_invoke()
4670 zval retval; in ZEND_METHOD() local
4711 fci.retval = &retval; in ZEND_METHOD()
4813 fci.retval = &retval; in ZEND_METHOD()
[all …]
/PHP-7.4/ext/snmp/
H A Dsnmp.c1916 zval *retval; in php_snmp_read_property() local
1937 retval = rv; in php_snmp_read_property()
1939 retval = &EG(uninitialized_zval); in php_snmp_read_property()
1949 return retval; in php_snmp_read_property()
2068 array_init(retval); in php_snmp_read_info()
2078 add_assoc_zval(retval, "port", &val); in php_snmp_read_info()
2081 add_assoc_zval(retval, "timeout", &val); in php_snmp_read_info()
2084 add_assoc_zval(retval, "retries", &val); in php_snmp_read_info()
2096 ZVAL_NULL(retval); in php_snmp_read_max_oids()
2105 ZVAL_BOOL(retval, snmp_object->name); \
[all …]
/PHP-7.4/ext/spl/
H A Dspl_array.c292 zval *retval; in spl_array_get_dimension_ptr() local
315 if (retval) { in spl_array_get_dimension_ptr()
316 if (Z_TYPE_P(retval) == IS_INDIRECT) { in spl_array_get_dimension_ptr()
317 retval = Z_INDIRECT_P(retval); in spl_array_get_dimension_ptr()
318 if (Z_TYPE_P(retval) == IS_UNDEF) { in spl_array_get_dimension_ptr()
324 retval = &EG(uninitialized_zval); in spl_array_get_dimension_ptr()
329 ZVAL_NULL(retval); in spl_array_get_dimension_ptr()
340 retval = &EG(uninitialized_zval); in spl_array_get_dimension_ptr()
351 return retval; in spl_array_get_dimension_ptr()
374 retval = &EG(uninitialized_zval); in spl_array_get_dimension_ptr()
[all …]

Completed in 186 milliseconds

1234567