Home
last modified time | relevance | path

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

12345678910>>...17

/PHP-7.3/main/
H A Dphp_sprintf.c32 int ret; in php_sprintf() local
36 ret = vsprintf (s, format, args); in php_sprintf()
38 return (ret < 0) ? -1 : ret; in php_sprintf()
/PHP-7.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-7.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-7.3/ext/zip/lib/
H A Dzip_fclose.c43 int ret; in zip_fclose() local
48 ret = 0; in zip_fclose()
50 ret = zf->error.zip_err; in zip_fclose()
54 return ret; in zip_fclose()
H A Dzip_source_call.c41 zip_int64_t ret; in _zip_source_call() local
49 ret = src->cb.f(src->ud, data, length, command); in _zip_source_call()
52 ret = src->cb.l(src->src, src->ud, data, length, command); in _zip_source_call()
55 if (ret < 0) { in _zip_source_call()
68 return ret; in _zip_source_call()
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_result.c62 ret = FAIL; in MYSQLND_METHOD()
82 DBG_RETURN(ret); in MYSQLND_METHOD()
118 ret = FAIL; in MYSQLND_METHOD()
387 ret = FAIL; in mysqlnd_query_read_result_set_header()
413 ret = FAIL; in mysqlnd_query_read_result_set_header()
1126 ret = PASS; in MYSQLND_METHOD()
1131 ret = PASS; in MYSQLND_METHOD()
1231 ret = PASS; in MYSQLND_METHOD()
1238 ret = PASS; in MYSQLND_METHOD()
1276 ret = FAIL; in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_auth.c161 if (ret == PASS) { in mysqlnd_run_authentication()
173 DBG_RETURN(ret); in mysqlnd_run_authentication()
198 DBG_RETURN(ret); in mysqlnd_switch_to_ssl_if_needed()
229 DBG_RETURN(ret); in mysqlnd_connect_run_authentication()
345 ret = PASS; in mysqlnd_auth_handshake()
348 DBG_RETURN(ret); in mysqlnd_auth_handshake()
434 ret = FAIL; in mysqlnd_auth_change_user()
453 ret = FAIL; in mysqlnd_auth_change_user()
499 DBG_RETURN(ret); in mysqlnd_auth_change_user()
579 DBG_RETURN(ret); in mysqlnd_native_auth_get_auth_data()
[all …]
H A Dmysqlnd_connection.c385 DBG_RETURN(ret); in MYSQLND_METHOD()
456 ret = FAIL; in MYSQLND_METHOD()
468 DBG_RETURN(ret); in MYSQLND_METHOD()
857 ret = PASS;
1169 ret = FAIL;
1707 ret = FAIL;
1787 ret = FAIL;
1838 ret = FAIL;
2496 return ret;
2560 ++ret;
[all …]
H A Dmysqlnd_driver.c192 MYSQLND_STMT * ret = mnd_ecalloc(1, alloc_size); in MYSQLND_METHOD() local
197 if (!ret) { in MYSQLND_METHOD()
200 ret->m = mysqlnd_stmt_get_methods(); in MYSQLND_METHOD()
231 DBG_RETURN(ret); in MYSQLND_METHOD()
235 if (ret) { in MYSQLND_METHOD()
236 ret->m->dtor(ret, TRUE); in MYSQLND_METHOD()
237 ret = NULL; in MYSQLND_METHOD()
303 if (ret) { in MYSQLND_METHOD()
304 ret->persistent = persistent; in MYSQLND_METHOD()
305 ret->conn = conn; in MYSQLND_METHOD()
[all …]
/PHP-7.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-7.3/ext/dom/tests/
H A DDOMDocument_encoding_basic.phpt24 $ret = $dom->encoding = 'NYPHP DOMinatrix';
25 echo "Adding invalid encoding: $ret\n";
27 $ret = $dom->encoding = 'ISO-8859-1';
28 echo "Adding ISO-8859-1 encoding: $ret\n";
31 $ret = $dom->encoding = 'UTF-8';
32 echo "Adding UTF-8 encoding: $ret\n";
35 $ret = $dom->encoding = 'UTF-16';
36 echo "Adding UTF-16 encoding: $ret\n";
/PHP-7.3/ext/intl/
H A Dintl_convertcpp.cpp26 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status) in intl_stringFromChar() argument
30 ret.setToBogus(); in intl_stringFromChar()
38 UChar *utf16 = ret.getBuffer(capacity); in intl_stringFromChar()
41 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len, in intl_stringFromChar()
44 ret.releaseBuffer(utf16_len); in intl_stringFromChar()
46 ret.setToBogus(); in intl_stringFromChar()
/PHP-7.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-7.3/win32/
H A Dcodepage.c36 wchar_t *ret; in php_win32_cp_to_w_int() local
54 if (!ret) { in php_win32_cp_to_w_int()
61 free(ret); in php_win32_cp_to_w_int()
67 assert(ret && !in_len ? wcslen(ret) == ret_len - 1 : 1); in php_win32_cp_to_w_int()
75 return ret; in php_win32_cp_to_w_int()
89 return ret; in php_win32_cp_conv_cur_to_w()
152 if (!ret) { in php_win32_cp_conv_ascii_to_w()
207 return ret; in php_win32_cp_conv_ascii_to_w()
263 char *ret; in php_win32_cp_conv_w_to_cur() local
267 return ret; in php_win32_cp_conv_w_to_cur()
[all …]
/PHP-7.3/ext/intl/spoofchecker/
H A Dspoofchecker_main.c29 int ret; in PHP_METHOD() local
41 ret = uspoof_checkUTF8(co->uspoof, text, text_len, NULL, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD()
50 ZVAL_LONG(error_code, ret); in PHP_METHOD()
52 RETVAL_BOOL(ret != 0); in PHP_METHOD()
61 int ret; in PHP_METHOD() local
76ret = uspoof_areConfusableUTF8(co->uspoof, s1, (int32_t)s1_len, s2, (int32_t)s2_len, SPOOFCHECKER_… in PHP_METHOD()
85 ZVAL_LONG(error_code, ret); in PHP_METHOD()
87 RETVAL_BOOL(ret != 0); in PHP_METHOD()
/PHP-7.3/ext/dom/
H A Ddom_iterators.c63 xmlEntityPtr ret; in create_notation() local
71 ret->length = 0; in create_notation()
72 ret->content = NULL; in create_notation()
73 ret->URI = NULL; in create_notation()
74 ret->orig = NULL; in create_notation()
75 ret->children = NULL; in create_notation()
76 ret->parent = NULL; in create_notation()
77 ret->doc = NULL; in create_notation()
78 ret->_private = NULL; in create_notation()
79 ret->last = NULL; in create_notation()
[all …]
/PHP-7.3/ext/soap/
H A Dphp_xml.c82 xmlDocPtr ret; in soap_xmlParseFile() local
109 ret = ctxt->myDoc; in soap_xmlParseFile()
114 ret = NULL; in soap_xmlParseFile()
120 ret = NULL; in soap_xmlParseFile()
127 if (ret) { in soap_xmlParseFile()
130 return ret; in soap_xmlParseFile()
136 xmlDocPtr ret; in soap_xmlParseMemory() local
158 ret = ctxt->myDoc; in soap_xmlParseMemory()
163 ret = NULL; in soap_xmlParseMemory()
169 ret = NULL; in soap_xmlParseMemory()
[all …]
/PHP-7.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-7.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-7.3/ext/session/
H A Dmod_mm.c180 ps_sd *ret, *prev; in ps_sd_lookup() local
185 for (prev = NULL, ret = data->hash[slot]; ret; prev = ret, ret = ret->next) { in ps_sd_lookup()
186 if (ret->hv == hv && !strcmp(ret->key, key)) { in ps_sd_lookup()
191 if (ret && rw && ret != data->hash[slot]) { in ps_sd_lookup()
198 data->hash[slot] = ret; in ps_sd_lookup()
203 return ret; in ps_sd_lookup()
275 int ret; in PHP_MINIT_FUNCTION() local
307 if (ret != SUCCESS) { in PHP_MINIT_FUNCTION()
349 int ret = FAILURE; in PS_READ_FUNC() local
375 ret = SUCCESS; in PS_READ_FUNC()
[all …]
/PHP-7.3/main/streams/
H A Dmmap.c54 int ret = 1; in _php_stream_mmap_unmap_ex() local
57 ret = 0; in _php_stream_mmap_unmap_ex()
60 ret = 0; in _php_stream_mmap_unmap_ex()
63 return ret; in _php_stream_mmap_unmap_ex()
/PHP-7.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-7.3/ext/standard/
H A Dflock_compat.c45 int ret; in php_flock() local
61 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock()
63 if (operation & LOCK_NB && ret == -1 && in php_flock()
67 if (ret != -1) ret = 0; in php_flock()
69 return ret; in php_flock()

Completed in 77 milliseconds

12345678910>>...17