Lines Matching refs:i

65 	size_t i, j;  in php_bin2hex()  local
69 for (i = j = 0; i < oldlen; i++) { in php_bin2hex()
70 ZSTR_VAL(result)[j++] = hexconvtab[old[i] >> 4]; in php_bin2hex()
71 ZSTR_VAL(result)[j++] = hexconvtab[old[i] & 15]; in php_bin2hex()
85 size_t i, j; in php_hex2bin() local
87 for (i = j = 0; i < target_length; i++) { in php_hex2bin()
109 ret[i] = d; in php_hex2bin()
111 ret[i] = '\0'; in php_hex2bin()
893 zend_long i, to_return; in php_explode_negative_limit() local
908 for (i = 0; i < to_return; i++) { /* this checks also for to_return > 0 */ in php_explode_negative_limit()
909 ZVAL_STRINGL(&tmp, positions[i], (positions[i+1] - ZSTR_LEN(delim)) - positions[i]); in php_explode_negative_limit()
2818 size_t i; local
2826 for (i = 0; i < len; i++) {
2827 if (str[i] == ch_from) {
2828 str[i] = ch_to;
2836 for (i = 0; i < trlen; i++) {
2837 xlat[(size_t)(unsigned char) str_from[i]] = str_to[i] - str_from[i];
2840 for (i = 0; i < len; i++) {
2841 str[i] += xlat[(size_t)(unsigned char) str[i]];
2853 size_t i; local
2921 for (i = 0; i < trlen; i++) {
2922 xlat[(size_t)(unsigned char) str_from[i]] = str_to[i] - str_from[i];
2925 for (i = 0; i < ZSTR_LEN(str); i++) {
2926 if (xlat[(size_t)(unsigned char) ZSTR_VAL(str)[i]]) {
2928 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), i);
2930 ZSTR_VAL(new_str)[i] = ZSTR_VAL(str)[i] + xlat[(size_t)(unsigned char) ZSTR_VAL(str)[i]];
2931 i++;
2932 } while (i < ZSTR_LEN(str));
2933 ZSTR_VAL(new_str)[i] = 0;
3766 size_t nlen = ZSTR_LEN(str), i; local
3797 i=0;
3798 while (source < end && *source >= '0' && *source <= '7' && i<3) {
3799 numtmp[i++] = *source++;
3801 if (i) {
3802 numtmp[i]='\0';
3804 nlen-=i;
3980 int i, n = zend_ulong_ntz(res); local
3981 for (i = 0; i < n; i++) {
3982 *target++ = source[pos + i];
4009 int i, n = zend_ulong_ntz(res); local
4010 for (i = 0; i < n; i++) {
4011 *target++ = source[pos + i];
4084 for (int i = 0; i < 16; i++) { local
4085 char s = source[i];
4086 if (res.mem[i] == 0)
4215 unsigned int i = 0; local
4216 while (i < 16) {
4217 if (q.mem[i] == 0) {
4218 *out++ = str[i];
4219 i++;
4223 i++; /* skip the slash */
4224 if (i < len) {
4225 char s = str[i];
4230 i++;
4233 str += i;
4234 len -= i;
4282 int i, n = zend_ulong_ntz(res); local
4285 for (i = 0; i < n; i++) {
4607 size_t block_start, block_end, block_type, i; local
4643 for (i = block_start+1; i<= block_end+1; i++) {
4644 *target = str[i-1];
4691 for (i = block_end+1; i >= block_start+1; i--) {
4692 *target = str[i-1];
4740 for (i = begin; i <= end; i++) { /* copy content */
4741 *target = heb_str[i];
4744 for (i = orig_begin; i <= end && _isnewline(heb_str[i]); i++) {
4745 *target = heb_str[i];
4979 for (uint32_t i = 0; i < num_args; i++) { local
4980 if (Z_TYPE(args[i]) == IS_ARRAY) {
4982 ZEND_HASH_FOREACH_VAL(Z_ARRVAL(args[i]), elem) {
4992 zend_string *result = try_setlocale_zval(cat, &args[i]);
5633 size_t len, i; local
5649 for (i = 0; i < len; i++) {
5650 add_index_long(&grouping, i, currlocdata.grouping[i]);
5656 for (i = 0; i < len; i++) {
5657 add_index_long(&mon_grouping, i, currlocdata.mon_grouping[i]);
5759 size_t i, left_pad=0, right_pad=0; local
5809 for (i = 0; i < left_pad; i++)
5810 ZSTR_VAL(result)[ZSTR_LEN(result)++] = pad_str[i % pad_str_len];
5817 for (i = 0; i < right_pad; i++)
5818 ZSTR_VAL(result)[ZSTR_LEN(result)++] = pad_str[i % pad_str_len];