Home
last modified time | relevance | path

Searched refs:content_length (Results 1 – 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
HDload.c176 svn_filesize_t content_length, in parse_property_block() argument
188 while (content_length != *actual_length) in parse_property_block()
294 svn_filesize_t content_length, in parse_text_block() argument
322 while (content_length) in parse_text_block()
324 if (content_length >= (svn_filesize_t)buflen) in parse_text_block()
327 rlen = (apr_size_t) content_length; in parse_text_block()
331 content_length -= rlen; in parse_text_block()
610 const char *content_length; in svn_repos_parse_dumpstream3() local
697 content_length = svn_hash_gets(headers, in svn_repos_parse_dumpstream3()
702 version == 1 && content_length && ! prop_cl && ! text_cl; in svn_repos_parse_dumpstream3()
[all …]
HDdump.c609 svn_filesize_t content_length = 0; in svn_repos__dump_node_record() local
617 content_length += props_str->len; in svn_repos__dump_node_record()
624 content_length += text_content_length; in svn_repos__dump_node_record()
630 "%" SVN_FILESIZE_T_FMT, content_length); in svn_repos__dump_node_record()
/freebsd-11-stable/contrib/wpa/src/wps/
HDhttpread.c69 int content_length; /* body length, iff got_content_length */ member
168 h->content_length = atol(hbp); in httpread_hdr_option_analyze()
169 if (h->content_length < 0 || h->content_length > h->max_bytes) { in httpread_hdr_option_analyze()
172 h->content_length); in httpread_hdr_option_analyze()
401 h->content_length); in httpread_read_handler()
455 if (h->got_content_length && h->content_length == 0) { in httpread_read_handler()
504 new_alloc_nbytes < (h->content_length + 1)) in httpread_read_handler()
505 new_alloc_nbytes = h->content_length + 1; in httpread_read_handler()
595 h->body_nbytes >= h->content_length) { in httpread_read_handler()
617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
HDGDBRemoteCommunication.cpp441 size_t content_length = in DecompressPacket() local
469 content_length = hash_mark_idx - content_start; in DecompressPacket()
516 unescaped_content.reserve(content_length); in DecompressPacket()
665 size_t content_length = 0; in CheckForPacket() local
682 content_length = total_length = 1; // The command is one byte long... in CheckForPacket()
700 content_length = hash_pos - 1; in CheckForPacket()
706 content_length = std::string::npos; in CheckForPacket()
740 if (content_length == std::string::npos) { in CheckForPacket()
746 assert(content_length <= m_bytes.size()); in CheckForPacket()
748 assert(content_length <= total_length); in CheckForPacket()
[all …]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
HDhttp.c502 size_t content_length) in evhttp_maybe_add_content_length_header() argument
508 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header()
2022 const char *content_length; in evhttp_get_body_length() local
2025 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length()
2028 if (content_length == NULL && connection == NULL) in evhttp_get_body_length()
2030 else if (content_length == NULL && in evhttp_get_body_length()
2037 } else if (content_length == NULL) { in evhttp_get_body_length()
2041 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length()
2042 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length()
2044 __func__, content_length)); in evhttp_get_body_length()
/freebsd-11-stable/contrib/unbound/services/
HDlisten_dnsport.c2694 !h2_stream->content_length && namelen == 14 && in http2_req_header_cb()
2701 h2_stream->content_length = atoi((const char*)value); in http2_req_header_cb()
2702 if(h2_stream->content_length > in http2_req_header_cb()
2730 if(h2_stream->content_length) { in http2_req_data_chunk_recv_cb()
2731 if(h2_stream->content_length < len) in http2_req_data_chunk_recv_cb()
2735 qlen = h2_stream->content_length; in http2_req_data_chunk_recv_cb()
/freebsd-11-stable/contrib/unbound/util/
HDnetevent.h870 size_t content_length; member