Searched refs:buf_1 (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/ppapi/tests/ |
D | test_file_io.cc | 790 char* buf_1 = &extended_buf_1[border_size]; in TestParallelReads() local 792 memcpy(buf_1 + size_1, border, border_size); in TestParallelReads() 806 rv_1 = file_io.Read(read_offset_1, buf_1, size_1, in TestParallelReads() 818 buf_1 += callback_1.result(); in TestParallelReads() 867 const char* buf_1 = "abc"; in TestParallelWrites() local 868 int32_t size_1 = strlen(buf_1); in TestParallelWrites() 880 std::string str_1(buf_1); in TestParallelWrites() 900 buf_1 += callback_1.result(); in TestParallelWrites() 953 const char* buf_1 = "mnopqrstuvw"; in TestNotAllowMixedReadWrite() local 954 int32_t rv_1 = file_io.Write(write_offset_1, buf_1, strlen(buf_1), in TestNotAllowMixedReadWrite() [all …]
|
/external/chromium_org/net/disk_cache/ |
D | entry_unittest.cc | 1636 net::IOBuffer* buf_1, int size, net::IOBuffer* buf_2) { in VerifySparseIO() argument 1643 ret = entry->WriteSparseData(offset, buf_1, size, cb.callback()); in VerifySparseIO() 1649 EXPECT_EQ(0, memcmp(buf_1->data(), buf_2->data(), size)); in VerifySparseIO() 1658 scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(size)); in VerifyContentSparseIO() local 1659 memset(buf_1->data(), 0, size); in VerifyContentSparseIO() 1660 int ret = entry->ReadSparseData(offset, buf_1.get(), size, cb.callback()); in VerifyContentSparseIO() 1662 EXPECT_EQ(0, memcmp(buf_1->data(), buffer, size)); in VerifyContentSparseIO() 1671 scoped_refptr<net::IOBuffer> buf_1(new net::IOBuffer(kSize)); in BasicSparseIO() local 1673 CacheTestFillBuffer(buf_1->data(), kSize, false); in BasicSparseIO() 1676 VerifySparseIO(entry, 0, buf_1.get(), kSize, buf_2.get()); in BasicSparseIO() [all …]
|