/PHP-5.3/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 = "123"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 14 $data = -123; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 15 $data = 0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 16 $data = 123; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 17 $data = ""; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 21 $data = "-0.123"; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT)); 22 $data = "0.00"; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT)); 23 $data = "1.23"; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT)); [all …]
|
/PHP-5.3/ext/wddx/tests/ |
H A D | bug37569.phpt | 21 <wddxPacket version='1.0'><header/><data><string>A</string></data></wddxPacket> 25 <wddxPacket version='1.0'><header/><data><string>B</string></data></wddxPacket> 29 <wddxPacket version='1.0'><header/><data><string>C</string></data></wddxPacket> 33 <wddxPacket version='1.0'><header/><data><string>D</string></data></wddxPacket> 37 <wddxPacket version='1.0'><header/><data><string>E</string></data></wddxPacket> 41 <wddxPacket version='1.0'><header/><data><string>F</string></data></wddxPacket> 45 <wddxPacket version='1.0'><header/><data><string>G</string></data></wddxPacket> 49 <wddxPacket version='1.0'><header/><data><string>H</string></data></wddxPacket> 53 <wddxPacket version='1.0'><header/><data><string>I</string></data></wddxPacket> 57 <wddxPacket version='1.0'><header/><data><string>J</string></data></wddxPacket> [all …]
|
/PHP-5.3/ext/bz2/ |
H A D | bz2_filter.c | 133 data->strm.next_in = data->inbuf; in php_bz2_decompress_filter() 144 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter() 167 data->strm.next_out = data->outbuf; in php_bz2_decompress_filter() 189 pefree(data->inbuf, data->persistent); in php_bz2_decompress_dtor() 191 pefree(data, data->persistent); in php_bz2_decompress_dtor() 248 data->strm.next_in = data->inbuf; in php_bz2_compress_filter() 260 data->strm.next_out = data->outbuf; in php_bz2_compress_filter() 278 data->strm.next_out = data->outbuf; in php_bz2_compress_filter() 297 pefree(data, data->persistent); in php_bz2_compress_dtor() 325 data->strm.opaque = (void *) data; in php_bz2_filter_create() [all …]
|
/PHP-5.3/ext/zlib/ |
H A D | zlib_filter.c | 106 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter() 111 data->strm.next_in = data->inbuf; in php_zlib_inflate_filter() 122 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter() 144 data->strm.next_out = data->outbuf; in php_zlib_inflate_filter() 164 pefree(data->inbuf, data->persistent); in php_zlib_inflate_dtor() 166 pefree(data, data->persistent); in php_zlib_inflate_dtor() 225 data->strm.next_in = data->inbuf; in php_zlib_deflate_filter() 237 data->strm.next_out = data->outbuf; in php_zlib_deflate_filter() 274 pefree(data, data->persistent); in php_zlib_deflate_dtor() 302 data->strm.opaque = (voidpf) data; in php_zlib_filter_create() [all …]
|
/PHP-5.3/ext/session/ |
H A D | mod_mm.c | 51 void *data; member 101 ehash = data->hash + data->hash_max + 1; in hash_split() 109 mm_free(data->mm, data->hash); in hash_split() 147 if (data->hash_cnt >= data->hash_max) { in ps_sd_new() 176 mm_free(data->mm, sd->data); in ps_sd_destroy() 227 data->hash = mm_calloc(data->mm, data->hash_max + 1, sizeof(ps_sd *)); in ps_mm_initialize() 255 mm_free(data->mm, data->hash); in ps_mm_destroy() 257 free(data); in ps_mm_destroy() 372 mm_free(data->mm, sd->data); in PS_WRITE_FUNC() 375 sd->data = mm_malloc(data->mm, sd->alloclen); in PS_WRITE_FUNC() [all …]
|
H A D | mod_files.c | 113 memcpy(buf, data->basedir, data->basedir_len); in ps_files_path_create() 141 close(data->fd); in ps_files_close() 142 data->fd = -1; in ps_files_close() 150 if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { in ps_files_open() 178 close(data->fd); in ps_files_open() 266 ps_files *data; in PS_OPEN_FUNC() local 315 data = ecalloc(1, sizeof(*data)); in PS_OPEN_FUNC() 317 data->fd = -1; in PS_OPEN_FUNC() 321 data->basedir = estrndup(save_path, data->basedir_len); in PS_OPEN_FUNC() 339 efree(data); in PS_CLOSE_FUNC() [all …]
|
/PHP-5.3/ext/mcrypt/ |
H A D | mcrypt_filter.c | 68 memcpy(outchunk, data->block_buffer, data->block_used); in php_mcrypt_filter() 75 mcrypt_generic(data->module, outchunk + n, data->blocksize); in php_mcrypt_filter() 77 mdecrypt_generic(data->module, outchunk + n, data->blocksize); in php_mcrypt_filter() 81 memcpy(data->block_buffer, outchunk + n, data->block_used); in php_mcrypt_filter() 107 memset(data->block_buffer + data->block_used, 0, data->blocksize - data->block_used); in php_mcrypt_filter() 109 mcrypt_generic(data->module, data->block_buffer, data->blocksize); in php_mcrypt_filter() 111 mdecrypt_generic(data->module, data->block_buffer, data->blocksize); in php_mcrypt_filter() 114 …newbucket = php_stream_bucket_new(stream, data->block_buffer, data->blocksize, 0, data->persistent… in php_mcrypt_filter() 133 pefree(data->block_buffer, data->persistent); in php_mcrypt_filter_dtor() 139 pefree(data, data->persistent); in php_mcrypt_filter_dtor() [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_key_exists_variation8.phpt | 31 // int data 39 // float data 51 // null data 59 // boolean data 69 // empty data 77 // string data 84 // undefined data 89 // unset data 116 -- Iteration 1: int data -- 117 -- $key arguments are int data: [all …]
|
H A D | current_variation2.phpt | 40 // int data 48 // float data 57 // null data 63 // boolean data 71 // empty data 80 // string data 87 // object data 92 // undefined data 97 // unset data 122 -- Iteration 1 : int data -- [all …]
|
H A D | array_change_key_case_variation3.phpt | 29 // int data 37 // float data 49 // null data 57 // boolean data 67 // empty data 75 // string data 82 // undefined data 87 // unset data 106 -- Iteration 1 : int data -- 118 -- Iteration 2 : float data -- [all …]
|
H A D | array_shift_variation2.phpt | 40 // int data 48 // float data 57 // null data 63 // boolean data 71 // empty data 80 // string data 87 // object data 92 // undefined data 97 // unset data 125 -- Iteration 1: int data -- [all …]
|
H A D | array_values_variation2.phpt | 39 // int data 47 // float data 56 // null data 62 // boolean data 70 // empty data 79 // string data 86 // object data 91 // undefined data 96 // unset data 123 -- Iteration 1: int data -- [all …]
|
H A D | array_shift_variation3.phpt | 28 // int data 36 // float data 48 // null data 57 // boolean data 68 // empty data 77 // string data 84 // undefined data 89 // unset data 109 -- Iteration 1 : int data -- 120 -- Iteration 2 : float data -- [all …]
|
H A D | array_values_variation3.phpt | 29 // int data 37 // float data 49 // null data 58 // boolean data 69 // empty data 78 // string data 85 // undefined data 90 // unset data 109 -- Iteration 1: int data -- 121 -- Iteration 2: float data -- [all …]
|
H A D | key_variation2.phpt | 28 // int data 36 // float data 48 // null data 57 // boolean data 68 // empty data 77 // string data 84 // undefined data 89 // unset data 110 -- Iteration 1 : int data -- 116 -- Iteration 2 : float data -- [all …]
|
H A D | array_push_variation6.phpt | 31 // int data 39 // float data 51 // null data 59 // boolean data 69 // empty data 77 // string data 84 // undefined data 89 // unset data 112 -- Iteration 1 : int data -- 116 -- Iteration 2 : float data -- [all …]
|
/PHP-5.3/ext/session/tests/ |
H A D | session_encode_basic.phpt | 38 // Integer data 44 // Float data 51 // Null data 55 // Boolean data 70 // Object data 76 // Unset data 102 string(9) "data|i:0;" 129 string(7) "data|N;" 132 string(7) "data|N;" 165 string(7) "data|N;" [all …]
|
H A D | session_decode_basic.phpt | 106 ["data"]=> 113 ["data"]=> 120 ["data"]=> 127 ["data"]=> 134 ["data"]=> 141 ["data"]=> 148 ["data"]=> 155 ["data"]=> 162 ["data"]=> 169 ["data"]=> [all …]
|
/PHP-5.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 90 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 94 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 108 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 112 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 138 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 142 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 146 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 170 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 178 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 205 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() [all …]
|
H A D | mbfilter_utf7.c | 117 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 121 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 135 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 139 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 165 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 169 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 173 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 205 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 232 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 306 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7() [all …]
|
H A D | mbfilter_jis.c | 136 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar() 145 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 151 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 185 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 189 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 194 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 211 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar() 229 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar() 342 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis() 443 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp() [all …]
|
/PHP-5.3/ext/ftp/ |
H A D | ftp.c | 802 ftp->data = data; in ftp_get() 866 ftp->data = data = data_close(ftp, data); in ftp_get() 899 ftp->data = data; in ftp_put() 949 ftp->data = data = data_close(ftp, data); in ftp_put() 1415 ftp->data = data; in ftp_getdata() 1476 ftp->data = data; in ftp_getdata() 1658 ftp->data = data = data_close(ftp, data); in ftp_genlist() 1744 ftp->data = data; in ftp_nb_get() 1768 data = ftp->data; in ftp_nb_continue_read() 1805 ftp->data = data = data_close(ftp, data); in ftp_nb_continue_read() [all …]
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_xclass.c | 67 PRIV(xclass)(pcre_uint32 c, const pcre_uchar *data, BOOL utf) in PRIV() 70 BOOL negated = (*data & XCL_NOT) != 0; in PRIV() 84 if ((*data & XCL_MAP) != 0 && in PRIV() 85 (((pcre_uint8 *)(data + 1))[c/8] & (1 << (c&7))) != 0) in PRIV() 93 if ((*data++ & XCL_MAP) != 0) data += 32 / sizeof(pcre_uchar); in PRIV() 95 while ((t = *data++) != XCL_END) in PRIV() 107 x = *data++; in PRIV() 121 x = *data++; in PRIV() 122 y = *data++; in PRIV() 132 switch(*data) in PRIV() [all …]
|
/PHP-5.3/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_1.phpt | 23 "create table pdo_oci_stream_1_tab (id number, data clob)", 35 insert into pdo_oci_stream_1_tab (id,data) values (2, lob1); 40 $s = $dbh->prepare("select data from pdo_oci_stream_1_tab where id = 1"); 45 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b 46 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd 47 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab 51 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u 52 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z 53 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank> 54 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a [all …]
|
/PHP-5.3/tests/basic/ |
H A D | 031.phpt | 6 Content-Type: multipart/form-data; boundary=BVoyv; charset=iso-8859-1 8 Content-Disposition: form-data; name="data" 12 Content-Disposition: form-data; name="data2" 14 more data 16 Content-Disposition: form-data; name="data3" 18 even more data 26 ["data"]=> 29 string(9) "more data" 31 string(14) "even more data"
|