/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_list.h | 31 static inline void ListInitHead(List *head) in ListInitHead() argument 33 head->next = head; in ListInitHead() 34 head->prev = head; in ListInitHead() 37 static inline void ListInsertHead(List *head, List *node) in ListInsertHead() argument 39 node->next = head->next; in ListInsertHead() 41 node->prev = head; in ListInsertHead() 42 head->next = node; in ListInsertHead() 45 static inline void ListInsertTail(List *head, Lis argument 64 ListIsEmpty(const List *head) ListIsEmpty() argument 69 ListGetFront(List *head) ListGetFront() argument 74 ListPopFront(List *head) ListPopFront() argument [all...] |
/foundation/communication/dsoftbus/tests/core/connection/ble/mock/ |
H A D | connection_ble_client_mock.cpp | 37 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ConnGattTransRecvReturnConnModule() local 38 if (head == nullptr) { in ConnGattTransRecvReturnConnModule() 41 head->flag = 0; in ConnGattTransRecvReturnConnModule() 42 head->module = MODULE_CONNECTION; in ConnGattTransRecvReturnConnModule() 44 head->seq = seq; in ConnGattTransRecvReturnConnModule() 45 *outLen = sizeof((*head)); in ConnGattTransRecvReturnConnModule() 46 return reinterpret_cast<uint8_t *>(head); in ConnGattTransRecvReturnConnModule() 52 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); in ConnGattTransRecvReturnConnModule1() local 68 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); ConnGattTransRecvReturnOldNearby() local 83 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); ConnGattTransRecvReturnDefult() local 98 ConnPktHead *head = reinterpret_cast<ConnPktHead *>(SoftBusCalloc(sizeof(*head))); ActionOfConnGattTransRecv() local [all...] |
/foundation/resourceschedule/ffrt/src/util/ |
H A D | spmc_queue.cpp | 62 unsigned int head = head_.load(); in PopHead() local 64 if (tail == head) { in PopHead() 68 void* res = buf_[head % capacity_]; in PopHead() 69 if (atomic_compare_exchange_weak(&head_, &head, head + 1)) { in PopHead() 81 unsigned int head = head_.load(); in PushTail() local 83 if ((tail - head) < capacity_) { in PushTail() 97 unsigned int head = head_.load(); in FindElement() local 99 while (head != tail) { in FindElement() 100 void* element = buf_[head in FindElement() [all...] |
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | tlv_object.cpp | 153 bool TLVObject::Read(std::string &value, const TLVHead &head)
in Read() argument 155 if (!HasExpectBuffer(head.len)) {
in Read() 156 LOG_ERROR(UDMF_FRAMEWORK, "Has no enough buffer in tlv read string. tag=%{public}hu", head.tag);
in Read() 159 if (!LoadBufferFormFile(head.len)) {
in Read() 160 LOG_ERROR(UDMF_FRAMEWORK, "LoadBufferFormFile error in tlv read string. tag=%{public}hu", head.tag);
in Read() 164 value.append(reinterpret_cast<const char *>(startCursor), head.len);
in Read() 165 cursor_ += head.len;
in Read() 190 bool TLVObject::Read(std::vector<uint8_t> &value, const TLVHead &head)
in Read() argument 192 if (!HasExpectBuffer(head.len)) {
in Read() 193 LOG_ERROR(UDMF_FRAMEWORK, "Has no enough buffer in tlv read u8 vector. tag=%{public}hu", head in Read() 235 Read(OHOS::AAFwk::Want &value, const TLVHead &head) Read() argument 270 Read(std::monostate &value, const TLVHead &head) Read() argument 281 Read(void *value, const TLVHead &head) Read() argument 319 ReadHead(TLVHead &head) ReadHead() argument 345 Skip(TLVHead &head) Skip() argument [all...] |
H A D | tlv_object.h | 60 bool Read(std::string &value, const TLVHead &head);
61 bool Read(std::vector<uint8_t> &value, const TLVHead &head);
62 bool Read(OHOS::AAFwk::Want &value, const TLVHead &head);
63 bool Read(std::monostate &value, const TLVHead &head);
64 bool Read(void *value, const TLVHead &head);
68 template <typename T> bool ReadBasic(T &value, const TLVHead &head);
73 bool ReadHead(TLVHead &head);
75 bool Skip(TLVHead &head);
117 template <typename T> bool TLVObject::ReadBasic(T &value, const TLVHead &head)
in ReadBasic() argument 120 if (head in ReadBasic() [all...] |
H A D | tlv_util.h | 37 template <typename T> bool API_EXPORT Reading(T &output, TLVObject &data, const TLVHead &head);
42 bool API_EXPORT Reading(std::variant<_Types...> &output, TLVObject &data, const TLVHead &head);
46 template <typename T> bool API_EXPORT Reading(std::shared_ptr<T> &output, TLVObject &data, const TLVHead &head);
50 template <typename T> bool API_EXPORT Reading(std::vector<T> &output, TLVObject &data, const TLVHead &head);
54 template <typename T, typename R> bool API_EXPORT Reading(std::map<T, R> &output, TLVObject &data, const TLVHead &head);
58 template <> bool API_EXPORT Reading(std::nullptr_t &output, TLVObject &data, const TLVHead &head);
62 template <> bool API_EXPORT Reading(std::monostate &output, TLVObject &data, const TLVHead &head);
66 template <> bool API_EXPORT Reading(std::string &output, TLVObject &data, const TLVHead &head);
70 template <> bool API_EXPORT Reading(std::vector<uint8_t> &output, TLVObject &data, const TLVHead &head);
74 template <> bool API_EXPORT Reading(UDType &output, TLVObject &data, const TLVHead &head);
150 Reading(T &output, TLVObject &data, const TLVHead &head) Reading() argument 172 Reading(std::shared_ptr<T> &output, TLVObject &data, const TLVHead &head) Reading() argument 207 Reading(std::vector<T> &output, TLVObject &data, const TLVHead &head) Reading() argument 263 Reading(std::map<T, R> &output, TLVObject &data, const TLVHead &head) Reading() argument 348 ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head) ReadVariant() argument 354 ReadVariant(TLVObject &data, uint32_t step, uint32_t index, _OutTp &value, TLVHead head) ReadVariant() argument 365 Reading(std::variant<_Types...> &output, TLVObject &data, const TLVHead &head) Reading() argument [all...] |
/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_cache.h | 76 void ListInit(ListHead* head) in ListInit() argument 78 head->prev = head; in ListInit() 79 head->next = head; in ListInit() 81 void ListAdd(ListHead* node, ListHead* head) in ListAdd() argument 83 head->next->prev = node; in ListAdd() 84 node->next = head->next; in ListAdd() 85 node->prev = head; in ListAdd() 86 head in ListAdd() [all...] |
/foundation/resourceschedule/ffrt/src/queue/ |
H A D | queue_strategy.h | 36 T* head = whenMap.begin()->second;
in DequeBatch() local 39 T* node = head;
in DequeBatch() 42 if (next->GetQos() != head->GetQos()) {
in DequeBatch() 51 head->gid, node->gid, whenMap.size(), queueId);
in DequeBatch() 52 return head;
in DequeBatch() 70 T* head = iterTarget->second;
in DequeSingleByPriority() local 73 FFRT_LOGD("dequeue [gid=%llu], %u other tasks in [queueId=%u] ", head->gid, whenMap.size(), queueId);
in DequeSingleByPriority() 74 return head;
in DequeSingleByPriority() 99 T* head = iterTarget->second;
in DequeSingleAgainstStarvation() local 100 (*pulledTaskCount)[head in DequeSingleAgainstStarvation() [all...] |
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | component.cpp | 58 auto head = std::find_if(components.begin(), components.end(), IsRenderComponent<Component>); in MergeRSNode() local 60 if (head == components.end() || tail == components.rend()) { in MergeRSNode() 63 (*head)->isHeadComponent_ = true; in MergeRSNode() 73 auto head = std::find_if(components.begin(), components.end(), IsRenderComponent<SingleChild>); in MergeRSNode() local 75 if (head == components.end() || tail == components.rend()) { in MergeRSNode() 78 AceType::DynamicCast<Component>(*head)->isHeadComponent_ = true; in MergeRSNode() 84 auto head = std::find_if(components.begin(), components.end(), IsRenderComponent<SingleChild>); in MergeRSNode() local 86 if (components.empty() || head == components.end() || tail == components.rend()) { in MergeRSNode() 90 AceType::DynamicCast<Component>(*head)->isHeadComponent_ = true; in MergeRSNode() 98 void Component::MergeRSNode(const RefPtr<Component>& head, cons argument [all...] |
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_connection.c | 197 uint64_t connId, const AuthConnInfo *connInfo, bool fromServer, const AuthDataHead *head, const uint8_t *data) in NotifyDataReceived() 200 g_listener.onDataReceived(connId, connInfo, fromServer, head, data); in NotifyDataReceived() 210 int32_t PackAuthData(const AuthDataHead *head, const uint8_t *data, in PackAuthData() argument 213 if (head == NULL || data == NULL || buf == NULL) { in PackAuthData() 217 if (size < GetAuthDataSize(head->len)) { in PackAuthData() 221 *(uint32_t *)buf = SoftBusHtoLl(head->dataType); in PackAuthData() 223 *(uint32_t *)(buf + offset) = SoftBusHtoLl((uint32_t)head->module); in PackAuthData() 225 *(uint64_t *)(buf + offset) = SoftBusHtoLll((uint64_t)head->seq); in PackAuthData() 227 *(uint32_t *)(buf + offset) = SoftBusHtoLl((uint32_t)head->flag); in PackAuthData() 229 *(uint32_t *)(buf + offset) = SoftBusHtoLl(head in PackAuthData() 196 NotifyDataReceived( uint64_t connId, const AuthConnInfo *connInfo, bool fromServer, const AuthDataHead *head, const uint8_t *data) NotifyDataReceived() argument 239 UnpackAuthData(const uint8_t *data, uint32_t len, AuthDataHead *head) UnpackAuthData() argument 352 HandleDataReceivedProcess( uint64_t connId, const AuthConnInfo *connInfo, bool fromServer, const AuthDataHead *head, const uint8_t *data) HandleDataReceivedProcess() argument 407 OnWiFiDataReceived(ListenerModule module, int32_t fd, const AuthDataHead *head, const uint8_t *data) OnWiFiDataReceived() argument 422 HandleDataReceivedProcess(GenConnId(connInfo.type, fd), &connInfo, fromServer, head, data); OnWiFiDataReceived() local 477 AuthDataHead head = { 0 }; OnCommDataReceived() local 483 HandleDataReceivedProcess(GenConnId(connInfo.type, connectionId), &connInfo, fromServer, &head, body); OnCommDataReceived() local 486 HandleRepeatDeviceIdDataDelay(uint64_t connId, const AuthConnInfo *connInfo, bool fromServer, const AuthDataHead *head, const uint8_t *data) HandleRepeatDeviceIdDataDelay() argument 567 PostCommData(uint32_t connectionId, bool toServer, const AuthDataHead *head, const uint8_t *data) PostCommData() argument 708 PostAuthData(uint64_t connId, bool toServer, const AuthDataHead *head, const uint8_t *data) PostAuthData() argument [all...] |
/foundation/multimodalinput/input/util/socket/src/ |
H A D | uds_socket.cpp | 101 PackHead *head = reinterpret_cast<PackHead *>(buf); in OnReadPackets() local 102 CHKPB(head); in OnReadPackets() 103 if (head->size < 0 || head->size > MAX_PACKET_BUF_SIZE) { in OnReadPackets() 105 " head->size:%{public}d, unreadSize:%{public}d", head->size, unreadSize); in OnReadPackets() 109 if (head->size > dataSize) { in OnReadPackets() 112 NetPacket pkt(head->idMsg); in OnReadPackets() 113 if ((head->size > 0) && (!pkt.Write(&buf[headSize], head in OnReadPackets() [all...] |
/foundation/distributeddatamgr/udmf/interfaces/cj/src/ |
H A D | unified_data_impl.cpp | 87 int64_t *head = static_cast<int64_t *>(malloc(vector.size() * sizeof(int64_t))); in VectorToArray() local 88 if (head == nullptr) { in VectorToArray() 92 head[i] = vector[i]; in VectorToArray() 94 CArrUnifiedRecord int64Array = {head, vector.size()}; in VectorToArray() 120 char **head = static_cast<char **>(malloc(vector.size() * sizeof(char *))); in StringVectorToArray() local 121 if (head == nullptr) { in StringVectorToArray() 125 head[i] = Utils::MallocCString(vector[i]); in StringVectorToArray() 127 CArrString stringArray = {head, vector.size()}; in StringVectorToArray()
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtcp/ |
H A D | rtcp_unit_test.cpp | 65 RtcpHeader head; in HWTEST_F() local 66 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_RR); in HWTEST_F() 67 head.version_ = 2; in HWTEST_F() 68 head.padding_ = 0; in HWTEST_F() 69 head.reportCount_ = 0; in HWTEST_F() 70 context->OnRtcp(&head); in HWTEST_F() 77 RtcpHeader head; in HWTEST_F() local 78 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_XR); in HWTEST_F() 79 head.version_ = 2; in HWTEST_F() 80 head in HWTEST_F() 89 RtcpHeader head; HWTEST_F() local 111 RtcpHeader head; HWTEST_F() local 123 RtcpHeader head; HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_session_test.cpp | 254 TestSliceHead head; in HWTEST_F() local 260 head.priority = -1; in HWTEST_F() 262 (void)memcpy_s(buf, TEST_BUFFER_SIZE, &head, sizeof(TestSliceHead)); in HWTEST_F() 266 head.priority = TEST_INVALID_PRIORITY; in HWTEST_F() 267 (void)memcpy_s(buf, TEST_BUFFER_SIZE, &head, sizeof(TestSliceHead)); in HWTEST_F() 270 head.priority = TEST_VALID_PRIORITY; in HWTEST_F() 271 head.sliceNum = TEST_SLICENUM_TWO; in HWTEST_F() 272 head.sliceSeq = TEST_SLICESEQ_TWO; in HWTEST_F() 273 (void)memcpy_s(buf, TEST_BUFFER_SIZE, &head, sizeof(TestSliceHead)); in HWTEST_F() 293 TestSliceHead head; in HWTEST_F() local 366 TestSliceHead head; HWTEST_F() local 417 TestSliceHead head; HWTEST_F() local 448 TestSliceHead head; HWTEST_F() local [all...] |
H A D | softbus_proxy_session_test.cpp | 235 TestSliceHead head; in HWTEST_F() local 241 head.priority = -1; in HWTEST_F() 243 (void)memcpy_s(buf, TEST_BUFFER_SIZE, &head, sizeof(TestSliceHead)); in HWTEST_F() 247 head.priority = TEST_INVALID_PRIORITY; in HWTEST_F() 248 (void)memcpy_s(buf, TEST_BUFFER_SIZE, &head, sizeof(TestSliceHead)); in HWTEST_F() 251 head.priority = TEST_VALID_PRIORITY; in HWTEST_F() 252 head.sliceNum = TEST_SLICENUM_TWO; in HWTEST_F() 253 head.sliceSeq = TEST_SLICESEQ_TWO; in HWTEST_F() 254 (void)memcpy_s(buf, TEST_BUFFER_SIZE, &head, sizeof(TestSliceHead)); in HWTEST_F() 274 TestSliceHead head; in HWTEST_F() local 334 TestSliceHead head; HWTEST_F() local 381 TestSliceHead head; HWTEST_F() local 412 TestSliceHead head; HWTEST_F() local [all...] |
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/ |
H A D | message_handler.cpp | 49 MessageHeader *head = reinterpret_cast<MessageHeader *>(ptr); in PackData() local 50 head->magic = MSG_MAGIC; in PackData() 51 head->version = VERSION; in PackData() 52 head->msgType = htole16(msgHdr_.msgType); in PackData() 53 head->dataLen = htole32(totalLen - sizeof(MessageHeader)); in PackData() 54 head->errorCode = static_cast<int32_t>(htole32(msgHdr_.errorCode)); in PackData() 95 MessageHeader *head = reinterpret_cast<MessageHeader *>(ptr); in UnPackData() local 96 msgHdr_.magic = head->magic; in UnPackData() 97 msgHdr_.version = head->version; in UnPackData() 98 msgHdr_.msgType = le16toh(head in UnPackData() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | hlist.h | 30 struct HlistNode head; member 39 (ptr)->head.next = FILLP_NULL_PTR; \ 40 (ptr)->head.pprev = &((ptr)->head.next); \ 51 #define HLIST_FIRST(_list) ((_list)->head.next) 52 #define HLIST_TAIL(_list) (HLIST_EMPTY(_list) ? FILLP_NULL_PTR : HLIST_PREV(&(_list)->head)) 74 list->head.pprev = &toBeAdded->next; in HlistAddAfter() 88 HlistAddAfter(list, HLIST_PREV(&list->head), node); in HlistAddTail() 94 HlistAddAfter(list, &list->head, node); in HlistAddHead() 101 list->head in HlistDelete() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_utils.h | 32 RetMetadata* head; member 42 ModuleMetadata* head; member 53 char** head; member 96 int32_t* head; member 123 RetSkillUri* head; member 135 RetSkill* head; member 166 RetAbilityInfo* head; member 191 RetExtensionAbilityInfo* head; member 200 RetPreloadItem* head; member 211 RetDependency* head; member 221 CDataItem* head; global() member 233 CRouterItem* head; global() member 262 RetHapModuleInfo* head; global() member 280 RetReqPermissionDetail* head; global() member 303 CRecoverableApplicationInfo* head; global() member [all...] |
/foundation/distributeddatamgr/pasteboard/framework/tlv/ |
H A D | tlv_object.cpp | 264 bool TLVObject::ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head)
in ReadHead() argument 274 head.tag = NetToHost(pHead->tag);
in ReadHead() 275 head.len = NetToHost(pHead->len);
in ReadHead() 279 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, std::monostate &value, const TLVHead &head)
in ReadValue() argument 283 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, void *value, const TLVHead &head)
in ReadValue() argument 287 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head)
in ReadValue() argument 289 return ReadBasicValue(buffer, value, head);
in ReadValue() 291 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int8_t &value, const TLVHead &head)
in ReadValue() argument 293 return ReadBasicValue(buffer, value, head);
in ReadValue() 295 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int16_t &value, const TLVHead &head)
in ReadValue() argument 299 ReadValue(const std::vector<std::uint8_t> &buffer, int32_t &value, const TLVHead &head) ReadValue() argument 304 ReadValue(const std::vector<std::uint8_t> &buffer, int64_t &value, const TLVHead &head) ReadValue() argument 308 ReadValue(const std::vector<std::uint8_t> &buffer, double &value, const TLVHead &head) ReadValue() argument 312 ReadValue(const std::vector<std::uint8_t> &buffer, uint32_t &value, const TLVHead &head) ReadValue() argument 316 ReadValue(const std::vector<std::uint8_t> &buffer, std::string &value, const TLVHead &head) ReadValue() argument 325 ReadValue(const std::vector<std::uint8_t> &buffer, RawMem &rawMem, const TLVHead &head) ReadValue() argument 336 ReadValue(const std::vector<std::uint8_t> &buffer, TLVObject &value, const TLVHead &head) ReadValue() argument 340 ReadValue(const std::vector<std::uint8_t> &buffer, std::vector<uint8_t> &value, const TLVHead &head) ReadValue() argument 350 ReadValue( const std::vector<std::uint8_t> &buffer, std::map<std::string, std::vector<uint8_t>> &value, const TLVHead &head) ReadValue() argument 375 ReadVariant( const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _OutTp &output, const TLVHead &head) ReadVariant() argument 382 ReadVariant( const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _OutTp &value, const TLVHead &head) ReadVariant() argument 397 ReadValue(const std::vector<std::uint8_t> &buffer, std::variant<_Types...> &value, const TLVHead &head) ReadValue() argument 409 ReadValue(const std::vector<std::uint8_t> &buffer, EntryValue &value, const TLVHead &head) ReadValue() argument 423 ReadValue(const std::vector<std::uint8_t> &buffer, Details &value, const TLVHead &head) ReadValue() argument 448 ReadValue(const std::vector<std::uint8_t> &buffer, Object &value, const TLVHead &head) ReadValue() argument 473 ReadValue(const std::vector<std::uint8_t> &buffer, AAFwk::Want &value, const TLVHead &head) ReadValue() argument 487 ReadValue( const std::vector<std::uint8_t> &buffer, std::shared_ptr<Media::PixelMap> &value, const TLVHead &head) ReadValue() argument [all...] |
H A D | tlv_object.h | 275 bool ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head);
276 bool ReadValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head);
277 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::monostate &value, const TLVHead &head);
278 bool ReadValue(const std::vector<std::uint8_t> &buffer, void *value, const TLVHead &head);
279 bool ReadValue(const std::vector<std::uint8_t> &buffer, int8_t &value, const TLVHead &head);
280 bool ReadValue(const std::vector<std::uint8_t> &buffer, int16_t &value, const TLVHead &head);
281 bool ReadValue(const std::vector<std::uint8_t> &buffer, int32_t &value, const TLVHead &head);
282 bool ReadValue(const std::vector<std::uint8_t> &buffer, int64_t &value, const TLVHead &head);
283 bool ReadValue(const std::vector<std::uint8_t> &buffer, double &value, const TLVHead &head);
284 bool ReadValue(const std::vector<std::uint8_t> &buffer, uint32_t &value, const TLVHead &head);
[all...] |
/foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi/ |
H A D | cj_common_ffi.h | 70 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
|
/foundation/distributeddatamgr/udmf/framework/common/unittest/mock/ |
H A D | tlv_util_mock.cpp | 31 template <> bool Reading(std::nullptr_t &output, TLVObject &data, const TLVHead &head) in Reading() argument 46 template <> bool Reading(std::monostate &output, TLVObject &data, const TLVHead &head) in Reading() argument 61 template <> bool Reading(std::string &output, TLVObject &data, const TLVHead &head) in Reading() argument 76 template <> bool Reading(std::vector<uint8_t> &output, TLVObject &data, const TLVHead &head) in Reading() argument 91 template <> bool Reading(UDType &output, TLVObject &data, const TLVHead &head) in Reading() argument 106 template <> bool Reading(DataStatus &output, TLVObject &data, const TLVHead &head) in Reading() argument 120 template <> bool Reading(Object &output, TLVObject &data, const TLVHead &head) in Reading() argument 134 template <> bool Reading(UnifiedKey &output, TLVObject &data, const TLVHead &head) in Reading() argument 149 template <> bool Reading(UnifiedData &output, TLVObject &data, const TLVHead &head) in Reading() argument 164 template <> bool Reading(UnifiedRecord &output, TLVObject &data, const TLVHead &head) in Reading() argument 179 Reading(Runtime &output, TLVObject &data, const TLVHead &head) Reading() argument 194 Reading(Privilege &output, TLVObject &data, const TLVHead &head) Reading() argument 209 Reading(std::shared_ptr<OHOS::Media::PixelMap> &output, TLVObject &data, const TLVHead &head) Reading() argument 225 Reading(std::shared_ptr<OHOS::AAFwk::Want> &output, TLVObject &data, const TLVHead &head) Reading() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/cj/src/ |
H A D | multimedia_audio_stream_manager_callback.cpp | 31 auto head = static_cast<CAudioCapturerChangeInfo *>( in OnCapturerStateChange() local 33 if (head == nullptr) { in OnCapturerStateChange() 38 Convert2CAudioCapturerChangeInfo(head[i], *(audioCapturerChangeInfos[i]), errorCode); in OnCapturerStateChange() 44 free(arrInfo.head); in OnCapturerStateChange() 45 arrInfo.head = nullptr; in OnCapturerStateChange()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | packet.c | 34 Payload *head; member 74 packet->head = PayloadNew(headSize); in PacketMalloc() 78 if ((packet->head != NULL) && (packet->tail != NULL) && (packet->payload != NULL)) { in PacketMalloc() 79 packet->head->next = packet->payload; in PacketMalloc() 80 packet->payload->prev = packet->head; in PacketMalloc() 94 refPacket->head = PayloadNewRef(pkt->head->buf); in PacketRefMalloc() 97 if ((refPacket->head != NULL) && (refPacket->tail != NULL)) { in PacketRefMalloc() 99 Payload *refPayload = refPacket->head; in PacketRefMalloc() 114 refPacket->payload = refPacket->head in PacketRefMalloc() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | skiplist.c | 67 list->head = FILLP_NULL_PTR; in SkiplistInit() 95 list->head = FILLP_NULL_PTR; in SkiplistDestroy() 116 struct SkipListNode *head = FILLP_NULL_PTR; in SkipListPopValue() local 119 if ((list == FILLP_NULL_PTR) || (list->head == FILLP_NULL_PTR)) { in SkipListPopValue() 123 head = list->head; in SkipListPopValue() 125 for (index = head->level - 1; index >= 0; index--) { in SkipListPopValue() 126 list->hnode[index] = head->forward[index]; in SkipListPopValue() 137 list->head = head in SkipListPopValue() [all...] |