/PHP-5.5/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 55 size_t i; in mappings_add() local 79 e = i; in mappings_add() 97 s = i; in mappings_add() 200 int i; in to_cp932_visitor() local 220 for (i = 0; i < entry->n; ++i) { in to_cp932_visitor() 254 for (i = 0; i < entry->n; ++i) { in from_cp932_visitor() 273 int i; in to_cp50220_visitor() local 293 for (i = 0; i < entry->n; ++i) { in to_cp50220_visitor() 327 int i; in to_cp50222_visitor() local 347 for (i = 0; i < entry->n; ++i) { in to_cp50222_visitor() [all …]
|
/PHP-5.5/ext/session/tests/ |
H A D | session_decode_variation1.phpt | 19 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 21 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 23 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 25 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;")); 27 var_dump(session_decode("foo|a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}guff|R:1;blah|R:1;"));
|
/PHP-5.5/scripts/dev/generate-phpt/src/ |
H A D | gtTestSubject.php | 47 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) { 48 $this->extraArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", "; 53 for( $i = 0; $i < count( $this->optionalArgumentNames ); $i++) { 54 $this->extraArgumentList .= "\$".$this->optionalArgumentNames[$i].", "; 79 for( $i = 0; $i < count( $this->mandatoryArgumentNames ) - 1; $i++) { 80 $this->shortArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", "; 104 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) { 105 $this->allowedArgumentLists[0] .= "\$".$this->mandatoryArgumentNames[$i].", "; 110 for( $i = 0; $i < count( $this->optionalArgumentNames ); $i++) { 111 …s->allowedArgumentLists[] = $this->allowedArgumentLists[$i]."\$".$this->optionalArgumentNames[$i].… [all …]
|
/PHP-5.5/win32/ |
H A D | select.c | 42 int n_handles = 0, i; in php_select() local 64 for (i = 0; i < max_fd; i++) { in php_select() 65 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) { in php_select() 69 if (SAFE_FD_ISSET(i, rfds)) { in php_select() 70 FD_SET((uint)i, &sock_read); in php_select() 72 if (SAFE_FD_ISSET(i, wfds)) { in php_select() 73 FD_SET((uint)i, &sock_write); in php_select() 75 if (SAFE_FD_ISSET(i, efds)) { in php_select() 78 if (i > sock_max_fd) { in php_select() 79 sock_max_fd = i; in php_select() [all …]
|
/PHP-5.5/ext/mbstring/libmbfl/filters/ |
H A D | mk_sb_tbl.awk | 16 for (i = 3; i <= length(str); i++) { 17 n = index("0123456789abcdefABCDEF", substr(str, i, 1)) - 1 50 i = 160; 52 …4x, 0x%04x, 0x%04x, 0x%04x, 0x%04x", tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], tbl[i++], t… 53 if (i != 256) {
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | bug25671.phpt | 19 a:4:{i:0;s:19:"This is strung one.";i:1;s:19:"This is strung two.";i:2;a:2:{i:0;s:23:"This is anoth… 20 a:4:{i:0;s:19:"This is strung one.";i:1;s:19:"This is strung two.";i:2;a:2:{i:0;s:23:"This is anoth… 21 a:4:{i:0;s:16:"Thisisstringone.";i:1;s:16:"Thisisstringtwo.";i:2;a:2:{i:0;s:23:"This is another str… 22 a:4:{i:0;s:16:"Thisisstringone.";i:1;s:16:"Thisisstringtwo.";i:2;a:2:{i:0;s:23:"This is another str…
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 110 for (;i < meta->field_count; i++) { in MYSQLND_METHOD() 205 int i; in MYSQLND_METHOD() local 270 for (i = 0; i < meta->field_count; i++) { in MYSQLND_METHOD() 276 memcpy(new_fields[i].root, orig_fields[i].root, new_fields[i].root_len); in MYSQLND_METHOD() 279 new_fields[i].name = new_fields[i].root + in MYSQLND_METHOD() 283 new_fields[i].org_name = new_fields[i].root + in MYSQLND_METHOD() 287 new_fields[i].table = new_fields[i].root + in MYSQLND_METHOD() 291 new_fields[i].org_table = new_fields[i].root + in MYSQLND_METHOD() 295 new_fields[i].db = new_fields[i].root + (orig_fields[i].db - orig_fields[i].root); in MYSQLND_METHOD() 298 new_fields[i].catalog = new_fields[i].root + (orig_fields[i].catalog - orig_fields[i].root); in MYSQLND_METHOD() [all …]
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 106 size_t mlen, i; in file_ascmagic_with_encoding() local 155 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding() 156 if (ubuf[i] == '\n') { in file_ascmagic_with_encoding() 161 last_line_end = i; in file_ascmagic_with_encoding() 167 last_line_end = i; in file_ascmagic_with_encoding() 171 last_line_end = i; in file_ascmagic_with_encoding() 178 if (ubuf[i] == '\033') in file_ascmagic_with_encoding() 180 if (ubuf[i] == '\b') in file_ascmagic_with_encoding() 313 size_t i; in encode_utf8() local 316 for (i = 0; i < ulen; i++) { in encode_utf8() [all …]
|
H A D | encoding.c | 228 for (i = 0; i < nbytes; i++) { in looks_ascii() 247 for (i = 0; i < nbytes; i++) { in looks_latin1() 267 for (i = 0; i < nbytes; i++) { in looks_extended() 301 for (i = 0; i < nbytes; i++) { in file_looks_utf8() 337 i++; in file_looks_utf8() 341 if ((buf[i] & 0x80) == 0 || (buf[i] & 0x40)) in file_looks_utf8() 390 for (i = 2; i + 1 < nbytes; i += 2) { in looks_ucs16() 394 ubuf[(*ulen)++] = buf[i + 1] + 256 * buf[i]; in looks_ucs16() 396 ubuf[(*ulen)++] = buf[i] + 256 * buf[i + 1]; in looks_ucs16() 497 for (i = 0; i < nbytes; i++) { in from_ebcdic() [all …]
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_png.c | 244 for (i = 0; i < num_trans; ++i) { in gdImageCreateFromPngCtx() 264 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 270 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 271 palette[i].red = palette[i].green = palette[i].blue = i; in gdImageCreateFromPngCtx() 339 for (i = 0; i < num_palette; ++i) { in gdImageCreateFromPngCtx() 540 for (i = 0; i < gdMaxColors; ++i) { in gdImagePngCtxEx() 546 for (i = 0; i < im->colorsTotal; ++i) { in gdImagePngCtxEx() 626 for (i = 0; i < im->colorsTotal; i++) { in gdImagePngCtxEx() 654 for (i = 0; i < colors; ++i) { in gdImagePngCtxEx() 696 for (i = 0; i < width; ++i) { in gdImagePngCtxEx() [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug40261.phpt | 10 for ($i=0; $i<$num; $i++) { 11 $a[$i] = Array(1); 14 for ($i=0; $i<$num; $i++) { 15 $b[$i] = $a[$i][0]; 19 for ($i=0; $i<$num; $i++) { 20 …$b[$i] = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678…
|
H A D | gc_023.phpt | 8 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];
|
H A D | bug40809.phpt | 15 for ($i=0; $i<$num; $i++) { 16 $a[$i] = Array(1); 18 for ($i=0; $i<$num; $i++) { 19 $b[$i] = $a[$i][0]; 23 for ($i=0;$i<$num_repeats;$i++) {
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | serialization_miscTypes_001.phpt | 95 for( $i = 0; $i < count($Variation_arr); $i++ ) { 97 echo "\n-- Iteration $i --\n"; 113 after serialization => string(13) "i:2147483647;" 129 after serialization => string(12) "i:267387171;" 133 after serialization => string(13) "i:-267387171;" 137 after serialization => string(13) "i:2147483647;" 153 after serialization => string(9) "i:342391;" 157 after serialization => string(10) "i:-342391;" 166 after serialization => string(57) "a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:12345666;i:4;i:-2344;}" 181 …i:0;i:0;i:1;i:1;i:2;i:2;i:3;d:3.3330000000000002;i:4;i:-4;i:5;d:-5.5549999999999997;i:6;b:1;i:7;b:… [all …]
|
H A D | bug68976.phpt | 20 $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;
|
/PHP-5.5/Zend/ |
H A D | zend_opcode.c | 171 for (i = 0; i < count; i++) { in cleanup_user_class_data() 183 for (i = 0; i < ce->default_static_members_count; i++) { in cleanup_internal_class_data() 286 for (i = 0; i < ce->default_properties_count; i++) { in destroy_zend_class() 296 for (i = 0; i < ce->default_static_members_count; i++) { in destroy_zend_class() 322 for (i = 0; i < ce->default_properties_count; i++) { in destroy_zend_class() 410 for (i=0; i<op_array->num_args; i++) { in destroy_op_array() 496 for (i = 0; i < op_array->last_try_catch; i++) { in zend_check_finally_breakout() 522 for (i = 0; i < op_array->last_try_catch; i++) { in zend_adjust_fast_call() 543 for (i = 0; i < op_array->last_try_catch; i++) { in zend_resolve_fast_call() 643 for (i = 0; i < op_array->last_try_catch; i++) { in zend_resolve_finally_ret() [all …]
|
H A D | zend_stack.c | 93 int i; in zend_stack_destroy() local 96 for (i = 0; i < stack->top; i++) { in zend_stack_destroy() 97 efree(stack->elements[i]); in zend_stack_destroy() 121 int i; in zend_stack_apply() local 125 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply() 126 if (apply_function(stack->elements[i])) { in zend_stack_apply() 132 for (i=0; i<stack->top; i++) { in zend_stack_apply() 133 if (apply_function(stack->elements[i])) { in zend_stack_apply() 144 int i; in zend_stack_apply_with_argument() local 148 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply_with_argument() [all …]
|
H A D | zend_indent.c | 37 int i; in handle_whitespace() local 41 for (i=0; i<emit_whitespace[c]; i++) { in handle_whitespace() 57 int i; in zend_indent() local 72 for (i=0; i<LANG_SCNG(yy_leng); i++) { in zend_indent() 73 emit_whitespace[(unsigned char) LANG_SCNG(yy_text)[i]]++; in zend_indent() 103 for (i=0; i<nest_level; i++) { in zend_indent() 111 for (i=0; i<emit_whitespace['\n']; i++) { in zend_indent() 115 for (i=0; i<nest_level; i++) { in zend_indent()
|
/PHP-5.5/ext/interbase/ |
H A D | php_ibase_udf.c | 188 int i; in call_php() local 203 for (i = 0; i < argc; ++i) { in call_php() 206 argp[i] = &args[i]; in call_php() 221 ZVAL_STRING(argp[i], (char*)argv[i]->dsc_address,0); in call_php() 225 ZVAL_STRINGL(argp[i], (char*)argv[i]->dsc_address, argv[i]->dsc_length,0); in call_php() 235 ZVAL_LONG(argp[i], *(short*)argv[i]->dsc_address); in call_php() 244 ZVAL_LONG(argp[i], *(ISC_LONG*)argv[i]->dsc_address); in call_php() 257 ZVAL_DOUBLE(argp[i], ((double)l)/scales[-argv[i]->dsc_scale]); in call_php() 262 ZVAL_DOUBLE(argp[i], *(float*)argv[i]->dsc_address); in call_php() 266 ZVAL_DOUBLE(argp[i], *(double*)argv[i]->dsc_address); in call_php() [all …]
|
/PHP-5.5/ext/standard/ |
H A D | crypt_freesec.c | 232 for (i = 0; i < 8; i++) in _crypt_extended_init() 243 for (i = 0; i < 64; i++) in _crypt_extended_init() 253 for (i = 0; i < 64; i++) { in _crypt_extended_init() 262 for (i = 0; i < 56; i++) { in _crypt_extended_init() 271 for (i = 0; i < 48; i++) { in _crypt_extended_init() 280 for (i = 0; i < 256; i++) { in _crypt_extended_init() 299 for (i = 0; i < 128; i++) { in _crypt_extended_init() 333 for (i = 0; i < 32; i++) in _crypt_extended_init() 337 for (i = 0; i < 256; i++) { in _crypt_extended_init() 369 for (i = 0; i < 24; i++) { in setup_salt() [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | SplFixedArray_serialize.phpt | 30 …lFixedArray":5:{i:0;s:3:"foo";i:1;N;i:2;i:42;i:3;O:8:"stdClass":1:{s:4:"prop";s:5:"value";}i:4;a:5…
|
/PHP-5.5/ext/standard/html_tables/ |
H A D | html_table_gen.php | 199 for ($i = 0; $i < 4; $i++) { variable 210 for ($i = 0; $i < 4; $i++) { variable 537 for ($i = 0; $i < 0x1E; $i++) { variable 606 for ($i = 0; $i < 0x1E; $i++) { variable 633 for ($i = 0; $i < 0x1E; $i++) { variable 634 if (isset($mstable[$i])) 756 for ($i = 0; $i < $numelems; $i++) { variable 757 if (empty($hashes[$i])) 776 for ($i = 0; $i < $numelems; $i++) { variable 777 if ($i == 0) echo "\t"; [all …]
|
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | pcredemo.c | 61 int rc, i; in main() local 74 for (i = 1; i < argc; i++) in main() 83 if (argc - i != 2) in main() 89 pattern = argv[i]; in main() 90 subject = argv[i+1]; in main() 169 for (i = 0; i < rc; i++) in main() 172 int substring_length = ovector[2*i+1] - ovector[2*i]; in main() 217 for (i = 0; i < namecount; i++) in main() 380 for (i = 0; i < rc; i++) in main() 383 int substring_length = ovector[2*i+1] - ovector[2*i]; in main() [all …]
|
/PHP-5.5/ext/opcache/ |
H A D | shared_alloc_shm.c | 56 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 …]
|
/PHP-5.5/ext/gd/tests/ |
H A D | colorresolve.phpt | 21 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);
|