/PHP-8.1/ext/filter/tests/ |
H A D | filter_data.phpt | 11 $data = "-123"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 12 $data = "0"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 13 $data = "-0"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 14 $data = "+0"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 15 $data = "123"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 16 $data = -123; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 17 $data = 0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 18 $data = -0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 19 $data = +0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 20 $data = 123; var_dump(filter_var($data, FILTER_VALIDATE_INT)); [all …]
|
/PHP-8.1/ext/bz2/ |
H A D | bz2_filter.c | 132 data->strm.next_in = data->inbuf; in php_bz2_decompress_filter() 143 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter() 166 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter() 188 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor() 190 pefree(data, data->persistent); in php_bz2_decompress_dtor() 249 data->strm.next_in = data->inbuf; in php_bz2_compress_filter() 261 data->strm.next_out = data->outbuf; in php_bz2_compress_filter() 279 data->strm.next_out = data->outbuf; in php_bz2_compress_filter() 298 pefree(data, data->persistent); in php_bz2_compress_dtor() 322 data->strm.opaque = (void *) data; in php_bz2_filter_create() [all …]
|
/PHP-8.1/ext/zlib/ |
H A D | zlib_filter.c | 96 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter() 101 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter() 112 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter() 133 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter() 153 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor() 155 pefree(data, data->persistent); in php_zlib_inflate_dtor() 216 data->strm.next_in = data->inbuf; in php_zlib_deflate_filter() 228 data->strm.next_out = data->outbuf; in php_zlib_deflate_filter() 269 pefree(data, data->persistent); in php_zlib_deflate_dtor() 297 data->strm.opaque = (voidpf) data; in php_zlib_filter_create() [all …]
|
/PHP-8.1/ext/ftp/tests/ |
H A D | ftp_nb_continue.phpt | 32 This is line 0 of the test data. 33 This is line 1 of the test data. 34 This is line 2 of the test data. 35 This is line 3 of the test data. 36 This is line 4 of the test data. 37 This is line 5 of the test data. 38 This is line 6 of the test data. 39 This is line 7 of the test data. 40 This is line 8 of the test data. 41 This is line 9 of the test data. [all …]
|
/PHP-8.1/ext/session/ |
H A D | mod_mm.c | 45 void *data; member 95 ehash = data->hash + data->hash_max + 1; in hash_split() 103 mm_free(data->mm, data->hash); in hash_split() 140 if (data->hash_cnt >= data->hash_max) { in ps_sd_new() 169 mm_free(data->mm, sd->data); in ps_sd_destroy() 234 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize() 262 mm_free(data->mm, data->hash); in ps_mm_destroy() 264 free(data); in ps_mm_destroy() 397 mm_free(data->mm, sd->data); in PS_WRITE_FUNC() 400 sd->data = mm_malloc(data->mm, sd->alloclen); in PS_WRITE_FUNC() [all …]
|
H A D | mod_files.c | 115 if (!data || key_len <= data->dirdepth || in ps_files_path_create() 121 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create() 149 close(data->fd); in ps_files_close() 150 data->fd = -1; in ps_files_close() 162 if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { in ps_files_open() 206 data->fd = -1; in ps_files_open() 371 ps_files *data; in PS_OPEN_FUNC() local 417 data = ecalloc(1, sizeof(*data)); in PS_OPEN_FUNC() 419 data->fd = -1; in PS_OPEN_FUNC() 423 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC() [all …]
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_key_exists_variation8.phpt | 25 // int data 33 // null data 41 // boolean data 51 // empty data 59 // string data 66 // undefined data 71 // unset data 97 -- Iteration 1: int data -- 98 -- $key arguments are int data: 127 -- $key arguments are int data: [all …]
|
H A D | current_variation2.phpt | 34 // int data 42 // float data 51 // null data 57 // boolean data 65 // empty data 74 // string data 81 // object data 86 // undefined data 91 // unset data 115 -- Iteration 1 : int data -- [all …]
|
H A D | array_values_variation2.phpt | 34 // int data 42 // float data 51 // null data 57 // boolean data 65 // empty data 74 // string data 81 // object data 86 // undefined data 91 // unset data 117 -- Iteration 1: int data -- [all …]
|
H A D | array_shift_variation2.phpt | 35 // int data 43 // float data 52 // null data 58 // boolean data 66 // empty data 75 // string data 82 // object data 87 // undefined data 92 // unset data 120 -- Iteration 1: int data -- [all …]
|
/PHP-8.1/ext/session/tests/ |
H A D | session_encode_basic.phpt | 36 // Integer data 42 // Float data 49 // Null data 53 // Boolean data 68 // Object data 74 // Unset data 100 string(9) "data|i:0;" 127 string(7) "data|N;" 130 string(7) "data|N;" 163 string(7) "data|N;" [all …]
|
H A D | session_decode_basic.phpt | 102 ["data"]=> 109 ["data"]=> 116 ["data"]=> 123 ["data"]=> 130 ["data"]=> 137 ["data"]=> 144 ["data"]=> 151 ["data"]=> 158 ["data"]=> 165 ["data"]=> [all …]
|
H A D | session_decode_basic_serialize.phpt | 103 ["data"]=> 110 ["data"]=> 117 ["data"]=> 124 ["data"]=> 131 ["data"]=> 138 ["data"]=> 145 ["data"]=> 152 ["data"]=> 159 ["data"]=> 166 ["data"]=> [all …]
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | __serialize_004.phpt | 7 public $data; 9 $this->data = $data; 19 public $data; 21 $this->data = $data; 27 $this->data = $data; 48 ["data"]=> 59 ["data"]=> 63 ["data"]=> 78 ["data"]=> 102 ["data"]=> [all …]
|
H A D | __serialize_005.phpt | 7 private $data; 8 public function __construct(array $data) { 9 $this->data = $data; 12 return $this->data; 14 public function __unserialize(array $data) { 15 $this->data = $data; 21 public function __construct(array $data, array $data2) { 22 parent::__construct($data); 29 [$data2, $data] = $payload; 30 parent::__unserialize($data); [all …]
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_driver.c | 111 if (!new_object->data) { in MYSQLND_METHOD() 117 data = new_object->data; in MYSQLND_METHOD() 120 data->error_info = &data->error_info_impl; in MYSQLND_METHOD() 122 data->options = &(data->options_impl); in MYSQLND_METHOD() 125 data->upsert_status = &(data->upsert_status_impl); in MYSQLND_METHOD() 134 data->m->get_reference(data); in MYSQLND_METHOD() 138 data->protocol_frame_codec = mysqlnd_pfc_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 139 data->vio = mysqlnd_vio_init(persistent, factory, data->stats, data->error_info); in MYSQLND_METHOD() 143 …if (!data->protocol_frame_codec || !data->vio || !data->payload_decoder_factory || !data->command)… in MYSQLND_METHOD() 172 new_object->data = to_be_cloned->data->m->get_reference(to_be_cloned->data); in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd.h | 70 #define mysqlnd_end_psession(conn) ((conn)->data)->m->end_psession((conn)->data) 116 #define mysqlnd_use_result(conn) ((conn)->data)->m->use_result((conn)->data) 117 #define mysqlnd_store_result(conn) ((conn)->data)->m->store_result((conn)->data) 118 #define mysqlnd_next_result(conn) ((conn)->data)->m->next_result((conn)->data) 119 #define mysqlnd_more_results(conn) ((conn)->data)->m->more_results((conn)->data) 124 #define mysqlnd_errno(conn) ((conn)->data)->m->get_error_no((conn)->data) 125 #define mysqlnd_error(conn) ((conn)->data)->m->get_error_str((conn)->data) 126 #define mysqlnd_sqlstate(conn) ((conn)->data)->m->get_sqlstate((conn)->data) 136 #define mysqlnd_info(conn) ((conn)->data)->m->get_last_message((conn)->data) 141 #define mysqlnd_thread_id(conn) ((conn)->data)->m->get_thread_id((conn)->data) [all …]
|
H A D | mysqlnd_vio.c | 168 vio->data->stream = NULL; in MYSQLND_METHOD() 282 ret = vio->data->m.open_pipe; in MYSQLND_METHOD() 499 if (net->data->options.ssl_key) { in MYSQLND_METHOD() 506 if (net->data->options.ssl_cert) { in MYSQLND_METHOD() 516 if (net->data->options.ssl_ca) { in MYSQLND_METHOD() 574 net->data->ssl = TRUE; in MYSQLND_METHOD() 619 if (net->data->options.ssl_key) { in MYSQLND_METHOD() 623 if (net->data->options.ssl_cert) { in MYSQLND_METHOD() 627 if (net->data->options.ssl_ca) { in MYSQLND_METHOD() 698 vio->data->m.free_contents(vio); in MYSQLND_METHOD() [all …]
|
/PHP-8.1/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-opt64.c | 108 lane = data[0]; in KeccakP1600_AddBytesInLane() 111 memcpy(&lane, data, length); in KeccakP1600_AddBytesInLane() 167 UINT8 *curData = data; in KeccakP1600_AddLanes() 235 memcpy(state, data, laneCount*8); in KeccakP1600_OverwriteLanes() 340 data[i] = lane & 0xFF; in KeccakP1600_ExtractBytesInLane() 370 ((UINT64*)data)[ 1] = ~((UINT64*)data)[ 1]; in KeccakP1600_ExtractLanes() 372 ((UINT64*)data)[ 2] = ~((UINT64*)data)[ 2]; in KeccakP1600_ExtractLanes() 374 ((UINT64*)data)[ 8] = ~((UINT64*)data)[ 8]; in KeccakP1600_ExtractLanes() 376 ((UINT64*)data)[12] = ~((UINT64*)data)[12]; in KeccakP1600_ExtractLanes() 378 ((UINT64*)data)[17] = ~((UINT64*)data)[17]; in KeccakP1600_ExtractLanes() [all …]
|
/PHP-8.1/sapi/fuzzer/ |
H A D | fuzzer-mbstring.c | 34 char *data = malloc(Size+1); in LLVMFuzzerTestOneInput() local 35 memcpy(data, Data, Size); in LLVMFuzzerTestOneInput() 36 data[Size] = '\0'; in LLVMFuzzerTestOneInput() 44 args[0] = data; in LLVMFuzzerTestOneInput() 48 args[0] = data; in LLVMFuzzerTestOneInput() 52 args[0] = data; in LLVMFuzzerTestOneInput() 53 args[1] = data; in LLVMFuzzerTestOneInput() 56 args[0] = data; in LLVMFuzzerTestOneInput() 57 args[1] = data; in LLVMFuzzerTestOneInput() 62 free(data); in LLVMFuzzerTestOneInput()
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug77069.phpt | 2 Bug #77069 (stream filter loses final block of data) 6 private $data = ''; 11 // While input data is available, continue to read it. 13 $this->data .= $bucket_in->data; 18 list(, $data, $this->data) = $match; 20 $data = strrev($data) . PHP_EOL; 21 $bucket_out = stream_bucket_new($this->stream, $data); 28 if ($closing && $this->data !== '') { 29 $data = strrev($this->data) . PHP_EOL; 30 $bucket_out = stream_bucket_new($this->stream, $data); [all …]
|
/PHP-8.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_jis.c | 129 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar() 138 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 174 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 212 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_jis_wchar() 231 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_jis_wchar() 232 CK((*filter->output_function)(0x28, filter->data)); in mbfl_filt_conv_jis_wchar() 253 CK((*filter->output_function)(0x28, filter->data)); in mbfl_filt_conv_jis_wchar() 275 (*filter->flush_function)(filter->data); in mbfl_filt_conv_jis_wchar_flush() 330 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis() 427 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp() [all …]
|
/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_xclass.c | 72 BOOL negated = (*data & XCL_NOT) != 0; in PRIV() 85 if ((*data & XCL_HASPROP) == 0) in PRIV() 87 if ((*data & XCL_MAP) == 0) return negated; in PRIV() 90 if ((*data & XCL_MAP) != 0 && in PRIV() 99 if ((*data++ & XCL_MAP) != 0) data += 32 / sizeof(PCRE2_UCHAR); in PRIV() 101 while ((t = *data++) != XCL_END) in PRIV() 113 x = *data++; in PRIV() 127 x = *data++; in PRIV() 128 y = *data++; in PRIV() 139 switch(*data) in PRIV() [all …]
|
/PHP-8.1/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_1.phpt | 25 "create table pdo_oci_stream_1_tab (id number, data clob)", 37 insert into pdo_oci_stream_1_tab (id,data) values (2, lob1); 42 $s = $dbh->prepare("select data from pdo_oci_stream_1_tab where id = 1"); 47 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b 48 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd 49 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab 53 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u 54 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z 55 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank> 56 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a [all …]
|
/PHP-8.1/ext/mbstring/ |
H A D | php_unicode.c | 299 (*data->next_filter->filter_function)(c, data->next_filter); in convert_case_filter() 306 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter() 310 php_unicode_toupper_full(c, data->no_encoding, data->next_filter); in convert_case_filter() 315 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter() 319 php_unicode_tolower_full(c, data->no_encoding, data->next_filter); in convert_case_filter() 323 php_unicode_tofold_full(c, data->no_encoding, data->next_filter); in convert_case_filter() 328 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter() 337 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter() 339 php_unicode_tolower_full(c, data->no_encoding, data->next_filter); in convert_case_filter() 344 (data->next_filter->filter_function)(code, data->next_filter); in convert_case_filter() [all …]
|