Home
last modified time | relevance | path

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

/freebsd-10-stable/usr.bin/dtc/
Dinput_buffer.cc54 input_buffer::skip_spaces() in skip_spaces()
74 input_buffer
75 input_buffer::buffer_from_offset(int offset, int s) in buffer_from_offset()
83 return input_buffer(); in buffer_from_offset()
87 return input_buffer(); in buffer_from_offset()
89 return input_buffer(&buffer[offset], s); in buffer_from_offset()
93 input_buffer::consume(const char *str) in consume()
116 input_buffer::consume_integer(long long &outInt) in consume_integer()
135 input_buffer::consume_hex_byte(uint8_t &outByte) in consume_hex_byte()
146 input_buffer&
[all …]
Dfdt.hh249 void parse_string(input_buffer &input);
253 void parse_cells(input_buffer &input);
257 void parse_bytes(input_buffer &input);
266 void parse_reference(input_buffer &input);
270 void parse_define(input_buffer &input, define_map *defines);
277 property(input_buffer &structs, input_buffer &strings);
281 property(input_buffer &input,
302 static property* parse_dtb(input_buffer &structs,
303 input_buffer &strings);
309 static property* parse(input_buffer &input,
[all …]
Dinput_buffer.hh51 class input_buffer class
75 input_buffer(const char* b, int s, int c) : buffer(b), size(s), in input_buffer() function in dtc::input_buffer
87 virtual ~input_buffer() {}; in ~input_buffer()
91 input_buffer() : buffer(0), size(0), cursor(0) {} in input_buffer() function in dtc::input_buffer
95 input_buffer(const char* b, int s) : buffer(b), size(s), cursor(0){} in input_buffer() function in dtc::input_buffer
106 input_buffer buffer_from_offset(int offset, int s=0);
141 inline input_buffer &operator++() in operator ++()
227 input_buffer &next_token();
243 inline bool input_buffer::consume_binary(uint8_t &out) in consume_binary()
257 struct mmap_input_buffer : public input_buffer
[all …]
Dstring.hh59 static string parse(input_buffer &s);
70 string(input_buffer &s);
76 static string parse_node_name(input_buffer &s);
82 static string parse_property_name(input_buffer &s);
89 static string parse_node_or_property_name(input_buffer &s,
Dfdt.cc217 property::parse_string(input_buffer &input) in parse_string()
239 property::parse_cells(input_buffer &input) in parse_cells()
304 property::parse_bytes(input_buffer &input) in parse_bytes()
331 property::parse_reference(input_buffer &input) in parse_reference()
348 property::property(input_buffer &structs, input_buffer &strings) in property()
360 input_buffer name_buffer = strings.buffer_from_offset(name_offset); in property()
385 void property::parse_define(input_buffer &input, define_map *defines) in parse_define()
406 property::property(input_buffer &input, in property()
455 property::parse_dtb(input_buffer &structs, input_buffer &strings) in parse_dtb()
467 property::parse(input_buffer &input, string key, string label, in parse()
[all …]
Dstring.cc97 string::parse(input_buffer &s) in parse()
105 string::string(input_buffer &s) : start((const char*)s), length(0) in string()
114 string::parse_node_name(input_buffer &s) in parse_node_name()
120 string::parse_property_name(input_buffer &s) in parse_property_name()
125 string::parse_node_or_property_name(input_buffer &s, bool &is_property) in parse_node_or_property_name()
DMakefile4 SRCS= dtc.cc input_buffer.cc string.cc dtb.cc fdt.cc checking.cc
Ddtb.hh310 bool read_dtb(input_buffer &input);
Ddtb.cc259 header::read_dtb(input_buffer &input) in read_dtb()
/freebsd-10-stable/contrib/binutils/gas/
Dapp.c203 static char input_buffer[32 * 1024]; variable
282 assert (saved->saved_input_len <= (int) (sizeof input_buffer)); in app_pop()
283 memcpy (input_buffer, saved->saved_input, saved->saved_input_len); in app_pop()
284 saved_input = input_buffer; in app_pop()
404 fromlen = (*get) (input_buffer, sizeof input_buffer), \ in do_scrub_chars()
405 from = input_buffer, \ in do_scrub_chars()
440 fromlen = (*get) (input_buffer, sizeof input_buffer); in do_scrub_chars()
443 from = input_buffer; in do_scrub_chars()
DChangeLog-98991534 * app.c (input_buffer): New static variable.
1538 arguments. Change GET macro to pass input_buffer to get
/freebsd-10-stable/contrib/ntp/sntp/libevent/include/event2/
Dhttp_struct.h106 struct evbuffer *input_buffer; /* read data */ member
/freebsd-10-stable/contrib/ntp/sntp/libevent/
Devrpc.c292 evbuffer_get_length(req->input_buffer) <= 0) in evrpc_request_cb()
311 rpc_state, req, req->input_buffer); in evrpc_request_cb()
357 rpc_state->request, req->input_buffer) == -1) { in evrpc_request_cb_closure()
881 ctx, req, req->input_buffer); in evrpc_reply_done()
930 res = ctx->reply_unmarshal(ctx->reply, req->input_buffer); in evrpc_reply_done_closure()
Dhttp.c929 evbuffer_remove_buffer(buf, req->input_buffer, (size_t)req->ntoread); in evhttp_handle_chunked_read()
934 evbuffer_drain(req->input_buffer, in evhttp_handle_chunked_read()
935 evbuffer_get_length(req->input_buffer)); in evhttp_handle_chunked_read()
1002 evbuffer_add_buffer(req->input_buffer, buf); in evhttp_read_body()
1013 evbuffer_remove_buffer(buf, req->input_buffer, n); in evhttp_read_body()
1027 if (evbuffer_get_length(req->input_buffer) > 0 && req->chunk_cb != NULL) { in evhttp_read_body()
1031 evbuffer_drain(req->input_buffer, in evhttp_read_body()
1032 evbuffer_get_length(req->input_buffer)); in evhttp_read_body()
3788 if ((req->input_buffer = evbuffer_new()) == NULL) { in evhttp_request_new()
3834 if (req->input_buffer != NULL) in evhttp_request_free()
[all …]
/freebsd-10-stable/contrib/ntp/sntp/libevent/test/
Dregress_rpc.c242 if ((kill_unmarshal(kill_reply, req->input_buffer)) == -1) { in rpc_postrequest_done()
/freebsd-10-stable/contrib/binutils/bfd/
Dieee.c3084 unsigned char input_buffer[IBS]; in relocate_debug() local
3086 input_ptr_start = input_ptr = input_buffer; in relocate_debug()
3087 input_ptr_end = input_buffer + IBS; in relocate_debug()
/freebsd-10-stable/contrib/gcc/
DChangeLog-199914703 (finclude): Call it, if pfile->input_buffer is NULL. Accept
14705 (read_and_prescan): Use pfile->input_buffer and
14707 * cppinit.c (cpp_cleanup): Free pfile->input_buffer and
14709 * cpplib.h (cpp_reader): Add input_buffer, input_speccase, and