/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 158 for (;i < meta->field_count; i++) { in MYSQLND_METHOD() 269 int i; in MYSQLND_METHOD() local 288 for (i = 0; i < meta->field_count; i++) { in MYSQLND_METHOD() 343 for (i = 0; i < meta->field_count; i++) { in MYSQLND_METHOD() 349 memcpy(new_fields[i].root, orig_fields[i].root, new_fields[i].root_len); in MYSQLND_METHOD() 352 new_fields[i].name = new_fields[i].root + in MYSQLND_METHOD() 356 new_fields[i].org_name = new_fields[i].root + in MYSQLND_METHOD() 360 new_fields[i].table = new_fields[i].root + in MYSQLND_METHOD() 368 new_fields[i].db = new_fields[i].root + (orig_fields[i].db - orig_fields[i].root); in MYSQLND_METHOD() 371 new_fields[i].catalog = new_fields[i].root + (orig_fields[i].catalog - orig_fields[i].root); in MYSQLND_METHOD() [all …]
|
/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | encode.c | 124 int i, j, e, m; in sqlite_encode_binary() local 135 for(i=n-1; i>=0; i--){ cnt[in[i]]++; } in sqlite_encode_binary() 137 for(i=1; i<256; i++){ in sqlite_encode_binary() 140 sum = cnt[i] + cnt[(i+1)&0xff] + cnt[(i+'\'')&0xff]; in sqlite_encode_binary() 143 e = i; in sqlite_encode_binary() 152 for(i=0; i<n; i++){ in sqlite_encode_binary() 153 x = in[i] - e; in sqlite_encode_binary() 176 int i, e; in sqlite_decode_binary() local 182 i = 0; in sqlite_decode_binary() 189 return i; in sqlite_decode_binary() [all …]
|
H A D | func.c | 46 for(i=2; i<argc; i+=2){ in minmaxFunc() 126 for(i=0; i<p1 && z[i]; i++){ in substrFunc() 130 for(; i<p1+p2 && z[i]; i++){ in substrFunc() 165 for(i=0; z[i]; i++){ in upperFunc() 166 if( islower(z[i]) ) z[i] = toupper(z[i]); in upperFunc() 175 for(i=0; z[i]; i++){ in lowerFunc() 187 for(i=0; i<argc; i++){ in ifnullFunc() 303 for(i=n=0; argv[0][i]; i++){ if( argv[0][i]=='\'' ) n++; } in quoteFunc() 307 for(i=0, j=1; argv[0][i]; i++){ in quoteFunc() 340 for(i=0; zIn[i] && !isalpha(zIn[i]); i++){} in soundexFunc() [all …]
|
H A D | vdbeaux.c | 220 for(i=0; i<nOp; i++, pIn++){ in sqliteVdbeAddOpList() 375 for(i=0; i<p->nOp; i++){ in sqliteVdbeFindOp() 549 for(i=0; i<5; i++) p->zArgv[i] = p->aStack[i].zShort; in sqliteVdbeList() 647 for(i=0; i<p->nOp; i++){ in sqliteVdbeMakeReady() 746 for(i=0; i<p->nCursor; i++){ in closeAllCursors() 775 for(i=0; i<p->nMem; i++){ in Cleanup() 805 for(i=0; i<p->nSet; i++){ in Cleanup() 883 for(i=0; i<db->nDb; i++){ in sqliteVdbeReset() 896 for(i=0; i<p->nOp; i++){ in sqliteVdbeReset() 1000 for(i=0; i<p->nOp; i++){ in sqliteVdbeDelete() [all …]
|
H A D | update.c | 89 for(i=0; i<pTab->nCol; i++) aXRef[i] = -1; in sqliteUpdate() 116 for(i=0; i<pChanges->nExpr; i++){ in sqliteUpdate() 163 i = 0; in sqliteUpdate() 165 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate() 178 i = 0; in sqliteUpdate() 180 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate() 284 for(i=0; i<pTab->nCol; i++){ in sqliteUpdate() 330 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate() 362 for(i=0; i<pTab->nCol; i++){ in sqliteUpdate() 406 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate() [all …]
|
/PHP-5.3/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.3/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.3/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.3/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.3/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 106 size_t mlen, i; in file_ascmagic_with_encoding() local 153 for (i = 0; i < ulen; i++) { in file_ascmagic_with_encoding() 154 if (ubuf[i] == '\n') { in file_ascmagic_with_encoding() 159 last_line_end = i; in file_ascmagic_with_encoding() 165 last_line_end = i; in file_ascmagic_with_encoding() 169 last_line_end = i; in file_ascmagic_with_encoding() 176 if (ubuf[i] == '\033') in file_ascmagic_with_encoding() 178 if (ubuf[i] == '\b') in file_ascmagic_with_encoding() 310 size_t i; in encode_utf8() local 313 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.3/ext/gd/libgd/ |
H A D | gd_png.c | 243 for (i = 0; i < num_trans; ++i) { in gdImageCreateFromPngCtx() 263 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 269 for (i = 0; i < 256; ++i) { in gdImageCreateFromPngCtx() 270 palette[i].red = palette[i].green = palette[i].blue = i; in gdImageCreateFromPngCtx() 338 for (i = 0; i < num_palette; ++i) { in gdImageCreateFromPngCtx() 538 for (i = 0; i < gdMaxColors; ++i) { in gdImagePngCtxEx() 544 for (i = 0; i < im->colorsTotal; ++i) { in gdImagePngCtxEx() 624 for (i = 0; i < im->colorsTotal; i++) { in gdImagePngCtxEx() 652 for (i = 0; i < colors; ++i) { in gdImagePngCtxEx() 694 for (i = 0; i < width; ++i) { in gdImagePngCtxEx() [all …]
|
/PHP-5.3/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.3/ext/standard/tests/serialize/ |
H A D | serialization_miscTypes_001.phpt | 93 for( $i = 0; $i < count($Variation_arr); $i++ ) { 95 echo "\n-- Iteration $i --\n"; 97 $serialize_data = serialize($Variation_arr[$i]); 111 after serialization => string(13) "i:2147483647;" 127 after serialization => string(12) "i:267387171;" 131 after serialization => string(13) "i:-267387171;" 151 after serialization => string(9) "i:342391;" 155 after serialization => string(10) "i:-342391;" 164 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;}" 179 …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 …]
|
/PHP-5.3/ext/interbase/ |
H A D | php_ibase_udf.c | 190 int i; in call_php() local 205 for (i = 0; i < argc; ++i) { in call_php() 208 argp[i] = &args[i]; in call_php() 223 ZVAL_STRING(argp[i], (char*)argv[i]->dsc_address,0); in call_php() 227 ZVAL_STRINGL(argp[i], (char*)argv[i]->dsc_address, argv[i]->dsc_length,0); in call_php() 237 ZVAL_LONG(argp[i], *(short*)argv[i]->dsc_address); in call_php() 246 ZVAL_LONG(argp[i], *(ISC_LONG*)argv[i]->dsc_address); in call_php() 259 ZVAL_DOUBLE(argp[i], ((double)l)/scales[-argv[i]->dsc_scale]); in call_php() 264 ZVAL_DOUBLE(argp[i], *(float*)argv[i]->dsc_address); in call_php() 268 ZVAL_DOUBLE(argp[i], *(double*)argv[i]->dsc_address); in call_php() [all …]
|
/PHP-5.3/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.3/Zend/ |
H A D | zend_stack.c | 97 int i; in zend_stack_destroy() local 100 for (i = 0; i < stack->top; i++) { in zend_stack_destroy() 101 efree(stack->elements[i]); in zend_stack_destroy() 125 int i; in zend_stack_apply() local 129 for (i=stack->top-1; i>=0; i--) { in zend_stack_apply() 130 if (apply_function(stack->elements[i])) { in zend_stack_apply() 136 for (i=0; i<stack->top; i++) { in zend_stack_apply() 137 if (apply_function(stack->elements[i])) { in zend_stack_apply() 148 int i; in zend_stack_apply_with_argument() local 152 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.3/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.3/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);
|
/PHP-5.3/ext/date/lib/ |
H A D | parse_tz.c | 97 for (i = 0; i < tz->timecnt; i++) { in read_transistions() 133 for (i = 0; i < tz->typecnt; i++) { in read_types() 161 for (i = 0; i < tz->leapcnt; i++) { in read_types() 176 for (i = 0; i < tz->ttisstdcnt; i++) { in read_types() 177 tz->type[i].isstdcnt = buffer[i]; in read_types() 190 for (i = 0; i < tz->ttisgmtcnt; i++) { in read_types() 240 for (i = 0; i < tz->timecnt; i++) { in timelib_dump_tzinfo() 242 tz->trans[i], tz->trans[i], tz->trans_idx[i], in timelib_dump_tzinfo() 251 for (i = 0; i < tz->leapcnt; i++) { in timelib_dump_tzinfo() 369 for (i = 0; i < tz->timecnt; i++) { in fetch_timezone_offset() [all …]
|
/PHP-5.3/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 38 int i, j; in free_rows() local 40 for (i = 0; i < S->nrows; i++) { in free_rows() 74 int i, j; local 115 for (i = 0, j = 0; i < S->ncols; i++) { 118 S->cols[i].coltype = dbcoltype(H->link, i+1); 119 S->cols[i].name = (char*)dbcolname(H->link, i+1); 132 S->cols[i].source = (char*)dbcolsource(H->link, i+1); 133 tmp = estrdup(S->cols[i].source ? S->cols[i].source : ""); 137 S->cols[i].maxlen = dbcollen(H->link, i+1); 151 for (i = 0; i < S->ncols; i++) { [all …]
|
/PHP-5.3/ext/spl/tests/ |
H A D | bug45826.phpt | 72 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…
|