Home
last modified time | relevance | path

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

/NextBSD/usr.bin/dtc/
HDfdt.hh270 void parse_string(input_buffer &input);
274 void parse_cells(input_buffer &input, int cell_size);
278 void parse_bytes(input_buffer &input);
287 void parse_reference(input_buffer &input);
291 void parse_define(input_buffer &input, define_map *defines);
298 property(input_buffer &structs, input_buffer &strings);
302 property(input_buffer &input,
323 static property_ptr parse_dtb(input_buffer &structs,
324 input_buffer &strings);
330 static property_ptr parse(input_buffer &input,
[all …]
HDinput_buffer.hh56 class input_buffer class
91 input_buffer(const char* b, int s, int c) : buffer(b), size(s), in input_buffer() function in dtc::input_buffer
107 virtual ~input_buffer() {}; in ~input_buffer()
111 input_buffer() : buffer(0), size(0), cursor(0) {} in input_buffer() function in dtc::input_buffer
115 input_buffer(const char* b, int s) : buffer(b), size(s), cursor(0){} in input_buffer() function in dtc::input_buffer
126 input_buffer buffer_from_offset(int offset, int s=0);
161 inline input_buffer &operator++() in operator ++()
252 input_buffer &next_token();
270 inline bool input_buffer::consume_binary(uint8_t &out) in consume_binary()
284 struct mmap_input_buffer : public input_buffer
[all …]
HDinput_buffer.cc57 input_buffer::skip_spaces() in skip_spaces()
77 input_buffer
78 input_buffer::buffer_from_offset(int offset, int s) in buffer_from_offset()
86 return input_buffer(); in buffer_from_offset()
90 return input_buffer(); in buffer_from_offset()
92 return input_buffer(&buffer[offset], s); in buffer_from_offset()
96 input_buffer::consume(const char *str) in consume()
119 input_buffer::consume_integer(unsigned long long &outInt) in consume_integer()
436 expression_ptr input_buffer::parse_binary_expression(expression_ptr lhs) in parse_binary_expression()
587 expression_ptr input_buffer::parse_expression(bool stopAtParen) in parse_expression()
[all …]
HDfdt.cc243 property::parse_string(input_buffer &input) in parse_string()
265 property::parse_cells(input_buffer &input, int cell_size) in parse_cells()
346 property::parse_bytes(input_buffer &input) in parse_bytes()
373 property::parse_reference(input_buffer &input) in parse_reference()
390 property::property(input_buffer &structs, input_buffer &strings) in property()
402 input_buffer name_buffer = strings.buffer_from_offset(name_offset); in property()
432 void property::parse_define(input_buffer &input, define_map *defines) in parse_define()
453 property::property(input_buffer &input, in property()
526 property::parse_dtb(input_buffer &structs, input_buffer &strings) in parse_dtb()
537 property::parse(input_buffer &input, string key, string label, in parse()
[all …]
HDstring.hh62 static string parse(input_buffer &s);
73 string(input_buffer &s);
79 static string parse_node_name(input_buffer &s);
85 static string parse_property_name(input_buffer &s);
92 static string parse_node_or_property_name(input_buffer &s,
HDstring.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()
HDMakefile4 SRCS= dtc.cc input_buffer.cc string.cc dtb.cc fdt.cc checking.cc
HDdtb.hh310 bool read_dtb(input_buffer &input);
HDdtb.cc259 header::read_dtb(input_buffer &input) in read_dtb()
/NextBSD/crypto/openssh/
HDcompress.c90 buffer_compress(Buffer * input_buffer, Buffer * output_buffer) in buffer_compress() argument
96 if (buffer_len(input_buffer) == 0) in buffer_compress()
100 outgoing_stream.next_in = buffer_ptr(input_buffer); in buffer_compress()
101 outgoing_stream.avail_in = buffer_len(input_buffer); in buffer_compress()
135 buffer_uncompress(Buffer * input_buffer, Buffer * output_buffer) in buffer_uncompress() argument
140 incoming_stream.next_in = buffer_ptr(input_buffer); in buffer_uncompress()
141 incoming_stream.avail_in = buffer_len(input_buffer); in buffer_uncompress()
/NextBSD/contrib/binutils/gas/
HDapp.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()
HDChangeLog-98991534 * app.c (input_buffer): New static variable.
1538 arguments. Change GET macro to pass input_buffer to get
/NextBSD/contrib/ntp/sntp/libevent/include/event2/
HDhttp_struct.h106 struct evbuffer *input_buffer; /* read data */ member
/NextBSD/contrib/ntp/sntp/libevent/
HDevrpc.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()
HDhttp.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 …]
/NextBSD/contrib/ntp/sntp/libevent/test/
HDregress_rpc.c242 if ((kill_unmarshal(kill_reply, req->input_buffer)) == -1) { in rpc_postrequest_done()
/NextBSD/contrib/binutils/bfd/
HDieee.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()
/NextBSD/contrib/gcc/
HDChangeLog-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