Lines Matching refs:boundary
217 char *boundary; member
277 static multipart_buffer *multipart_buffer_new(char *boundary, int boundary_len) in multipart_buffer_new() argument
287 spprintf(&self->boundary, 0, "--%s", boundary); in multipart_buffer_new()
289 self->boundary_next_len = (int)spprintf(&self->boundary_next, 0, "\n--%s", boundary); in multipart_buffer_new()
376 static int find_boundary(multipart_buffer *self, char *boundary) in find_boundary() argument
384 if (!strcmp(line, boundary)) { in find_boundary()
402 if (!find_boundary(self, self->boundary)) { in multipart_buffer_headers()
675 char *boundary, *s = NULL, *boundary_end = NULL, *start_arr = NULL, *array_index = NULL; local
718 boundary = strstr(content_type_dup, "boundary");
719 if (!boundary) {
724 boundary = strstr(content_type_lcase, "boundary");
725 if (boundary) {
726 boundary = content_type_dup + (boundary - content_type_lcase);
731 if (!boundary || !(boundary = strchr(boundary, '='))) {
736 boundary++;
737 boundary_len = (int)strlen(boundary);
739 if (boundary[0] == '"') {
740 boundary++;
741 boundary_end = strchr(boundary, '"');
748 boundary_end = strpbrk(boundary, ",;");
752 boundary_len = boundary_end-boundary;
756 if (!(mbuff = multipart_buffer_new(boundary, boundary_len))) {
1316 if (mbuff->boundary) efree(mbuff->boundary);