Home
last modified time | relevance | path

Searched refs:i (Results 26 – 50 of 1848) sorted by relevance

12345678910>>...74

/PHP-5.6/ext/session/tests/
H A Dsession_decode_variation1.phpt19 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.6/ext/standard/
H A Dquot_print.c93 i--; in php_quot_print_decode()
96 i--; in php_quot_print_decode()
105 i--, p1++; in php_quot_print_decode()
117 i--, p1++; in php_quot_print_decode()
127 i--, p1++; in php_quot_print_decode()
129 i--, p1++; in php_quot_print_decode()
222 if (str_in[i + 1] && str_in[i + 2] && in PHP_FUNCTION()
228 i += 3; in PHP_FUNCTION()
231 while (str_in[i + k] && ((str_in[i + k] == 32) || (str_in[i + k] == 9))) { in PHP_FUNCTION()
237 i += k; in PHP_FUNCTION()
[all …]
H A Dcrypt_freesec.c232 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.6/ext/pcre/tests/
H A Dbug69864.phpt12 for ($i = 0; $i < PREG_CACHE_SIZE; $i++) {
13 preg_match('/foo' . $i . 'bar/', '???foo' . $i . 'bar???');
18 for ($i = 0; $i < PREG_CACHE_SIZE; $i++) {
19 preg_replace('/foo' . $i . 'bar/', 'baz', '???foo' . $i . 'bar???');
24 for ($i = 0; $i < PREG_CACHE_SIZE; $i++) {
25 preg_split('/foo' . $i . 'bar/', '???foo' . $i . 'bar???');
30 for ($i = 0; $i < PREG_CACHE_SIZE; $i++) {
31 preg_grep('/foo' . $i . 'bar/', ['???foo' . $i . 'bar???']);
/PHP-5.6/scripts/dev/generate-phpt/src/
H A DgtTestSubject.php47 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.6/ext/mbstring/libmbfl/filters/
H A Dmk_sb_tbl.awk16 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.6/win32/
H A Dselect.c42 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.6/ext/standard/tests/strings/
H A Dbug25671.phpt19 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.6/ext/mysqlnd/
H A Dmysqlnd_result_meta.c110 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.6/Zend/tests/
H A Dbug40261.phpt10 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 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-5.6/ext/fileinfo/libmagic/
H A Dascmagic.c106 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 …]
/PHP-5.6/ext/gd/libgd/
H A Dgd_png.c244 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.6/ext/standard/tests/serialize/
H A Dserialization_miscTypes_001.phpt95 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;}"
181i: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 …]
/PHP-5.6/Zend/
H A Dzend_opcode.c171 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 Dzend_stack.c93 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 Dzend_indent.c37 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.6/ext/interbase/
H A Dphp_ibase_udf.c188 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.6/ext/spl/tests/
H A DSplFixedArray_serialize.phpt30 …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.6/ext/standard/html_tables/
H A Dhtml_table_gen.php199 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.6/ext/opcache/Optimizer/
H A Dcompact_literals.c271 for (i = 0; i < op_array->last_literal; i++) { in optimizer_compact_literals()
287 for (i = 0; i < op_array->last_literal; i++) { in optimizer_compact_literals()
332 map[i] = j; in optimizer_compact_literals()
345 map[i] = j; in optimizer_compact_literals()
362 …zval *class_name = &op_array->literals[(info[i].u.num < i) ? map[info[i].u.num] : info[i].u.num].c… in optimizer_compact_literals()
389 i++; in optimizer_compact_literals()
394 map[i] = j; in optimizer_compact_literals()
419 i++; in optimizer_compact_literals()
420 if (i != j) op_array->literals[j] = op_array->literals[i]; in optimizer_compact_literals()
435 map[i] = j; in optimizer_compact_literals()
[all …]
/PHP-5.6/ext/pcre/pcrelib/
H A Dpcredemo.c61 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.6/ext/zip/lib/
H A Dzip_utf-8.c124 zip_uint32_t i, j, ulen; in _zip_guess_encoding() local
135 for (i=0; i<str->length; i++) { in _zip_guess_encoding()
136 if ((name[i] > 31 && name[i] < 128) || name[i] == '\r' || name[i] == '\n' || name[i] == '\t') in _zip_guess_encoding()
140 if ((name[i] & UTF_8_LEN_2_MASK) == UTF_8_LEN_2_MATCH) in _zip_guess_encoding()
142 else if ((name[i] & UTF_8_LEN_3_MASK) == UTF_8_LEN_3_MATCH) in _zip_guess_encoding()
151 if (i + ulen >= str->length) { in _zip_guess_encoding()
162 i += ulen; in _zip_guess_encoding()
229 zip_uint32_t buflen, i, offset; in _zip_cp437_to_utf8() local
238 for (i=0; i<len; i++) in _zip_cp437_to_utf8()
247 for (i=0; i<len; i++) in _zip_cp437_to_utf8()
[all …]
/PHP-5.6/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);
/PHP-5.6/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 …]

Completed in 62 milliseconds

12345678910>>...74