Searched refs:slice (Results 1 – 12 of 12) sorted by relevance
/system/netd/libnetdutils/ |
D | MemBlockTest.cpp | 37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) { in makeArbitraryMemBlock() local 38 slice.base()[0] = ARBITRARY_VALUE; in makeArbitraryMemBlock() 43 void checkAllZeros(Slice slice) { in checkAllZeros() argument 44 for (; !slice.empty(); slice = drop(slice, 1)) { in checkAllZeros() 45 EXPECT_EQ(0U, slice.base()[0]); in checkAllZeros() 50 Slice slice = block.get(); in checkArbitraryMemBlock() local 51 EXPECT_EQ(expectedSize, slice.size()); in checkArbitraryMemBlock() 52 EXPECT_NE(nullptr, slice.base()); in checkArbitraryMemBlock() 53 for (; !slice.empty(); slice = drop(slice, 1)) { in checkArbitraryMemBlock() 54 EXPECT_EQ(ARBITRARY_VALUE, slice.base()[0]); in checkArbitraryMemBlock() [all …]
|
D | Slice.cpp | 54 std::ostream& operator<<(std::ostream& os, const Slice& slice) { in operator <<() argument 55 return os << std::hex << "Slice[base: " << reinterpret_cast<void*>(slice.base()) in operator <<() 56 << ", limit: " << reinterpret_cast<void*>(slice.limit()) << ", size: 0x" in operator <<() 57 << slice.size() << "]" << std::dec; in operator <<()
|
D | SyscallsTest.cpp | 168 const auto slice = makeSlice(payload); in TEST_F() local 173 EXPECT_CALL(mSyscalls, sendto(kFd, slice, kFlags, asSockaddrPtr(&expected), sizeof(expected))) in TEST_F() 174 .WillOnce(Return(slice.size())); in TEST_F() 175 EXPECT_EQ(status::ok, sys.sendto(kFd, slice, kFlags, expected)); in TEST_F()
|
/system/bt/osi/test/fuzzers/buffer/ |
D | fuzz_buffer.cc | 61 for (const auto& slice : slices) { in LLVMFuzzerTestOneInput() local 62 buffer_free(slice); in LLVMFuzzerTestOneInput()
|
/system/extras/ioshark/ |
D | ioshark_bench_mmap.c | 61 int slice; in setup_mmap_io_state() local 65 slice = MAX(IOSHARK_MAX_MMAP_IOLEN, in setup_mmap_io_state() 71 MIN((u_int64_t)total_len, (u_int64_t)slice); in setup_mmap_io_state()
|
/system/vold/ |
D | Checkpoint.cpp | 496 Relocations slice; in relocate() local 497 slice[dest] = source - s->first + s->second; in relocate() 502 slice[dest - source + s->first] = s->second; in relocate() 512 relocations.insert(slice.begin(), slice.end()); in relocate()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Slice.h | 148 std::ostream& operator<<(std::ostream& os, const Slice& slice);
|
/system/tools/aidl/ |
D | hiddenapi-greylist | 47 "android.app.slice.ISliceListener", 48 "android.app.slice.ISliceManager",
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | service_contexts | 149 slice u:object_r:slice_service:s0
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | service_contexts | 178 slice u:object_r:slice_service:s0
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | service_contexts | 197 slice u:object_r:slice_service:s0
|
/system/sepolicy/private/ |
D | service_contexts | 198 slice u:object_r:slice_service:s0
|