/PHP-5.5/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_encoding.c | 229 int i, j; in mbfl_name2encoding() local 256 j = 0; in mbfl_name2encoding() 257 while ((*encoding->aliases)[j] != NULL) { in mbfl_name2encoding() 258 if (strcasecmp((*encoding->aliases)[j], name) == 0) { in mbfl_name2encoding() 261 j++; in mbfl_name2encoding()
|
/PHP-5.5/ext/date/lib/ |
H A D | dow.c | 38 static timelib_sll century_value(timelib_sll j) in century_value() argument 40 return 6 - positive_mod(j, 4) * 2; in century_value() 126 int j; in timelib_isoweek_from_date() local 128 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date() 129 *iw = j / 7; in timelib_isoweek_from_date()
|
H A D | parse_tz.c | 146 unsigned int i, j; in read_types() local 162 j = i * 6; in read_types() 163 …tz->type[i].offset = (buffer[j] * 16777216) + (buffer[j + 1] * 65536) + (buffer[j + 2] * 256) + bu… in read_types() 164 tz->type[i].isdst = buffer[j + 4]; in read_types() 421 uint32_t j; in fetch_timezone_offset() local 424 j = 0; in fetch_timezone_offset() 425 while (j < tz->bit32.timecnt && tz->type[j].isdst) { in fetch_timezone_offset() 426 ++j; in fetch_timezone_offset() 428 if (j == tz->bit32.timecnt) { in fetch_timezone_offset() 429 j = 0; in fetch_timezone_offset() [all …]
|
/PHP-5.5/ext/date/tests/ |
H A D | bug32086.phpt | 10 echo $j = strtotime("+1 day", $g), "\n"; 15 echo date("Y-m-d H:i:s T\n", $j); 21 echo $j = strtotime("+1 day", $g), "\n"; 26 echo date("Y-m-d H:i:s T\n", $j);
|
H A D | DateTime_fix_createFromFormat.phpt | 18 $fromFormat = DateTime::createFromFormat( "D., M# j, Y g:iA", $string ); 20 echo "Format method: " . $orig->format("D., M. j, Y g:iA") . "\n"; 21 echo "createFromFormat method: " . $fromFormat->format("D., M. j, Y g:iA") . "\n";
|
/PHP-5.5/ext/standard/ |
H A D | sha1.c | 377 unsigned int i, j; local 379 for (i = 0, j = 0; j < len; i++, j += 4) { 380 output[j] = (unsigned char) ((input[i] >> 24) & 0xff); 381 output[j + 1] = (unsigned char) ((input[i] >> 16) & 0xff); 382 output[j + 2] = (unsigned char) ((input[i] >> 8) & 0xff); 383 output[j + 3] = (unsigned char) (input[i] & 0xff); 397 unsigned int i, j; local 399 for (i = 0, j = 0; j < len; i++, j += 4) 400 output[i] = ((php_uint32) input[j + 3]) | (((php_uint32) input[j + 2]) << 8) | 401 (((php_uint32) input[j + 1]) << 16) | (((php_uint32) input[j]) << 24);
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_jpeg.c | 168 int i, j, jidx; in gdImageJpegCtx() local 229 for (jidx = 0, j = 0; j < im->sx; j++) { in gdImageJpegCtx() 230 int val = im->tpixels[i][j]; in gdImageJpegCtx() 244 for (jidx = 0, j = 0; j < im->sx; j++) { in gdImageJpegCtx() 245 int idx = im->pixels[i][j]; in gdImageJpegCtx() 329 unsigned int i, j; in gdImageCreateFromJpegCtxEx() local 454 for (j = 0; j < cinfo.output_width; j++, currow += 4, tpix++) { in gdImageCreateFromJpegCtxEx() 467 for (j = 0; j < cinfo.output_width; j++, currow += 3, tpix++) { in gdImageCreateFromJpegCtxEx()
|
H A D | gdxpm.c | 22 int i, j, k, number; in gdImageCreateFromXpm() local 127 for (j = 0; j < image.width; j++) { in gdImageCreateFromXpm() 129 gdImageSetPixel(im, j, i, colors[k]); in gdImageCreateFromXpm()
|
/PHP-5.5/ext/xmlrpc/libxmlrpc/ |
H A D | queue.c | 718 int flag = 1, i, j; in QuickSort() local 723 j = high + 1; in QuickSort() 732 j--; in QuickSort() 733 while(Comp(list[j], key) > 0) in QuickSort() 734 j--; in QuickSort() 736 if(i < j) { in QuickSort() 738 list[i] = list[j]; in QuickSort() 739 list[j] = temp; in QuickSort() 745 list[low] = list[j]; in QuickSort() 746 list[j] = temp; in QuickSort() [all …]
|
/PHP-5.5/ext/hash/ |
H A D | hash_md.c | 69 unsigned int i, j; in Encode() local 71 for (i = 0, j = 0; j < len; i++, j += 4) { in Encode() 72 output[j] = (unsigned char) (input[i] & 0xff); in Encode() 73 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); in Encode() 86 unsigned int i, j; in Decode() local 88 for (i = 0, j = 0; j < len; i++, j += 4) in Decode() 89 output[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[j + 1]) << 8) | in Decode() 90 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); in Decode() 636 unsigned char i,j,t = 0; in MD2_Transform() local 644 for(j = 0; j < 48; j++) { in MD2_Transform() [all …]
|
H A D | hash_haval.c | 103 unsigned int i, j; in Encode() local 105 for (i = 0, j = 0; j < len; i++, j += 4) { in Encode() 106 output[j] = (unsigned char) (input[i] & 0xff); in Encode() 107 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); in Encode() 108 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); in Encode() 109 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); in Encode() 120 unsigned int i, j; in Decode() local 122 for (i = 0, j = 0; j < len; i++, j += 4) { in Decode() 123 output[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[j + 1]) << 8) | in Decode() 124 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); in Decode()
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | getopt.phpt | 4 -v -h -d test -m 1234 -t -j 10 var_dump(getopt("d:m:j:vht"));
|
/PHP-5.5/ext/simplexml/tests/ |
H A D | 017.phpt | 41 for ($j=0;$j<$children;$j++) { 42 echo " child: ".$xml->person[$i]->child[$j]['name']."\n";
|
/PHP-5.5/ext/pdo_pgsql/ |
H A D | config.m4 | 39 for j in include include/pgsql include/postgres include/postgresql ""; do 40 if test -r "$i/$j/libpq-fe.h"; then 42 PGSQL_INCLUDE=$i/$j 43 if test -r "$i/$j/pg_config.h"; then 49 for j in $PHP_LIBDIR $PHP_LIBDIR/pgsql $PHP_LIBDIR/postgres $PHP_LIBDIR/postgresql ""; do 50 if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then 51 PGSQL_LIBDIR=$i/$j
|
/PHP-5.5/tests/lang/ |
H A D | bug24054.phpt | 13 $j = $i * 1001; 17 $i === $j
|
H A D | 020.phpt | 8 for ($j=0; $j<10; $j++) {
|
H A D | engine_assignExecutionOrder_002.phpt | 39 $j = array(0,0,0); 42 list(list($j[$h++],$j[$h++]),$j[$h++]) = $i[$h]; 43 var_dump($j);
|
/PHP-5.5/ext/intl/collator/ |
H A D | collator_sort.c | 375 uint32_t j = 0; in PHP_FUNCTION() local 500 for( j = 0; j < sortKeyCount; j++ ) in PHP_FUNCTION() 501 sortKeyIndxBuf[j].key = sortKeyBuf + (ptrdiff_t)sortKeyIndxBuf[j].key; in PHP_FUNCTION() 510 for( j = 0; j < sortKeyCount; j++ ) in PHP_FUNCTION() 512 zval_add_ref( sortKeyIndxBuf[j].zstr ); in PHP_FUNCTION() 513 zend_hash_next_index_insert( sortedHash, sortKeyIndxBuf[j].zstr, sizeof(zval **), NULL ); in PHP_FUNCTION()
|
/PHP-5.5/ext/pgsql/ |
H A D | config.m4 | 36 for j in include include/pgsql include/postgres include/postgresql ""; do 37 if test -r "$i/$j/libpq-fe.h"; then 39 PGSQL_INCLUDE=$i/$j 40 if test -r "$i/$j/pg_config.h"; then 46 for j in lib $PHP_LIBDIR/pgsql $PHP_LIBDIR/postgres $PHP_LIBDIR/postgresql ""; do 47 if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then 48 PGSQL_LIBDIR=$i/$j
|
/PHP-5.5/ext/intl/tests/ |
H A D | bug62759.phpt | 12 var_dump(grapheme_substr('déjà', 1, -4)); 14 var_dump(grapheme_substr('déjà', -1, 0));
|
/PHP-5.5/ext/standard/tests/math/ |
H A D | fmod_basic.phpt | 35 for ($j = 0; $j < count($values2); $j++) { 36 $res = fmod($values1[$i], $values2[$j]);
|
/PHP-5.5/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 307 const int j = jisx0208_tl_map[c - 0xa0]; in to_cp50220_visitor() local 309 sprintf(buf_cp50220, "%%1b%%24%%42%%%02x%%%02x%%1b%%28%%42", j >> 8, j & 0xff); in to_cp50220_visitor() 311 …const int j = ((((c & 0xff00) - (c >= 0xe000 ? 0xb000: 0x7000)) << 1) | ((c & 0xff) - (c & 0x80 ? … in to_cp50220_visitor() local 313 sprintf(buf_cp50220, "%%1b%%24%%42%%%02x%%%02x%%1b%%28%%42", j >> 8, j & 0xff); in to_cp50220_visitor() 354 …const int j = ((((c & 0xff00) - (c >= 0xe000 ? 0xb000: 0x7000)) << 1) | ((c & 0xff) - (c & 0x80 ? … in to_cp50222_visitor() local 356 sprintf(buf_cp50220, "%%1b%%24%%42%%%02x%%%02x%%1b%%28%%42", j >> 8, j & 0xff); in to_cp50222_visitor()
|
/PHP-5.5/ext/sybase_ct/ |
H A D | php_sybase_ct.c | 270 int i, j; in _free_sybase_result() local 274 for (j=0; j<result->num_fields; j++) { in _free_sybase_result() 1196 int i, j; in php_sybase_fetch_result_row() local 1215 for (j = 0; j < result->num_fields; j++) { in php_sybase_fetch_result_row() 1234 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row() 1245 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row() 1262 ZVAL_STRINGL(&result->data[i][j], result->tmp_buffer[j], result->lengths[j]- 1, 1); in php_sybase_fetch_result_row() 1391 j=0; in php_sybase_fetch_result_set() 1404 j++; in php_sybase_fetch_result_set() 1816 j= 1; in php_sybase_fetch_hash() [all …]
|
/PHP-5.5/ext/pcre/ |
H A D | config0.m4 | 24 for j in $PHP_PCRE_REGEX $PHP_PCRE_REGEX/$PHP_LIBDIR; do 25 test -f $j/libpcre.a || test -f $j/libpcre.$SHLIB_SUFFIX_NAME && PCRE_LIBDIR=$j
|
/PHP-5.5/tests/func/ |
H A D | 003.phpt | 17 function c($i,$j) 19 echo "Counting from $i to $j\n"; 20 for ($k=$i; $k<=$j; $k++) { 90 function andi($i, $j) 92 for ($k=$i ; $k<=$j ; $k++) {
|