Searched refs:buf_2 (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/ppapi/tests/ |
D | test_file_io.cc | 798 char* buf_2 = &extended_buf_2[border_size]; in TestParallelReads() local 800 memcpy(buf_2 + size_2, border, border_size); in TestParallelReads() 810 rv_2 = file_io.Read(read_offset_2, buf_2, size_2, in TestParallelReads() 827 buf_2 += callback_2.result(); in TestParallelReads() 872 const char* buf_2 = "defghijkl"; in TestParallelWrites() local 873 int32_t size_2 = strlen(buf_2); in TestParallelWrites() 888 std::string str_2(buf_2); in TestParallelWrites() 909 buf_2 += callback_2.result(); in TestParallelWrites() 960 char buf_2[3]; in TestNotAllowMixedReadWrite() local 961 callback_2.WaitForResult(file_io.Read(read_offset_2, buf_2, sizeof(buf_2), in TestNotAllowMixedReadWrite()
|
/external/chromium_org/net/disk_cache/ |
D | entry_unittest.cc | 1636 net::IOBuffer* buf_1, int size, net::IOBuffer* buf_2) { in VerifySparseIO() argument 1639 memset(buf_2->data(), 0, size); in VerifySparseIO() 1640 int ret = entry->ReadSparseData(offset, buf_2, size, cb.callback()); in VerifySparseIO() 1646 ret = entry->ReadSparseData(offset, buf_2, size, cb.callback()); in VerifySparseIO() 1649 EXPECT_EQ(0, memcmp(buf_1->data(), buf_2->data(), size)); in VerifySparseIO() 1672 scoped_refptr<net::IOBuffer> buf_2(new net::IOBuffer(kSize)); in BasicSparseIO() local 1676 VerifySparseIO(entry, 0, buf_1.get(), kSize, buf_2.get()); in BasicSparseIO() 1679 VerifySparseIO(entry, 0x400000, buf_1.get(), kSize, buf_2.get()); in BasicSparseIO() 1682 VerifySparseIO(entry, 0x800000000LL, buf_1.get(), kSize, buf_2.get()); in BasicSparseIO() 1713 scoped_refptr<net::IOBuffer> buf_2(new net::IOBuffer(kSize)); in HugeSparseIO() local [all …]
|