Home
last modified time | relevance | path

Searched refs:from_buf (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/util/
H A Du_dynarray.h122 struct util_dynarray *from_buf) in util_dynarray_clone()
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()
121 util_dynarray_clone(struct util_dynarray *buf, void *mem_ctx, struct util_dynarray *from_buf) util_dynarray_clone() argument
/third_party/gn/src/base/containers/
H A Dcircular_deque.h908 static void MoveBuffer(VectorBuffer& from_buf, in MoveBuffer() argument
914 size_t from_capacity = from_buf.capacity(); in MoveBuffer()
919 from_buf.MoveRange(&from_buf[from_begin], &from_buf[from_end], in MoveBuffer()
924 from_buf.MoveRange(&from_buf[from_begin], &from_buf[from_capacity], in MoveBuffer()
928 from_buf.MoveRange(&from_buf[ in MoveBuffer()
[all...]
/third_party/python/Lib/test/
H A Dtest_struct.py431 from_buf = writable_buf.tobytes()[:len(test_string)]
432 self.assertEqual(from_buf, test_string)
436 from_buf = writable_buf.tobytes()[:len(test_string)+10]
437 self.assertEqual(from_buf, test_string[:10] + test_string)
459 from_buf = writable_buf.tobytes()[:len(test_string)]
460 self.assertEqual(from_buf, test_string)
464 from_buf = writable_buf.tobytes()[:len(test_string)+10]
465 self.assertEqual(from_buf, test_string[:10] + test_string)

Completed in 4 milliseconds