Searched refs:owned_buf (Results 1 – 5 of 5) sorted by relevance
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 45 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/ |
D | proto_trace_tokenizer.h | 41 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()
|
D | proto_trace_reader.cc | 58 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/ |
D | systrace_trace_parser.cc | 67 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/ |
D | named_pipe.rs | 343 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()
|