Home
last modified time | relevance | path

Searched refs:raw_buffer (Results 1 – 5 of 5) sorted by relevance

/system/tools/aidl/
Dparser.cpp32 unique_ptr<string> raw_buffer = io_delegate.GetFileContents(filename); in Parse() local
33 if (raw_buffer == nullptr) { in Parse()
40 raw_buffer->append(2u, '\0'); in Parse()
42 std::unique_ptr<Parser> parser(new Parser(filename, *raw_buffer, typenames)); in Parse()
63 Parser::Parser(const std::string& filename, std::string& raw_buffer, in Parser() argument
67 buffer_ = yy_scan_buffer(&raw_buffer[0], raw_buffer.length(), scanner_); in Parser()
Dparser.h96 explicit Parser(const std::string& filename, std::string& raw_buffer,
/system/connectivity/wificond/net/
Dnl80211_attribute.cpp36 const vector<uint8_t>& raw_buffer) { in BaseNL80211Attr() argument
37 size_t size = raw_buffer.size(); in BaseNL80211Attr()
39 memcpy(data_.data() + NLA_HDRLEN, raw_buffer.data(), raw_buffer.size()); in BaseNL80211Attr()
129 const vector<uint8_t>& raw_buffer) : BaseNL80211Attr(id, raw_buffer) { in NL80211Attr() argument
Dnl80211_attribute.h35 BaseNL80211Attr(int id, const std::vector<uint8_t>& raw_buffer);
110 NL80211Attr(int id, const std::vector<uint8_t>& raw_buffer);
119 NL80211Attr(int id, const std::array<uint8_t, N>& raw_buffer) in NL80211Attr() argument
121 id, std::vector<uint8_t>(raw_buffer.begin(), raw_buffer.end())) {} in NL80211Attr()
/system/core/adb/client/
Dcommandline.cpp286 char raw_buffer[BUFSIZ]; in read_and_dump() local
287 char* buffer_ptr = raw_buffer; in read_and_dump()
322 length = adb_read(fd, raw_buffer, sizeof(raw_buffer)); in read_and_dump()
496 char raw_buffer[BUFSIZ]; in stdin_read_thread_loop() local
497 char* buffer_ptr = raw_buffer; in stdin_read_thread_loop()
498 size_t buffer_size = sizeof(raw_buffer); in stdin_read_thread_loop()