Home
last modified time | relevance | path

Searched refs:ret (Results 376 – 400 of 469) sorted by relevance

1...<<111213141516171819

/php-src/sapi/fpm/tests/
H A Dfcgi.inc651 $ret = array();
652 $ret['version'] = ord($data[0]);
653 $ret['type'] = ord($data[1]);
654 $ret['requestId'] = (ord($data[2]) << 8) + ord($data[3]);
655 $ret['contentLength'] = (ord($data[4]) << 8) + ord($data[5]);
656 $ret['paddingLength'] = ord($data[6]);
657 $ret['reserved'] = ord($data[7]);
658 return $ret;
/php-src/Zend/
H A Dzend_vm_gen.php1643 $ret = array();
1649 return $ret;
2286 $ret = array();
2304 $ret["RETVAL"] = array(0, 1);
2307 $ret["QUICK_ARG"] = array(0, 1);
2310 $ret["SMART_BRANCH"] = array(0, 1, 2);
2313 $ret["NO_CONST_CONST"] = array(1);
2316 $ret["COMMUTATIVE"] = array(1);
2319 $ret["ISSET"] = array(0, 1);
2322 $ret["OBSERVER"] = array(0, 1);
[all …]
H A Dzend_operators.h347 zend_string *ret = zend_string_copy(Z_STR_P(op)); in zval_try_get_string() local
348 ZEND_ASSUME(ret != NULL); in zval_try_get_string()
349 return ret; in zval_try_get_string()
358 zend_string *ret = Z_STR_P(op); in zval_try_get_tmp_string() local
360 ZEND_ASSUME(ret != NULL); in zval_try_get_tmp_string()
361 return ret; in zval_try_get_tmp_string()
H A Dzend_attributes.h79 ZEND_API zend_result zend_get_attribute_value(zval *ret, zend_attribute *attr, uint32_t i, zend_cla…
/php-src/ext/dom/tests/
H A Dbug28721.phpt66 $ret = $p->appendChild($t1);
71 echo "t1 == ret: ";
72 var_dump( $t1 === $ret );
87 $ret = $d->insertBefore($t4, $t3);
184 t1 == ret: bool(true)
/php-src/ext/pdo/
H A Dpdo_dbh.c1026 zend_long ret; in PHP_METHOD() local
1039 ret = dbh->methods->doer(dbh, statement); in PHP_METHOD()
1040 if (ret == -1) { in PHP_METHOD()
1044 RETURN_LONG(ret); in PHP_METHOD()
1196 bool ret = true; in PHP_METHOD() local
1199 ret = pdo_stmt_describe_columns(stmt); in PHP_METHOD()
1203 if (ret) { in PHP_METHOD()
H A Dpdo_stmt.c95 bool ret = 1, is_param = 1; in dispatch_param_event() local
113 ret = 0; in dispatch_param_event()
118 if (ret && is_param) { in dispatch_param_event()
124 return ret; in dispatch_param_event()
384 int ret = 1; in PHP_METHOD() local
445 if (ret == 0) { in PHP_METHOD()
448 ret = 1; in PHP_METHOD()
449 } else if (ret == -1) { in PHP_METHOD()
464 ret = pdo_stmt_describe_columns(stmt); in PHP_METHOD()
470 if (ret && !dispatch_param_event(stmt, PDO_PARAM_EVT_EXEC_POST)) { in PHP_METHOD()
[all …]
/php-src/ext/standard/
H A Dvar_unserializer.re628 int ret = is_property_visibility_changed(obj->ce, &key);
630 if (ret > 0) {
632 } else if (!ret) {
635 } else if (ret < 0) {
640 int ret = is_property_visibility_changed(obj->ce, &key);
642 if (EXPECTED(!ret)) {
658 } else if (ret < 0) {
1289 int ret;
1291 ret = object_custom(UNSERIALIZE_PASSTHRU, ce);
1293 if (ret && incomplete_class) {
[all …]
/php-src/main/
H A Dphp_ini.c769 int ret = FAILURE; in php_parse_user_ini_file() local
783ret = zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_NORMAL, (zend_ini_parser_cb_t) php_ini_parser_c… in php_parse_user_ini_file()
787 if (ret == SUCCESS) { in php_parse_user_ini_file()
792 return ret; in php_parse_user_ini_file()
H A Dphp_streams.h126 int (*cast)(php_stream *stream, int castas, void **ret);
518 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err);
522 #define php_stream_cast(stream, as, ret, show_err) _php_stream_cast((stream), (as), (ret), (show_er… argument
/php-src/ext/sockets/
H A Dmulticast.c86 int ret; in php_get_if_index_from_zval() local
94 ret = SUCCESS; in php_get_if_index_from_zval()
98 ret = php_string_to_if_index(ZSTR_VAL(str), out); in php_get_if_index_from_zval()
102 return ret; in php_get_if_index_from_zval()
/php-src/win32/
H A Dsendmail.c182 int ret; in TSendMail() local
277ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : N… in TSendMail()
286 if (ret != SUCCESS) { in TSendMail()
287 *error = ret; in TSendMail()
/php-src/ext/spl/
H A Dspl_dllist.c197 static void spl_ptr_llist_pop(spl_ptr_llist *llist, zval *ret) /* {{{ */ in spl_ptr_llist_pop() argument
202 ZVAL_UNDEF(ret); in spl_ptr_llist_pop()
214 ZVAL_COPY_VALUE(ret, &tail->data); in spl_ptr_llist_pop()
247 static void spl_ptr_llist_shift(spl_ptr_llist *llist, zval *ret) /* {{{ */ in spl_ptr_llist_shift() argument
252 ZVAL_UNDEF(ret); in spl_ptr_llist_shift()
264 ZVAL_COPY_VALUE(ret, &head->data); in spl_ptr_llist_shift()
/php-src/Zend/Optimizer/
H A Dcompact_literals.c97 uint32_t ret; in add_static_slot() local
108 ret = Z_LVAL_P(pos); in add_static_slot()
110 ret = *cache_size; in add_static_slot()
112 ZVAL_LONG(&tmp, ret); in add_static_slot()
116 return ret; in add_static_slot()
/php-src/main/streams/
H A Dfilter.c45 int ret; in php_stream_filter_register_factory() local
47 ret = zend_hash_add_ptr(&stream_filters_hash, str, (void*)factory) ? SUCCESS : FAILURE; in php_stream_filter_register_factory()
49 return ret; in php_stream_filter_register_factory()
/php-src/Zend/tests/
H A Dclosure_061.phpt102 $ret = $c->bindTo($obj, $scope);
103 if ($ret !== null) {
/php-src/sapi/fpm/fpm/
H A Dfpm_conf.c1512 char *ret; in fpm_conf_ini_parser_entry() local
1519 ret = parser->parser(value, &config, parser->offset); in fpm_conf_ini_parser_entry()
1520 if (ret) { in fpm_conf_ini_parser_entry()
1521 …, "[%s:%d] unable to parse value for entry '%s': %s", ini_filename, ini_lineno, parser->name, ret); in fpm_conf_ini_parser_entry()
1645 int ret = 1; in fpm_conf_load_ini_file() local
1721 return ret; in fpm_conf_load_ini_file()
1838 int ret; in fpm_conf_init_main() local
1874 ret = fpm_conf_load_ini_file(fpm_globals.config); in fpm_conf_init_main()
1876 if (0 > ret) { in fpm_conf_init_main()
/php-src/ext/intl/timezone/
H A Dtimezone_methods.cpp573 zval *ret = timezone_convert_to_datetimezone(to->utimezone, in PHP_FUNCTION() local
576 if (ret) { in PHP_FUNCTION()
577 ZVAL_COPY_VALUE(return_value, ret); in PHP_FUNCTION()
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_types.phpt92 $ret = '';
94 $ret .= chr(mt_rand(65, 90));
96 return $ret;
/php-src/ext/mysqli/tests/fetch/
H A Dmysqli_fetch_all_data_types_variation.phpt67 $ret = '';
69 $ret .= chr(mt_rand(65, 90));
71 return $ret;
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c667 int ret = zend_jit_trace_record_fake_init_call(prev_call, trace_buffer, idx, is_megamorphic); local
668 if (ret < 0) {
676 idx = ret;
1042 int ret = zend_jit_trace_record_fake_init_call(prev_call, trace_buffer, idx, 0); local
1043 if (ret < 0) {
1047 idx = ret;
/php-src/ext/pgsql/
H A Dphp_pgsql.h92 static int php_pgsql_fd_cast(php_stream *stream, int cast_as, void **ret);
/php-src/Zend/asm/
H A Djump_arm64_aapcs_pe_armasm.asm131 ret x4
/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Delement.c651 lxb_char_t *ret;
654 ret = lexbor_str_append(context->str, context->mraw, data, len);
655 if (ret == NULL) {
/php-src/ext/dom/
H A Ddocument.c1163 …int ret = xmlDOMWrapAdoptNode(NULL, original_document, nodep, new_document, NULL, /* options, unus… in php_dom_adopt_node() local
1164 if (UNEXPECTED(ret != 0)) { in php_dom_adopt_node()
1349 xmlDocPtr ret; in dom_document_parser() local
1449 ret = ctxt->myDoc; in dom_document_parser()
1454 if (ret && ret->URL == NULL && ctxt->directory != NULL) { in dom_document_parser()
1455 ret->URL = xmlStrdup(BAD_CAST ctxt->directory); in dom_document_parser()
1458 ret = DOM_DOCUMENT_MALFORMED; in dom_document_parser()
1465 return(ret); in dom_document_parser()

Completed in 90 milliseconds

1...<<111213141516171819