Home
last modified time | relevance | path

Searched refs:i (Results 51 – 75 of 2000) sorted by relevance

12345678910>>...80

/PHP-7.3/ext/zip/lib/
H A Dzip_utf-8.c121 zip_uint32_t i, j, ulen; in _zip_guess_encoding() local
132 for (i=0; i<str->length; i++) { in _zip_guess_encoding()
133 if ((name[i] > 31 && name[i] < 128) || name[i] == '\r' || name[i] == '\n' || name[i] == '\t') in _zip_guess_encoding()
137 if ((name[i] & UTF_8_LEN_2_MASK) == UTF_8_LEN_2_MATCH) in _zip_guess_encoding()
139 else if ((name[i] & UTF_8_LEN_3_MASK) == UTF_8_LEN_3_MATCH) in _zip_guess_encoding()
148 if (i + ulen >= str->length) { in _zip_guess_encoding()
159 i += ulen; in _zip_guess_encoding()
223 zip_uint32_t buflen, i, offset; in _zip_cp437_to_utf8() local
232 for (i=0; i<len; i++) in _zip_cp437_to_utf8()
241 for (i=0; i<len; i++) in _zip_cp437_to_utf8()
[all …]
/PHP-7.3/sapi/phpdbg/tests/
H A Dbreakpoints_002.phpt17 >00004: echo $i++;
18 00005: echo $i++;
19 00006: echo $i++;
22 >00003: echo $i++;
23 00004: echo $i++;
24 00005: echo $i++;
35 $i = 1;
36 echo $i++;
37 echo $i++;
38 echo $i++;
[all …]
H A Dbreakpoints_001.phpt14 >00003: echo $i++;
15 00004: echo $i++;
16 00005: echo $i++;
20 >00004: echo $i++;
21 00005: echo $i++;
22 00006: echo $i++;
28 $i = 1;
29 echo $i++;
30 echo $i++;
31 echo $i++;
[all …]
/PHP-7.3/ext/gd/tests/
H A Dcolorresolve.phpt21 for ($i=0; $i<255; $i++) imagecolorresolve($im, $i,0,0);
27 for ($i=0; $i<256; $i++) {
28 if ($i == 246) {
29 imagecolorresolve($im, $i,10,10);
31 imagecolorresolve($im, $i,0,0);
51 for ($i=0; $i<255; $i++) imagecolorresolvealpha($im, $i,0,0,1);
57 for ($i=0; $i<256; $i++) {
58 if ($i == 246) {
59 imagecolorresolvealpha($im, $i,10,10,1);
61 imagecolorresolvealpha($im, $i,0,0,100);
H A Dcopypalette.phpt11 for ($i=0; $i<256; $i++) {
12 imagecolorallocate($im, $i, $i, $i);
18 for ($i=0; $i<256; $i++) {
19 $c = imagecolorsforindex($im2, $i);
20 if ($c['red']!=$i || $c['green']!=$i || $c['blue']!=$i) {
/PHP-7.3/ext/opcache/
H A Dshared_alloc_shm.c56 int i; in create_segments() local
96 for (i = 0; i < *shared_segments_count; i++) { in create_segments()
97 (*shared_segments_p)[i] = shared_segments + i; in create_segments()
101 for (i = 0; i < *shared_segments_count; i++) { in create_segments()
103 if (i != 0) { in create_segments()
106 shared_segments[i].shm_id = first_segment_id; in create_segments()
109 if (shared_segments[i].shm_id == -1) { in create_segments()
113 shared_segments[i].common.p = shmat(shared_segments[i].shm_id, NULL, 0); in create_segments()
114 if (shared_segments[i].common.p == (void *)-1) { in create_segments()
121 shared_segments[i].common.pos = 0; in create_segments()
[all …]
H A Dzend_shared_alloc.c110 int i; in copy_shared_segments() local
112 for (i = 0; i < count; i++) { in copy_shared_segments()
137 for (i = 0; i < *shared_segments_count; i++) { in zend_shared_alloc_try()
265 int i; in zend_shared_alloc_shutdown() local
274 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_shutdown()
290 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_get_largest_free_block()
323 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc()
486 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_save_state()
496 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_shared_alloc_restore_state()
524 for (i = 0; i < ZSMMG(shared_segments_count); i++) { in zend_accel_shared_protect()
[all …]
/PHP-7.3/Zend/tests/
H A Dbug40809.phpt14 for ($i=0; $i<$num; $i++) {
15 $a[$i] = Array(1);
17 for ($i=0; $i<$num; $i++) {
18 $b[$i] = $a[$i][0];
22 for ($i=0;$i<$num_repeats;$i++) {
H A Dgc_023.phpt8 for ($i=0; $i < 9999; $i++) {
9 $a[$i] = array(array());
10 $a[$i][0] = & $a[$i];
16 for ($i=0; $i < 10001; $i++) {
17 $a[$i] = array(array());
18 $a[$i][0] = & $a[$i];
/PHP-7.3/ext/standard/tests/serialize/
H A Dbug68976.phpt20 $data = unserialize('a:2:{i:0;O:9:"evilClass":1:{s:4:"name";a:2:{i:0;i:1;i:1;i:2;}}i:1;R:4;}');
22 for($i = 0; $i < 5; $i++) {
23 $v[$i] = $fakezval.$i;
H A Dserialization_arrays_001.phpt41i:0;i:0;i:1;i:1;i:2;i:-2;i:3;d:3.333333000000000101437080957111902534961700439453125;i:4;s:1:"a";i
H A Dserialization_arrays_005.phpt96 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;i:1;}}"
165 string(48) "a:3:{i:0;i:1;i:1;a:2:{i:0;i:1;i:1;R:2;}i:2;i:1;}"
234 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}"
303 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:3;i:1;i:1;}}"
372 string(48) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;R:2;i:1;R:3;}}"
448 string(74) "a:3:{i:0;i:1;i:1;i:1;i:2;a:2:{i:0;i:1;i:1;a:3:{i:0;i:1;i:1;i:1;i:2;R:4;}}}"
/PHP-7.3/ext/standard/tests/file/
H A Dbug26938.phpt12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);'
23 for ($i=0;$i<6;$i++)
24 print "md5(line $i)= " . md5($out[$i]) . " (length " .
25 strlen($out[$i]) . ")\n";
/PHP-7.3/ext/spl/tests/
H A Dbug45826.phpt72 string(84) "C:11:"ArrayObject":60:{x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:4;i:2;r:1;};m:a:0:{}}"
73 string(125) "x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:3;i:2;C:11:"ArrayObject":45:{x:i:0;a:3:{i:0;r:…
82 string(85) "C:12:"ArrayObject2":60:{x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:4;i:2;r:1;};m:a:0:{}}"
83 string(126) "x:i:0;a:3:{i:0;O:8:"stdClass":0:{}i:1;r:3;i:2;C:12:"ArrayObject2":45:{x:i:0;a:3:{i:0;r…
/PHP-7.3/ext/fileinfo/libmagic/
H A Dreadcdf.c106 size_t i; in cdf_clsid_to_mime() local
107 for (i = 0; cv[i].mime != NULL; i++) { in cdf_clsid_to_mime()
117 size_t i; in cdf_app_to_mime() local
122 for (i = 0; nv[i].pattern != NULL; i++) { in cdf_app_to_mime()
158 for (i = 0; i < count; i++) { in cdf_file_property_info()
265 size_t i; in cdf_file_catalog() local
276 for (i = 1; i < cat->cat_num; i++) in cdf_file_catalog()
368 int i; in cdf_file_catalog_info() local
387 int i; in cdf_check_summary_info() local
413 i = 1; in cdf_check_summary_info()
[all …]
H A Dencoding.c250 for (i = 0; i < nbytes; i++) { in looks_ascii()
269 for (i = 0; i < nbytes; i++) { in looks_latin1()
289 for (i = 0; i < nbytes; i++) { in looks_extended()
323 for (i = 0; i < nbytes; i++) { in file_looks_utf8()
359 i++; in file_looks_utf8()
363 if ((buf[i] & 0x80) == 0 || (buf[i] & 0x40)) in file_looks_utf8()
431 for (i = 2; i + 1 < nbytes; i += 2) { in looks_ucs16()
435 ubuf[(*ulen)++] = buf[i + 1] + 256 * buf[i]; in looks_ucs16()
437 ubuf[(*ulen)++] = buf[i] + 256 * buf[i + 1]; in looks_ucs16()
538 for (i = 0; i < nbytes; i++) { in from_ebcdic()
[all …]
/PHP-7.3/tests/basic/
H A Dprecision.phpt86 string(89) "a:4:{i:0;d:123456789.01234567;i:1;d:3.3333333333333335;i:2;d:9.87E+102;i:3;d:10.0000001…
98 string(60) "a:4:{i:0;d:1.0E+8;i:1;d:3.0E+0;i:2;d:1.0E+103;i:3;d:1.0E+1;}"
110 string(72) "a:4:{i:0;d:123456789;i:1;d:3.33333333;i:2;d:9.87E+102;i:3;d:10.0000001;}"
122 string(83) "a:4:{i:0;d:123456789.01235;i:1;d:3.3333333333333;i:2;d:9.87E+102;i:3;d:10.0000001;}"
134 string(111) "a:4:{i:0;d:123456789.01234567;i:1;d:3.3333333333333335;i:2;d:9.8700000000000007E+102;i
146 string(141) "a:4:{i:0;d:123456789.0123456716537476;i:1;d:3.33333333333333348136307;i:2;d:9.87000000…
158i:0;d:123456789.01234567165374755859375;i:1;d:3.33333333333333348136306995002087205648422241210937…
/PHP-7.3/ext/phar/
H A Dmakestub.php57 foreach ($s1split as $i => $chunk) {
59 $s1split[$i] = substr($chunk, 1);
63 $s1split[$i] .= $s1split[$i + 1][0];
67 foreach ($s3split as $i => $chunk) {
69 $s3split[$i] = substr($chunk, 1);
73 $s3split[$i] .= $s3split[$i + 1][0];
79 foreach ($s1split as $i => $chunk) {
80 $s1count = $i + 1;
87 $s3count = $i + 1;
96 $stub .= ', newstub1_' . $i;
[all …]
/PHP-7.3/ext/zip/examples/
H A Dget_set_comments.php10 for ($i=0; $i<$z->numFiles; $i++) { variable
11 echo "index: $i\n";
12 print_r($z->getCommentIndex($i));
25 for ($i=0; $i<$z->numFiles; $i++) { variable
26 echo "index: $i\n";
27 print_r($z->getCommentIndex($i));
/PHP-7.3/ext/date/tests/
H A Ddate_interval_create_from_date_string.phpt8 $i = date_interval_create_from_date_string($string);
9 var_dump($i->d);
12 $i = date_interval_create_from_date_string($string);
13 var_dump($i->d);
16 $i = date_interval_create_from_date_string($string);
17 var_dump($i->m);
20 $i = date_interval_create_from_date_string($string);
21 var_dump($i->y);
24 $i = date_interval_create_from_date_string($string);
25 var_dump($i->y);
[all …]
/PHP-7.3/ext/pgsql/tests/
H A D04async_query.phpt27 for ($i=0; $i < $rows; $i++)
29 pg_fetch_array($result, $i, PGSQL_NUM);
31 for ($i=0; $i < $rows; $i++)
35 for ($i=0; $i < $rows; $i++)
37 pg_fetch_row($result, $i);
39 for ($i=0; $i < $rows; $i++)
41 pg_fetch_result($result, $i, 0);
H A D23sync_query_params.phpt22 for ($i=0; $i < $rows; $i++)
24 pg_fetch_array($result, $i, PGSQL_NUM);
26 for ($i=0; $i < $rows; $i++)
30 for ($i=0; $i < $rows; $i++)
32 pg_fetch_row($result, $i);
34 for ($i=0; $i < $rows; $i++)
36 pg_fetch_result($result, $i, 0);
/PHP-7.3/ext/standard/tests/math/
H A Dmt_rand_value.phpt8 for ($i=0; $i<16; $i++) {
14 for ($i=0; $i<1024; $i++) {
22 for ($i=0; $i<16; $i++) {
28 for ($i=0; $i<1024; $i++) {
H A Dnumber_format_basic.phpt19 for ($i = 0; $i < count($values); $i++) {
20 $res = number_format($values[$i]);
25 for ($i = 0; $i < count($values); $i++) {
26 $res = number_format($values[$i], 2);
31 for ($i = 0; $i < count($values); $i++) {
32 $res = number_format($values[$i], 2, '.', ' ');
37 for ($i = 0; $i < count($values); $i++) {
38 $res = number_format($values[$i], 2, ',' , ' ');
/PHP-7.3/ext/mbstring/libmbfl/tests/
H A Demoji.c15 unsigned int i; in hexdump() local
17 for (i = 0; i < ptr->len; i++) { in hexdump()
18 printf("%%%02x", ptr->val[i]); in hexdump()
54 int i; in main() local
82 for (i = 0; i < result.len; i+= 2) { in main()
83 if (result.val[i] >= 0xD8 && result.val[i] < 0xE0) { // Surrogate pair in main()
84 int h = (result.val[i] & 0x07)<<8 | result.val[i+1]; in main()
85 int l = (result.val[i+2] & 0x03)<<8 | result.val[i+3]; in main()
88 i+=2; in main()
90 printf("U+%x\n",(result.val[i] << 8) | result.val[i+1]); in main()

Completed in 70 milliseconds

12345678910>>...80