Home
last modified time | relevance | path

Searched refs:i (Results 151 – 175 of 2000) sorted by relevance

12345678910>>...80

/PHP-7.3/ext/date/lib/
H A Dparse_tz.c184 for (i = 0; i < tz->bit64.timecnt; i++) { in read_64bit_transitions()
187 if (i > 0 && !(buffer[i] > buffer[i - 1])) { in read_64bit_transitions()
235 for (i = 0; i < tz->bit64.typecnt; i++) { in read_64bit_types()
266 for (i = 0; i < tz->bit64.leapcnt; i++) { in read_64bit_types()
282 for (i = 0; i < tz->bit64.ttisstdcnt; i++) { in read_64bit_types()
297 for (i = 0; i < tz->bit64.ttisgmtcnt; i++) { in read_64bit_types()
396 for (i = 0; i < tz->bit64.timecnt; i++) { in timelib_dump_tzinfo()
398 tz->trans[i], tz->trans[i], tz->trans_idx[i], in timelib_dump_tzinfo()
407 for (i = 0; i < tz->bit64.leapcnt; i++) { in timelib_dump_tzinfo()
625 for (i = 0; i < tz->bit64.timecnt; i++) { in fetch_timezone_offset()
[all …]
/PHP-7.3/ext/standard/tests/serialize/
H A Dcounting_of_references.phpt14 string(38) "a:4:{i:0;i:1;i:1;R:2;i:2;i:2;i:3;R:3;}"
H A Dbug70219.phpt22 $inner = 'ryat|a:1:{i:0;a:1:{i:1;';
23 $exploit = 'a:2:{i:0;C:3:"obj":'.strlen($inner).':{'.$inner.'}i:1;R:4;}';
27 for ($i = 0; $i < 5; $i++) {
28 $v[$i] = 'hi'.$i;
/PHP-7.3/ext/standard/tests/math/
H A Dnumber_format_multichar.phpt19 for ($i = 0; $i < count($values); $i++) {
20 $res = number_format($values[$i], 2, '&#183;', ' ');
25 for ($i = 0; $i < count($values); $i++) {
26 $res = number_format($values[$i], 2, '.' , '&thinsp;');
31 for ($i = 0; $i < count($values); $i++) {
32 $res = number_format($values[$i], 2, '&#183;' , '&thinsp;');
/PHP-7.3/ext/dba/tests/
H A Ddba_cdb_read.phpt25 for ($i=1; $i<8; $i++) {
26 echo dba_exists($i, $db_file) ? "Y" : "N";
42 for ($i=0; $i < strlen($keys); $i++) {
43 $key = substr($keys, $i, 1);
48 for ($i=0; $i < strlen($keys); $i++) {
49 $key = substr($keys, $i, 1);
/PHP-7.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_language.c93 int i, j; in mbfl_name2language() local
99 i = 0; in mbfl_name2language()
100 while ((language = mbfl_language_ptr_table[i++]) != NULL){ in mbfl_name2language()
106 i = 0; in mbfl_name2language()
107 while ((language = mbfl_language_ptr_table[i++]) != NULL){ in mbfl_name2language()
114 i = 0; in mbfl_name2language()
115 while ((language = mbfl_language_ptr_table[i++]) != NULL) { in mbfl_name2language()
134 int i; in mbfl_no2language() local
136 i = 0; in mbfl_no2language()
137 while ((language = mbfl_language_ptr_table[i++]) != NULL){ in mbfl_no2language()
/PHP-7.3/ext/spl/tests/
H A DSplObjectStorage_unserialize_bad.phpt7 'x:i:2;i:0;,i:1;;i:0;,i:2;;m:a:0:{}',
8 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};R:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}',
9 'x:i:3;O:8:"stdClass":0:{},O:8:"stdClass":0:{};r:2;,i:1;;O:8:"stdClass":0:{},r:2;;m:a:0:{}',
10 'x:i:1;O:8:"stdClass":0:{},N;;m:s:40:"1234567890123456789012345678901234567890"',
H A Dbug50579.phpt15 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
16 $i->replacement = '[$0]';
17 foreach ($i as $name=>$value) {
21 $i->replacement = '$1';
22 foreach ($i as $name=>$value) {
27 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
28 $i->replacement = '[$1]';
29 foreach ($i as $name=>$value) {
/PHP-7.3/tests/lang/operators/
H A Doperator_gt_variation.phpt25 for ($i = 0; $i < count($validGreaterThan); $i +=2) {
26 $typeToTestVal = $validGreaterThan[$i];
27 $compares = $validGreaterThan[$i + 1];
39 for ($i = 0; $i < count($invalidGreaterThan); $i +=2) {
40 $typeToTestVal = $invalidGreaterThan[$i];
41 $compares = $invalidGreaterThan[$i + 1];
H A Doperator_lt_variation.phpt23 for ($i = 0; $i < count($validLessThan); $i +=2) {
24 $typeToTestVal = $validLessThan[$i];
25 $compares = $validLessThan[$i + 1];
37 for ($i = 0; $i < count($invalidLessThan); $i +=2) {
38 $typeToTestVal = $invalidLessThan[$i];
39 $compares = $invalidLessThan[$i + 1];
H A Doperator_gt_variation_64bit.phpt29 for ($i = 0; $i < count($validGreaterThan); $i +=2) {
30 $typeToTestVal = $validGreaterThan[$i];
31 $compares = $validGreaterThan[$i + 1];
43 for ($i = 0; $i < count($invalidGreaterThan); $i +=2) {
44 $typeToTestVal = $invalidGreaterThan[$i];
45 $compares = $invalidGreaterThan[$i + 1];
H A Doperator_lt_variation_64bit.phpt27 for ($i = 0; $i < count($validLessThan); $i +=2) {
28 $typeToTestVal = $validLessThan[$i];
29 $compares = $validLessThan[$i + 1];
41 for ($i = 0; $i < count($invalidLessThan); $i +=2) {
42 $typeToTestVal = $invalidLessThan[$i];
43 $compares = $invalidLessThan[$i + 1];
/PHP-7.3/ext/standard/tests/array/
H A Darray_chunk_variation21.phpt7 for ($i = 0; $i < (sizeof($array) + 1); $i++) {
8 echo "[$i]\n";
9 var_dump (@array_chunk ($array, $i));
10 var_dump (@array_chunk ($array, $i, TRUE));
11 var_dump (@array_chunk ($array, $i, FALSE));
H A Darray_chunk_variation24.phpt7 for ($i = 0; $i < (sizeof($array) + 1); $i++) {
8 echo "[$i]\n";
9 var_dump (@array_chunk ($array, $i));
10 var_dump (@array_chunk ($array, $i, TRUE));
11 var_dump (@array_chunk ($array, $i, FALSE));
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_io.c61 int i; in ZEND_EXTERN_MODULE_GLOBALS() local
66 for (i = len; i < len + bytes; i++) { in ZEND_EXTERN_MODULE_GLOBALS()
69 memmove(buf + i, buf + i + 1, len + bytes - i - 1); in ZEND_EXTERN_MODULE_GLOBALS()
72 i--; in ZEND_EXTERN_MODULE_GLOBALS()
83 return i; in ZEND_EXTERN_MODULE_GLOBALS()
130 while(i > 0) {
140 i = can_read;
155 i -= got_now;
163 int sent, i = len; local
166 while(i > 0) {
[all …]
/PHP-7.3/Zend/tests/generators/
H A Dxrange.phpt7 for ($i = $start; $i <= $end; $i += $step) {
8 yield $i;
12 foreach (xrange(10, 20, 2) as $i) {
13 var_dump($i);
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dunicode.c127 for (i = 0; i < len; i++) { in onigenc_unicode_mbc_case_fold()
329 for (i = 0; i < un; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
346 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
363 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
370 for (i = 0; i < ncs[0]; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
382 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
399 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
428 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
461 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
485 for (i = 0; i < m; i++) { in onigenc_unicode_get_case_fold_codes_by_str()
[all …]
/PHP-7.3/ext/mbstring/tests/
H A Dillformed_utf_sequences.phpt63 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
89 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
90 … $s = chk_enc(pack('C4', $i >> 24, ($i >> 16) & 0xff, ($i >> 8) & 0xff, $i & 0xff), 1, "UTF-32BE");
102 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
103 …$s = chk_enc(pack('C4', $i & 0xff, ($i >> 8) & 0xff, ($i >> 16) & 0xff, ($i >> 24) & 0xff), 1, "UT…
115 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
116 $s = chk_enc(pack('C4', $i >> 24, ($i >> 16) & 0xff, ($i >> 8) & 0xff, $i & 0xff), 1, "UTF-32");
130 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
131 …$s = chk_enc("\x00\x00\xfe\xff". pack('C4', $i >> 24, ($i >> 16) & 0xff, ($i >> 8) & 0xff, $i & 0x…
144 for ($i = 0xd7ff; $i <= 0xe000; ++$i) {
[all …]
/PHP-7.3/ext/zlib/tests/
H A Dinflate_init_reuse.phpt16 for ($i=0;$i<strlen($compressed);$i++) {
17 $inflated .= inflate_add($resource, $compressed[$i]);
24 for ($i=0;$i<strlen($compressed);$i++) {
25 $inflated .= inflate_add($resource, $compressed[$i]);
/PHP-7.3/Zend/tests/
H A Dbug71859.phpt9 for ($i = 0; $i < 10000; ++$i) {
10 $GLOBALS["a$i"] = new stdClass;
22 for ($i = 0; $i < 200; ++$i) {
23 $GLOBALS["b$i"] = new stdClass;
/PHP-7.3/ext/opcache/Optimizer/
H A Doptimize_temp_vars_5.c32 for (i = 0; i < T; i++) { \
37 zend_bitset_incl(taken_T, i); \
38 if (i > max) { \
39 max = i; \
53 int i; in zend_optimize_temporary_variables() local
131 i = ++max; in zend_optimize_temporary_variables()
136 map_T[currT] = i; in zend_optimize_temporary_variables()
147 map_T[currT] = i; in zend_optimize_temporary_variables()
177 map_T[currT] = i; in zend_optimize_temporary_variables()
192 for (i = 0; i < op_array->last_live_range; i++) { in zend_optimize_temporary_variables()
[all …]
/PHP-7.3/ext/date/tests/
H A Dbug68942.phpt5 $data = unserialize('a:2:{i:0;O:12:"DateTimeZone":2:{s:13:"timezone_type";a:2:{i:0;i:1;i:1;i:2;}s:8…
12 #1 %s(%d): unserialize('a:2:{i:0;O:12:"...')
H A Dbug63435.phpt7 for ($i=1 ; $i<999 ; $i++) {
8 $datetime = Datetime::createFromFormat("u", sprintf("%06ld", $i));
10 if ($res != $i) {
11 echo "$i != $res\n";
/PHP-7.3/ext/ctype/tests/
H A Dbug25745.phpt14 for ($i = 0; $i < 256; $i++) {
15 $a = $ctype_func($i);
16 $b = $ctype_func(chr($i));
18 echo "broken... $ctype_func($i) = $a, $ctype_func(chr($i)) = $b\n";
/PHP-7.3/ext/hash/
H A Dhash_crc32.c31 size_t i; in PHP_CRC32Update() local
33 for (i = 0; i < len; ++i) { in PHP_CRC32Update()
34 context->state = (context->state << 8) ^ crc32_table[(context->state >> 24) ^ (input[i] & 0xff)]; in PHP_CRC32Update()
40 size_t i; in PHP_CRC32BUpdate() local
42 for (i = 0; i < len; ++i) { in PHP_CRC32BUpdate()
43 context->state = (context->state >> 8) ^ crc32b_table[(context->state ^ input[i]) & 0xff]; in PHP_CRC32BUpdate()

Completed in 44 milliseconds

12345678910>>...80