/php-src/sapi/fpm/tests/ |
H A D | fcgi.inc | 651 $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 D | zend_vm_gen.php | 1643 $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 D | zend_operators.h | 347 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 D | zend_attributes.h | 79 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 D | bug28721.phpt | 66 $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 D | pdo_dbh.c | 1026 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 D | pdo_stmt.c | 95 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 D | var_unserializer.re | 628 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 D | php_ini.c | 769 int ret = FAILURE; in php_parse_user_ini_file() local 783 …ret = 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 D | php_streams.h | 126 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 D | multicast.c | 86 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 D | sendmail.c | 182 int ret; in TSendMail() local 277 …ret = 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 D | spl_dllist.c | 197 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 D | compact_literals.c | 97 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 D | filter.c | 45 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 D | closure_061.phpt | 102 $ret = $c->bindTo($obj, $scope); 103 if ($ret !== null) {
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1512 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 D | timezone_methods.cpp | 573 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 D | mysqli_stmt_get_result_types.phpt | 92 $ret = ''; 94 $ret .= chr(mt_rand(65, 90)); 96 return $ret;
|
/php-src/ext/mysqli/tests/fetch/ |
H A D | mysqli_fetch_all_data_types_variation.phpt | 67 $ret = ''; 69 $ret .= chr(mt_rand(65, 90)); 71 return $ret;
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 667 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 D | php_pgsql.h | 92 static int php_pgsql_fd_cast(php_stream *stream, int cast_as, void **ret);
|
/php-src/Zend/asm/ |
H A D | jump_arm64_aapcs_pe_armasm.asm | 131 ret x4
|
/php-src/ext/dom/lexbor/lexbor/html/interfaces/ |
H A D | element.c | 651 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 D | document.c | 1163 …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()
|