/php-src/Zend/Optimizer/ |
H A D | sccp.c | 1951 static void join_hash_tables(HashTable *ret, HashTable *ht1, HashTable *ht2) in join_hash_tables() argument 1965 val1 = zend_hash_add_new(ret, key, val1); in join_hash_tables() 1967 val1 = zend_hash_index_add_new(ret, index, val1); in join_hash_tables() 1976 zval ret; in join_partial_arrays() local 1983 empty_partial_array(&ret); in join_partial_arrays() 1984 join_hash_tables(Z_ARRVAL(ret), Z_ARRVAL_P(a), Z_ARRVAL_P(b)); in join_partial_arrays() 1986 ZVAL_COPY_VALUE(a, &ret); in join_partial_arrays() 1993 zval ret; in join_partial_objects() local 1999 empty_partial_object(&ret); in join_partial_objects() 2000 join_hash_tables(Z_ARRVAL(ret), Z_ARRVAL_P(a), Z_ARRVAL_P(b)); in join_partial_objects() [all …]
|
H A D | dfa_pass.c | 1308 int ret = ssa->vars[v].use_chain; in zend_dfa_optimize_op_array() local 1317 if (ret >= 0) { in zend_dfa_optimize_op_array() 1318 ssa->ops[ret].op1_use = orig_var; in zend_dfa_optimize_op_array() 1319 ssa->ops[ret].op1_use_chain = ssa->vars[orig_var].use_chain; in zend_dfa_optimize_op_array() 1320 ssa->vars[orig_var].use_chain = ret; in zend_dfa_optimize_op_array() 1331 } else if (ret >= 0 in zend_dfa_optimize_op_array() 1332 && ssa->ops[ret].op1_use == v in zend_dfa_optimize_op_array() 1333 && ssa->ops[ret].op1_use_chain == -1 in zend_dfa_optimize_op_array() 1338 zend_ssa_replace_use_chain(ssa, op_1, ret, orig_var); in zend_dfa_optimize_op_array() 1340 ssa->ops[ret].op1_use = orig_var; in zend_dfa_optimize_op_array() [all …]
|
/php-src/ext/dom/ |
H A D | node.c | 49 zend_string *ret; in dom_node_get_node_name_attribute_or_element() local 52 …ret = dom_node_concatenated_name_helper(name_len, (const char *) nodep->name, strlen((const char *… in dom_node_get_node_name_attribute_or_element() 54 ret = zend_string_init((const char *) nodep->name, name_len, false); in dom_node_get_node_name_attribute_or_element() 57 zend_str_toupper(ZSTR_VAL(ret), ZSTR_LEN(ret)); in dom_node_get_node_name_attribute_or_element() 59 return ret; in dom_node_get_node_name_attribute_or_element() 2057 int ret = -1; in dom_canonicalization() local 2173 …ret = xmlC14NExecute(docp, dom_canonicalize_node_parent_lookup_cb, nodep, exclusive, inclusive_ns_… in dom_canonicalization() 2175 ret = xmlC14NDocSaveTo(docp, nodeset, exclusive, inclusive_ns_prefixes, with_comments, buf); in dom_canonicalization() 2189 if (buf == NULL || ret < 0) { in dom_canonicalization() 2206 if (mode == 1 && (ret >= 0)) { in dom_canonicalization()
|
H A D | php_dom.c | 397 if (ret == SUCCESS) { in dom_read_property() 1877 xmlNodePtr ret = NULL; in dom_get_elements_by_tag_name_ns_raw() local 1892 ret = nodep; in dom_get_elements_by_tag_name_ns_raw() 1905 return ret; in dom_get_elements_by_tag_name_ns_raw() 2240 xmlNs *ret = NULL; in dom_get_nsdecl() local 2248 ret = cur; in dom_get_nsdecl() 2257 ret = cur; in dom_get_nsdecl() 2263 return ret; in dom_get_nsdecl() 2713 xmlAttrPtr ret = NULL; in php_dom_get_attribute_node() local 2716 ret = attr; in php_dom_get_attribute_node() [all …]
|
/php-src/Zend/ |
H A D | zend_object_handlers.c | 1924 zval *ret; in zend_std_get_static_property_with_info() local 1964 ret = CE_STATIC_MEMBERS(ce) + property_info->offset; in zend_std_get_static_property_with_info() 1965 ZVAL_DEINDIRECT(ret); in zend_std_get_static_property_with_info() 1968 && Z_TYPE_P(ret) == IS_UNDEF && ZEND_TYPE_IS_SET(property_info->type))) { in zend_std_get_static_property_with_info() 1981 return ret; in zend_std_get_static_property_with_info() 2069 int ret = object_lhs ? zend_compare(&casted, value) : zend_compare(value, &casted); in zend_std_compare_objects() local 2071 return ret; in zend_std_compare_objects() 2117 int ret; in zend_std_compare_objects() local 2119 ret = zend_compare(p1, p2); in zend_std_compare_objects() 2120 if (ret != 0) { in zend_std_compare_objects() [all …]
|
H A D | zend_alloc.c | 1572 void *ret; local 1578 ret = zend_mm_alloc_heap(heap, size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); 1579 memcpy(ret, ptr, copy_size); 1585 return ret; 1680 void *ret; local 1719 …ret = zend_mm_alloc_small(heap, ZEND_MM_SMALL_SIZE_TO_BIN(size) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_… 1721 memcpy(ret, ptr, copy_size); 1725 ret = ptr; 1736 memcpy(ret, ptr, copy_size); 1748 dbg = zend_mm_get_debug_info(heap, ret); [all …]
|
/php-src/ext/standard/ |
H A D | array.c | 850 return -ZEND_NORMALIZE_BOOL(ret); in php_array_user_compare_unstable() 856 return ZEND_NORMALIZE_BOOL(ret); in php_array_user_compare_unstable() 4029 int ret; local 4063 if (!ret) { 4133 int ret; local 4189 if (!ret) { 4276 zval *ret = NULL; local 4279 ret = &args[1]; 4281 ret = &args[0]; 4283 if (ret) { [all …]
|
/php-src/ext/phar/ |
H A D | tar.c | 133 …zend_result ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, optio… in phar_open_or_create_tar() local 135 if (FAILURE == ret) { in phar_open_or_create_tar() 146 return ret; in phar_open_or_create_tar() 936 int ret; in phar_tar_setupmetadata() local 937 ret = phar_tar_setmetadata(&entry->metadata_tracker, metadata, error); in phar_tar_setupmetadata() 939 return ret; in phar_tar_setupmetadata()
|
H A D | phar.c | 1584 zend_result ret = phar_open_from_fp(fp, fname, fname_len, alias, alias_len, options, pphar, error); in phar_open_from_filename() local 1590 return ret; in phar_open_from_filename() 2370 return ret; in phar_open_executed_filename() 2444 …zend_result ret = php_crc32_stream_bulk_update(&crc, fp, idata->internal_file->uncompressed_filesi… in phar_postprocess_file() local 2448 if (SUCCESS == ret && php_crc32_bulk_end(crc) == crc32) { in phar_postprocess_file() 3247 zend_string *ret = phar_find_in_include_path(filename, NULL); in phar_resolve_path() local 3248 if (!ret) { in phar_resolve_path() 3249 ret = phar_save_resolve_path(filename); in phar_resolve_path() 3251 return ret; in phar_resolve_path() 3349 #define PHAR_SET_MIME(mimetype, ret, fileext) \ in PHP_GINIT_FUNCTION() argument [all …]
|
/php-src/ext/ffi/ |
H A D | ffi.c | 2748 void *ret; in ZEND_FUNCTION() local 4454 int ret; in ZEND_METHOD() local 4512 if (ret == 0) { in ZEND_METHOD() 4514 } else if (ret < 0) { in ZEND_METHOD() 4724 zend_ffi_ctype *ret; in ZEND_METHOD() local 4738 RETURN_OBJ(&ret->std); in ZEND_METHOD() 4763 zend_ffi_ctype *ret; in ZEND_METHOD() local 4841 zend_ffi_ctype *ret; in ZEND_METHOD() local 4886 zend_ffi_ctype *ret; in ZEND_METHOD() local 4928 zend_ffi_ctype *ret; in ZEND_METHOD() local [all …]
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_statement.c | 33 type ret; \ 34 memcpy(&ret, sqldata, sizeof(ret)); \ 35 return ret; \
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_all_oo.phpt | 147 $ret = ''; 149 $ret .= chr(mt_rand(65, 90)); 151 return $ret;
|
H A D | mysqli_fetch_array.phpt | 126 $ret = ''; 128 $ret .= chr(mt_rand(65, 90)); 130 return $ret;
|
H A D | mysqli_stmt_bind_result.phpt | 136 $ret = ''; 138 $ret .= chr(mt_rand(65, 90)); 140 return $ret;
|
H A D | mysqli_fetch_array_oo.phpt | 130 $ret = ''; 132 $ret .= chr(mt_rand(65, 90)); 134 return $ret;
|
/php-src/docs-old/ |
H A D | streams.md | 192 PHPAPI int php_stream_cast(php_stream * stream, int castas, void ** ret, int show_err); 268 php_stream * ret; 271 ret = php_stream_alloc(&php_stream_stdio_ops, fp, 0, 0, mode); 272 if (ret) 273 return ret;
|
/php-src/ext/spl/ |
H A D | spl_observer.c | 227 zend_result ret = FAILURE; in spl_object_storage_detach() local 230 return ret; in spl_object_storage_detach() 233 ret = zend_hash_del(&intern->storage, key.key); in spl_object_storage_detach() 235 ret = zend_hash_index_del(&intern->storage, key.h); in spl_object_storage_detach() 239 return ret; in spl_object_storage_detach()
|
H A D | spl_array.c | 403 zval *ret; in spl_array_read_dimension_ex() local 428 ret = spl_array_get_dimension_ptr(check_inherited, intern, object->ce->name, offset, type); in spl_array_read_dimension_ex() 436 !Z_ISREF_P(ret) && in spl_array_read_dimension_ex() 437 EXPECTED(ret != &EG(uninitialized_zval))) { in spl_array_read_dimension_ex() 438 ZVAL_NEW_REF(ret, ret); in spl_array_read_dimension_ex() 441 return ret; in spl_array_read_dimension_ex()
|
H A D | php_spl.c | 236 int ret; in spl_autoload() local 252 ret = php_stream_open_for_zend_ex(&file_handle, USE_PATH|STREAM_OPEN_FOR_INCLUDE); in spl_autoload() 254 if (ret == SUCCESS) { in spl_autoload()
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | util.inc | 18 $ret = exec("chcp $cp");
|
/php-src/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 754 UBool ret = co->ucal->inDaylightTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() local 758 RETURN_BOOL((int)ret); in PHP_FUNCTION() 831 UBool ret = co->ucal->isWeekend((UDate)date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION() local 834 RETURN_BOOL((int)ret); in PHP_FUNCTION()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 1524 int ret = SUCCESS; in phpdbg_interactive() local 1529 while (ret == SUCCESS || ret == FAILURE) { in phpdbg_interactive() 1545 ret = phpdbg_stack_execute(&stack, allow_async_unsafe); in phpdbg_interactive() 1553 switch (ret) { in phpdbg_interactive() 1601 return ret; in phpdbg_interactive()
|
/php-src/ext/gd/ |
H A D | gd.c | 1325 int ret = 0; in PHP_FUNCTION() local 1326 ret = PHP_IMG_GIF; in PHP_FUNCTION() 1328 ret |= PHP_IMG_JPG; in PHP_FUNCTION() 1331 ret |= PHP_IMG_PNG; in PHP_FUNCTION() 1333 ret |= PHP_IMG_WBMP; in PHP_FUNCTION() 1335 ret |= PHP_IMG_XPM; in PHP_FUNCTION() 1338 ret |= PHP_IMG_WEBP; in PHP_FUNCTION() 1341 ret |= PHP_IMG_BMP; in PHP_FUNCTION() 1344 ret |= PHP_IMG_TGA; in PHP_FUNCTION() 1347 ret |= PHP_IMG_AVIF; in PHP_FUNCTION() [all …]
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 365 char *ret = (char *) malloc(len + 1); in PHP_INI_END() local 367 len = pcre2_config(what, ret); in PHP_INI_END() 369 free(ret); in PHP_INI_END() 373 return ret; in PHP_INI_END() 596 pcre_cache_entry *ret; in pcre_get_compiled_regex_cache_ex() local 872 ret = zend_hash_add_new_mem(&PCRE_G(pcre_cache), str, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache_ex() 875 ret = zend_hash_add_new_mem(&PCRE_G(pcre_cache), key, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache_ex() 882 return ret; in pcre_get_compiled_regex_cache_ex()
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir.h | 346 _(START, S0X1, ret, ___, ___) /* function start */ \ 359 _(RETURN, T2X1, src, def, ret) /* function return */ \ 360 _(IJMP, T2X1, src, def, ret) /* computed goto */ \ 361 _(UNREACHABLE, T1X2, src, ___, ret) /* unreachable (tailcall, etc) */ \
|