Lines Matching refs:boundary
195 char *boundary; member
255 static multipart_buffer *multipart_buffer_new(char *boundary, int boundary_len) in multipart_buffer_new() argument
265 spprintf(&self->boundary, 0, "--%s", boundary); in multipart_buffer_new()
267 self->boundary_next_len = (int)spprintf(&self->boundary_next, 0, "\n--%s", boundary); in multipart_buffer_new()
354 static int find_boundary(multipart_buffer *self, char *boundary) in find_boundary() argument
362 if (!strcmp(line, boundary)) { in find_boundary()
380 if (!find_boundary(self, self->boundary)) { in multipart_buffer_headers()
653 char *boundary, *s = NULL, *boundary_end = NULL, *start_arr = NULL, *array_index = NULL; local
708 boundary = strstr(content_type_dup, "boundary");
709 if (!boundary) {
714 boundary = strstr(content_type_lcase, "boundary");
715 if (boundary) {
716 boundary = content_type_dup + (boundary - content_type_lcase);
721 if (!boundary || !(boundary = strchr(boundary, '='))) {
726 boundary++;
727 boundary_len = (int)strlen(boundary);
729 if (boundary[0] == '"') {
730 boundary++;
731 boundary_end = strchr(boundary, '"');
738 boundary_end = strpbrk(boundary, ",;");
742 boundary_len = boundary_end-boundary;
753 mbuff = multipart_buffer_new(boundary, boundary_len);
1281 if (mbuff->boundary) efree(mbuff->boundary);