Home
last modified time | relevance | path

Searched refs:drop (Results 1 – 25 of 41) sorted by relevance

12

/system/netd/libnetdutils/
DNetlink.cpp33 onMsg(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkMessage()
34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage()
45 onAttr(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkAttribute()
46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
DSliceTest.cpp45 EXPECT_EQ(s1.base() + kBytes, drop(s1, kBytes).base()); in TEST_F()
46 EXPECT_EQ(s1.size() - kBytes, drop(s1, kBytes).size()); in TEST_F()
101 copy(drop(buffer, sizeof(origA1)), makeSlice(origB)); in TEST_F()
102 copy(drop(buffer, sizeof(origA1) + sizeof(origB)), makeSlice(origA2)); in TEST_F()
DMemBlockTest.cpp37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) { in makeArbitraryMemBlock()
44 for (; !slice.empty(); slice = drop(slice, 1)) { in checkAllZeros()
53 for (; !slice.empty(); slice = drop(slice, 1)) { in checkArbitraryMemBlock()
DSlice.cpp49 tail = drop(tail, 1); in toHex()
/system/netd/libnetdutils/include/netdutils/
DSlice.h107 inline const Slice drop(const Slice s, size_t cut) { in drop() function
130 return extracted + extract(drop(src, extracted), tail...); in extract()
155 return drop(s, match - s.base()); in findFirstMatching()
/system/bt/stack/avrc/
Davrc_api.cc626 bool drop = false; in avrc_msg_cback() local
711 drop = true; in avrc_msg_cback()
749 drop = true; in avrc_msg_cback()
775 drop = true; in avrc_msg_cback()
791 drop = true; in avrc_msg_cback()
797 if (drop_code > 0) drop = true; in avrc_msg_cback()
831 drop = true; in avrc_msg_cback()
865 drop = true; in avrc_msg_cback()
870 if (opcode != AVRC_OP_BROWSE) drop = true; in avrc_msg_cback()
880 drop = true; in avrc_msg_cback()
[all …]
/system/netd/server/
DXfrmControllerTest.cpp286 nlMsgSlice = drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
367 nlMsgSlice = drop(nlMsgSlice, NLMSG_HDRLEN); in testIpSecAddSecurityAssociation()
389 Slice attr_buf = drop(nlMsgSlice, NLA_ALIGN(sizeof(xfrm_usersa_info))); in testIpSecAddSecurityAssociation()
403 buf = drop(buf, sizeof(xfrm_algo)); in testIpSecAddSecurityAssociation()
408 buf = drop(buf, sizeof(xfrm_algo_auth)); in testIpSecAddSecurityAssociation()
615 nlMsgSlice = netdutils::drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
620 nlMsgSlice = drop(nlMsgSlice, sizeof(xfrm_usersa_id)); in TEST_P()
670 nlMsgSlice = netdutils::drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
677 Slice attr_buf = drop(nlMsgSlice, NLA_ALIGN(sizeof(xfrm_userpolicy_info))); in TEST_P()
775 nlMsgSlice = netdutils::drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
[all …]
DWakeupControllerTest.cpp130 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, uidAttr)); in TEST_F()
206 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, uidAttr)); in TEST_F()
256 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, uidAttr)); in TEST_F()
278 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, prefixAttr)); in TEST_F()
DWakeupController.cpp91 extractIpPorts(args, drop(payload, header.ihl * 4)); // ipv4 IHL counts 32 bit words. in extractIpHeader()
107 extractIpPorts(args, drop(payload, sizeof(header))); in extractIpHeader()
DNFLogListenerTest.cpp92 mPacketFn(msg.nlmsg, drop(makeSlice(msg), sizeof(msg.nlmsg))); in sendEmptyMsg()
/system/bt/gd/rust/common/src/
Dtime.rs37 drop(read_ready); in expired()
67 drop(read_ready); in tick()
/system/logging/rust/
Dliblog_event_list.rs85 fn drop(&mut self) { in drop() method
/system/security/keystore2/test_utils/
Dlib.rs80 fn drop(&mut self) { in drop() method
/system/security/keystore2/src/
Dwatchdog.rs41 fn drop(&mut self) { in drop() method
238 drop(state); in arm()
319 drop(wp); in test_watchdog()
Dapc.rs254 drop(state); in result()
347 drop(state); in cancel_prompt()
/system/security/keystore2/src/vintf/
Dlib.rs32 fn drop(&mut self) { in drop() method
/system/security/keystore2/src/crypto/
Dzvec.rs54 fn drop(&mut self) { in drop() method
/system/security/keystore2/apc_compat/
Dapc_compat.rs60 fn drop(&mut self) { in drop() method
/system/core/libstats/pull_rust/
Dstats_pull.rs98 fn drop(&mut self) { in drop() method
/system/sepolicy/prebuilts/api/29.0/public/
Diorapd.te8 # Allow read/write /proc/sys/vm/drop/caches
/system/security/keystore2/selinux/src/
Dlib.rs117 fn drop(&mut self) { in drop() method
185 fn drop(&mut self) { in drop() method
/system/sepolicy/prebuilts/api/30.0/public/
Diorap_prefetcherd.te8 # Allow read/write /proc/sys/vm/drop/caches
/system/sepolicy/prebuilts/api/31.0/public/
Diorap_prefetcherd.te8 # Allow read/write /proc/sys/vm/drop/caches
Diorapd.te8 # Allow read/write /proc/sys/vm/drop/caches
/system/sepolicy/public/
Diorap_prefetcherd.te8 # Allow read/write /proc/sys/vm/drop/caches

12