Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 12 of 12) sorted by relevance

/system/netd/libnetdutils/
DMemBlockTest.cpp37 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 …]
DSlice.cpp54 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 <<()
DSyscallsTest.cpp168 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/
Dfuzz_buffer.cc61 for (const auto& slice : slices) { in LLVMFuzzerTestOneInput() local
62 buffer_free(slice); in LLVMFuzzerTestOneInput()
/system/extras/ioshark/
Dioshark_bench_mmap.c61 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/
DCheckpoint.cpp496 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/
DSlice.h148 std::ostream& operator<<(std::ostream& os, const Slice& slice);
/system/tools/aidl/
Dhiddenapi-greylist47 "android.app.slice.ISliceListener",
48 "android.app.slice.ISliceManager",
/system/sepolicy/prebuilts/api/28.0/private/
Dservice_contexts149 slice u:object_r:slice_service:s0
/system/sepolicy/prebuilts/api/29.0/private/
Dservice_contexts178 slice u:object_r:slice_service:s0
/system/sepolicy/prebuilts/api/30.0/private/
Dservice_contexts197 slice u:object_r:slice_service:s0
/system/sepolicy/private/
Dservice_contexts198 slice u:object_r:slice_service:s0