Home
last modified time | relevance | path

Searched refs:headers_copy (Results 1 – 2 of 2) sorted by relevance

/third_party/libsoup/libsoup/
Dsoup-headers.c40 char *headers_copy, *name, *name_end, *value, *value_end; in soup_headers_parse() local
66 headers_copy = g_malloc (copy_len + 1); in soup_headers_parse()
67 memcpy (headers_copy, headers_start, copy_len); in soup_headers_parse()
68 headers_copy[copy_len] = '\0'; in soup_headers_parse()
69 value_end = headers_copy; in soup_headers_parse()
74 while ((p = memchr (headers_copy, '\0', copy_len))) { in soup_headers_parse()
75 memmove (p, p + 1, copy_len - (p - headers_copy)); in soup_headers_parse()
153 g_free (headers_copy); in soup_headers_parse()
Dsoup-multipart.c288 SoupMessageHeaders *headers_copy; in soup_multipart_append_part() local
313 headers_copy = soup_message_headers_new (SOUP_MESSAGE_HEADERS_MULTIPART); in soup_multipart_append_part()
316 soup_message_headers_append (headers_copy, name, value); in soup_multipart_append_part()
318 g_ptr_array_add (multipart->headers, headers_copy); in soup_multipart_append_part()