Lines Matching refs:boundary
223 char *boundary; member
287 static multipart_buffer *multipart_buffer_new(char *boundary, int boundary_len TSRMLS_DC) in multipart_buffer_new() argument
297 spprintf(&self->boundary, 0, "--%s", boundary); in multipart_buffer_new()
299 self->boundary_next_len = spprintf(&self->boundary_next, 0, "\n--%s", boundary); in multipart_buffer_new()
386 static int find_boundary(multipart_buffer *self, char *boundary TSRMLS_DC) in find_boundary()
394 if (!strcmp(line, boundary)) { in find_boundary()
412 if (!find_boundary(self, self->boundary TSRMLS_CC)) { in multipart_buffer_headers()
685 char *boundary, *s = NULL, *boundary_end = NULL, *start_arr = NULL, *array_index = NULL; local
721 boundary = strstr(content_type_dup, "boundary");
722 if (!boundary) {
727 boundary = strstr(content_type_lcase, "boundary");
728 if (boundary) {
729 boundary = content_type_dup + (boundary - content_type_lcase);
734 if (!boundary || !(boundary = strchr(boundary, '='))) {
739 boundary++;
740 boundary_len = strlen(boundary);
742 if (boundary[0] == '"') {
743 boundary++;
744 boundary_end = strchr(boundary, '"');
751 boundary_end = strpbrk(boundary, ",;");
755 boundary_len = boundary_end-boundary;
759 if (!(mbuff = multipart_buffer_new(boundary, boundary_len TSRMLS_CC))) {
1303 if (mbuff->boundary) efree(mbuff->boundary);