Home
last modified time | relevance | path

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

12345678910>>...19

/php-src/win32/
H A Dioutil.h255 ret = mb; in php_win32_ioutil_conv_any_to_w()
262 return ret; in php_win32_ioutil_conv_any_to_w()
394 ret = -1; in php_win32_ioutil_rmdir()
408 FILE *ret; in php_win32_ioutil_fopen() local
442 int ret; in php_win32_ioutil_rename() local
484 int ret; in php_win32_ioutil_chdir() local
551 int ret; in php_win32_ioutil_chmod() local
576 int ret; in php_win32_ioutil_mkdir() local
602 int ret; in php_win32_ioutil_symlink() local
628 int ret; in php_win32_ioutil_link() local
[all …]
H A Ddllmain.c34 BOOL ret = TRUE; in DllMain() local
42 ret = ret && xmlDllMain(inst, reason, dummy); in DllMain()
45 return ret; in DllMain()
/php-src/ext/mysqlnd/
H A Dmysqlnd_alloc.c72 void *ret; in _mysqlnd_emalloc() local
80 *(size_t *) ret = size; in _mysqlnd_emalloc()
91 void *ret; in _mysqlnd_pemalloc() local
101 *(size_t *) ret = size; in _mysqlnd_pemalloc()
113 void *ret; in _mysqlnd_ecalloc() local
133 void *ret; in _mysqlnd_pecalloc() local
155 void *ret; in _mysqlnd_erealloc() local
175 void *ret; in _mysqlnd_perealloc() local
261 char * ret; in _mysqlnd_pememdup() local
292 char * ret; in _mysqlnd_pestrndup() local
[all …]
H A Dmysqlnd_read_buffer.c74 MYSQLND_READ_BUFFER * ret = mnd_emalloc(sizeof(MYSQLND_READ_BUFFER)); in mysqlnd_create_read_buffer() local
76 ret->is_empty = mysqlnd_read_buffer_is_empty; in mysqlnd_create_read_buffer()
77 ret->read = mysqlnd_read_buffer_read; in mysqlnd_create_read_buffer()
78 ret->bytes_left = mysqlnd_read_buffer_bytes_left; in mysqlnd_create_read_buffer()
79 ret->free_buffer = mysqlnd_read_buffer_free; in mysqlnd_create_read_buffer()
80 ret->data = mnd_emalloc(count); in mysqlnd_create_read_buffer()
81 ret->size = ret->len = count; in mysqlnd_create_read_buffer()
82 ret->offset = 0; in mysqlnd_create_read_buffer()
83 DBG_RETURN(ret); in mysqlnd_create_read_buffer()
H A Dmysqlnd_commands.c47 if (PASS == ret) { in MYSQLND_METHOD()
51 DBG_RETURN(ret); in MYSQLND_METHOD()
73 if (PASS == ret) { in MYSQLND_METHOD()
78 DBG_RETURN(ret); in MYSQLND_METHOD()
114 DBG_RETURN(ret); in MYSQLND_METHOD()
146 DBG_RETURN(ret); in MYSQLND_METHOD()
180 DBG_RETURN(ret); in MYSQLND_METHOD()
220 DBG_RETURN(ret); in MYSQLND_METHOD()
249 DBG_RETURN(ret); in MYSQLND_METHOD()
271 DBG_RETURN(ret); in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_result.c180 ret = FAIL; in mysqlnd_query_read_result_set_header()
208 ret = FAIL; in mysqlnd_query_read_result_set_header()
244 ret = PASS; in mysqlnd_query_read_result_set_header()
296 ret = FAIL; in mysqlnd_query_read_result_set_header()
355 DBG_RETURN(ret); in mysqlnd_query_read_result_set_header()
404 DBG_RETURN(ret); in MYSQLND_METHOD()
505 DBG_RETURN(ret); in MYSQLND_METHOD()
634 ret = FAIL; in MYSQLND_METHOD()
668 ret = FAIL; in MYSQLND_METHOD()
711 ret = FAIL; in MYSQLND_METHOD()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_clock.c63 kern_return_t ret; in fpm_clock_init() local
66 ret = host_get_clock_service(mach_host_self(), REALTIME_CLOCK, &mach_clock); in fpm_clock_init()
68 if (ret != KERN_SUCCESS) { in fpm_clock_init()
69 zlog(ZLOG_ERROR, "host_get_clock_service() failed: %s", mach_error_string(ret)); in fpm_clock_init()
74 ret = clock_get_time(mach_clock, &aTime); in fpm_clock_init()
76 if (ret != KERN_SUCCESS) { in fpm_clock_init()
77 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_init()
86 kern_return_t ret; in fpm_clock_get() local
89 ret = clock_get_time(mach_clock, &aTime); in fpm_clock_get()
91 if (ret != KERN_SUCCESS) { in fpm_clock_get()
[all …]
H A Dfpm_arrays.h50 char *ret; in fpm_array_item() local
52 ret = (char *) a->data + a->sz * n; in fpm_array_item()
54 return ret; in fpm_array_item()
66 int ret = -1; in fpm_array_item_remove() local
74 ret = n; in fpm_array_item_remove()
79 return ret; in fpm_array_item_remove()
85 void *ret; in fpm_array_push() local
99 ret = fpm_array_item(a, a->used); in fpm_array_push()
103 return ret; in fpm_array_push()
H A Dfpm_worker_pool.c70 struct fpm_worker_pool_s *ret; in fpm_worker_pool_alloc() local
72 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
73 if (!ret) { in fpm_worker_pool_alloc()
77 memset(ret, 0, sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc()
79 ret->idle_spawn_rate = 1; in fpm_worker_pool_alloc()
80 ret->log_fd = -1; in fpm_worker_pool_alloc()
81 return ret; in fpm_worker_pool_alloc()
/php-src/ext/intl/
H A Dintl_error.c208 smart_str ret = {0}; in intl_parse_error_to_string() local
224 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
235 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
244 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
247 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
254 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
264 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
267 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
273 smart_str_free( &ret ); in intl_parse_error_to_string()
277 smart_str_0( &ret ); in intl_parse_error_to_string()
[all …]
/php-src/Zend/
H A Dzend_string.c219 if (ret) { in zend_new_interned_string_permanent()
244 if (ret) { in zend_new_interned_string_request()
250 if (ret) { in zend_new_interned_string_request()
269 return ret; in zend_new_interned_string_request()
278 if (ret) { in zend_string_init_interned_permanent()
292 if (ret) { in zend_string_init_existing_interned_permanent()
299 return ret; in zend_string_init_existing_interned_permanent()
309 if (ret) { in zend_string_init_interned_request()
314 if (ret) { in zend_string_init_interned_request()
336 if (ret) { in zend_string_init_existing_interned_request()
[all …]
H A Dzend_string.h182 return ret; in zend_string_alloc()
193 return ret; in zend_string_safe_alloc()
202 return ret; in zend_string_init()
255 return ret; in zend_string_realloc()
263 return ret; in zend_string_realloc()
276 return ret; in zend_string_extend()
284 return ret; in zend_string_extend()
297 return ret; in zend_string_truncate()
305 return ret; in zend_string_truncate()
317 return ret; in zend_string_safe_realloc()
[all …]
/php-src/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-src/ext/xml/tests/
H A DXML_OPTION_PARSE_HUGE.phpt40 $ret = xml_parse($parser, $long_xml_head, true);
41 echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
46 echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
48 echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
53 echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
59 echo "ret = $ret (", xml_error_string(xml_get_error_code($parser)), ")\n";
67 ret = 0 (XML_ERR_NAME_REQUIRED)
75 ret = 1 (No error)
76 ret = 1 (No error)
81 ret = 0 (XML_ERR_NAME_REQUIRED)
[all …]
/php-src/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-src/ext/standard/
H A Dlink.c62 ssize_t ret; in PHP_FUNCTION() local
74 if (ret == -1) { in PHP_FUNCTION()
83 buff[ret] = '\0'; in PHP_FUNCTION()
85 RETURN_STRINGL(buff, ret); in PHP_FUNCTION()
96 int ret; in PHP_FUNCTION() local
111 ret = VCWD_LSTAT(link, &sb); in PHP_FUNCTION()
112 if (ret == -1) { in PHP_FUNCTION()
128 int ret; in PHP_FUNCTION() local
172 if (ret == -1) { in PHP_FUNCTION()
186 int ret; in PHP_FUNCTION() local
[all …]
H A Durl.c125 return ret; in php_url_parse_ex2()
198 php_url_free(ret); in php_url_parse_ex2()
218 php_replace_controlchars(ZSTR_VAL(ret->user), ZSTR_LEN(ret->user)); in php_url_parse_ex2()
222 php_replace_controlchars(ZSTR_VAL(ret->pass), ZSTR_LEN(ret->pass)); in php_url_parse_ex2()
225 php_replace_controlchars(ZSTR_VAL(ret->user), ZSTR_LEN(ret->user)); in php_url_parse_ex2()
242 if (!ret->port) { in php_url_parse_ex2()
269 php_url_free(ret); in php_url_parse_ex2()
274 php_replace_controlchars(ZSTR_VAL(ret->host), ZSTR_LEN(ret->host)); in php_url_parse_ex2()
277 return ret; in php_url_parse_ex2()
311 php_replace_controlchars(ZSTR_VAL(ret->path), ZSTR_LEN(ret->path)); in php_url_parse_ex2()
[all …]
/php-src/ext/session/
H A Dmod_user.c86 zend_result ret = FAILURE; in PS_OPEN_FUNC() local
107 return ret; in PS_OPEN_FUNC()
114 zend_result ret = FAILURE; in PS_CLOSE_FUNC() local
140 return ret; in PS_CLOSE_FUNC()
147 zend_result ret = FAILURE; in PS_READ_FUNC() local
158 ret = SUCCESS; in PS_READ_FUNC()
163 return ret; in PS_READ_FUNC()
181 return ret; in PS_WRITE_FUNC()
198 return ret; in PS_DESTROY_FUNC()
269 return ret; in PS_VALIDATE_SID_FUNC()
[all …]
/php-src/sapi/embed/
H A Dphp_embed.c58 zend_long ret; in php_embed_single_write() local
60 ret = write(STDOUT_FILENO, str, str_length); in php_embed_single_write()
61 if (ret <= 0) return 0; in php_embed_single_write()
62 return ret; in php_embed_single_write()
64 size_t ret; in php_embed_single_write()
67 return ret; in php_embed_single_write()
79 size_t ret; in php_embed_ub_write() local
82 ret = php_embed_single_write(ptr, remaining); in php_embed_ub_write()
83 if (!ret) { in php_embed_ub_write()
86 ptr += ret; in php_embed_ub_write()
[all …]
/php-src/main/streams/
H A Dtransports.c207 int ret; in php_stream_xport_bind() local
225 return ret; in php_stream_xport_bind()
238 int ret; in php_stream_xport_connect() local
260 return ret; in php_stream_xport_connect()
268 int ret; in php_stream_xport_listen() local
285 return ret; in php_stream_xport_listen()
297 int ret; in php_stream_xport_accept() local
324 return ret; in php_stream_xport_accept()
333 int ret; in php_stream_xport_get_name() local
360 int ret; in php_stream_xport_crypto_setup() local
[all …]
H A Dcast.c70 int ret; in stream_cookie_reader() local
73 return ret; in stream_cookie_reader()
100 ssize_t ret; in stream_cookie_reader() local
103 return ret; in stream_cookie_reader()
214 if (ret) { in _php_stream_cast()
215 *(FILE**)ret = stream->stdiocast; in _php_stream_cast()
232 if (ret == NULL) { in _php_stream_cast()
242 if (*ret != NULL) { in _php_stream_cast()
251 zend_fseek(*ret, pos, SEEK_SET); in _php_stream_cast()
284 rewind(*(FILE**)ret); in _php_stream_cast()
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_patch.c158 ret++; in ir_patch_code()
161 ret++; in ir_patch_code()
165 if (ret) { in ir_patch_code()
168 return ret; in ir_patch_code()
198 ret++; in ir_patch_code()
220 ret++; in ir_patch_code()
238 ret++; in ir_patch_code()
243 if (ret) { in ir_patch_code()
247 return ret; in ir_patch_code()
261 ret++; in ir_patch()
[all …]
/php-src/ext/soap/
H A Dphp_encoding.c563 ret = encode->to_zval(ret, &encode->details, data); in master_to_zval_int()
565 return ret; in master_to_zval_int()
623 if (!ret) { in to_xml_user()
630 return ret; in to_xml_user()
656 return ret; in to_zval_user()
690 return ret; in to_zval_string()
723 return ret; in to_zval_stringr()
756 return ret; in to_zval_stringc()
785 return ret; in to_zval_base64()
831 return ret; in to_zval_hexbin()
[all …]
/php-src/ext/mysqli/tests/
H A D071.phpt17 $ret = $mysql->kill($mysql->thread_id);
18 if ($ret !== true){
19 printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));
30 $ret = $mysql->kill($mysql->thread_id);
31 if ($ret !== true){
32 printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true));

Completed in 55 milliseconds

12345678910>>...19