Lines Matching refs:j
60 int j = i; in burl_normalize_basic_unreserved_fix() local
67 for (; i < used; ++i, ++j) { in burl_normalize_basic_unreserved_fix()
69 p[j] = s[i]; in burl_normalize_basic_unreserved_fix()
70 if (__builtin_expect( (s[i] == '?'), 0) && -1 == qs) qs = j; in burl_normalize_basic_unreserved_fix()
75 p[j] = x; in burl_normalize_basic_unreserved_fix()
78 p[j] = '%'; in burl_normalize_basic_unreserved_fix()
79 p[++j] = hex_chars_uc[n1]; /*(s[i+1] & 0xdf)*/ in burl_normalize_basic_unreserved_fix()
80 p[++j] = hex_chars_uc[n2]; /*(s[i+2] & 0xdf)*/ in burl_normalize_basic_unreserved_fix()
87 p[j] = '%'; in burl_normalize_basic_unreserved_fix()
88 p[++j] = hex_chars_uc[(s[i] >> 4) & 0xF]; in burl_normalize_basic_unreserved_fix()
89 p[++j] = hex_chars_uc[s[i] & 0xF]; in burl_normalize_basic_unreserved_fix()
93 buffer_copy_string_len(b, (char *)p, (size_t)j); in burl_normalize_basic_unreserved_fix()
132 int j = i; in burl_normalize_basic_required_fix() local
140 for (; i < used; ++i, ++j) { in burl_normalize_basic_required_fix()
142 p[j] = s[i]; in burl_normalize_basic_required_fix()
143 if (__builtin_expect( (s[i] == '?'), 0)) qs = j; in burl_normalize_basic_required_fix()
151 p[j] = x; in burl_normalize_basic_required_fix()
154 p[j] = '%'; in burl_normalize_basic_required_fix()
155 p[++j] = hex_chars_uc[n1]; /*(s[i+1] & 0xdf)*/ in burl_normalize_basic_required_fix()
156 p[++j] = hex_chars_uc[n2]; /*(s[i+2] & 0xdf)*/ in burl_normalize_basic_required_fix()
163 p[j] = '%'; in burl_normalize_basic_required_fix()
164 p[++j] = hex_chars_uc[(s[i] >> 4) & 0xF]; in burl_normalize_basic_required_fix()
165 p[++j] = hex_chars_uc[s[i] & 0xF]; in burl_normalize_basic_required_fix()
169 buffer_copy_string_len(b, (char *)p, (size_t)j); in burl_normalize_basic_required_fix()
226 int j = i; in burl_normalize_qs20_to_plus_fix() local
227 for (; i < used; ++i, ++j) { in burl_normalize_qs20_to_plus_fix()
228 s[j] = s[i]; in burl_normalize_qs20_to_plus_fix()
230 s[j] = '+'; in burl_normalize_qs20_to_plus_fix()
234 buffer_truncate(b, j); in burl_normalize_qs20_to_plus_fix()
256 int j = i; in burl_normalize_2F_to_slash_fix() local
257 for (; i < used; ++i, ++j) { in burl_normalize_2F_to_slash_fix()
258 s[j] = s[i]; in burl_normalize_2F_to_slash_fix()
260 s[j] = '/'; in burl_normalize_2F_to_slash_fix()
266 memmove(s+j, s+qs, (size_t)qslen); in burl_normalize_2F_to_slash_fix()
267 qs = j; in burl_normalize_2F_to_slash_fix()
268 j += qslen; in burl_normalize_2F_to_slash_fix()
270 buffer_truncate(b, j); in burl_normalize_2F_to_slash_fix()
392 int j = 0; in burl_append_encode_nde() local
393 for (unsigned int i = 0; i < len; ++i, ++j) { in burl_append_encode_nde()
397 p[j] = (char)x; in burl_append_encode_nde()
400 p[j] = '%'; in burl_append_encode_nde()
401 p[++j] = str[i+1]; in burl_append_encode_nde()
402 p[++j] = str[i+2]; in burl_append_encode_nde()
407 p[j] = str[i]; in burl_append_encode_nde()
410 p[j] = '%'; in burl_append_encode_nde()
411 p[++j] = hex_chars_uc[(str[i] >> 4) & 0xF]; in burl_append_encode_nde()
412 p[++j] = hex_chars_uc[str[i] & 0xF]; in burl_append_encode_nde()
415 buffer_commit(b, j); in burl_append_encode_nde()
426 int j = 0; in burl_append_encode_psnde() local
427 for (unsigned int i = 0; i < len; ++i, ++j) { in burl_append_encode_psnde()
431 p[j] = (char)x; in burl_append_encode_psnde()
434 p[j] = '%'; in burl_append_encode_psnde()
435 p[++j] = str[i+1]; in burl_append_encode_psnde()
436 p[++j] = str[i+2]; in burl_append_encode_psnde()
441 p[j] = str[i]; in burl_append_encode_psnde()
444 p[j] = '%'; in burl_append_encode_psnde()
445 p[++j] = hex_chars_uc[(str[i] >> 4) & 0xF]; in burl_append_encode_psnde()
446 p[++j] = hex_chars_uc[str[i] & 0xF]; in burl_append_encode_psnde()
449 buffer_commit(b, j); in burl_append_encode_psnde()
459 int j = 0; in burl_append_encode_all() local
460 for (unsigned int i = 0; i < len; ++i, ++j) { in burl_append_encode_all()
462 p[j] = str[i]; in burl_append_encode_all()
465 p[j] = '%'; in burl_append_encode_all()
466 p[++j] = hex_chars_uc[(str[i] >> 4) & 0xF]; in burl_append_encode_all()
467 p[++j] = hex_chars_uc[str[i] & 0xF]; in burl_append_encode_all()
470 buffer_commit(b, j); in burl_append_encode_all()