Lines Matching refs:boundary
230 char *boundary; member
294 static multipart_buffer *multipart_buffer_new(char *boundary, int boundary_len) in multipart_buffer_new() argument
304 spprintf(&self->boundary, 0, "--%s", boundary); in multipart_buffer_new()
306 self->boundary_next_len = (int)spprintf(&self->boundary_next, 0, "\n--%s", boundary); in multipart_buffer_new()
393 static int find_boundary(multipart_buffer *self, char *boundary) in find_boundary() argument
401 if (!strcmp(line, boundary)) { in find_boundary()
419 if (!find_boundary(self, self->boundary)) { in multipart_buffer_headers()
692 char *boundary, *s = NULL, *boundary_end = NULL, *start_arr = NULL, *array_index = NULL; local
728 boundary = strstr(content_type_dup, "boundary");
729 if (!boundary) {
734 boundary = strstr(content_type_lcase, "boundary");
735 if (boundary) {
736 boundary = content_type_dup + (boundary - content_type_lcase);
741 if (!boundary || !(boundary = strchr(boundary, '='))) {
746 boundary++;
747 boundary_len = (int)strlen(boundary);
749 if (boundary[0] == '"') {
750 boundary++;
751 boundary_end = strchr(boundary, '"');
758 boundary_end = strpbrk(boundary, ",;");
762 boundary_len = boundary_end-boundary;
766 if (!(mbuff = multipart_buffer_new(boundary, boundary_len))) {
1322 if (mbuff->boundary) efree(mbuff->boundary);