Home
last modified time | relevance | path

Searched refs:retval (Results 151 – 175 of 180) sorted by relevance

12345678

/php-src/ext/pcre/
H A Dphp_pcre.c1544 zval retval; /* Function return value */ in preg_do_repl_func() local
1550 fci->retval = &retval; in preg_do_repl_func()
1554 if (zend_call_function(fci, fcc) == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in preg_do_repl_func()
1555 if (EXPECTED(Z_TYPE(retval) == IS_STRING)) { in preg_do_repl_func()
1556 result_str = Z_STR(retval); in preg_do_repl_func()
1558 result_str = zval_get_string_func(&retval); in preg_do_repl_func()
1559 zval_ptr_dtor(&retval); in preg_do_repl_func()
/php-src/Zend/
H A Dzend_builtin_functions.c629 bool retval; in is_a_impl() local
656 retval = 1; in is_a_impl()
660 retval = 0; in is_a_impl()
663 retval = 0; in is_a_impl()
665 retval = instanceof_function(instance_ce, ce); in is_a_impl()
670 RETURN_BOOL(retval); in is_a_impl()
H A Dzend_object_handlers.h149 typedef zend_result (*zend_object_cast_t)(zend_object *readobj, zval *retval, int type);
H A Dzend_compile.h879 ZEND_API zend_result zend_execute_scripts(int type, zval *retval, int file_count, ...);
880 ZEND_API zend_result zend_execute_script(int type, zval *retval, zend_file_handle *file_handle);
H A Dzend_closures.c155 fci.retval = &closure_result; in ZEND_METHOD()
294 fci.retval = return_value; in ZEND_NAMED_FUNCTION()
H A Dzend_API.h48 zval *retval; member
745 …t zend_fcall_info_call(zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval *retval, zval *args);
825 zend_fcall_info *fci, zend_fcall_info_cache *fci_cache, zval *retval) in zend_call_function_with_return_value() argument
827 ZEND_ASSERT(retval && "Use zend_call_function() directly if not providing a retval"); in zend_call_function_with_return_value()
828 fci->retval = retval; in zend_call_function_with_return_value()
880 zend_object *object, zend_string *method_name, zval *retval,
H A Dzend_fibers.c599 fiber->fci.retval = &fiber->result; in zend_fiber_execute()
/php-src/ext/pcntl/
H A Dpcntl.c1230 zval params[2], *handle, retval; in pcntl_signal_dispatch() local
1262 ZVAL_NULL(&retval); in pcntl_signal_dispatch()
1273 call_user_function(NULL, NULL, handle, &retval, 2, params); in pcntl_signal_dispatch()
1274 zval_ptr_dtor(&retval); in pcntl_signal_dispatch()
/php-src/ext/simplexml/
H A Dsimplexml.c599 zval *retval = sxe_prop_dim_write(object, &member, value, 1, 0, NULL); in sxe_property_write() local
600 return retval == &EG(error_zval) ? &EG(uninitialized_zval) : retval; in sxe_property_write()
1232 xmlXPathObjectPtr retval; in PHP_METHOD() local
1267 retval = xmlXPathEval((xmlChar *)query, sxe->xpath); in PHP_METHOD()
1274 if (!retval) { in PHP_METHOD()
1278 result = retval->nodesetval; in PHP_METHOD()
1307 xmlXPathFreeObject(retval); in PHP_METHOD()
/php-src/ext/zend_test/
H A Dtest.c253 zval retval; in ZEND_FUNCTION() local
256 ZVAL_UNDEF(&retval); in ZEND_FUNCTION()
257 zend_execute(op_array, &retval); in ZEND_FUNCTION()
/php-src/ext/phar/
H A Dutil.c1398 zval retval, zp[4], openssl; in phar_call_openssl_signverify() local
1450 fci.retval = &retval; in phar_call_openssl_signverify()
1473 switch (Z_TYPE(retval)) { in phar_call_openssl_signverify()
1477 if (1 == Z_LVAL(retval)) { in phar_call_openssl_signverify()
H A Dphar_object.c683 zval params, retval; in PHP_METHOD() local
689 rewrite_fci.retval = &retval; in PHP_METHOD()
698 if (Z_TYPE_P(rewrite_fci.retval) == IS_UNDEF || Z_TYPE(retval) == IS_UNDEF) { in PHP_METHOD()
703 switch (Z_TYPE(retval)) { in PHP_METHOD()
706 entry = estrndup(Z_STRVAL_P(rewrite_fci.retval), Z_STRLEN_P(rewrite_fci.retval)); in PHP_METHOD()
707 entry_len = Z_STRLEN_P(rewrite_fci.retval); in PHP_METHOD()
/php-src/ext/pdo/
H A Dphp_pdo_driver.h613 zval retval; member
/php-src/ext/standard/
H A Dstring.c4892 const char *retval; local
4904 retval = setlocale(cat, loc ? ZSTR_VAL(loc) : NULL);
4917 retval = NULL;
4919 retval = setlocale(cat, ZSTR_VAL(loc));
4922 retval = setlocale(cat, NULL);
4925 if (!retval) {
4931 size_t len = strlen(retval);
4939 if (len == 1 && *retval == 'C') {
4947 BG(ctype_string) = zend_string_init(retval, len, 0);
4950 } else if (zend_string_equals_cstr(loc, retval, len)) {
[all …]
H A Durl_scanner_ex.re627 char *retval;
645 retval = estrndup(ZSTR_VAL(ctx->result.s), ZSTR_LEN(ctx->result.s));
647 return retval;
/php-src/ext/mbstring/
H A Dmbstring.c505 pcre2_code *retval; in _php_mb_compile_regex() local
509 if (!(retval = pcre2_compile((PCRE2_SPTR)pattern, PCRE2_ZERO_TERMINATED, in _php_mb_compile_regex()
515 return retval; in _php_mb_compile_regex()
2980 …zend_string *retval = zend_string_concat2(ZSTR_VAL(head), ZSTR_LEN(head), ZSTR_VAL(second), ZSTR_L… in php_mb_ulcfirst() local
2986 RETVAL_STR(retval); in php_mb_ulcfirst()
3078 zend_string* retval = trim_each_wchar(str, &what_ht, NULL, 0, mode, enc); in mb_trim_default_chars() local
3081 return retval; in mb_trim_default_chars()
3118 zend_string *retval = trim_each_wchar(str, &what_ht, NULL, 0, mode, enc); in mb_trim_what_chars() local
3121 return retval; in mb_trim_what_chars()
3926 *retval = (w + offset) & mask; in html_numeric_entity_convert()
[all …]
/php-src/ext/dom/
H A Dphp_dom.h146 void php_dom_create_implementation(zval *retval, bool modern);
H A Dxpath_callbacks.c404 fci.retval = &callback_retval; in php_dom_xpath_callback_dispatch()
H A Dhtml_document.c83 zend_result dom_modern_document_implementation_read(dom_object *obj, zval *retval) in dom_modern_document_implementation_read() argument
99 ZVAL_OBJ_COPY(retval, Z_OBJ_P(cached_implementation)); in dom_modern_document_implementation_read()
/php-src/ext/fileinfo/libmagic/
H A Dsoftmagic.c2293 zval retval; in magiccheck() local
2297 ZVAL_NULL(&retval); in magiccheck()
2304 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, PREG_OFFSET_CAPTURE, 0); in magiccheck()
2308 if (Z_LVAL(retval) < 0) { in magiccheck()
2312 } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) { in magiccheck()
/php-src/ext/standard/tests/strings/
H A Dhtmlentities_html5.phpt7 $retval = pack('C', $k);
9 $retval = pack('C2',
13 $retval = pack('C3',
18 $retval = pack('C4',
24 return $retval;
/php-src/ext/mysqlnd/
H A Dmysqlnd_connection.c2212 int retval, sets = 0; local
2263 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);
2265 if (retval == -1) {
2278 *desc_num = retval;
/php-src/Zend/Optimizer/
H A Dsccp.c836 zend_result retval = SUCCESS; in ct_eval_func_call_ex() local
840 retval = FAILURE; in ct_eval_func_call_ex()
845 retval = FAILURE; in ct_eval_func_call_ex()
851 return retval; in ct_eval_func_call_ex()
/php-src/ext/openssl/
H A Dxp_ssl.c1151 zval param, retval; in php_openssl_limit_handshake_reneg() local
1157 if (FAILURE == call_user_function(NULL, NULL, val, &retval, 1, &param)) { in php_openssl_limit_handshake_reneg()
1163 if (Z_TYPE(retval) == IS_TRUE) { in php_openssl_limit_handshake_reneg()
1167 zval_ptr_dtor(&retval); in php_openssl_limit_handshake_reneg()
/php-src/sapi/phpdbg/
H A Dphpdbg_bp.c1101 zval retval; in phpdbg_find_conditional_breakpoint() local
1122 zend_execute(bp->ops, &retval); in phpdbg_find_conditional_breakpoint()
1123 if (zend_is_true(&retval)) { in phpdbg_find_conditional_breakpoint()

Completed in 168 milliseconds

12345678