/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 81 void *ret; in _mysqlnd_emalloc() local 93 ret = NULL; in _mysqlnd_emalloc() 117 void *ret; in _mysqlnd_pemalloc() local 129 ret = NULL; in _mysqlnd_pemalloc() 156 void *ret; in _mysqlnd_ecalloc() local 194 void *ret; in _mysqlnd_pecalloc() local 232 void *ret; in _mysqlnd_erealloc() local 270 void *ret; in _mysqlnd_perealloc() local 374 void *ret; in _mysqlnd_malloc() local 409 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()
|
H A D | mysqlnd_commands.c | 48 if (PASS == ret) { in MYSQLND_METHOD() 52 DBG_RETURN(ret); in MYSQLND_METHOD() 74 if (PASS == ret) { in MYSQLND_METHOD() 79 DBG_RETURN(ret); in MYSQLND_METHOD() 120 ret = FAIL; in MYSQLND_METHOD() 124 DBG_RETURN(ret); in MYSQLND_METHOD() 156 DBG_RETURN(ret); in MYSQLND_METHOD() 190 DBG_RETURN(ret); in MYSQLND_METHOD() 230 DBG_RETURN(ret); in MYSQLND_METHOD() 259 DBG_RETURN(ret); in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_block_alloc.c | 95 MYSQLND_MEMORY_POOL * ret; in mysqlnd_mempool_create() local 99 ret = zend_arena_alloc(&arena, sizeof(MYSQLND_MEMORY_POOL)); in mysqlnd_mempool_create() 100 ret->arena = arena; in mysqlnd_mempool_create() 101 ret->last = NULL; in mysqlnd_mempool_create() 102 ret->checkpoint = NULL; in mysqlnd_mempool_create() 103 ret->get_chunk = mysqlnd_mempool_get_chunk; in mysqlnd_mempool_create() 104 ret->free_chunk = mysqlnd_mempool_free_chunk; in mysqlnd_mempool_create() 105 ret->resize_chunk = mysqlnd_mempool_resize_chunk; in mysqlnd_mempool_create() 106 DBG_RETURN(ret); in mysqlnd_mempool_create()
|
/PHP-7.4/win32/ |
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()
|
H A D | ioutil.h | 240 ret = mb; in php_win32_ioutil_conv_any_to_w() 247 return ret; in php_win32_ioutil_conv_any_to_w() 379 ret = -1; in php_win32_ioutil_rmdir() 393 FILE *ret; in php_win32_ioutil_fopen() local 427 int ret; in php_win32_ioutil_rename() local 469 int ret; in php_win32_ioutil_chdir() local 536 int ret; in php_win32_ioutil_chmod() local 561 int ret; in php_win32_ioutil_mkdir() local 587 int ret; in php_win32_ioutil_symlink() local 613 int ret; in php_win32_ioutil_link() local [all …]
|
/PHP-7.4/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){ 45 $ret = $mysql->kill($mysql->thread_id); 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.4/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_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()
|
H A D | fpm_worker_pool.c | 67 struct fpm_worker_pool_s *ret; in fpm_worker_pool_alloc() local 69 ret = malloc(sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc() 70 if (!ret) { in fpm_worker_pool_alloc() 74 memset(ret, 0, sizeof(struct fpm_worker_pool_s)); in fpm_worker_pool_alloc() 76 ret->idle_spawn_rate = 1; in fpm_worker_pool_alloc() 77 ret->log_fd = -1; in fpm_worker_pool_alloc() 78 return ret; in fpm_worker_pool_alloc()
|
/PHP-7.4/Zend/ |
H A D | zend_string.c | 195 if (ret) { in zend_new_interned_string_permanent() 223 if (ret) { in zend_new_interned_string_request() 229 if (ret) { in zend_new_interned_string_request() 251 return ret; in zend_new_interned_string_request() 260 if (ret) { in zend_string_init_interned_permanent() 277 if (ret) { in zend_string_init_interned_request() 282 if (ret) { in zend_string_init_interned_request() 362 return ret; in zend_string_equal_val() 391 return ret; in I_WRAP_SONAME_FNNAME_ZU() 430 return ret; in zend_string_equal_val() [all …]
|
H A D | zend_string.h | 142 return ret; in zend_string_alloc() 153 return ret; in zend_string_safe_alloc() 162 return ret; in zend_string_init() 191 return ret; in zend_string_realloc() 199 return ret; in zend_string_realloc() 212 return ret; in zend_string_extend() 220 return ret; in zend_string_extend() 233 return ret; in zend_string_truncate() 241 return ret; in zend_string_truncate() 253 return ret; in zend_string_safe_realloc() [all …]
|
/PHP-7.4/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.4/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.4/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.4/ext/standard/ |
H A D | link.c | 72 ssize_t ret; in PHP_FUNCTION() local 84 if (ret == -1) { in PHP_FUNCTION() 93 buff[ret] = '\0'; in PHP_FUNCTION() 95 RETURN_STRINGL(buff, ret); in PHP_FUNCTION() 107 int ret; in PHP_FUNCTION() local 121 ret = VCWD_LSTAT(link, &sb); in PHP_FUNCTION() 122 if (ret == -1) { in PHP_FUNCTION() 139 int ret; in PHP_FUNCTION() local 183 if (ret == -1) { in PHP_FUNCTION() 198 int ret; in PHP_FUNCTION() local [all …]
|
H A D | url.c | 144 return ret; in php_url_parse_ex2() 261 if (!ret->port) { in php_url_parse_ex2() 288 php_url_free(ret); in php_url_parse_ex2() 293 php_replace_controlchars_ex(ZSTR_VAL(ret->host), ZSTR_LEN(ret->host)); in php_url_parse_ex2() 296 return ret; in php_url_parse_ex2() 329 return ret; in php_url_parse_ex2() 582 char *ret; local 589 ret[y] = c; 595 ret[y++] = '%'; 600 ret[y++] = '%'; [all …]
|
/PHP-7.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 321 int mode_backup, substchar_backup, ret, n, m, r; in mbfl_filt_conv_illegal_output() local 323 ret = 0; in mbfl_filt_conv_illegal_output() 340 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output() 378 if (ret >= 0) { in mbfl_filt_conv_illegal_output() 386 if (ret < 0) { in mbfl_filt_conv_illegal_output() 392 if (m == 0 && ret >= 0) { in mbfl_filt_conv_illegal_output() 402 if (ret < 0) in mbfl_filt_conv_illegal_output() 412 if (ret < 0) { in mbfl_filt_conv_illegal_output() 418 if (ret < 0) { in mbfl_filt_conv_illegal_output() 426 ret = (*filter->filter_function)(substchar_backup, filter); in mbfl_filt_conv_illegal_output() [all …]
|
/PHP-7.4/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() 93 ssize_t ret; in stream_cookie_reader() local 96 return ret; in stream_cookie_reader() 211 if (ret) { in _php_stream_cast() 212 *(FILE**)ret = stream->stdiocast; in _php_stream_cast() 229 if (ret == NULL) { in _php_stream_cast() 239 if (*ret != NULL) { in _php_stream_cast() 248 zend_fseek(*ret, pos, SEEK_SET); in _php_stream_cast() 281 rewind(*(FILE**)ret); in _php_stream_cast() [all …]
|
/PHP-7.4/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.4/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 …]
|
/PHP-7.4/ext/hash/sha3/generic32lc/ |
H A D | KeccakHash.c | 42 … 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.4/ext/hash/sha3/generic64lc/ |
H A D | KeccakHash.c | 42 … 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()
|