/PHP-5.5/ext/gd/tests/ |
H A D | bug51263.phpt | 20 for ($j=0; $j<30; $j++) { 22 $c = imagecolorat($img, $i, $j); 24 echo "KO: ($i, $j)\n";
|
/PHP-5.5/ext/hash/ |
H A D | bench.php | 78 for ($j = 0; $j < 10; $j++) { variable
|
H A D | hash.c | 619 long loops, i, j, iterations, length = 0, digest_length; in PHP_FUNCTION() local 702 for (j = 1; j < iterations; j++) { in PHP_FUNCTION() 927 int i = 0, j = 0; in PHP_FUNCTION() local 941 for (j=0;j<i;j++) { in PHP_FUNCTION()
|
H A D | hash_gost.c | 229 int i, j; in GostTransform() local 232 for (i = 0, j = 0; i < 8; ++i, j += 4) { in GostTransform() 233 data[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[j + 1]) << 8) | in GostTransform() 234 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); in GostTransform() 284 php_hash_uint32 i, j, l[8] = {0}; in PHP_GOSTFinal() local 295 for (i = 0, j = 0; j < 32; i++, j += 4) { in PHP_GOSTFinal() 296 digest[j] = (unsigned char) (context->state[i] & 0xff); in PHP_GOSTFinal() 297 digest[j + 1] = (unsigned char) ((context->state[i] >> 8) & 0xff); in PHP_GOSTFinal() 298 digest[j + 2] = (unsigned char) ((context->state[i] >> 16) & 0xff); in PHP_GOSTFinal() 299 digest[j + 3] = (unsigned char) ((context->state[i] >> 24) & 0xff); in PHP_GOSTFinal()
|
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()
|
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_ripemd.c | 212 for(j = 0; j < 16; j++) { in RIPEMD128Transform() 219 for(j = 16; j < 32; j++) { in RIPEMD128Transform() 226 for(j = 32; j < 48; j++) { in RIPEMD128Transform() 233 for(j = 48; j < 64; j++) { in RIPEMD128Transform() 303 for(j = 0; j < 16; j++) { in RIPEMD256Transform() 311 for(j = 16; j < 32; j++) { in RIPEMD256Transform() 319 for(j = 32; j < 48; j++) { in RIPEMD256Transform() 327 for(j = 48; j < 64; j++) { in RIPEMD256Transform() 401 for(j = 0; j < 16; j++) { in RIPEMD160Transform() 408 for(j = 16; j < 32; j++) { in RIPEMD160Transform() [all …]
|
H A D | hash_sha.c | 43 unsigned int i, j; in SHAEncode32() local 45 for (i = 0, j = 0; j < len; i++, j += 4) { in SHAEncode32() 61 unsigned int i, j; in SHADecode32() local 63 for (i = 0, j = 0; j < len; i++, j += 4) in SHADecode32() 64 output[i] = ((php_hash_uint32) input[j + 3]) | (((php_hash_uint32) input[j + 2]) << 8) | in SHADecode32() 65 (((php_hash_uint32) input[j + 1]) << 16) | (((php_hash_uint32) input[j]) << 24); in SHADecode32() 734 unsigned int i, j; in SHAEncode64() local 736 for (i = 0, j = 0; j < len; i++, j += 8) { in SHAEncode64() 756 unsigned int i, j; in SHADecode64() local 758 for (i = 0, j = 0; j < len; i++, j += 8) in SHADecode64() [all …]
|
H A D | hash_snefru.c | 125 int i, j; in SnefruTransform() local 127 for (i = 0, j = 0; i < 32; i += 4, ++j) { in SnefruTransform() 128 context->state[8+j] = ((input[i] & 0xff) << 24) | ((input[i+1] & 0xff) << 16) | in SnefruTransform() 176 php_hash_uint32 i, j; in PHP_SNEFRUFinal() local 186 for (i = 0, j = 0; j < 32; i++, j += 4) { in PHP_SNEFRUFinal() 187 digest[j] = (unsigned char) ((context->state[i] >> 24) & 0xff); in PHP_SNEFRUFinal() 188 digest[j + 1] = (unsigned char) ((context->state[i] >> 16) & 0xff); in PHP_SNEFRUFinal() 189 digest[j + 2] = (unsigned char) ((context->state[i] >> 8) & 0xff); in PHP_SNEFRUFinal() 190 digest[j + 3] = (unsigned char) (context->state[i] & 0xff); in PHP_SNEFRUFinal()
|
/PHP-5.5/ext/iconv/ |
H A D | iconv.c | 1002 unsigned int i, j, lim; in _php_iconv_strpos() local 1005 j = GENERIC_SUPERSET_NBYTES; in _php_iconv_strpos() 1008 while (j < lim) { in _php_iconv_strpos() 1013 j -= i; in _php_iconv_strpos() 1016 j += GENERIC_SUPERSET_NBYTES; in _php_iconv_strpos() 1045 unsigned int i, j, lim; in _php_iconv_strpos() local 1048 j = GENERIC_SUPERSET_NBYTES; in _php_iconv_strpos() 1051 while (j < lim) { in _php_iconv_strpos() 1052 if (_php_iconv_memequal(&ndl_buf[j], &ndl_buf[i], in _php_iconv_strpos() 1056 j -= i; in _php_iconv_strpos() [all …]
|
/PHP-5.5/ext/interbase/ |
H A D | interbase.c | 584 unsigned short i = 0, j; in _php_ibase_commit_link() local 609 for (j = 0; j < p->trans->link_cnt; ++j) { in _php_ibase_commit_link() 610 if (p->trans->db_link[j] == link) { in _php_ibase_commit_link() 611 p->trans->db_link[j] = NULL; in _php_ibase_commit_link()
|
/PHP-5.5/ext/interbase/tests/ |
H A D | 007.phpt | 34 for ($j = 1; $j <= 10; ++$j) { 36 $v_multi[$i][$j][$k] = $i * $j * $k;
|
/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/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 637 #define cleanup_zvals() for(int j=i;j>=0;j--) { zval_ptr_dtor((*args)+i); }
|
/PHP-5.5/ext/intl/tests/ |
H A D | bug58756_MessageFormatter.phpt | 21 echo "date: " . date('l, F j, Y g:i:s A T', $time) . "\n";
|
H A D | bug58756_MessageFormatter_variant2.phpt | 21 echo "date: " . date('l, F j, Y g:i:s A T', $time) . "\n";
|
H A D | bug62759.phpt | 12 var_dump(grapheme_substr('déjà', 1, -4)); 14 var_dump(grapheme_substr('déjà', -1, 0));
|
H A D | msgfmt_format_simple_types_numeric_strings.phpt | 26 duration {j,duration} 40 'j' => $ex,
|
/PHP-5.5/ext/json/ |
H A D | json.c | 366 int j, status; in json_utf8_to_utf16() local 370 for (j=0 ; pos < len ; j++) { in json_utf8_to_utf16() 378 utf16[j++] = (unsigned short)((us >> 10) | 0xd800); in json_utf8_to_utf16() 379 utf16[j] = (unsigned short)((us & 0x3ff) | 0xdc00); in json_utf8_to_utf16() 381 utf16[j] = (unsigned short)us; in json_utf8_to_utf16() 386 for (j=0 ; pos < len ; j++) { in json_utf8_to_utf16() 392 j++; in json_utf8_to_utf16() 396 return j; in json_utf8_to_utf16()
|
/PHP-5.5/ext/ldap/ |
H A D | ldap.c | 1302 int i, j, num_attribs, num_values, dn_len; in php_ldap_do_modify() local 1366 for (j = 0; j < num_values; j++) { in php_ldap_do_modify() 1369 num_berval[i] = j; in php_ldap_do_modify() 1401 for (j = 0; j < num_berval[i]; j++) { in php_ldap_do_modify() 1402 efree(ldap_mods[i]->mod_bvalues[j]); in php_ldap_do_modify() 1532 int i, j, k; in PHP_FUNCTION() local 1609 for (j = 0; j < num_modprops; j++) { in PHP_FUNCTION() 1765 for (j = 0; j < num_modvals; j++) { in PHP_FUNCTION() 1800 for (j = 0; ldap_mods[i]->mod_bvalues[j] != NULL; j++) { in PHP_FUNCTION() 1802 efree(ldap_mods[i]->mod_bvalues[j]->bv_val); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_sjis_mac.c | 134 int i, j, n; in mbfl_filt_conv_sjis_mac_wchar() local 214 for (j=1; j<n-1; j++) { in mbfl_filt_conv_sjis_mac_wchar() 215 CK((*filter->output_function)(code_tbl_m[i][j], filter->data)); in mbfl_filt_conv_sjis_mac_wchar()
|
/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()
|
H A D | mbfl_language.c | 93 int i, j; in mbfl_name2language() local 117 j = 0; in mbfl_name2language() 118 while ((*language->aliases)[j] != NULL) { in mbfl_name2language() 119 if (strcasecmp((*language->aliases)[j], name) == 0) { in mbfl_name2language() 122 j++; in mbfl_name2language()
|
/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/mbstring/ |
H A D | mbstring.c | 811 size_t j; in php_mb_parse_encoding_array() local 814 for (j = 0; j < identify_list_size; j++) { in php_mb_parse_encoding_array() 1076 size_t j = php_mb_mbchar_bytes_ex(start+i, (const mbfl_encoding *)encoding); in php_mb_rfc1867_substring_conf() local 1078 while (j-- > 0 && i < len) { in php_mb_rfc1867_substring_conf()
|