Searched refs:kBytesToRead (Results 1 - 2 of 2) sorted by relevance
/fuchsia/zircon/system/utest/fs/ |
H A D | test-sparse.cpp | 46 constexpr size_t kBytesToRead = (kFileSize - ReadOffset) > WriteSize ? local 48 static_assert(kBytesToRead > 0, "We want to test writing AND reading"); 49 fbl::unique_ptr<uint8_t[]> rbuf(new (&ac) uint8_t[kBytesToRead]); 51 ASSERT_EQ(pread(fd, &rbuf[0], kBytesToRead, ReadOffset), kBytesToRead); local 64 constexpr size_t kValidLength = kBytesToRead - kSparseLength;
|
/fuchsia/zircon/system/utest/fs-host/ |
H A D | test-sparse.cpp | 42 constexpr size_t kBytesToRead = (kFileSize - ReadOffset) > WriteSize ? local 44 static_assert(kBytesToRead > 0, "We want to test writing AND reading"); 45 fbl::unique_ptr<uint8_t[]> rbuf(new (&ac) uint8_t[kBytesToRead]); 47 ASSERT_EQ(emu_pread(fd, &rbuf[0], kBytesToRead, ReadOffset), kBytesToRead); local 60 constexpr size_t kValidLength = kBytesToRead - kSparseLength;
|
Completed in 28 milliseconds