Home
last modified time | relevance | path

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

/external/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs45 owned_buf: Vec<u8>, field
78 owned_buf: vec![0u8; size], in new_with_capacity()
107 let to_clear = self.owned_buf.len() - self.head; in reset()
108 let ptr = (&mut self.owned_buf[self.head..]).as_mut_ptr(); in reset()
114 self.head = self.owned_buf.len(); in reset()
126 (self.owned_buf, self.head) in collapse()
139 let (dst, rest) = (&mut self.owned_buf[self.head..]).split_at_mut(sz); in push()
334 &self.owned_buf[self.head..] in unfinished_data()
341 &self.owned_buf[self.head..] in finished_data()
354 let tab = Table::new(&self.owned_buf[self.head..], idx); in required()
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_tokenizer.h41 util::Status Tokenize(std::unique_ptr<uint8_t[]> owned_buf, in Tokenize() argument
44 uint8_t* data = &owned_buf[0]; in Tokenize()
106 return ParseInternal(std::move(owned_buf), data, size, callback); in Tokenize()
115 util::Status ParseInternal(std::unique_ptr<uint8_t[]> owned_buf, in ParseInternal() argument
119 PERFETTO_DCHECK(data >= &owned_buf[0]); in ParseInternal()
120 const uint8_t* start = &owned_buf[0]; in ParseInternal()
122 TraceBlobView whole_buf(std::move(owned_buf), data_off, size); in ParseInternal()
Dproto_trace_reader.cc58 util::Status ProtoTraceReader::Parse(std::unique_ptr<uint8_t[]> owned_buf, in Parse() argument
61 std::move(owned_buf), size, in Parse()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_trace_parser.cc67 util::Status SystraceTraceParser::Parse(std::unique_ptr<uint8_t[]> owned_buf, in Parse() argument
71 partial_buf_.insert(partial_buf_.end(), &owned_buf[0], &owned_buf[size]); in Parse()
/external/rust/crates/mio/src/sys/windows/
Dnamed_pipe.rs343 let mut owned_buf = self.inner.get_buffer(); in write() localVariable
344 owned_buf.extend(buf); in write()
345 match Inner::maybe_schedule_write(&self.inner, owned_buf, 0, &mut io)? { in write()