Searched refs:content_length (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/subversion/subversion/libsvn_repos/ |
| H A D | load.c | 176 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() 576 const char *content_length; in svn_repos_parse_dumpstream3() local 663 content_length = svn_hash_gets(headers, in svn_repos_parse_dumpstream3() 750 if (content_length && ! old_v1_with_cl) in svn_repos_parse_dumpstream3() [all …]
|
| H A D | dump.c | 584 svn_filesize_t content_length = 0; in svn_repos__dump_node_record() local 592 content_length += props_str->len; in svn_repos__dump_node_record() 599 content_length += text_content_length; in svn_repos__dump_node_record() 605 "%" SVN_FILESIZE_T_FMT, content_length); in svn_repos__dump_node_record()
|
| /freebsd-12.1/contrib/wpa/src/wps/ |
| H A D | httpread.c | 69 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-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunication.cpp | 450 size_t content_length = in DecompressPacket() local 478 content_length = hash_mark_idx - content_start; in DecompressPacket() 526 unescaped_content.reserve(content_length); in DecompressPacket() 675 size_t content_length = 0; in CheckForPacket() local 692 content_length = total_length = 1; // The command is one byte long... in CheckForPacket() 710 content_length = hash_pos - 1; in CheckForPacket() 716 content_length = std::string::npos; in CheckForPacket() 751 if (content_length == std::string::npos) { in CheckForPacket() 757 assert(content_length <= m_bytes.size()); in CheckForPacket() 759 assert(content_length <= total_length); in CheckForPacket() [all …]
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/ |
| H A D | http.c | 502 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-12.1/contrib/libevent/ |
| H A D | http.c | 503 size_t content_length) in evhttp_maybe_add_content_length_header() argument 509 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header() 2116 const char *content_length; in evhttp_get_body_length() local 2119 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length() 2122 if (content_length == NULL && connection == NULL) in evhttp_get_body_length() 2124 else if (content_length == NULL && in evhttp_get_body_length() 2131 } else if (content_length == NULL) { in evhttp_get_body_length() 2135 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length() 2136 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length() 2138 __func__, content_length)); in evhttp_get_body_length()
|