/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_maketables.c | 94 for (i = 0; i < 256; i++) *p++ = tolower(i); in pcre_maketables() 98 for (i = 0; i < 256; i++) *p++ = islower(i)? toupper(i) : tolower(i); in pcre_maketables() 110 for (i = 0; i < 256; i++) in pcre_maketables() 112 if (isdigit(i)) p[cbit_digit + i/8] |= 1 << (i&7); in pcre_maketables() 113 if (isupper(i)) p[cbit_upper + i/8] |= 1 << (i&7); in pcre_maketables() 114 if (islower(i)) p[cbit_lower + i/8] |= 1 << (i&7); in pcre_maketables() 115 if (isalnum(i)) p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 116 if (i == '_') p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 117 if (isspace(i)) p[cbit_space + i/8] |= 1 << (i&7); in pcre_maketables() 118 if (isxdigit(i))p[cbit_xdigit + i/8] |= 1 << (i&7); in pcre_maketables() [all …]
|
H A D | dftables.c | 64 int i = 1; in main() local 75 i++; in main() 134 for (i = 0; i < 256; i++) in main() 145 for (i = 0; i < 256; i++) in main() 161 for (i = 0; i < cbit_length; i++) in main() 163 if ((i & 7) == 0 && i != 0) in main() 185 for (i = 0; i < 256; i++) in main() 187 if ((i & 7) == 0 && i != 0) in main() 192 if (isprint(i-1)) fprintf(f, " %c ", i-1); in main() 201 if (isprint(i-8)) fprintf(f, " %c -", i-8); in main() [all …]
|
/PHP-5.3/Zend/ |
H A D | bench.php | 9 for ($i = 0; $i < 1000000; $i++) 128 $X[$i] = $i; ++$i; 129 $X[$i] = $i; ++$i; 130 $X[$i] = $i; ++$i; 131 $X[$i] = $i; ++$i; 132 $X[$i] = $i; ++$i; 134 $X[$i] = $i; ++$i; 135 $X[$i] = $i; ++$i; 136 $X[$i] = $i; ++$i; 137 $X[$i] = $i; ++$i; [all …]
|
/PHP-5.3/ext/gd/libgd/ |
H A D | mathmake.c | 11 int i; in main() local 14 for (i = 0; (i <= 90); i++) in main() 16 basis[i] = cos ((double) i * .0174532925) * scale; in main() 18 for (i = 0; (i < 90); i++) in main() 20 printf ("%d,\n ", cost[i] = basis[i]); in main() 22 for (i = 90; (i < 180); i++) in main() 24 printf ("%d,\n ", cost[i] = -basis[180 - i]); in main() 26 for (i = 180; (i < 270); i++) in main() 30 for (i = 270; (i < 359); i++) in main() 32 printf ("%d,\n ", cost[i] = basis[360 - i]); in main() [all …]
|
H A D | gdxpm.c | 22 int i, j, k, number; in gdImageCreateFromXpm() local 41 for (i = 0; i < number; i++) { in gdImageCreateFromXpm() 45 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm() 48 buf[0] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm() 51 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm() 57 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm() 58 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm() 61 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm() 62 buf[1] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm() 121 for (i = 0; i < image.height; i++) { in gdImageCreateFromXpm() [all …]
|
/PHP-5.3/ext/hash/ |
H A D | hash_haval.c | 157 …E[7 - (i % 8)] = ROTR(F1(E[M1[i]],E[M0[i]],E[M3[i]],E[M5[i]],E[M6[i]],E[M2[i]],E[M4[i]]),7) + ROTR… in PHP_3HAVALTransform() 160 …E[7 - (i % 8)] = ROTR(F2(E[M4[i]],E[M2[i]],E[M1[i]],E[M0[i]],E[M5[i]],E[M3[i]],E[M6[i]]),7) + ROTR… in PHP_3HAVALTransform() 163 …E[7 - (i % 8)] = ROTR(F3(E[M6[i]],E[M1[i]],E[M2[i]],E[M3[i]],E[M4[i]],E[M5[i]],E[M0[i]]),7) + ROTR… in PHP_3HAVALTransform() 191 …E[7 - (i % 8)] = ROTR(F1(E[M2[i]],E[M6[i]],E[M1[i]],E[M4[i]],E[M5[i]],E[M3[i]],E[M0[i]]),7) + ROTR… in PHP_4HAVALTransform() 194 …E[7 - (i % 8)] = ROTR(F2(E[M3[i]],E[M5[i]],E[M2[i]],E[M0[i]],E[M1[i]],E[M6[i]],E[M4[i]]),7) + ROTR… in PHP_4HAVALTransform() 197 …E[7 - (i % 8)] = ROTR(F3(E[M1[i]],E[M4[i]],E[M3[i]],E[M6[i]],E[M0[i]],E[M2[i]],E[M5[i]]),7) + ROTR… in PHP_4HAVALTransform() 200 …E[7 - (i % 8)] = ROTR(F4(E[M6[i]],E[M4[i]],E[M0[i]],E[M5[i]],E[M2[i]],E[M1[i]],E[M3[i]]),7) + ROTR… in PHP_4HAVALTransform() 230 …E[7 - (i % 8)] = ROTR(F2(E[M6[i]],E[M2[i]],E[M1[i]],E[M0[i]],E[M3[i]],E[M4[i]],E[M5[i]]),7) + ROTR… in PHP_5HAVALTransform() 233 …E[7 - (i % 8)] = ROTR(F3(E[M2[i]],E[M6[i]],E[M0[i]],E[M4[i]],E[M3[i]],E[M1[i]],E[M5[i]]),7) + ROTR… in PHP_5HAVALTransform() 236 …E[7 - (i % 8)] = ROTR(F4(E[M1[i]],E[M5[i]],E[M3[i]],E[M2[i]],E[M0[i]],E[M4[i]],E[M6[i]]),7) + ROTR… in PHP_5HAVALTransform() [all …]
|
/PHP-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | base64.c | 64 for (i = 0; i < 26; i++) { in base64_encode_xmlrpc() 65 dtable[i] = 'A' + i; in base64_encode_xmlrpc() 66 dtable[26 + i] = 'a' + i; in base64_encode_xmlrpc() 68 for (i = 0; i < 10; i++) { in base64_encode_xmlrpc() 69 dtable[52 + i] = '0' + i; in base64_encode_xmlrpc() 104 for (i = 0; i < 4; i++) { in base64_encode_xmlrpc() 126 for (i = 0; i < 255; i++) { in base64_decode_xmlrpc() 129 for (i = 'A'; i <= 'Z'; i++) { in base64_decode_xmlrpc() 132 for (i = 'a'; i <= 'z'; i++) { in base64_decode_xmlrpc() 135 for (i = '0'; i <= '9'; i++) { in base64_decode_xmlrpc() [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | fstat_basic.phpt | 13 int(%i) 15 int(%i) 17 int(%i) 19 int(%i) 21 int(%i) 23 int(%i) 25 int(%i) 27 int(%i) 29 int(%i) 31 int(%i) [all …]
|
H A D | lstat_stat_basic.phpt | 100 int(%i) 102 int(%i) 104 int(%i) 106 int(%i) 108 int(%i) 110 int(%i) 112 int(%i) 114 int(%i) 116 int(%i) 118 int(%i) [all …]
|
H A D | fstat.phpt | 19 int(%i) 21 int(%i) 23 int(%i) 25 int(%i) 27 int(%i) 29 int(%i) 31 int(%i) 33 int(%i) 35 int(%i) 37 int(%i) [all …]
|
/PHP-5.3/ext/gd/tests/ |
H A D | gif.phpt | 57 for ($i=0; $i<7; $i++) { 63 if (check_box($i,$i,$i)) { 69 for ($i=0; $i<15; $i++) { 75 if (check_box($i,$i,$i)) { 81 for ($i=0; $i<31; $i++) { 87 if (check_box($i,$i,$i)) { 93 for ($i=0; $i<63; $i++) { 99 if (check_box($i,$i,$i)) { 104 for ($i=0; $i<127; $i++) { 110 if (check_box($i,$i,$i)) { [all …]
|
/PHP-5.3/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 12 echo $a[$i=f()][++$i]; 13 unset($i); 16 $x='i'; 21 echo $a[${'i'}=f()][++${'i'}]; 25 echo $a[$i[0]=f()][++$i[0]]; 26 unset($i); 29 echo $a[$i[0][0]=f()][++$i[0][0]]; 33 echo $a[$i->p=f()][++$i->p]; 37 echo $a[$i->p->q=f()][++$i->p->q]; 41 echo $a[$i->p[0]=f()][++$i->p[0]]; [all …]
|
H A D | engine_assignExecutionOrder_009.phpt | 11 var_dump(f($i=0) < f(++$i)); 12 var_dump(f($i=0) <= f(++$i)); 13 var_dump(f($i=0) > f(++$i)); 14 var_dump(f($i=0) >= f(++$i)); 19 $i=0; 20 var_dump($a[$i=1][++$i] < $a[++$i][++$i]); 21 var_dump($a[$i=1][++$i] <= $a[++$i][++$i]); 22 var_dump($a[$i=1][++$i] > $a[++$i][++$i]); 23 var_dump($a[$i=1][++$i] >= $a[++$i][++$i]);
|
/PHP-5.3/ext/mbstring/ucgendat/ |
H A D | ucgendat.c | 243 for (i = 0; i < NUMPROPS; i++) { in add_range() 348 for (i = 0; i < NUMPROPS; i++) { in ordered_range_insert() 554 for (i = 0; i < title_used && code > title[i].key; i++) ; in add_title() 1101 for (i = 0; i < 3; i++) { in read_cdata() 1164 for (i = 0; i < d->used; i++) { 1281 for (i=0; i<num; i++) { in write_case() 1378 for (i = 0; i<nprops; i++) { in write_cdata() 1539 for (i=0; i<comps_used; i++) { in write_cdata() 1788 for (i = 0; i<ccl_used; i++) { in write_cdata() 1848 for (i = 0; i<ncodes_used; i++) { in write_cdata() [all …]
|
/PHP-5.3/Zend/tests/ |
H A D | bug32290.phpt | 13 return --$i; 19 return --$i; 25 return --$i; 31 return --$i; 37 return --$i; 46 $i++; 47 if ($i >= 5) return 5; 54 $i++; 62 $i++; 70 $i++; [all …]
|
/PHP-5.3/ext/interbase/tests/ |
H A D | 007.phpt | 33 for ($i = 1; $i <= 10; ++$i) { 36 $v_multi[$i][$j][$k] = $i * $j * $k; 54 for ($i = 1; $i <= 10; ++$i) { 75 for ($i = 1; $i <= 10; ++$i) { 77 if(strncmp($row->V_CHAR[$i],$v_char[$i],strlen($v_char[$i])) != 0) { 82 if($row->V_DATE[$i] != $v_date[$i]) { 87 if($row->V_DECIMAL[$i] != $v_decimal[$i]) { 92 if(abs($row->V_DOUBLE[$i] - $v_double[$i]) > abs($v_double[$i] / 1E15)) { 97 if(abs($row->V_FLOAT[$i] - $v_float[$i]) > abs($v_float[$i] / 1E7)) { 102 if($row->V_INTEGER[$i] != $v_integer[$i]) { [all …]
|
/PHP-5.3/ext/date/tests/ |
H A D | bug33957.phpt | 7 for ($i = 14; $i <= 31; $i++) { 8 echo "1992-12-$i ", date("W", strtotime("1992-12-$i")), "\n"; 10 for ($i = 1; $i <= 8; $i++) { 11 echo "1993-01-$i ", date("W", strtotime("1993-01-$i")), "\n"; 20 for ($i = 14; $i <= 31; $i++) { 21 echo " (12-$i) "; 23 echo sprintf(" %02d-", date("W", strtotime("$year-12-$i"))); 24 echo sprintf("%04d ", date("o", strtotime("$year-12-$i"))); 28 for ($i = 1; $i <= 18; $i++) { 29 printf("+1 (01-%02d) ", $i); [all …]
|
/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | tokenize.c | 165 for(i=0; i<nk; i++){ in sqliteKeywordCode() 177 for(i=aiHashTable[h]; i; i=p->iNext){ in sqliteKeywordCode() 222 for(i=1; isspace(z[i]); i++){} in sqliteGetToken() 228 for(i=2; z[i] && z[i]!='\n'; i++){} in sqliteGetToken() 260 for(i=3; z[i] && (z[i]!='/' || z[i-1]!='*'); i++){} in sqliteGetToken() 261 if( z[i] ) i++; in sqliteGetToken() 332 for(i=1; z[i]; i++){ in sqliteGetToken() 341 if( z[i] ) i++; in sqliteGetToken() 352 for(i=1; isdigit(z[i]); i++){} in sqliteGetToken() 370 for(i=1; z[i] && z[i-1]!=']'; i++){} in sqliteGetToken() [all …]
|
H A D | random.c | 59 int i; in randomByte() local 62 prng.i = 0; in randomByte() 64 for(i=0; i<256; i++){ in randomByte() 65 prng.s[i] = i; in randomByte() 67 for(i=0; i<256; i++){ in randomByte() 68 prng.j += prng.s[i] + k[i]; in randomByte() 70 prng.s[prng.j] = prng.s[i]; in randomByte() 71 prng.s[i] = t; in randomByte() 78 prng.i++; in randomByte() 79 t = prng.s[prng.i]; in randomByte() [all …]
|
/PHP-5.3/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 65 for(int32_t i = 0; i < fmt_count; ++i) { in umsg_format_helper() local 70 switch(argTypes[i]) { in umsg_format_helper() 73 fargs[i].setDate(U_MILLIS_PER_SECOND * (double)Z_LVAL_P(args[i])); in umsg_format_helper() 78 fargs[i].setDouble(Z_DVAL_P(args[i])); in umsg_format_helper() 83 fargs[i].setLong(Z_LVAL_P(args[i])); in umsg_format_helper() 94 tInt64 = (Z_TYPE_P(args[i]) == IS_DOUBLE)?(int64_t)Z_DVAL_P(args[i]):Z_LVAL_P(args[i]); in umsg_format_helper() 135 #define cleanup_zvals() for(int j=i;j>=0;j--) { zval_ptr_dtor((*args)+i); } 149 for(int32_t i = 0; i < *count; i++) { in umsg_parse_helper() local 156 ALLOC_INIT_ZVAL((*args)[i]); in umsg_parse_helper() 169 ZVAL_DOUBLE((*args)[i], (double)fargs[i].getDouble()); in umsg_parse_helper() [all …]
|
/PHP-5.3/ext/standard/ |
H A D | quot_print.c | 93 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() 219 if (str_in[i + 1] && str_in[i + 2] && in PHP_FUNCTION() 225 i += 3; in PHP_FUNCTION() 228 while (str_in[i + k] && ((str_in[i + k] == 32) || (str_in[i + k] == 9))) { in PHP_FUNCTION() 234 i += k; in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/skeleton/ |
H A D | create_stubs | 12 function convert(i, j, t) 14 type = argtypes[i,j] 15 name = argnames[i,j] 16 opt = optionals[i,j] 19 for (i = 0; i < t; i++) { tabs = tabs "\t" } 59 spec_map[type_array[i]] = spec_array[i] 150 i++ 175 for (i = 0; i < num_funcs; i++) { 176 compareargc = maxargs[i] - minargs[i] 180 proto = "/* {{{ proto " types[i] " " funcs[i] "(" [all …]
|
/PHP-5.3/build/ |
H A D | mkdep.awk | 31 for (i = 5; i <= NF; i++) { 32 if (match($i, "^-[A-Z]") == 0) 34 cmd=cmd " " $i 37 dif=i-1 39 for (; i <= NF; i++) 40 filenames[i-dif]=$i 44 for(i = 1; i <= no_files; i++) { 45 if (system("test -r " filenames[i]) != 0) 48 target=filenames[i] 57 cmdx=cmd " " filenames[i]
|
/PHP-5.3/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.3/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;"));
|