Lines Matching refs:p
44 char *p; in entry_new() local
51 e->name = p = ((char *)e) + sizeof(*e); in entry_new()
52 memcpy(p, name, namelen); in entry_new()
54 e->value = p += namelen + 1; /* leave a \0 at the end of name */ in entry_new()
55 memcpy(p, value, valuelen); in entry_new()
68 char *p; in entry_append() local
74 e2->name = p = ((char *)e2) + sizeof(*e2); in entry_append()
75 memcpy(p, e->name, e->namelen); in entry_append()
77 e2->value = p += e->namelen + 1; /* leave a \0 at the end of name */ in entry_append()
78 memcpy(p, e->value, e->valuelen); in entry_append()
79 p += e->valuelen; in entry_append()
80 p[0] = ' '; in entry_append()
81 memcpy(p + 1, value, valuelen); in entry_append()
220 const char *p; in Curl_dynhds_h1_add_line() local
250 p = memchr(line, ':', line_len); in Curl_dynhds_h1_add_line()
251 if(!p) in Curl_dynhds_h1_add_line()
254 namelen = p - line; in Curl_dynhds_h1_add_line()
255 p++; /* move past the colon */ in Curl_dynhds_h1_add_line()
256 for(i = namelen + 1; i < line_len; ++i, ++p) { in Curl_dynhds_h1_add_line()
257 if(!ISBLANK(*p)) in Curl_dynhds_h1_add_line()
260 value = p; in Curl_dynhds_h1_add_line()
263 p = memchr(value, '\r', valuelen); in Curl_dynhds_h1_add_line()
264 if(!p) in Curl_dynhds_h1_add_line()
265 p = memchr(value, '\n', valuelen); in Curl_dynhds_h1_add_line()
266 if(p) in Curl_dynhds_h1_add_line()
267 valuelen = (size_t)(p - value); in Curl_dynhds_h1_add_line()