Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/PHP-7.2/win32/
H A Dioutil.h210 ret = mb; in php_win32_ioutil_conv_any_to_w()
217 return ret; in php_win32_ioutil_conv_any_to_w()
274 return ret; in php_win32_ioutil_access()
309 return ret; in php_win32_ioutil_open()
327 ret = -1; in php_win32_ioutil_unlink()
335 return ret; in php_win32_ioutil_unlink()
353 ret = -1; in php_win32_ioutil_rmdir()
370 FILE *ret; in php_win32_ioutil_fopen() local
407 int ret; in php_win32_ioutil_rename() local
446 int ret; in php_win32_ioutil_chdir() local
[all …]
H A Ddllmain.c38 BOOL ret = TRUE; in DllMain() local
57 ret = ret && php_win32_ioutil_init(); in DllMain()
58 if (!ret) { in DllMain()
60 return ret; in DllMain()
84 ret = ret && xmlDllMain(inst, reason, dummy); in DllMain()
87 return ret; in DllMain()
H A Dioutil.c299 ret = -1;
303 return ret;
371 ret = -1; in php_win32_ioutil_mkdir()
379 return ret; in php_win32_ioutil_mkdir()
391 ret = -1; in php_win32_ioutil_unlink_w()
395 return ret; in php_win32_ioutil_unlink_w()
407 ret = -1; in php_win32_ioutil_rmdir_w()
411 return ret; in php_win32_ioutil_rmdir_w()
421 ret = -1; in php_win32_ioutil_chdir_w()
439 ret = -1; in php_win32_ioutil_rename_w()
[all …]
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_alloc.c81 void *ret; in _mysqlnd_emalloc() local
103 ret = NULL; in _mysqlnd_emalloc()
121 void *ret; in _mysqlnd_pemalloc() local
143 ret = NULL; in _mysqlnd_pemalloc()
164 void *ret; in _mysqlnd_ecalloc() local
205 void *ret; in _mysqlnd_pecalloc() local
247 void *ret; in _mysqlnd_erealloc() local
288 void *ret; in _mysqlnd_perealloc() local
395 void *ret; in _mysqlnd_malloc() local
434 void *ret; in _mysqlnd_calloc() local
[all …]
H A Dmysqlnd_read_buffer.c76 MYSQLND_READ_BUFFER * ret = mnd_emalloc(sizeof(MYSQLND_READ_BUFFER)); in mysqlnd_create_read_buffer() local
78 ret->is_empty = mysqlnd_read_buffer_is_empty; in mysqlnd_create_read_buffer()
79 ret->read = mysqlnd_read_buffer_read; in mysqlnd_create_read_buffer()
80 ret->bytes_left = mysqlnd_read_buffer_bytes_left; in mysqlnd_create_read_buffer()
81 ret->free_buffer = mysqlnd_read_buffer_free; in mysqlnd_create_read_buffer()
82 ret->data = mnd_emalloc(count); in mysqlnd_create_read_buffer()
83 ret->size = ret->len = count; in mysqlnd_create_read_buffer()
84 ret->offset = 0; in mysqlnd_create_read_buffer()
85 DBG_RETURN(ret); in mysqlnd_create_read_buffer()
H A Dmysqlnd_commands.c84 if (PASS == ret) { in mysqlnd_com_set_option_run()
88 DBG_RETURN(ret); in mysqlnd_com_set_option_run()
133 if (PASS == ret) { in mysqlnd_com_debug_run()
138 DBG_RETURN(ret); in mysqlnd_com_debug_run()
213 ret = FAIL; in mysqlnd_com_init_db_run()
217 DBG_RETURN(ret); in mysqlnd_com_init_db_run()
272 DBG_RETURN(ret); in mysqlnd_com_ping_run()
342 DBG_RETURN(ret); in mysqlnd_com_statistics_run()
417 DBG_RETURN(ret); in mysqlnd_com_process_kill_run()
480 DBG_RETURN(ret); in mysqlnd_com_refresh_run()
[all …]
H A Dmysqlnd_block_alloc.c144 MYSQLND_MEMORY_POOL * ret = mnd_ecalloc(1, sizeof(MYSQLND_MEMORY_POOL)); in mysqlnd_mempool_create() local
146 if (ret) { in mysqlnd_mempool_create()
147 ret->get_chunk = mysqlnd_mempool_get_chunk; in mysqlnd_mempool_create()
148 ret->free_chunk = mysqlnd_mempool_free_chunk; in mysqlnd_mempool_create()
149 ret->resize_chunk = mysqlnd_mempool_resize_chunk; in mysqlnd_mempool_create()
150 ret->free_size = ret->arena_size = arena_size ? arena_size : 0; in mysqlnd_mempool_create()
152 ret->arena = mnd_emalloc(ret->arena_size); in mysqlnd_mempool_create()
153 if (!ret->arena) { in mysqlnd_mempool_create()
154 mysqlnd_mempool_destroy(ret); in mysqlnd_mempool_create()
155 ret = NULL; in mysqlnd_mempool_create()
[all …]
H A Dmysqlnd_result.c62 ret = FAIL; in MYSQLND_METHOD()
118 ret = FAIL; in MYSQLND_METHOD()
417 ret = FAIL; in mysqlnd_query_read_result_set_header()
422 ret = FAIL; in mysqlnd_query_read_result_set_header()
449 ret = FAIL; in mysqlnd_query_read_result_set_header()
1149 ret = PASS; in MYSQLND_METHOD()
1154 ret = PASS; in MYSQLND_METHOD()
1930 if (!ret) { in mysqlnd_result_init()
1952 if (!ret) { in mysqlnd_result_unbuffered_init()
1992 if (!ret) { in mysqlnd_result_buffered_zval_init()
[all …]
/PHP-7.2/ext/mysqli/tests/
H A D071.phpt18 $ret = $mysql->kill($mysql->thread_id);
20 if ($ret !== true){
21 printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
27 if ($ret !== true){
28 …printf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi…
31 if ($ret !== false){
32 …printf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
47 if ($ret !== true){
48 printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
54 if ($ret !== true){
[all …]
/PHP-7.2/Zend/
H A Dzend_string.h147 return ret; in zend_string_alloc()
165 return ret; in zend_string_safe_alloc()
174 return ret; in zend_string_init()
210 return ret; in zend_string_realloc()
217 return ret; in zend_string_realloc()
230 return ret; in zend_string_extend()
237 return ret; in zend_string_extend()
250 return ret; in zend_string_truncate()
257 return ret; in zend_string_truncate()
269 return ret; in zend_string_safe_realloc()
[all …]
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_clock.c65 kern_return_t ret; in fpm_clock_init() local
68 ret = host_get_clock_service(mach_host_self(), REALTIME_CLOCK, &mach_clock); in fpm_clock_init()
70 if (ret != KERN_SUCCESS) { in fpm_clock_init()
71 zlog(ZLOG_ERROR, "host_get_clock_service() failed: %s", mach_error_string(ret)); in fpm_clock_init()
76 ret = clock_get_time(mach_clock, &aTime); in fpm_clock_init()
78 if (ret != KERN_SUCCESS) { in fpm_clock_init()
79 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_init()
89 kern_return_t ret; in fpm_clock_get() local
92 ret = clock_get_time(mach_clock, &aTime); in fpm_clock_get()
94 if (ret != KERN_SUCCESS) { in fpm_clock_get()
[all …]
H A Dfpm_worker_pool.c56 struct fpm_worker_pool_s *ret; in fpm_worker_pool_alloc() local
58 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
59 if (!ret) { in fpm_worker_pool_alloc()
63 memset(ret, 0, sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
65 ret->idle_spawn_rate = 1; in fpm_worker_pool_alloc()
66 ret->log_fd = -1; in fpm_worker_pool_alloc()
67 return ret; in fpm_worker_pool_alloc()
H A Dfpm_arrays.h49 char *ret; in fpm_array_item() local
51 ret = (char *) a->data + a->sz * n; in fpm_array_item()
53 return ret; in fpm_array_item()
65 int ret = -1; in fpm_array_item_remove() local
73 ret = n; in fpm_array_item_remove()
78 return ret; in fpm_array_item_remove()
84 void *ret; in fpm_array_push() local
98 ret = fpm_array_item(a, a->used); in fpm_array_push()
102 return ret; in fpm_array_push()
/PHP-7.2/ext/intl/
H A Dintl_error.c246 smart_str ret = {0}; in intl_parse_error_to_string() local
262 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
273 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
282 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
285 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
292 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
302 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
305 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
311 smart_str_free( &ret ); in intl_parse_error_to_string()
315 smart_str_0( &ret ); in intl_parse_error_to_string()
[all …]
/PHP-7.2/ext/intl/tests/
H A Dbug72533.phpt10 $ret = var_export(ut_loc_accept_http(str_repeat('x', 256)), true);
11 $ret .= "\n";
13 $ret .= var_export(intl_get_error_message(), true);
15 $ret .= "\n";
16 $ret .= var_export(ut_loc_accept_http(str_repeat('en,', 256)), true);
17 $ret .= "\n";
19 $ret .= var_export(intl_get_error_message(), true);
21 return $ret;
/PHP-7.2/ext/filter/tests/
H A D035.phpt11 $ret = filter_input(INPUT_GET, 'a', FILTER_VALIDATE_INT);
12 var_dump($ret);
14 $ret = filter_input(INPUT_GET, 'a', FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL));
15 var_dump($ret);
17 $ret = filter_input(INPUT_GET, 'ar', FILTER_VALIDATE_INT, array('flags'=>FILTER_REQUIRE_ARRAY));
18 var_dump($ret);
20 $ret = filter_input(INPUT_GET, 'ar', FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FI…
21 var_dump($ret);
H A D045.phpt8 $ret = filter_var("0xff", FILTER_VALIDATE_INT, $a);
9 echo ($ret === 255 && $a["options"]["min_range"] === "0")?"ok\n":"bug\n";
10 echo ($ret === 255 && $a["options"]["max_range"] === "1024")?"ok\n":"bug\n";
11 echo ($ret === 255 && is_string($a["flags"]) && $a["flags"] == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n…
13 $ret = filter_var("0xff", FILTER_VALIDATE_INT, $a);
14 echo ($ret === 255 && is_string($a) && $a == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n";
16 $ret = filter_var_array(array("test"=>"0xff"), $a);
17 echo ($ret["test"] === 255 && is_string($a["test"]["filter"]) && $a["test"]["filter"] == FILTER_VAL…
18 echo ($ret["test"] === 255 && is_string($a["test"]["flags"]) && $a["test"]["flags"] == FILTER_FLAG_…
20 $ret = filter_var_array(array("test"=>"255"), $a);
[all …]
/PHP-7.2/ext/standard/
H A Dlink.c60 int ret; in PHP_FUNCTION() local
72 if (ret == -1) { in PHP_FUNCTION()
77 buff[ret] = '\0'; in PHP_FUNCTION()
91 int ret; in PHP_FUNCTION() local
105 ret = VCWD_LSTAT(link, &sb); in PHP_FUNCTION()
106 if (ret == -1) { in PHP_FUNCTION()
123 int ret; in PHP_FUNCTION() local
167 if (ret == -1) { in PHP_FUNCTION()
182 int ret; in PHP_FUNCTION() local
212 ret = link(topath, frompath); in PHP_FUNCTION()
[all …]
H A Durl.c212 if (ret->scheme) efree(ret->scheme); in php_url_parse_ex()
217 if (ret->scheme) efree(ret->scheme); in php_url_parse_ex()
280 if (ret->scheme) efree(ret->scheme); in php_url_parse_ex()
281 if (ret->user) efree(ret->user); in php_url_parse_ex()
282 if (ret->pass) efree(ret->pass); in php_url_parse_ex()
293 if (ret->scheme) efree(ret->scheme); in php_url_parse_ex()
294 if (ret->user) efree(ret->user); in php_url_parse_ex()
295 if (ret->pass) efree(ret->pass); in php_url_parse_ex()
308 if (ret->scheme) efree(ret->scheme); in php_url_parse_ex()
309 if (ret->user) efree(ret->user); in php_url_parse_ex()
[all …]
/PHP-7.2/main/streams/
H A Dtransports.c203 int ret; in php_stream_xport_bind() local
221 return ret; in php_stream_xport_bind()
234 int ret; in php_stream_xport_connect() local
256 return ret; in php_stream_xport_connect()
264 int ret; in php_stream_xport_listen() local
281 return ret; in php_stream_xport_listen()
293 int ret; in php_stream_xport_accept() local
320 return ret; in php_stream_xport_accept()
329 int ret; in php_stream_xport_get_name() local
356 int ret; in php_stream_xport_crypto_setup() local
[all …]
/PHP-7.2/ext/zip/lib/
H A Dzip_memdup.c43 void *ret; in _zip_memdup() local
48 ret = malloc(len); in _zip_memdup()
49 if (!ret) { in _zip_memdup()
54 memcpy(ret, mem, len); in _zip_memdup()
56 return ret; in _zip_memdup()
H A Dzip_unchange_all.c43 int ret; in zip_unchange_all() local
48 ret = 0; in zip_unchange_all()
50 ret |= _zip_unchange(za, i, 1); in zip_unchange_all()
52 ret |= zip_unchange_archive(za); in zip_unchange_all()
54 return ret; in zip_unchange_all()
/PHP-7.2/sapi/embed/
H A Dphp_embed.c54 zend_long ret; in php_embed_single_write() local
56 ret = write(STDOUT_FILENO, str, str_length); in php_embed_single_write()
57 if (ret <= 0) return 0; in php_embed_single_write()
58 return ret; in php_embed_single_write()
60 size_t ret; in php_embed_single_write()
63 return ret; in php_embed_single_write()
72 size_t ret; in php_embed_ub_write() local
75 ret = php_embed_single_write(ptr, remaining); in php_embed_ub_write()
76 if (!ret) { in php_embed_ub_write()
79 ptr += ret; in php_embed_ub_write()
[all …]
/PHP-7.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c470 int mode_backup, substchar_backup, ret, n, m, r; in mbfl_filt_conv_illegal_output() local
472 ret = 0; in mbfl_filt_conv_illegal_output()
489 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output()
527 if (ret >= 0) { in mbfl_filt_conv_illegal_output()
535 if (ret < 0) { in mbfl_filt_conv_illegal_output()
541 if (m == 0 && ret >= 0) { in mbfl_filt_conv_illegal_output()
551 if (ret < 0) in mbfl_filt_conv_illegal_output()
561 if (ret < 0) { in mbfl_filt_conv_illegal_output()
567 if (ret < 0) { in mbfl_filt_conv_illegal_output()
575 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output()
[all …]
/PHP-7.2/ext/soap/
H A Dphp_encoding.c562 ret = encode->to_zval(ret, &encode->details, data); in master_to_zval_int()
564 return ret; in master_to_zval_int()
622 if (!ret) { in to_xml_user()
629 return ret; in to_xml_user()
655 return ret; in to_zval_user()
689 return ret; in to_zval_string()
722 return ret; in to_zval_stringr()
755 return ret; in to_zval_stringc()
784 return ret; in to_zval_base64()
830 return ret; in to_zval_hexbin()
[all …]

Completed in 124 milliseconds

12345678910>>...16