Home
last modified time | relevance | path

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

/external/libchrome/base/containers/
Dcircular_deque.h909 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/
Dtest_struct.py444 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/
Dtest_struct.py427 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)