/php-src/ext/fileinfo/ |
H A D | php_libmagic.c | 22 size_t i, j; in convert_libmagic_pattern() local 28 j += 2; in convert_libmagic_pattern() 31 j += 4; in convert_libmagic_pattern() 34 j++; in convert_libmagic_pattern() 40 j = 0; in convert_libmagic_pattern() 41 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern() 47 ZSTR_VAL(t)[j] = '~'; in convert_libmagic_pattern() 53 ZSTR_VAL(t)[j] = '0'; in convert_libmagic_pattern() 60 ZSTR_VAL(t)[j++] = '~'; in convert_libmagic_pattern() 68 ZSTR_VAL(t)[j]='\0'; in convert_libmagic_pattern() [all …]
|
/php-src/ext/hash/ |
H A D | hash_ripemd.c | 228 for(j = 0; j < 16; j++) { in RIPEMD128Transform() 235 for(j = 16; j < 32; j++) { in RIPEMD128Transform() 242 for(j = 32; j < 48; j++) { in RIPEMD128Transform() 249 for(j = 48; j < 64; j++) { in RIPEMD128Transform() 320 for(j = 0; j < 16; j++) { in RIPEMD256Transform() 328 for(j = 16; j < 32; j++) { in RIPEMD256Transform() 336 for(j = 32; j < 48; j++) { in RIPEMD256Transform() 344 for(j = 48; j < 64; j++) { in RIPEMD256Transform() 419 for(j = 0; j < 16; j++) { in RIPEMD160Transform() 426 for(j = 16; j < 32; j++) { in RIPEMD160Transform() [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_cfg.c | 123 for (j = 0; j < op_array->last_try_catch; j++) { in zend_mark_reachable_blocks() 210 for (j = b->start; j < b->start + b->len; j++) { in zend_mark_reachable_blocks() 448 for (j = 0; j < op_array->last_try_catch; j++) { in zend_build_cfg() 493 for (j = 0; j < blocks_count; j++) { in zend_build_cfg() 627 for (j = 0; j < cfg->blocks_count; j++) { in zend_cfg_build_predecessors() 694 for (j = 1; j < blocks_count; j++) { in zend_cfg_compute_dominators_tree() 723 for (j = 1; j < blocks_count; j++) { in zend_cfg_compute_dominators_tree() 744 for (j = 0; j < blocks_count; j++) { in zend_cfg_compute_dominators_tree() 809 for (j = blocks[i].children; j >= 0; j = blocks[j].next_child) { in zend_cfg_identify_loops() 815 for (j = 0; j < blocks[i].successors_count; j++) { in zend_cfg_identify_loops() [all …]
|
H A D | nop_removal.c | 37 int j; in zend_optimizer_nop_removal() local 84 for (j = 0; j < op_array->last_try_catch; j++) { in zend_optimizer_nop_removal() 85 op_array->try_catch_array[j].try_op -= shiftlist[op_array->try_catch_array[j].try_op]; in zend_optimizer_nop_removal() 86 op_array->try_catch_array[j].catch_op -= shiftlist[op_array->try_catch_array[j].catch_op]; in zend_optimizer_nop_removal() 87 if (op_array->try_catch_array[j].finally_op) { in zend_optimizer_nop_removal() 88 op_array->try_catch_array[j].finally_op -= shiftlist[op_array->try_catch_array[j].finally_op]; in zend_optimizer_nop_removal() 89 op_array->try_catch_array[j].finally_end -= shiftlist[op_array->try_catch_array[j].finally_end]; in zend_optimizer_nop_removal()
|
H A D | zend_dfg.c | 259 int j; in zend_build_dfg() local 269 for (j = 0; j < blocks_count; j++) { in zend_build_dfg() 278 end = opline + blocks[j].len; in zend_build_dfg() 279 b_use = DFG_BITSET(use, set_size, j); in zend_build_dfg() 280 b_def = DFG_BITSET(def, set_size, j); in zend_build_dfg() 295 for (j = 0; j < blocks_count; j++) { in zend_build_dfg() 296 zend_bitset_incl(worklist, j); in zend_build_dfg() 302 zend_bitset_excl(worklist, j); in zend_build_dfg() 307 if (blocks[j].successors_count != 0) { in zend_build_dfg() 308 …zend_bitset_copy(DFG_BITSET(out, set_size, j), DFG_BITSET(in, set_size, blocks[j].successors[0]), … in zend_build_dfg() [all …]
|
H A D | zend_ssa.c | 246 for (j = 0; j < blocks_count; j++) { in place_essa_pis() 878 for (j = 0; j < blocks[succ].predecessors_count; j++) { in zend_ssa_rename() 887 for (j = 0; j < blocks[succ].predecessors_count; j++) in zend_ssa_rename() 925 j = blocks[j].next_child; in zend_ssa_rename() 987 for (j = 0; j < blocks_count; j++) { in zend_build_ssa() 1023 for (j = 0; j < blocks_count; j++) { in zend_build_ssa() 1067 for (j = 0; j < op_array->last_var; j++) { in zend_build_ssa() 1068 var[j] = j; in zend_build_ssa() 1394 for (j = 0; j < predecessors_count; j++) { in zend_ssa_remove_phi_source() 1466 for (j = 0; j < next_block->predecessors_count; j++) { in zend_ssa_remove_predecessor() [all …]
|
H A D | compact_literals.c | 312 j = 0; in zend_optimizer_compact_literals() 331 j++; in zend_optimizer_compact_literals() 343 j++; in zend_optimizer_compact_literals() 355 j++; in zend_optimizer_compact_literals() 371 j++; in zend_optimizer_compact_literals() 391 j += 2; in zend_optimizer_compact_literals() 411 j++; in zend_optimizer_compact_literals() 438 j++; in zend_optimizer_compact_literals() 443 j++; in zend_optimizer_compact_literals() 458 j++; in zend_optimizer_compact_literals() [all …]
|
/php-src/Zend/ |
H A D | zend_sort.c | 115 j = i - siz; in zend_insert_sort() 120 j -= siz; in zend_insert_sort() 122 j += siz; in zend_insert_sort() 131 j = i - siz; in zend_insert_sort() 136 j -= siz2; in zend_insert_sort() 138 j += siz; in zend_insert_sort() 148 j -= siz; in zend_insert_sort() 255 char *i, *j; in zend_sort() local 278 j -= siz; in zend_sort() 283 j -= siz; in zend_sort() [all …]
|
/php-src/tests/lang/ |
H A D | 024.phpt | 29 $j = 3; 112 $i=$j=0; 116 $j++; 149 $j = $i*2+$j*($i++); 172 $j += ++$i; /* ++$i --> $i==2, $j += 2 --> $j==2 */ 183 $j *= $i; /* $j *= 2 --> $j == 4 */ 219 $j=20; 244 ${"test$i$j"}[$k] = $i+$j+$k; 328 echo " \$j=$j\n"; 354 echo " \$j=$j\n"; [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | mb_strcut_negative_length.phpt | 7 var_dump(mb_strcut('Déjà vu', 1, -3)); 8 var_dump(mb_strcut('Déjà vu', 1, -4)); 9 var_dump(mb_strcut('Déjà vu', 1, -5)); 10 var_dump(mb_strcut('Déjà vu', 1, -6)); 11 var_dump(mb_strcut('Déjà vu', 1, -999)); 14 string(5) "éjà" 15 string(3) "éj" 16 string(3) "éj"
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_check.c | 45 ir_ref n, j, *p; in ir_check_use_list() local 49 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < n; j++, p++) { in ir_check_use_list() 60 ir_ref n, j, *p; in ir_check_input_list() local 63 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_check_input_list() 91 ir_ref i, j, n, *p, use; in ir_check() local 105 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_check() 119 switch (IR_OPND_KIND(flags, j)) { in ir_check() 137 if (j == 1) { in ir_check() 167 if (j == 2 in ir_check() 300 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < use_list->count; j++, p++) { in ir_check() [all …]
|
/php-src/ext/opcache/tests/jit/ |
H A D | bw_not_002.phpt | 11 $j = 0; 13 $a = ~$j - $a = $j + $j = !$j = $j++;
|
H A D | reg_alloc_013.phpt | 10 $j++; 11 $j++ % $j -= $a % $a = $j; 17 Warning: Undefined variable $j in %sreg_alloc_013.php on line 3
|
H A D | add_013.phpt | 10 $j = 2; 11 for (; $a = $j - 7 + $y = $a - 7; $a = $a + 1 / 3) { 12 $j++; 13 if ($j > 4) break;
|
/php-src/ext/gd/tests/ |
H A D | bug43073.phpt | 47 for ($j = 0; $j < 8; $j++) { 48 if ($bbox[$j] >= $exp[$i][$j] - 1 && $bbox[$j] <= $exp[$i][$j] + 1) { 51 echo "(expected $exp[$i][$j], got $bbox[$j])";
|
H A D | imagecopyresampled_variation1.phpt | 21 for ($j = 0; $j < imagesy($im); $j++) { 22 imagesetpixel($im, $i, $j, ($i%2 != $j%2 ? $solid : $transparent)); 35 for ($j = 0; $j < imagesy($copy); $j++) { 36 if (imagecolorat($copy, $i, $j) != $color) {
|
H A D | bug74435.phpt | 12 for ($j = 0; $j < $height; $j += 16) { 13 if (($index = imagecolorat($im, $i, $j)) >= 2) { 16 echo "unexpected color at ($i, $j)\n";
|
/php-src/ext/standard/tests/strings/ |
H A D | bug78612.phpt | 10 for ($j=0; $j<10; $j++) { 11 $find_replace[$_a + $j] = $_b + $j;
|
/php-src/Zend/tests/ |
H A D | call_user_func_008.phpt | 12 $i = $j = 0; 13 var_dump(call_user_func('test', $i, $j)); 14 var_dump($i, $j); 16 var_dump(call_user_func_array('test', [$i, $j])); 17 var_dump($i, $j); 19 $x =& $i; $y =& $j; 20 var_dump(call_user_func('test', $i, $j)); 21 var_dump($i, $j); 23 var_dump(call_user_func_array('test', [$i, $j])); 24 var_dump($i, $j);
|
/php-src/ext/mbstring/ |
H A D | php_unicode.c | 380 int j = i - 1; in php_unicode_convert_case() local 381 while (j >= 0 && php_unicode_is_case_ignorable(wchar_buf[j])) { in php_unicode_convert_case() 382 j--; in php_unicode_convert_case() 386 j = i + 1; in php_unicode_convert_case() 387 while (j < out_len && php_unicode_is_case_ignorable(wchar_buf[j])) { in php_unicode_convert_case() 388 j++; in php_unicode_convert_case() 433 int j = i - 1; in php_unicode_convert_case() local 434 while (j >= 0 && php_unicode_is_case_ignorable(wchar_buf[j])) { in php_unicode_convert_case() 435 j--; in php_unicode_convert_case() 438 j = i + 1; in php_unicode_convert_case() [all …]
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 206 $j = -1; 235 check_param($params, ++$j, 'bool*', $optional); 245 check_param($params, ++$j, 'zval**', $optional); 246 check_param($params, ++$j, 'int*', $optional); 255 if ($optional && !$params[$j-1][2] && !$params[$j][2] 256 … && $params[$j-1][0] !== '**dummy**' && $params[$j][0] !== '**dummy**') { 257 … error("one of optional vars {$params[$j-1][0]} or {$params[$j][0]} must be initialized", 1); 263 check_param($params, ++$j, 'zend_class_entry**', false); 315 $j = 0; 320 $j += strlen($lines[$i]) + strlen(@$lines[++$i]); [all …]
|
/php-src/ext/dom/tests/compareDocumentPosition/ |
H A D | attribute_order_same_element.phpt | 16 for ($j = $i + 1; $j <= $i + 2; $j++) { 17 echo "--- Compare $i and ", ($j % 3), " ---\n"; 18 if ($i < ($j % 3)) { 23 var_dump($attrs[$i]->compareDocumentPosition($attrs[$j % 3]) === $expected);
|
/php-src/ext/standard/ |
H A D | crypt_freesec.c | 226 for (j = 0; j < 64; j++) { in _crypt_extended_init() 227 b = (j & 0x20) | ((j & 1) << 4) | ((j >> 1) & 0xf); in _crypt_extended_init() 237 for (j = 0; j < 64; j++) in _crypt_extended_init() 277 for (j = 0; j < 8; j++) { in _crypt_extended_init() 278 inbit = 8 * k + j; in _crypt_extended_init() 294 for (j = 0; j < 7; j++) { in _crypt_extended_init() 295 inbit = 8 * k + j; in _crypt_extended_init() 307 for (j = 0; j < 7; j++) { in _crypt_extended_init() 308 inbit = 7 * k + j; in _crypt_extended_init() 331 for (j = 0; j < 8; j++) { in _crypt_extended_init() [all …]
|
/php-src/ext/date/tests/ |
H A D | date_diff.phpt | 23 for ( $j = 0; $j < COUNT * 12; $j++) 25 $diff = date_diff( $dates[$i], $dates[$j] ); 29 $dates[$j]->format( 'Y-m-d' ), 37 if ( $current > $dates[$j] ) 45 if ( $current != $dates[$j] ) 51 $dates[$j]->format( 'Y-m-d' ), ")\n";
|
/php-src/ext/gd/libgd/ |
H A D | gd_filter.c | 337 int x, y, i, j, new_a; in gdImageConvolution() local 368 for (j=0; j<3; j++) { in gdImageConvolution() 399 int x, y, i, j; in gdImageSelectiveBlur() local 429 for (j=0; j<3; j++) { in gdImageSelectiveBlur() 445 flt_r[j][i] = 1.0f; in gdImageSelectiveBlur() 456 flt_g[j][i] = 1.0f; in gdImageSelectiveBlur() 467 flt_b[j][i] = 1.0f; in gdImageSelectiveBlur() 471 flt_r_sum += flt_r[j][i]; in gdImageSelectiveBlur() 472 flt_g_sum += flt_g[j][i]; in gdImageSelectiveBlur() 477 for (j=0; j<3; j++) { in gdImageSelectiveBlur() [all …]
|