Home
last modified time | relevance | path

Searched refs:ret (Results 26 – 50 of 428) sorted by relevance

12345678910>>...18

/PHP-8.3/Zend/Optimizer/
H A Dzend_func_info.c121 uint32_t ret = info->info; in zend_get_internal_func_info() local
123 if (ret & MAY_BE_ARRAY) { in zend_get_internal_func_info()
124 ret |= MAY_BE_ARRAY_EMPTY; in zend_get_internal_func_info()
126 return ret; in zend_get_internal_func_info()
134 uint32_t ret = 0; in zend_get_func_info() local
155 if (internal_ret & ~ret) { in zend_get_func_info()
159 if (internal_ret == ret) { in zend_get_func_info()
181 ret = info->return_info.type; in zend_get_func_info()
186 if (!ret) { in zend_get_func_info()
191 ret |= MAY_BE_REF; in zend_get_func_info()
[all …]
/PHP-8.3/ext/hash/sha3/generic32lc/
H A DKeccakHash.c42 … HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate() local
43 if (ret == SUCCESS) { in Keccak_HashUpdate()
54 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate()
58 return ret; in Keccak_HashUpdate()
66 …HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorbLastFewBits(&instance->sponge, instance->… in Keccak_HashFinal() local
67 if (ret == SUCCESS) in Keccak_HashFinal()
70 return ret; in Keccak_HashFinal()
/PHP-8.3/ext/hash/sha3/generic64lc/
H A DKeccakHash.c42 … HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate() local
43 if (ret == SUCCESS) { in Keccak_HashUpdate()
54 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate()
58 return ret; in Keccak_HashUpdate()
66 …HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorbLastFewBits(&instance->sponge, instance->… in Keccak_HashFinal() local
67 if (ret == SUCCESS) in Keccak_HashFinal()
70 return ret; in Keccak_HashFinal()
/PHP-8.3/ext/standard/
H A Dnet.c62 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_inet_ntop()
63 return ret; in php_inet_ntop()
65 zend_string_efree(ret); in php_inet_ntop()
72 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_inet_ntop()
73 return ret; in php_inet_ntop()
75 zend_string_efree(ret); in php_inet_ntop()
89 zend_string *ret = zend_string_alloc(NI_MAXHOST, 0); in php_inet_ntop() local
92 char *colon = strchr(ZSTR_VAL(ret), '%'); in php_inet_ntop()
94 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_inet_ntop()
95 return ret; in php_inet_ntop()
[all …]
/PHP-8.3/ext/dom/tests/
H A DDOMDocument_encoding_basic.phpt25 $ret = $dom->encoding = 'NYPHP DOMinatrix';
26 echo "Adding invalid encoding: $ret\n";
31 $ret = $dom->encoding = 'ISO-8859-1';
32 echo "Adding ISO-8859-1 encoding: $ret\n";
35 $ret = $dom->encoding = 'UTF-8';
36 echo "Adding UTF-8 encoding: $ret\n";
39 $ret = $dom->encoding = 'UTF-16';
40 echo "Adding UTF-16 encoding: $ret\n";
/PHP-8.3/ext/standard/tests/file/
H A D004.phpt15 $ret = file_put_contents("TEST2", $int);
17 if ($int === $old_int && $ret !== FALSE && md5($int) == md5_file("TEST2")) {
25 $ret = file_put_contents("TEST3", $int);
27 if ($int === $old_int && $ret !== FALSE && md5($int) == md5_file("TEST3")) {
34 $ret = file_put_contents("TEST4", __FILE__);
36 if ($ret !== FALSE && md5(__FILE__) == md5_file("TEST4")) {
43 $ret = @file_put_contents("TEST5", $_SERVER);
45 if ($ret !== FALSE && @md5(implode('', $_SERVER)) == md5_file("TEST5")) {
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_auth.c170 DBG_RETURN(ret); in mysqlnd_run_authentication()
195 DBG_RETURN(ret); in mysqlnd_switch_to_ssl_if_needed()
226 DBG_RETURN(ret); in mysqlnd_connect_run_authentication()
354 ret = PASS; in mysqlnd_auth_handshake()
357 DBG_RETURN(ret); in mysqlnd_auth_handshake()
455 ret = FAIL; in mysqlnd_auth_change_user()
474 ret = FAIL; in mysqlnd_auth_change_user()
641 return ret; in mysqlnd_pam_auth_get_auth_data()
696 return ret; in mysqlnd_sha256_get_rsa_from_pem()
728 free(ret); in mysqlnd_sha256_public_encrypt()
[all …]
/PHP-8.3/ext/intl/tests/
H A Duconverter_func_subst.phpt11 $ret = UConverter::transcode("This is an ascii string", 'ascii', 'utf-8', $opts);
12 if ($ret === FALSE) {
15 var_dump($ret);
17 $ret = UConverter::transcode("Snowman: (\xE2\x98\x83)", 'ascii', 'utf-8', $opts);
18 if ($ret === FALSE) {
21 var_dump($ret);
H A Dbug67397.phpt10 $ret = var_export(ut_loc_get_display_name(str_repeat('*', 256), 'en_us'), true);
11 $ret .= "\n";
12 $ret .= var_export(intl_get_error_message(), true);
13 return $ret;
/PHP-8.3/ext/intl/
H A Dintl_convertcpp.cpp24 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status) in intl_stringFromChar() argument
28 ret.setToBogus(); in intl_stringFromChar()
36 UChar *utf16 = ret.getBuffer(capacity); in intl_stringFromChar()
39 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar()
42 ret.releaseBuffer(utf16_len); in intl_stringFromChar()
44 ret.setToBogus(); in intl_stringFromChar()
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c196 int shift = 28, ret = 0; in mbfl_filt_conv_output_hex() local
203 if (ret < 0) { in mbfl_filt_conv_output_hex()
204 return ret; in mbfl_filt_conv_output_hex()
215 return ret; in mbfl_filt_conv_output_hex()
222 int ret = 0; in mbfl_filt_conv_illegal_output() local
244 if (ret < 0) in mbfl_filt_conv_illegal_output()
246 ret = mbfl_filt_conv_output_hex(w, filter); in mbfl_filt_conv_illegal_output()
255 if (ret < 0) in mbfl_filt_conv_illegal_output()
257 ret = mbfl_filt_conv_output_hex(w, filter); in mbfl_filt_conv_illegal_output()
258 if (ret < 0) in mbfl_filt_conv_illegal_output()
[all …]
/PHP-8.3/win32/
H A Dcodepage.c40 wchar_t *ret; in php_win32_cp_to_w_int() local
58 if (!ret) { in php_win32_cp_to_w_int()
65 free(ret); in php_win32_cp_to_w_int()
71 assert(ret && !in_len ? wcslen(ret) == ret_len - 1 : 1); in php_win32_cp_to_w_int()
79 return ret; in php_win32_cp_to_w_int()
93 return ret; in php_win32_cp_conv_cur_to_w()
175 if (!ret) { in php_win32_cp_conv_ascii_to_w()
240 return ret; in php_win32_cp_conv_ascii_to_w()
296 char *ret; in php_win32_cp_conv_w_to_cur() local
300 return ret; in php_win32_cp_conv_w_to_cur()
[all …]
/PHP-8.3/ext/fileinfo/libmagic/
H A Dfsmagic.c92 int ret, did = 0; in file_fsmagic() local
100 ret = php_sys_stat(fn, sb); in file_fsmagic()
102 if (ret) { in file_fsmagic()
113 ret = 1; in file_fsmagic()
142 ret = 0; in file_fsmagic()
236 ret = 0; in file_fsmagic()
245 if (!silent && !mime && did && ret == 0) { in file_fsmagic()
253 if (ret == 1 && silent) in file_fsmagic()
255 return ret; in file_fsmagic()
/PHP-8.3/ext/soap/
H A Dphp_xml.c80 xmlDocPtr ret; in soap_xmlParseFile() local
106 ret = ctxt->myDoc; in soap_xmlParseFile()
111 ret = NULL; in soap_xmlParseFile()
117 ret = NULL; in soap_xmlParseFile()
124 if (ret) { in soap_xmlParseFile()
127 return ret; in soap_xmlParseFile()
133 xmlDocPtr ret; in soap_xmlParseMemory() local
154 ret = ctxt->myDoc; in soap_xmlParseMemory()
159 ret = NULL; in soap_xmlParseMemory()
165 ret = NULL; in soap_xmlParseMemory()
[all …]
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_field_seek.phpt13 $ret = '';
16 $ret .= 'MYSQLI_NOT_NULL_FLAG ';
19 $ret .= 'MYSQLI_PRI_KEY_FLAG ';
22 $ret .= 'MYSQLI_UNIQUE_KEY_FLAG ';
28 $ret .= 'MYSQLI_BLOB_FLAG ';
31 $ret .= 'MYSQLI_UNSIGNED_FLAG ';
34 $ret .= 'MYSQLI_ZEROFILL_FLAG ';
43 $ret .= 'MYSQLI_SET_FLAG ';
46 $ret .= 'MYSQLI_NUM_FLAG ';
52 $ret .= 'MYSQLI_GROUP_FLAG ';
[all …]
/PHP-8.3/ext/odbc/tests/
H A Dbug69354.phpt21 $ret = odbc_result($res,'varchar_col');
22 echo strlen($ret), "\n";
23 echo $ret[0], "\n";
24 echo $ret[strlen($ret)-1], "\n";
/PHP-8.3/ext/fileinfo/tests/
H A Dbug61964-mb.phpt10 $ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits私はガラスを食べられます");
11 var_dump($ret);
21 $ret = finfo_open(FILEINFO_NONE, $dir);
22 var_dump($ret);
24 $ret = @finfo_open(FILEINFO_NONE, $dir);
25 var_dump($ret);
27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir私はガラスを食べられます");
28 var_dump($ret);
H A Dbug61964.phpt10 $ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits");
11 var_dump($ret);
21 $ret = finfo_open(FILEINFO_NONE, $dir);
22 var_dump($ret);
24 $ret = @finfo_open(FILEINFO_NONE, $dir);
25 var_dump($ret);
27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir");
28 var_dump($ret);
/PHP-8.3/ext/dom/
H A Ddom_iterators.c62 xmlEntityPtr ret; in create_notation() local
70 ret->length = 0; in create_notation()
71 ret->content = NULL; in create_notation()
72 ret->URI = NULL; in create_notation()
73 ret->orig = NULL; in create_notation()
74 ret->children = NULL; in create_notation()
75 ret->parent = NULL; in create_notation()
76 ret->doc = NULL; in create_notation()
77 ret->_private = NULL; in create_notation()
78 ret->last = NULL; in create_notation()
[all …]
/PHP-8.3/ext/session/
H A Dmod_mm.c177 ps_sd *ret, *prev; in ps_sd_lookup() local
182 for (prev = NULL, ret = data->hash[slot]; ret; prev = ret, ret = ret->next) { in ps_sd_lookup()
183 if (ret->hv == hv && zend_string_equals(ret->key, key)) { in ps_sd_lookup()
188 if (ret && rw && ret != data->hash[slot]) { in ps_sd_lookup()
191 prev->next = ret->next; in ps_sd_lookup()
195 data->hash[slot] = ret; in ps_sd_lookup()
200 return ret; in ps_sd_lookup()
271 zend_result ret; in PHP_MINIT_FUNCTION() local
303 if (ret == FAILURE) { in PHP_MINIT_FUNCTION()
371 ret = SUCCESS; in PS_READ_FUNC()
[all …]
H A Dmod_user_class.c42 zend_result ret; in PHP_METHOD() local
51 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD()
57 if (SUCCESS == ret) { in PHP_METHOD()
61 RETURN_BOOL(SUCCESS == ret); in PHP_METHOD()
68 zend_result ret; in PHP_METHOD() local
79 ret = PS(default_mod)->s_close(&PS(mod_data)); in PHP_METHOD()
85 RETURN_BOOL(SUCCESS == ret); in PHP_METHOD()
/PHP-8.3/ext/dba/libinifile/
H A Dinifile.c338 ret = SUCCESS; in inifile_find_group()
346 ret = SUCCESS; in inifile_find_group()
351 return ret; in inifile_find_group()
368 ret = SUCCESS; in inifile_next_group()
374 return ret; in inifile_next_group()
447 ret = FAILURE; in inifile_filter()
451 return ret; in inifile_filter()
461 int ret; in inifile_delete_replace_append() local
480 ret = SUCCESS; in inifile_delete_replace_append()
490 ret = FAILURE; in inifile_delete_replace_append()
[all …]
/PHP-8.3/main/streams/
H A Dmmap.c46 int ret = 1; in _php_stream_mmap_unmap_ex() local
49 ret = 0; in _php_stream_mmap_unmap_ex()
52 ret = 0; in _php_stream_mmap_unmap_ex()
55 return ret; in _php_stream_mmap_unmap_ex()
/PHP-8.3/ext/sodium/
H A Dsodium_pwhash.c74 zend_string *ret; in php_sodium_argon2_hash() local
85 ret = zend_string_alloc(crypto_pwhash_STRBYTES - 1, 0); in php_sodium_argon2_hash()
86 …if (crypto_pwhash_str_alg(ZSTR_VAL(ret), ZSTR_VAL(password), ZSTR_LEN(password), opslimit, memlimi… in php_sodium_argon2_hash()
88 zend_string_release(ret); in php_sodium_argon2_hash()
92 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_sodium_argon2_hash()
93 ZSTR_VAL(ret)[ZSTR_LEN(ret)] = 0; in php_sodium_argon2_hash() local
95 return ret; in php_sodium_argon2_hash()
/PHP-8.3/ext/ffi/
H A Dffi_parser.c314 int ret; in get_skip_sym() local
1678 return ret; in get_skip_sym()
1881 int ret; in synpred_1() local
1893 return ret; in synpred_1()
1897 int ret; in synpred_2() local
1909 return ret; in synpred_2()
1913 int ret; in synpred_3() local
1925 return ret; in synpred_3()
1941 int ret; in synpred_4() local
1969 int ret; in synpred_5() local
[all …]

Completed in 110 milliseconds

12345678910>>...18