/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/gd/rust/hci/custom_types/ |
D | lib.rs | 48 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() 49 if slice.len() == 6 { in try_from() 50 match <[u8; 6]>::try_from(slice) { in try_from() 92 fn try_from(slice: &[u8]) -> Result<Self, Self::Error> { in try_from() 93 if slice.len() == 3 { in try_from() 94 match <[u8; 3]>::try_from(slice) { in try_from()
|
/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/security/keystore2/apc_compat/ |
D | apc_compat.rs | 30 use std::{ffi::CString, slice}; 97 unsafe { slice::from_raw_parts(tbs_message, s as usize) }, in confirmation_result_callback() 107 unsafe { slice::from_raw_parts(confirmation_token, s as usize) }, in confirmation_result_callback()
|
/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 | 495 Relocations slice; in relocate() local 496 slice[dest] = source - s->first + s->second; in relocate() 501 slice[dest - source + s->first] = s->second; in relocate() 511 relocations.insert(slice.begin(), slice.end()); in relocate()
|
/system/bt/gd/rust/hci/src/ |
D | controller.rs | 325 pub fn null_terminated_to_string(slice: &[u8]) -> String { in null_terminated_to_string() 326 let temp = std::str::from_utf8(slice).unwrap(); in null_terminated_to_string()
|
/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 | 198 slice u:object_r:slice_service:s0
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | service_contexts | 247 slice u:object_r:slice_service:s0
|
/system/sepolicy/private/ |
D | service_contexts | 247 slice u:object_r:slice_service:s0
|