/PHP-5.4/ext/ereg/regex/ |
H A D | main.c | 39 register int i; local 113 for (i = 1; i < NS; i++) 116 (int)(subs[i].rm_eo - subs[i].rm_so), 134 int i; local 154 for (i = 0; i < nf; i++) 156 f[i] = ""; 222 register int i; local 290 for (i = 1; i < NSHOULD; i++) 291 should[i] = NULL; 297 for (i = 1; i < NSUBS; i++) { [all …]
|
/PHP-5.4/ext/standard/tests/filters/ |
H A D | filter_errors_user.phpt | 45 for($i = 0; $i < 5; ++$i) { 46 echo "test_filter$i\n"; 47 var_dump(stream_filter_register("test_filter$i", "test_filter$i")); 48 filter_errors_test("test_filter$i", "42"); 52 for($i = 0; $i < 5; ++$i) { 53 echo "test_filter$i\n"; 57 $f = stream_filter_append($stream, "test_filter$i"); 67 for($i = 0; $i < 5; ++$i) { 68 echo "test_filter$i\n"; 81 for($i = 0; $i < 5; ++$i) { [all …]
|
/PHP-5.4/ext/hash/ |
H A D | hash_tiger.c | 107 int i; \ 110 for (i = 0; i < 64; ++i) { \ 111 ((unsigned char *) tmp)[i^7] = ((unsigned char *) str)[i]; \ 174 unsigned int i; in TigerDigest() local 176 for (i = 0; i < digest_len; ++i) { in TigerDigest() 177 digest_str[i] = (unsigned char) ((context->state[i/8] >> (8 * (i%8))) & 0xff); in TigerDigest() 204 size_t i = 0, r = (context->length + len) % 64; in PHP_TIGERUpdate() local 207 i = 64 - context->length; in PHP_TIGERUpdate() 214 for (; i + 64 <= len; i += 64) { in PHP_TIGERUpdate() 215 memcpy(context->buffer, &input[i], 64); in PHP_TIGERUpdate() [all …]
|
/PHP-5.4/ext/pdo_oci/tests/ |
H A D | bug57702.phpt | 91 $i = 0; 93 $a[$i][0] = $row['d4_1']; 94 $a[$i][1] = $row['d4_2']; 95 $i++; 98 for ($i = 0; $i < count($a); $i++) { 99 var_dump($a[$i][0]); 100 var_dump($a[$i][1]); 114 $i = 0; 116 $a[$i][0] = $row['d4_1']; 118 $i++; [all …]
|
/PHP-5.4/ext/date/lib/ |
H A D | timelib.c | 71 unsigned int i; in timelib_time_tz_abbr_update() local 75 for (i = 0; i < strlen(tz_abbr); i++) { in timelib_time_tz_abbr_update() 76 tm->tz_abbr[i] = toupper(tz_abbr[i]); in timelib_time_tz_abbr_update() 164 int i; in timelib_error_container_dtor() local 166 for (i = 0; i < errors->warning_count; i++) { in timelib_error_container_dtor() 167 free(errors->warning_messages[i].message); in timelib_error_container_dtor() 170 for (i = 0; i < errors->error_count; i++) { in timelib_error_container_dtor() 171 free(errors->error_messages[i].message); in timelib_error_container_dtor() 208 d->sse, d->y < 0 ? "-" : "", TIMELIB_LLABS(d->y), d->m, d->d, d->h, d->i, d->s); in timelib_dump_date() 238 d->relative.y, d->relative.m, d->relative.d, d->relative.h, d->relative.i, d->relative.s); in timelib_dump_date() [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | tempnam_variation1.phpt | 20 for($i=1; $i<=10; $i++) { 21 echo "-- Iteration $i --\n"; 22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 24 if( file_exists($files[$i]) ) { 27 print($files[$i]); 31 printf("%o", fileperms($files[$i]) ); 36 print_r( fileinode($files[$i]) ); //checking inodes 40 $file_dir = dirname($files[$i]); 57 for($i=1; $i<=10; $i++) { 58 unlink($files[$i]);
|
H A D | tempnam_variation1-win32.phpt | 20 for($i=1; $i<=10; $i++) { 21 echo "-- Iteration $i --\n"; 22 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 24 if( file_exists($files[$i]) ) { 27 print($files[$i]); 31 printf("%o", fileperms($files[$i]) ); 36 $file_dir = dirname($files[$i]); 53 for($i=1; $i<=10; $i++) { 54 unlink($files[$i]);
|
/PHP-5.4/ext/mcrypt/tests/ |
H A D | mcrypt_cbc_3des_decrypt.phpt | 52 for ($i = 0; $i < sizeof($keys); $i++) { 53 echo "\nkey length=".strlen($keys[$i])."\n"; 54 special_var_dump(mcrypt_cbc($cipher, $keys[$i], base64_decode($data1[$i]), $mode, $iv)); 59 for ($i = 0; $i < sizeof($ivs); $i++) { 60 echo "\niv length=".strlen($ivs[$i])."\n"; 61 special_var_dump(mcrypt_cbc($cipher, $key, base64_decode($data2[$i]), $mode, $ivs[$i]));
|
/PHP-5.4/ext/gd/libgd/ |
H A D | xbm.c | 44 int bytes = 0, i; in gdImageCreateFromXbm() local 106 for (i = 0; i < bytes; i++) { in gdImageCreateFromXbm() 178 size_t i, l; in gdImageXbmCtx() local 189 for (i=0; i<l; i++) { in gdImageXbmCtx() 191 if (!isupper(name[i]) && !islower(name[i]) && !isdigit(name[i])) { in gdImageXbmCtx() 192 name[i] = '_'; in gdImageXbmCtx()
|
/PHP-5.4/ext/spl/tests/ |
H A D | iterator_004.phpt | 9 protected $i; 20 $this->i = 0; 25 $ret = $this->i < count($this->a); 33 return $this->i; 39 return $this->a[$this->i]; 45 $this->i++; 54 $this->i = $index; 76 for($i = 1; $i < 4; $i++) 78 $l->seek($i);
|
H A D | bug54304.phpt | 13 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE); 14 $i->replacement = 42; 15 var_dump($i->replacement); 16 foreach ($i as $name=>$value) { 19 var_dump($i->replacement);
|
/PHP-5.4/ext/date/tests/ |
H A D | test-parse-from-format.phpt | 24 string(13) "Y-m-d\TH:i:sP" 35 string(16) "l, d-M-Y H:i:s T" 46 string(13) "Y-m-d\TH:i:sO" 57 string(16) "D, d M y H:i:s O" 68 string(16) "l, d-M-y H:i:s T" 79 string(16) "D, d M y H:i:s O" 90 string(16) "D, d M Y H:i:s O" 101 string(16) "D, d M Y H:i:s O" 112 string(13) "Y-m-d\TH:i:sP" 123 string(16) "D, d M Y H:i:s O" [all …]
|
H A D | mktime-1.phpt | 19 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,-1))."\n"; 20 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,0))."\n"; 21 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,1))."\n"; 22 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,-1))."\n"; 23 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,0))."\n"; 24 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,1))."\n"; 25 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,-1))."\n"; 26 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,0))."\n"; 27 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,1))."\n";
|
H A D | mktime_basic1.phpt | 5 /* Prototype : int mktime ([ int $hour= date("H") [, int $minute= date("i") [, int $second= dat… 37 int(%i) 38 int(%i) 39 int(%i) 40 int(%i) 41 int(%i) 42 int(%i) 45 int(%i)
|
/PHP-5.4/ext/intl/msgformat/ |
H A D | msgformat_format.c | 42 int i; in msgfmt_do_format() local 57 for(i=0;i<count;i++) { in msgfmt_do_format() 60 fargs[i] = *val; in msgfmt_do_format() 61 Z_ADDREF_P(fargs[i]); in msgfmt_do_format() 68 for(i=0;i<count;i++) { in msgfmt_do_format() 69 zval_ptr_dtor(&fargs[i]); in msgfmt_do_format()
|
/PHP-5.4/ext/tokenizer/tests/ |
H A D | token_get_all_variation19.phpt | 27 for ($i = 0; $i < 10; $i++) { 28 echo "Loop iteration $i\n"; 75 for ($i = 0; $i < 10; $i++) { 76 echo "Loop iteration $i\n";
|
/PHP-5.4/Zend/ |
H A D | zend_qsort.c | 33 register size_t i; in _zend_qsort_swap() local 40 for (i = sizeof(int); i <= siz; i += sizeof(int)) { in _zend_qsort_swap() 49 for (i = i - sizeof(int) + 1; i <= siz; ++i) { in _zend_qsort_swap()
|
/PHP-5.4/ext/pspell/ |
H A D | config.m4 | 16 for i in $PSPELL_SEARCH_DIRS; do 17 if test -f $i/include/pspell/pspell.h; then 18 PSPELL_DIR=$i 19 PSPELL_INCDIR=$i/include/pspell 20 elif test -f $i/include/pspell.h; then 21 PSPELL_DIR=$i 22 PSPELL_INCDIR=$i/include
|
/PHP-5.4/sapi/apache2handler/ |
H A D | php_apache.h | 61 int i; \ 63 for (i = 0; i < arr->nelts; i++) { \ 64 key = elts[i].key; \ 65 val = elts[i].val;
|
/PHP-5.4/ext/standard/ |
H A D | soundex.c | 32 int i, _small, str_len, code, last; in PHP_FUNCTION() local 72 for (i = 0, _small = 0; i < str_len && _small < 4; i++) { in PHP_FUNCTION() 77 code = toupper((int)(unsigned char)str[i]); in PHP_FUNCTION()
|
/PHP-5.4/ext/sybase_ct/ |
H A D | php_sybase_ct.c | 273 for (i = 0; i < (result->store ? result->num_rows : MIN(1, result->num_rows)); i++) { in _free_sybase_result() 283 for (i=0; i<result->num_fields; i++) { in _free_sybase_result() 291 for (i=0; i<result->num_fields; i++) { in _free_sybase_result() 1101 for (i=0; i<result->num_fields; i++) { in php_sybase_finish_results() 1328 for (i=0; i<num_fields; i++) { in php_sybase_fetch_result_set() 1387 …ct_bind(sybase_ptr->cmd, i+1, &result->datafmt[i], result->tmp_buffer[i], &result->lengths[i], &re… in php_sybase_fetch_result_set() 1392 for (i=0; i<num_fields; i++) { in php_sybase_fetch_result_set() 1759 int i; in PHP_FUNCTION() local 1779 for (i=0; i<result->num_fields; i++) { in PHP_FUNCTION() 1817 for (i=0; i<result->num_fields; i++) { in php_sybase_fetch_hash() [all …]
|
/PHP-5.4/ext/pcre/pcrelib/testdata/ |
H A D | testinput10 | 389 /\p{Lu}/8i 396 /\p{^Lu}/8i 401 /\P{Lu}/8i 460 /\pL/8i 470 /\p{Lu}/8i 482 /\p{Ll}/8i 1331 /ist/8i 1334 /is+t/8i 1338 /is+?t/8i 1341 /is?t/8i [all …]
|
/PHP-5.4/ext/zip/lib/ |
H A D | zip_open.c | 95 int i; in _zip_open() local 134 for (i=0; i<cdir->nentry; i++) in _zip_open() 197 i = _zip_read2(&cdp); in _zip_readcdir() 265 i=0; in _zip_readcdir() 268 cd->nentry = i; in _zip_readcdir() 272 i++; in _zip_readcdir() 278 cd->nentry = i; in _zip_readcdir() 285 cd->nentry = i; in _zip_readcdir() 301 int i; in _zip_checkcons() local 312 for (i=0; i<cd->nentry; i++) { in _zip_checkcons() [all …]
|
/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp5022x.c | 463 int i; in mbfl_filt_conv_wchar_jis_ms() local 471 s = ((i / 94 + oh + 0x21) << 8) + (i % 94 + 0x21); in mbfl_filt_conv_wchar_jis_ms() 480 for (i = 0; i < cp932ext2_ucs_table_size; i++) { in mbfl_filt_conv_wchar_jis_ms() 495 for (i = 0; i < limit; i++) { in mbfl_filt_conv_wchar_jis_ms() 694 int i; in mbfl_filt_conv_wchar_cp50221() local 699 i++) { in mbfl_filt_conv_wchar_cp50221() 712 for (i = 0; i < cp932ext2_ucs_table_size; i++) { in mbfl_filt_conv_wchar_cp50221() 727 for (i = 0; i < limit; i++) { in mbfl_filt_conv_wchar_cp50221() 842 int i; in mbfl_filt_conv_wchar_cp50222() local 859 for (i = 0; i < cp932ext2_ucs_table_size; i++) { in mbfl_filt_conv_wchar_cp50222() [all …]
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | bug54459.phpt | 7 foreach (range(90, 100, .1) as $i => $v){ 8 echo $i, ' = ', $v, PHP_EOL; 10 foreach (range("90", "100", .1) as $i => $v){ 11 echo $i, ' = ', $v, PHP_EOL;
|