Searched refs:kBufSize (Results 1 - 3 of 3) sorted by relevance
/fuchsia/zircon/system/utest/fs/ |
H A D | test-resize.cpp | 72 constexpr size_t kBufSize = (1 << 20); local 77 size_t file_count = disk_size / kBufSize / kFileBufCount * 9 / 10; 80 fbl::unique_ptr<uint8_t[]> buf(new (&ac) uint8_t[kBufSize]); 82 memset(buf.get(), 0, kBufSize); 91 ASSERT_EQ(write(fd, buf.get(), kBufSize), kBufSize); local
|
/fuchsia/zircon/system/utest/runtests-utils/ |
H A D | runtests-utils-test-utils.cpp | 63 constexpr size_t kBufSize = 1024; local 65 char buf[kBufSize]; 67 while ((n = read(input_fd.get(), buf, kBufSize)) > 0) {
|
/fuchsia/zircon/system/dev/ethernet/dwmac/ |
H A D | dwmac.cpp | 300 constexpr size_t kBufSize = 2 * kNumDesc * kTxnBufSize; local 302 txn_buffer_ = PinnedBuffer::Create(kBufSize, bti_, ZX_CACHE_POLICY_CACHED); 306 zx_cache_flush(tx_buffer_, kBufSize, ZX_CACHE_FLUSH_DATA | ZX_CACHE_FLUSH_INVALIDATE); 308 rx_buffer_ = &tx_buffer_[kBufSize / 2];
|
Completed in 35 milliseconds