Home
last modified time | relevance | path

Searched refs:boundary_len (Results 1 – 9 of 9) sorted by relevance

/third_party/libsoup/libsoup/
Dsoup-multipart.c98 const char *boundary, int boundary_len) in find_boundary() argument
103 b && b + boundary_len + 4 < end; in find_boundary()
107 memcmp (b + 2, boundary, boundary_len) != 0) in find_boundary()
115 if ((b[boundary_len + 2] == '-' && b[boundary_len + 3] == '-') || in find_boundary()
116 (b[boundary_len + 2] == '\r' && b[boundary_len + 3] == '\n')) in find_boundary()
141 int boundary_len; in soup_multipart_new_from_message() local
164 boundary_len = strlen (boundary); in soup_multipart_new_from_message()
168 boundary, boundary_len); in soup_multipart_new_from_message()
175 while (start[2 + boundary_len] != '-') { in soup_multipart_new_from_message()
176 end = find_boundary (start + 2 + boundary_len, body_end, in soup_multipart_new_from_message()
[all …]
Dsoup-filter-input-stream.h48 gsize boundary_len,
Dsoup-socket.h120 gsize boundary_len,
Dsoup-socket.c1924 gconstpointer boundary, gsize boundary_len, in soup_socket_read_until() argument
1935 g_return_val_if_fail (len >= boundary_len, SOUP_SOCKET_ERROR); in soup_socket_read_until()
1948 buffer, len, boundary, boundary_len, in soup_socket_read_until()
/third_party/gstreamer/gstplugins_good/gst/multipart/
Dmultipartdemux.c416 int boundary_len; in multipart_parse_header() local
443 boundary_len = end - pos - 2; in multipart_parse_header()
445 if (boundary_len < 1) { in multipart_parse_header()
452 multipart->boundary = g_strndup (boundary, boundary_len); in multipart_parse_header()
453 multipart->boundary_len = boundary_len; in multipart_parse_header()
454 } else if (G_UNLIKELY (boundary_len != multipart->boundary_len)) { in multipart_parse_header()
457 if (G_UNLIKELY (boundary_len == multipart->boundary_len + 2 && in multipart_parse_header()
458 !strncmp (boundary, multipart->boundary, multipart->boundary_len) && in multipart_parse_header()
459 !strncmp (boundary + multipart->boundary_len, "--", 2))) in multipart_parse_header()
464 boundary_len, multipart->boundary_len); in multipart_parse_header()
[all …]
Dmultipartdemux.h82 guint boundary_len; member
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-h1.c43 if (h->u.http.boundary_seq != h->u.http.boundary_len) { in ss_http_multipart_parser()
77 if (n >= pending_issue + h->u.http.boundary_len + in ss_http_multipart_parser()
82 h->u.http.boundary_len - 1 - in ss_http_multipart_parser()
128 if (n >= pending_issue + h->u.http.boundary_len + in ss_http_multipart_parser()
132 h->u.http.boundary_len - in ss_http_multipart_parser()
164 if ((n >= h->u.http.boundary_len) && in ss_http_multipart_parser()
165 h->u.http.boundary_seq == h->u.http.boundary_len && in ss_http_multipart_parser()
173 (n - pending_issue - h->u.http.boundary_len - in ss_http_multipart_parser()
711 h->u.http.boundary_len = in secstream_h1()
718 h->u.http.boundary, h->u.http.boundary_len); in secstream_h1()
/third_party/libwebsockets/lib/secure-streams/
Dprivate-lib-secure-streams.h113 uint8_t boundary_len; /* length of --boundary */ member
/third_party/libsoup/
DChangeLog.pre-git305 normally needs to be at least @boundary_len+1. Suggested by