Searched refs:content_length (Results 1 – 7 of 7) sorted by relevance
| /netbsd/src/external/bsd/wpa/dist/src/wps/ |
| 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()
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | elf32-xtensa.c | 4217 bfd_size_type content_length, in check_branch_target_aligned() argument 4221 bfd_size_type insn_len = insn_decode_len (contents, content_length, offset); in check_branch_target_aligned() 4230 bfd_size_type content_length, in check_loop_aligned() argument 4237 opcode = insn_decode_opcode (contents, content_length, offset, 0); in check_loop_aligned() 4245 loop_len = insn_decode_len (contents, content_length, offset); in check_loop_aligned() 4246 insn_len = insn_decode_len (contents, content_length, offset + loop_len); in check_loop_aligned() 4256 && insn_num_slots (contents, content_length, offset + loop_len) == 1 in check_loop_aligned() 4257 && insn_decode_opcode (contents, content_length, in check_loop_aligned() 4259 && insn_decode_len (contents, content_length, offset + loop_len + 3) == 3 in check_loop_aligned() 4260 && insn_num_slots (contents, content_length, offset + loop_len + 3) == 1 in check_loop_aligned() [all …]
|
| D | ChangeLog-2004 | 893 (r_reloc_init): Add contents and content_length parameters. Set
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | elf32-xtensa.c | 4216 bfd_size_type content_length, in check_branch_target_aligned() argument 4220 bfd_size_type insn_len = insn_decode_len (contents, content_length, offset); in check_branch_target_aligned() 4229 bfd_size_type content_length, in check_loop_aligned() argument 4236 opcode = insn_decode_opcode (contents, content_length, offset, 0); in check_loop_aligned() 4244 loop_len = insn_decode_len (contents, content_length, offset); in check_loop_aligned() 4245 insn_len = insn_decode_len (contents, content_length, offset + loop_len); in check_loop_aligned() 4255 && insn_num_slots (contents, content_length, offset + loop_len) == 1 in check_loop_aligned() 4256 && insn_decode_opcode (contents, content_length, in check_loop_aligned() 4258 && insn_decode_len (contents, content_length, offset + loop_len + 3) == 3 in check_loop_aligned() 4259 && insn_num_slots (contents, content_length, offset + loop_len + 3) == 1 in check_loop_aligned() [all …]
|
| D | ChangeLog-2004 | 893 (r_reloc_init): Add contents and content_length parameters. Set
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | http.c | 517 size_t content_length) in evhttp_maybe_add_content_length_header() argument 523 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header() 2164 const char *content_length; in evhttp_get_body_length() local 2167 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length() 2170 if (content_length == NULL && connection == NULL) in evhttp_get_body_length() 2172 else if (content_length == NULL && in evhttp_get_body_length() 2175 } else if (content_length == NULL) { in evhttp_get_body_length() 2179 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length() 2180 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length() 2182 __func__, content_length)); in evhttp_get_body_length()
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | http.c | 519 size_t content_length) in evhttp_maybe_add_content_length_header() argument 525 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header() 2166 const char *content_length; in evhttp_get_body_length() local 2169 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length() 2172 if (content_length == NULL && connection == NULL) in evhttp_get_body_length() 2174 else if (content_length == NULL && in evhttp_get_body_length() 2177 } else if (content_length == NULL) { in evhttp_get_body_length() 2181 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length() 2182 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length() 2184 __func__, content_length)); in evhttp_get_body_length()
|