/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_commands.c | 72 if (PASS == ret) { in mysqlnd_com_set_option_run() 76 DBG_RETURN(ret); in mysqlnd_com_set_option_run() 94 DBG_RETURN(ret); in mysqlnd_com_set_option_run_command() 124 DBG_RETURN(ret); in mysqlnd_com_debug_run() 141 DBG_RETURN(ret); in mysqlnd_com_debug_run_command() 196 ret = FAIL; in mysqlnd_com_init_db_run() 200 DBG_RETURN(ret); in mysqlnd_com_init_db_run() 218 DBG_RETURN(ret); in mysqlnd_com_init_db_run_command() 253 DBG_RETURN(ret); in mysqlnd_com_ping_run() 270 DBG_RETURN(ret); in mysqlnd_com_ping_run_command() [all …]
|
H A D | mysqlnd_alloc.c | 81 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 D | mysqlnd_read_buffer.c | 76 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()
|
/PHP-7.3/win32/ |
H A D | ioutil.h | 235 ret = mb; in php_win32_ioutil_conv_any_to_w() 242 return ret; in php_win32_ioutil_conv_any_to_w() 295 return ret; in php_win32_ioutil_access() 330 return ret; in php_win32_ioutil_open() 354 return ret; in php_win32_ioutil_unlink() 372 ret = -1; in php_win32_ioutil_rmdir() 386 FILE *ret; in php_win32_ioutil_fopen() local 420 int ret; in php_win32_ioutil_rename() local 462 int ret; in php_win32_ioutil_chdir() local 529 int ret; in php_win32_ioutil_chmod() local [all …]
|
H A D | dllmain.c | 38 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()
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | 071.phpt | 18 $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.3/sapi/fpm/fpm/ |
H A D | fpm_clock.c | 64 kern_return_t ret; in fpm_clock_init() local 67 ret = host_get_clock_service(mach_host_self(), REALTIME_CLOCK, &mach_clock); in fpm_clock_init() 69 if (ret != KERN_SUCCESS) { in fpm_clock_init() 70 zlog(ZLOG_ERROR, "host_get_clock_service() failed: %s", mach_error_string(ret)); in fpm_clock_init() 75 ret = clock_get_time(mach_clock, &aTime); in fpm_clock_init() 77 if (ret != KERN_SUCCESS) { in fpm_clock_init() 78 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret)); in fpm_clock_init() 88 kern_return_t ret; in fpm_clock_get() local 91 ret = clock_get_time(mach_clock, &aTime); in fpm_clock_get() 93 if (ret != KERN_SUCCESS) { in fpm_clock_get() [all …]
|
H A D | fpm_worker_pool.c | 55 struct fpm_worker_pool_s *ret; in fpm_worker_pool_alloc() local 57 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc() 58 if (!ret) { in fpm_worker_pool_alloc() 62 memset(ret, 0, sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc() 64 ret->idle_spawn_rate = 1; in fpm_worker_pool_alloc() 65 ret->log_fd = -1; in fpm_worker_pool_alloc() 66 return ret; in fpm_worker_pool_alloc()
|
H A D | fpm_arrays.h | 48 char *ret; in fpm_array_item() local 50 ret = (char *) a->data + a->sz * n; in fpm_array_item() 52 return ret; in fpm_array_item() 64 int ret = -1; in fpm_array_item_remove() local 72 ret = n; in fpm_array_item_remove() 77 return ret; in fpm_array_item_remove() 83 void *ret; in fpm_array_push() local 97 ret = fpm_array_item(a, a->used); in fpm_array_push() 101 return ret; in fpm_array_push()
|
/PHP-7.3/ext/intl/ |
H A D | intl_error.c | 246 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.3/Zend/ |
H A D | zend_string.c | 197 if (ret) { in zend_new_interned_string_permanent() 199 return ret; in zend_new_interned_string_permanent() 225 if (ret) { in zend_new_interned_string_request() 231 if (ret) { in zend_new_interned_string_request() 253 return ret; in zend_new_interned_string_request() 262 if (ret) { in zend_string_init_interned_permanent() 279 if (ret) { in zend_string_init_interned_request() 284 if (ret) { in zend_string_init_interned_request() 376 return ret; in zend_string_equal_val() 405 return ret; in I_WRAP_SONAME_FNNAME_ZU() [all …]
|
H A D | zend_string.h | 139 return ret; in zend_string_alloc() 150 return ret; in zend_string_safe_alloc() 159 return ret; in zend_string_init() 188 return ret; in zend_string_realloc() 196 return ret; in zend_string_realloc() 209 return ret; in zend_string_extend() 217 return ret; in zend_string_extend() 230 return ret; in zend_string_truncate() 238 return ret; in zend_string_truncate() 250 return ret; in zend_string_safe_realloc() [all …]
|
/PHP-7.3/ext/intl/tests/ |
H A D | bug72533.phpt | 10 $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.3/ext/standard/ |
H A D | link.c | 58 ssize_t ret; in PHP_FUNCTION() local 70 if (ret == -1) { in PHP_FUNCTION() 75 buff[ret] = '\0'; in PHP_FUNCTION() 77 RETURN_STRINGL(buff, ret); in PHP_FUNCTION() 89 int ret; in PHP_FUNCTION() local 103 ret = VCWD_LSTAT(link, &sb); in PHP_FUNCTION() 104 if (ret == -1) { in PHP_FUNCTION() 121 int ret; in PHP_FUNCTION() local 165 if (ret == -1) { in PHP_FUNCTION() 180 int ret; in PHP_FUNCTION() local [all …]
|
H A D | url.c | 148 return ret; in php_url_parse_ex2() 265 if (!ret->port) { in php_url_parse_ex2() 292 php_url_free(ret); in php_url_parse_ex2() 297 php_replace_controlchars_ex(ZSTR_VAL(ret->host), ZSTR_LEN(ret->host)); in php_url_parse_ex2() 300 return ret; in php_url_parse_ex2() 333 return ret; in php_url_parse_ex2() 586 char *ret; local 593 ret[y] = c; 599 ret[y++] = '%'; 604 ret[y++] = '%'; [all …]
|
H A D | net.c | 58 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_inet_ntop() 59 return ret; in php_inet_ntop() 61 zend_string_efree(ret); in php_inet_ntop() 68 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_inet_ntop() 69 return ret; in php_inet_ntop() 71 zend_string_efree(ret); in php_inet_ntop() 85 zend_string *ret = zend_string_alloc(NI_MAXHOST, 0); in php_inet_ntop() local 88 char *colon = strchr(ZSTR_VAL(ret), '%'); in php_inet_ntop() 90 ZSTR_LEN(ret) = strlen(ZSTR_VAL(ret)); in php_inet_ntop() 91 return ret; in php_inet_ntop() [all …]
|
/PHP-7.3/ext/filter/tests/ |
H A D | 035.phpt | 11 $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 D | 045.phpt | 8 $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.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 323 int mode_backup, substchar_backup, ret, n, m, r; in mbfl_filt_conv_illegal_output() local 325 ret = 0; in mbfl_filt_conv_illegal_output() 342 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output() 380 if (ret >= 0) { in mbfl_filt_conv_illegal_output() 388 if (ret < 0) { in mbfl_filt_conv_illegal_output() 394 if (m == 0 && ret >= 0) { in mbfl_filt_conv_illegal_output() 404 if (ret < 0) in mbfl_filt_conv_illegal_output() 414 if (ret < 0) { in mbfl_filt_conv_illegal_output() 420 if (ret < 0) { in mbfl_filt_conv_illegal_output() 428 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output() [all …]
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_memdup.c | 43 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 D | zip_unchange_all.c | 43 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.3/main/streams/ |
H A D | transports.c | 196 int ret; in php_stream_xport_bind() local 214 return ret; in php_stream_xport_bind() 227 int ret; in php_stream_xport_connect() local 249 return ret; in php_stream_xport_connect() 257 int ret; in php_stream_xport_listen() local 274 return ret; in php_stream_xport_listen() 286 int ret; in php_stream_xport_accept() local 313 return ret; in php_stream_xport_accept() 322 int ret; in php_stream_xport_get_name() local 349 int ret; in php_stream_xport_crypto_setup() local [all …]
|
H A D | cast.c | 63 int ret; in stream_cookie_reader() local 66 return ret; in stream_cookie_reader() 92 ssize_t ret; in stream_cookie_reader() local 95 return ret; in stream_cookie_reader() 209 if (ret) { in _php_stream_cast() 210 *(FILE**)ret = stream->stdiocast; in _php_stream_cast() 227 if (ret == NULL) { in _php_stream_cast() 237 if (*ret != NULL) { in _php_stream_cast() 246 zend_fseek(*ret, pos, SEEK_SET); in _php_stream_cast() 279 rewind(*(FILE**)ret); in _php_stream_cast() [all …]
|
/PHP-7.3/sapi/embed/ |
H A D | php_embed.c | 53 zend_long ret; in php_embed_single_write() local 55 ret = write(STDOUT_FILENO, str, str_length); in php_embed_single_write() 56 if (ret <= 0) return 0; in php_embed_single_write() 57 return ret; in php_embed_single_write() 59 size_t ret; in php_embed_single_write() 62 return ret; in php_embed_single_write() 71 size_t ret; in php_embed_ub_write() local 74 ret = php_embed_single_write(ptr, remaining); in php_embed_ub_write() 75 if (!ret) { in php_embed_ub_write() 78 ptr += ret; in php_embed_ub_write() [all …]
|
/PHP-7.3/ext/soap/ |
H A D | php_encoding.c | 560 ret = encode->to_zval(ret, &encode->details, data); in master_to_zval_int() 562 return ret; in master_to_zval_int() 620 if (!ret) { in to_xml_user() 627 return ret; in to_xml_user() 653 return ret; in to_zval_user() 687 return ret; in to_zval_string() 720 return ret; in to_zval_stringr() 753 return ret; in to_zval_stringc() 782 return ret; in to_zval_base64() 828 return ret; in to_zval_hexbin() [all …]
|