Searched refs:from_buf (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/util/ |
D | u_dynarray.h | 122 struct util_dynarray *from_buf) in util_dynarray_clone() argument 125 if (util_dynarray_resize_bytes(buf, from_buf->size, 1)) in util_dynarray_clone() 126 memcpy(buf->data, from_buf->data, from_buf->size); in util_dynarray_clone()
|
/external/libchrome/base/containers/ |
D | circular_deque.h | 909 static void MoveBuffer(VectorBuffer& from_buf, in MoveBuffer() argument 915 size_t from_capacity = from_buf.capacity(); in MoveBuffer() 920 from_buf.MoveRange(&from_buf[from_begin], &from_buf[from_end], in MoveBuffer() 925 from_buf.MoveRange(&from_buf[from_begin], &from_buf[from_capacity], in MoveBuffer() 929 from_buf.MoveRange(&from_buf[0], &from_buf[from_end], in MoveBuffer()
|
/external/python/cpython2/Lib/test/ |
D | test_struct.py | 444 from_buf = tobytes(writable_buf)[:len(test_string)] 445 self.assertEqual(from_buf, test_string) 449 from_buf = tobytes(writable_buf)[:len(test_string)+10] 450 self.assertEqual(from_buf, test_string[:10] + test_string) 481 from_buf = writable_buf.tostring()[:len(test_string)] 482 self.assertEqual(from_buf, test_string) 486 from_buf = writable_buf.tostring()[:len(test_string)+10] 487 self.assertEqual(from_buf, test_string[:10] + test_string)
|
/external/python/cpython3/Lib/test/ |
D | test_struct.py | 428 from_buf = writable_buf.tobytes()[:len(test_string)] 429 self.assertEqual(from_buf, test_string) 433 from_buf = writable_buf.tobytes()[:len(test_string)+10] 434 self.assertEqual(from_buf, test_string[:10] + test_string) 456 from_buf = writable_buf.tobytes()[:len(test_string)] 457 self.assertEqual(from_buf, test_string) 461 from_buf = writable_buf.tobytes()[:len(test_string)+10] 462 self.assertEqual(from_buf, test_string[:10] + test_string)
|
/external/rust/crates/gdbstub/src/protocol/ |
D | packet.rs | 118 pub fn from_buf( in from_buf() method
|
/external/rust/crates/smallvec/src/ |
D | lib.rs | 567 pub fn from_buf(buf: A) -> SmallVec<A> { in from_buf() method 1616 SmallVec::from_buf(array) in from()
|
/external/rust/crates/rusqlite/ |
D | Changelog.md | 327 * Remove use of now-deprecated `std::vec::raw::from_buf`.
|
/external/rust/crates/gdbstub/src/gdbstub_impl/ |
D | mod.rs | 234 match Packet::from_buf(target, pkt_buf.as_mut()) { in recv_packet()
|