Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 222) sorted by relevance

123456789

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_list.h31 static inline void ListInitHead(List *head) in ListInitHead()
37 static inline void ListInsertHead(List *head, List *node) in ListInsertHead()
45 static inline void ListInsertTail(List *head, List *node) in ListInsertTail()
64 static inline uint8_t ListIsEmpty(const List *head) in ListIsEmpty()
69 static inline List *ListGetFront(List *head) in ListGetFront()
74 static inline List *ListPopFront(List *head) in ListPopFront()
106 #define LIST_FOR_EACH(curr, head) \ argument
109 #define LIST_FOR_EACH_SAFE(pos, tmp, head) \ argument
/ohos5.0/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_dlist.h56 static inline void DListHeadInit(struct DListHead *head) in DListHeadInit()
69 static inline bool DListIsEmpty(const struct DListHead *head) in DListIsEmpty()
99 static inline void DListInsertHead(struct DListHead *entry, struct DListHead *head) in DListInsertHead()
117 static inline void DListInsertTail(struct DListHead *entry, struct DListHead *head) in DListInsertTail()
135 static inline void DListMerge(struct DListHead *list, struct DListHead *head) in DListMerge()
153 static inline int DListGetCount(const struct DListHead *head) in DListGetCount()
209 #define DLIST_FOR_EACH_ENTRY(pos, head, type, member) \ argument
215 #define DLIST_FOR_EACH_ENTRY_REVERSE(pos, head, type, member) \ argument
232 #define DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, head, type, member) \ argument
/ohos5.0/base/startup/init/services/utils/
H A Dlist.c45 void OH_ListAddTail(struct ListNode *head, struct ListNode *item) in OH_ListAddTail()
83 void OH_ListAddWithOrder(struct ListNode *head, struct ListNode *item, ListCompareProc compareProc) in OH_ListAddWithOrder()
117 ListNode *OH_ListFind(const ListNode *head, void *data, ListTraversalProc compareProc) in OH_ListFind()
152 int OH_ListTraversal(ListNode *head, void *data, ListTraversalProc traversalProc, unsigned int flag… in OH_ListTraversal()
202 void OH_ListRemoveAll(ListNode *head, ListDestroyProc destroyProc) in OH_ListRemoveAll()
218 int OH_ListGetCnt(const ListNode *head) in OH_ListGetCnt()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
H A Dhks_double_list_test.cpp78 struct DoubleList head = { .prev = nullptr, .next = nullptr }; variable
93 struct DoubleList head = { .prev = nullptr, .next = nullptr }; variable
108 struct DoubleList head = { .prev = nullptr, .next = nullptr }; variable
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/tlv/
H A Dtlv_object.cpp265 bool TLVObject::ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head) in ReadHead()
284 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, void *value, const TLVHead &head) in ReadValue()
288 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head) in ReadValue()
292 …l TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int8_t &value, const TLVHead &head) in ReadValue()
296 … TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int16_t &value, const TLVHead &head) in ReadValue()
300 … TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int32_t &value, const TLVHead &head) in ReadValue()
309 …l TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, double &value, const TLVHead &head) in ReadValue()
377 const TLVHead& head) in ReadVariant()
384 const TLVHead& head) in ReadVariant()
448 …l TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, Object &value, const TLVHead &head) in ReadValue()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dcomponent.cpp58 auto head = std::find_if(components.begin(), components.end(), IsRenderComponent<Component>); in MergeRSNode() local
73 auto head = std::find_if(components.begin(), components.end(), IsRenderComponent<SingleChild>); in MergeRSNode() local
84 auto head = std::find_if(components.begin(), components.end(), IsRenderComponent<SingleChild>); in MergeRSNode() local
98 void Component::MergeRSNode(const RefPtr<Component>& head, const RefPtr<Component>& tail) in MergeRSNode()
/ohos5.0/base/security/device_security_level/baselib/utils/include/
H A Dutils_dslm_list.h45 static inline int IsEmptyList(ListHead *head) in IsEmptyList()
50 static inline void InitListHead(ListHead *head) in InitListHead()
61 #define FOREACH_LIST_NODE(item, head) for ((item) = (head)->next; (item) != (head); (item) = (item)… argument
63 #define FOREACH_LIST_NODE_SAFE(item, head, temp) \ argument
/ohos5.0/base/security/huks/utils/list/
H A Dhks_double_list.c32 void AddNodeAfterDoubleListHead(struct DoubleList *head, struct DoubleList *node) in AddNodeAfterDoubleListHead()
48 void AddNodeAtDoubleListTail(struct DoubleList *head, struct DoubleList *node) in AddNodeAtDoubleListTail()
H A Dhks_double_list.h45 #define HKS_DLIST_ITER(st, head) \ argument
53 #define HKS_DLIST_SAFT_ITER(st, head) \ argument
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
H A Dcert_manager_double_list.h47 #define CM_DLIST_ITER(st, head) \ argument
51 #define CM_DLIST_SAFT_ITER(st, head) \ argument
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dtlv_util.cpp36 template <> bool Reading(std::nullptr_t &output, TLVObject &data, const TLVHead &head) in Reading()
52 template <> bool Reading(std::monostate &output, TLVObject &data, const TLVHead &head) in Reading()
68 template <> bool Reading(std::string &output, TLVObject &data, const TLVHead &head) in Reading()
102 template <> bool Reading(UDType &output, TLVObject &data, const TLVHead &head) in Reading()
128 template <> bool Reading(DataStatus &output, TLVObject &data, const TLVHead &head) in Reading()
156 template <> bool Reading(Object &output, TLVObject &data, const TLVHead &head) in Reading()
196 template <> bool Reading(UnifiedKey &output, TLVObject &data, const TLVHead &head) in Reading()
253 template <> bool Reading(UnifiedData &output, TLVObject &data, const TLVHead &head) in Reading()
306 template <> bool Reading(UnifiedRecord &output, TLVObject &data, const TLVHead &head) in Reading()
406 template <> bool Reading(Runtime &output, TLVObject &data, const TLVHead &head) in Reading()
[all …]
H A Dtlv_object.cpp153 bool TLVObject::Read(std::string &value, const TLVHead &head) in Read()
190 bool TLVObject::Read(std::vector<uint8_t> &value, const TLVHead &head) in Read()
235 bool TLVObject::Read(OHOS::AAFwk::Want &value, const TLVHead &head) in Read()
270 bool TLVObject::Read(std::monostate &value, const TLVHead &head) in Read()
281 bool TLVObject::Read(void *value, const TLVHead &head) in Read()
319 bool TLVObject::ReadHead(TLVHead &head) in ReadHead()
345 bool TLVObject::Skip(TLVHead &head) in Skip()
H A Dtlv_util.h150 template <typename T> bool Reading(T &output, TLVObject &data, const TLVHead &head) in Reading()
172 template <typename T> bool Reading(std::shared_ptr<T> &output, TLVObject &data, const TLVHead &head) in Reading()
207 template <typename T> bool Reading(std::vector<T> &output, TLVObject &data, const TLVHead &head) in Reading()
263 …<typename T, typename R> bool Reading(std::map<T, R> &output, TLVObject &data, const TLVHead &head) in Reading()
348 …utTp> bool ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head) in ReadVariant()
354 bool ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head) in ReadVariant()
365 …name... _Types> bool Reading(std::variant<_Types...> &output, TLVObject &data, const TLVHead &head) in Reading()
/ohos5.0/foundation/resourceschedule/ffrt/src/queue/
H A Dqueue_strategy.h36 T* head = whenMap.begin()->second; in DequeBatch() local
70 T* head = iterTarget->second; in DequeSingleByPriority() local
99 T* head = iterTarget->second; in DequeSingleAgainstStarvation() local
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_interface.h27 bool* head; member
32 char** head; member
37 double* head; member
54 ValueType* head; member
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi/
H A Dcj_common_ffi.h70 int64_t* head; member
75 int32_t* head; member
85 unsigned int* head; member
95 uint8_t* head; member
105 char** head; member
115 void* head; member
/ohos5.0/foundation/resourceschedule/ffrt/src/util/
H A Dspmc_queue.cpp62 unsigned int head = head_.load(); in PopHead() local
81 unsigned int head = head_.load(); in PushTail() local
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_client_mock.cpp37 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ConnGattTransRecvReturnConnModule() local
49 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ConnGattTransRecvReturnConnModule1() local
62 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ConnGattTransRecvReturnOldNearby() local
74 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ConnGattTransRecvReturnDefult() local
86 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ActionOfConnGattTransRecv() local
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_send.c35 static int32_t AllocIovList(List *head) in AllocIovList()
69 void DestroyIovList(const List *head, DFileSession *s, uint32_t tid) in DestroyIovList()
125 static int32_t SendFileDataFrame(DFileSession *session, PeerInfo *peerInfo, List *head, uint32_t ti… in SendFileDataFrame()
169 static int32_t SendFileDataFrameEx(DFileSession *session, PeerInfo *peerInfo, List *head, uint32_t … in SendFileDataFrameEx()
174 static int32_t CheckUnsentList(List *unsent, List *head, int32_t maxCount) in CheckUnsentList()
196 static int32_t DoSendDataFrame(DFileSession *session, List *head, int32_t count, uint32_t tid, uint… in DoSendDataFrame()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/fuzztest/unpackauthdata_fuzzer/
H A Dunpackauthdata_fuzzer.cpp30 … AuthDataHead head = *const_cast<AuthDataHead *>(reinterpret_cast<const AuthDataHead *>(data)); in UnpackAuthDataFuzzTest() local
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dlf_ring.h39 volatile FILLP_ULONG head; member
44 volatile FILLP_ULONG head; member
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_cache.h76 void ListInit(ListHead* head) in ListInit()
81 void ListAdd(ListHead* node, ListHead* head) in ListAdd()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_message.c70 AuthDataHead head = { in PostDeviceIdData() local
267 AuthDataHead head = { in PostDeviceInfoMessage() local
333 AuthDataHead head = { in PostCloseAckMessage() local
351 AuthDataHead head = { in PostHichainAuthMessage() local
400 bool IsDeviceMessagePacket(const AuthConnInfo *connInfo, const AuthDataHead *head, const uint8_t *d… in IsDeviceMessagePacket()
567 AuthDataHead head = { in PostDeviceMessage() local
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dlinked_list.rs63 head: NonNull<L>, field
85 let head = Box::<L>::default(); in new() localVariable
96 let head = L::node(self.head).as_mut(); in push_front() localVariable
111 let head = L::node(self.head).as_mut(); in pop_back() localVariable
149 let head = L::node(self.head).as_ref(); in drain_filtered() localVariable
/ohos5.0/foundation/multimodalinput/input/util/network/src/
H A Dnet_packet.cpp32 PACKHEAD head = { msgId_, wPos_ }; in MakeData() local

123456789