Home
last modified time | relevance | path

Searched refs:input_buffer (Results 1 – 16 of 16) sorted by relevance

/freebsd/usr.bin/dtc/
H A Dinput_buffer.hh59 class input_buffer class
84 input_buffer(const char* b, int s, int c) : buffer(b), size(s), in input_buffer() function in dtc::input_buffer
95 static std::unique_ptr<input_buffer> buffer_for_file(const std::string &path,
115 virtual ~input_buffer() {}; in ~input_buffer()
119 input_buffer() : buffer(0), size(0), cursor(0) {} in input_buffer() function in dtc::input_buffer
123 input_buffer(const char* b, int s) : buffer(b), size(s), cursor(0){} in input_buffer() function in dtc::input_buffer
134 input_buffer buffer_from_offset(int offset, int s=0);
162 inline input_buffer &operator++() in operator ++()
263 inline bool input_buffer::consume_binary(uint8_t &out) in consume_binary()
288 std::stack<std::shared_ptr<input_buffer>> input_stack;
[all …]
H A Dinput_buffer.cc65 struct mmap_input_buffer : public dtc::input_buffer
88 struct stream_input_buffer : public dtc::input_buffer
106 : input_buffer(0, 0), fn(filename) in mmap_input_buffer()
131 stream_input_buffer::stream_input_buffer() : input_buffer(0, 0) in stream_input_buffer()
149 input_buffer::skip_to(char c) in skip_to()
227 auto include_buffer = input_buffer::buffer_for_file(include_file, false); in handle_include()
233 include_buffer = input_buffer::buffer_for_file(include_file, false); in handle_include()
269 auto include_buffer = input_buffer::buffer_for_file(include_file, false); in read_binary_file()
275 include_buffer = input_buffer::buffer_for_file(include_file, false); in read_binary_file()
295 input_buffer
[all …]
H A Dfdt.hh316 property(input_buffer &structs, input_buffer &strings);
341 static property_ptr parse_dtb(input_buffer &structs,
342 input_buffer &strings);
521 node(input_buffer &structs, input_buffer &strings);
638 static node_ptr parse_dtb(input_buffer &structs, input_buffer &strings);
828 std::vector<std::unique_ptr<input_buffer>> buffers;
H A Dfdt.cc431 property::property(input_buffer &structs, input_buffer &strings) in property()
443 input_buffer name_buffer = strings.buffer_from_offset(name_offset); in property()
591 property::parse_dtb(input_buffer &structs, input_buffer &strings) in parse_dtb()
778 node::node(input_buffer &structs, input_buffer &strings) : valid(true) in node()
1079 node::parse_dtb(input_buffer &structs, input_buffer &strings) in parse_dtb()
1850 auto in = input_buffer::buffer_for_file(fn); in parse_dtb()
1856 input_buffer &input = *in; in parse_dtb()
1869 input_buffer reservation_map = in parse_dtb()
1886 input_buffer struct_table = in parse_dtb()
1888 input_buffer strings_table = in parse_dtb()
[all …]
H A DMakefile2 SRCS= dtc.cc input_buffer.cc string.cc dtb.cc fdt.cc checking.cc
H A Ddtb.hh318 bool read_dtb(input_buffer &input);
H A Ddtb.cc284 header::read_dtb(input_buffer &input) in read_dtb()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dhttp_struct.h106 struct evbuffer *input_buffer; /* read data */ member
/freebsd/contrib/libevent/include/event2/
H A Dhttp_struct.h106 struct evbuffer *input_buffer; /* read data */ member
/freebsd/contrib/ntp/sntp/libevent/
H A Devrpc.c292 evbuffer_get_length(req->input_buffer) <= 0) in evrpc_request_cb()
311 rpc_state, req, req->input_buffer); in evrpc_request_cb()
358 rpc_state->request, req->input_buffer) == -1) { in evrpc_request_cb_closure()
882 ctx, req, req->input_buffer); in evrpc_reply_done()
930 res = ctx->reply_unmarshal(ctx->reply, req->input_buffer); in evrpc_reply_done_closure()
H A Dhttp.c979 evbuffer_remove_buffer(buf, req->input_buffer, (size_t)req->ntoread); in evhttp_handle_chunked_read()
984 evbuffer_drain(req->input_buffer, in evhttp_handle_chunked_read()
985 evbuffer_get_length(req->input_buffer)); in evhttp_handle_chunked_read()
1080 evbuffer_add_buffer(req->input_buffer, buf); in evhttp_read_body()
1091 evbuffer_remove_buffer(buf, req->input_buffer, n); in evhttp_read_body()
1104 if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { in evhttp_read_body()
1108 evbuffer_drain(req->input_buffer, in evhttp_read_body()
1109 evbuffer_get_length(req->input_buffer)); in evhttp_read_body()
4011 if ((req->input_buffer = evbuffer_new()) == NULL) { in evhttp_request_new()
4057 if (req->input_buffer != NULL) in evhttp_request_free()
[all …]
/freebsd/contrib/libevent/
H A Devrpc.c292 evbuffer_get_length(req->input_buffer) <= 0) in evrpc_request_cb()
311 rpc_state, req, req->input_buffer); in evrpc_request_cb()
358 rpc_state->request, req->input_buffer) == -1) { in evrpc_request_cb_closure()
882 ctx, req, req->input_buffer); in evrpc_reply_done()
930 res = ctx->reply_unmarshal(ctx->reply, req->input_buffer); in evrpc_reply_done_closure()
H A Dhttp.c979 evbuffer_remove_buffer(buf, req->input_buffer, (size_t)req->ntoread); in evhttp_handle_chunked_read()
984 evbuffer_drain(req->input_buffer, in evhttp_handle_chunked_read()
985 evbuffer_get_length(req->input_buffer)); in evhttp_handle_chunked_read()
1080 evbuffer_add_buffer(req->input_buffer, buf); in evhttp_read_body()
1091 evbuffer_remove_buffer(buf, req->input_buffer, n); in evhttp_read_body()
1104 if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { in evhttp_read_body()
1108 evbuffer_drain(req->input_buffer, in evhttp_read_body()
1109 evbuffer_get_length(req->input_buffer)); in evhttp_read_body()
4011 if ((req->input_buffer = evbuffer_new()) == NULL) { in evhttp_request_new()
4057 if (req->input_buffer != NULL) in evhttp_request_free()
[all …]
/freebsd/contrib/tzcode/
H A Dlocaltime.c438 union input_buffer {
456 union input_buffer u;
482 register union input_buffer *up = &lsp->u.u; in tzloadbody()
442 union input_buffer { global() union
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_rpc.c241 if ((kill_unmarshal(kill_reply, req->input_buffer)) == -1) { in rpc_postrequest_done()
/freebsd/contrib/libevent/test/
H A Dregress_rpc.c241 if ((kill_unmarshal(kill_reply, req->input_buffer)) == -1) { in rpc_postrequest_done()