Home | History | Annotate | Download | only in microhttpd

Lines Matching full:boundary

143    * Primary boundary (points into encoding string)
145 const char *boundary;
148 * Nested boundary (if we have multipart/mixed encoding).
199 * strlen(boundary) -- if boundary != NULL.
278 const char *boundary;
288 boundary = NULL;
295 boundary =
298 boundary = strstr (boundary, "boundary=");
299 if (NULL == boundary)
300 return NULL; /* failed to determine boundary */
301 boundary += strlen ("boundary=");
302 blen = strlen (boundary);
304 return NULL; /* (will be) out of memory or invalid boundary */
305 if ( (boundary[0] == '"') && (boundary[blen - 1] == '"') )
308 ++boundary;
314 buffer_size += 4; /* round up to get nice block sizes despite boundary search */
327 ret->boundary = boundary;
519 * @param boundary boundary to look for
520 * @param blen number of bytes in boundary
521 * @param ioffptr set to the end of the boundary if found,
524 * if the boundary is found
526 * post processor if the boundary is found
527 * @return #MHD_NO if the boundary is not found, #MHD_YES if we did find it
531 const char *boundary,
546 if ((0 != memcmp ("--", buf, 2)) || (0 != memcmp (&buf[2], boundary, blen)))
563 (*ioffptr) += dash - buf; /* skip to first possible boundary */
565 return MHD_NO; /* expected boundary */
567 /* remove boundary from buffer */
685 * We have the value until we hit the given boundary;
690 * @param boundary the boundary to look for
691 * @param blen strlen(boundary)
693 * boundary was found
695 * boundary ends with "--"
703 const char *boundary,
712 /* all data in buf until the boundary
713 (\r\n--+boundary) is part of the value */
732 /* can check boundary */
733 if (0 != memcmp (&buf[newline + 4], boundary, pp->blen))
735 /* no boundary, "\r\n--" is part of content, skip */
741 /* boundary found, process until newline then
742 skip boundary and go back to init */
746 (*ioffptr) += pp->blen + 4; /* skip boundary as well */
753 /* cannot check for boundary, process content that
764 /* newline is either at beginning of boundary or
766 is not part of the boundary */
930 * prior to the first multipart boundary:
933 * > to the first boundary delimiter line and following the
934 * > final boundary delimiter line. These areas should
936 * > anything that appears before the first boundary delimiter
940 pp->boundary,
947 pp->boundary,
975 pp->nested_boundary = strstr (pp->content_type, "boundary=");
982 strdup (&pp->nested_boundary[strlen ("boundary=")]);
1005 pp->boundary,