Searched refs:from_buf (Results 1 – 3 of 3) sorted by relevance
/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 | 427 from_buf = writable_buf.tobytes()[:len(test_string)] 428 self.assertEqual(from_buf, test_string) 432 from_buf = writable_buf.tobytes()[:len(test_string)+10] 433 self.assertEqual(from_buf, test_string[:10] + test_string) 455 from_buf = writable_buf.tobytes()[:len(test_string)] 456 self.assertEqual(from_buf, test_string) 460 from_buf = writable_buf.tobytes()[:len(test_string)+10] 461 self.assertEqual(from_buf, test_string[:10] + test_string)
|