Searched refs:owned_buf (Results 1 – 3 of 3) sorted by relevance
/external/flatbuffers/rust/flatbuffers/src/ |
D | builder.rs | 44 owned_buf: Vec<u8>, field 75 owned_buf: vec![0u8; size], in new_with_capacity() 104 let to_clear = self.owned_buf.len() - self.head; in reset() 105 let ptr = (&mut self.owned_buf[self.head..]).as_mut_ptr(); in reset() 109 self.head = self.owned_buf.len(); in reset() 121 (self.owned_buf, self.head) in collapse() 134 let (dst, rest) = (&mut self.owned_buf[self.head..]).split_at_mut(sz); in push() 304 &self.owned_buf[self.head..] in unfinished_data() 311 &self.owned_buf[self.head..] in finished_data() 322 let tab = Table::new(&self.owned_buf[self.head..], idx); in required() [all …]
|
/external/perfetto/src/trace_processor/ |
D | proto_trace_tokenizer.cc | 106 bool ProtoTraceTokenizer::Parse(std::unique_ptr<uint8_t[]> owned_buf, in Parse() argument 108 uint8_t* data = &owned_buf[0]; in Parse() 166 ParseInternal(std::move(owned_buf), data, size); in Parse() 170 void ProtoTraceTokenizer::ParseInternal(std::unique_ptr<uint8_t[]> owned_buf, in ParseInternal() argument 173 PERFETTO_DCHECK(data >= &owned_buf[0]); in ParseInternal() 174 const uint8_t* start = &owned_buf[0]; in ParseInternal() 176 TraceBlobView whole_buf(std::move(owned_buf), data_off, size); in ParseInternal()
|
D | proto_trace_tokenizer.h | 61 void ParseInternal(std::unique_ptr<uint8_t[]> owned_buf,
|