Lines Matching refs:p

63     unsigned char * const p =  in burl_normalize_basic_unreserved_fix()  local
66 memcpy(p, s, (size_t)i); in burl_normalize_basic_unreserved_fix()
69 p[j] = s[i]; 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()
135 unsigned char * const p = in burl_normalize_basic_required_fix() local
139 memcpy(p, s, (size_t)i); in burl_normalize_basic_required_fix()
142 p[j] = s[i]; 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()
347 for (char *p = b->ptr; *p != '?' && *p != '\0'; ++p) { in burl_normalize() local
348 if (*p == '\\') *p = '/'; in burl_normalize()
390 char * const p = buffer_string_prepare_append(b, len*3); in burl_append_encode_nde() local
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()
424 char * const p = buffer_string_prepare_append(b, len*3); in burl_append_encode_psnde() local
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()
458 char * const p = buffer_string_prepare_append(b, len*3); in burl_append_encode_all() local
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()
477 for (char *p = b->ptr+off; p[0]; ++p) { in burl_offset_tolower() local
478 if (light_isupper(p[0])) p[0] |= 0x20; in burl_offset_tolower()
479 else if (p[0]=='%' && light_isxdigit(p[1]) && light_isxdigit(p[2])) in burl_offset_tolower()
480 p+=2; in burl_offset_tolower()
488 for (char *p = b->ptr+off; p[0]; ++p) { in burl_offset_toupper() local
489 if (light_islower(p[0])) p[0] &= 0xdf; in burl_offset_toupper()
490 else if (p[0]=='%' && light_isxdigit(p[1]) && light_isxdigit(p[2])) in burl_offset_toupper()
491 p+=2; in burl_offset_toupper()