/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | component.cpp | 59 auto tail = std::find_if(components.rbegin(), components.rend(), IsRenderComponent<Component>); in MergeRSNode() local 60 if (head == components.end() || tail == components.rend()) { in MergeRSNode() 64 (*tail)->isTailComponent_ = true; in MergeRSNode() 74 auto tail = std::find_if(components.rbegin(), components.rend(), IsRenderComponent<SingleChild>); in MergeRSNode() local 75 if (head == components.end() || tail == components.rend()) { in MergeRSNode() 79 AceType::DynamicCast<Component>(*tail)->isTailComponent_ = true; in MergeRSNode() 85 auto tail = std::find_if(components.rbegin(), components.rend(), IsRenderComponent<SingleChild>); in MergeRSNode() local 86 if (components.empty() || head == components.end() || tail == components.rend()) { in MergeRSNode() 94 AceType::DynamicCast<Component>(*tail)->isTailComponent_ = true; in MergeRSNode() 98 void Component::MergeRSNode(const RefPtr<Component>& head, const RefPtr<Component>& tail) in MergeRSNode() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | packet.c | 35 Payload *tail; member 75 packet->tail = PayloadNew(tailSize); in PacketMalloc() 78 if ((packet->head != NULL) && (packet->tail != NULL) && (packet->payload != NULL)) { in PacketMalloc() 82 packet->payload->next = packet->tail; in PacketMalloc() 83 packet->tail->prev = packet->payload; in PacketMalloc() 95 refPacket->tail = PayloadNewRef(pkt->tail->buf); in PacketRefMalloc() 97 if ((refPacket->head != NULL) && (refPacket->tail != NULL)) { in PacketRefMalloc() 101 while (srcPayload != pkt->tail) { in PacketRefMalloc() 111 refPayload->next = refPacket->tail; in PacketRefMalloc() [all...] |
/foundation/resourceschedule/ffrt/src/util/ |
H A D | spmc_queue.cpp | 63 unsigned int tail = tail_.load(); in PopHead() local 64 if (tail == head) { in PopHead() 82 unsigned int tail = tail_.load(); in PushTail() local 83 if ((tail - head) < capacity_) { in PushTail() 84 buf_[tail % capacity_] = object; in PushTail() 85 tail_.store(tail + 1); in PushTail() 98 unsigned int tail = tail_.load(); in FindElement() local 99 while (head != tail) { in FindElement()
|
/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_queue.h | 49 volatile uint32_t tail; /* producer tail */ member 58 volatile uint32_t tail; /* consumer tail */ member 83 producerTail = queue->producer.tail; in QueueIsEmpty() 84 consumerTail = queue->consumer.tail; in QueueIsEmpty() 109 consumerTail = queue->consumer.tail; in QueueSingleProducerEnqueue() 130 * Make sure that the queue is filled with elements before updating the producer tail. in QueueSingleProducerEnqueue() 131 * Prevents problems when the producer tail is updated first: in QueueSingleProducerEnqueue() 138 queue->producer.tail in QueueSingleProducerEnqueue() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | lf_ring.c | 78 ring->cons.tail = 0; in FillpLfRingInit() 81 ring->prod.tail = 0; in FillpLfRingInit() 106 consTail = ring->cons.tail; in FillpLfRingMpEnqueueWait() 160 while (unlikely(ring->prod.tail != prodHead)) { in FillpLfRingMpEnqueue() 174 ring->prod.tail = prodNext; in FillpLfRingMpEnqueue() 190 prodTail = ring->prod.tail; in FillpLfRingMcDequeueWait() 243 while (unlikely(ring->cons.tail != consHead)) { in FillpLfRingMcDequeue() 257 ring->cons.tail = consNext; in FillpLfRingMcDequeue() 266 FILLP_ULONG prodTail = r->prod.tail; in FillpRingEmpty() 267 FILLP_ULONG consTail = r->cons.tail; in FillpRingEmpty() [all...] |
H A D | skiplist.c | 68 list->tail = FILLP_NULL_PTR; in SkiplistInit() 96 list->tail = FILLP_NULL_PTR; in SkiplistDestroy() 139 list->tail = FILLP_NULL_PTR; in SkipListPopValue() 149 Description : This function will be invoked to pop tail value from SkipList. 159 struct SkipListNode *tail = FILLP_NULL_PTR; in SkipListPopTail() local 163 if ((list == FILLP_NULL_PTR) || (list->tail == FILLP_NULL_PTR)) { in SkipListPopTail() 167 tail = list->tail; in SkipListPopTail() 169 for (index = tail->level - 1; index >= 0; index--) { in SkipListPopTail() 170 tnode = tail in SkipListPopTail() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | skiplist.h | 42 struct SkipListNode *tail; member 84 return ((list == FILLP_NULL_PTR) || (list->tail == FILLP_NULL_PTR)) ? FILLP_NULL_PTR : list->tail; in SkipListGetTail() 136 Description : This function will be invoked to pop tail value from SkipList.
|
H A D | lf_ring.h | 40 volatile FILLP_ULONG tail; member 45 volatile FILLP_ULONG tail; member
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/ |
H A D | rs_occlusion_region_helper.cpp | 96 inline RectType Looper::GetEdgeRelation(int &head, int &tail, in GetEdgeRelation() argument 106 tail = lhsEnd_; in GetEdgeRelation() 110 tail = rhsStart_; in GetEdgeRelation() 116 tail = rhsEnd_; in GetEdgeRelation() 120 tail = lhsStart_; in GetEdgeRelation() 126 tail = rhsStart_ = lhsEnd_; in GetEdgeRelation() 130 tail = lhsStart_ = rhsEnd_; in GetEdgeRelation()
|
/foundation/communication/dsoftbus/core/common/queue/ |
H A D | softbus_queue.c | 52 queue->producer.tail = 0; in QueueInit() 53 queue->consumer.tail = 0; in QueueInit() 87 producerTail = queue->producer.tail; in QueueCountGet() 88 consumerTail = queue->consumer.tail; in QueueCountGet()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm_frames.c | 139 uint8_t tail = RfcommCalculateFcs(RFCOMM_NOT_UIH_FSC_LEN, header); in RfcommSendSabm() local 141 return RfcommSendData(session->l2capId, header, RFCOMM_SABM_HEADER_LEN, tail, NULL); in RfcommSendSabm() 165 uint8_t tail = RfcommCalculateFcs(RFCOMM_NOT_UIH_FSC_LEN, header); in RfcommSendDisc() local 167 return RfcommSendData(session->l2capId, header, RFCOMM_DISC_HEADER_LEN, tail, NULL); in RfcommSendDisc() 191 uint8_t tail = RfcommCalculateFcs(RFCOMM_NOT_UIH_FSC_LEN, header); in RfcommSendUa() local 193 return RfcommSendData(session->l2capId, header, RFCOMM_UA_HEADER_LEN, tail, NULL); in RfcommSendUa() 218 uint8_t tail = RfcommCalculateFcs(RFCOMM_NOT_UIH_FSC_LEN, header); in RfcommSendDm() local 220 return RfcommSendData(session->l2capId, header, RFCOMM_DM_HEADER_LEN, tail, NULL); in RfcommSendDm() 267 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); in RfcommSendUihPn() local 269 return RfcommSendData(session->l2capId, header, RFCOMM_PN_HEADER_LEN, tail, NUL in RfcommSendUihPn() 311 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihMsc() local 348 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihRls() local 400 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihRpn() local 431 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihFcon() local 462 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihFcoff() local 517 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihTest() local 553 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihNsc() local 603 uint8_t tail = RfcommCalculateFcs(RFCOMM_IS_UIH_FSC_LEN, header); RfcommSendUihData() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_item_component.cpp | 32 RefPtr<Component> tail = box_; in BuildItem() local 38 tail = image_; in BuildItem() 46 tail = text_; in BuildItem() 62 Component::MergeRSNode(rotate, tail); in BuildItem() 65 Component::MergeRSNode(box_, tail); in BuildItem()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_connect.c | 1240 uint8_t *tail = NULL; in SdpBuildSearchFragmentResponse() local 1248 tail = BufferPtr(PacketTail(sendPacket)); in SdpBuildSearchFragmentResponse() 1249 tail[0] = 0x00; in SdpBuildSearchFragmentResponse() 1254 tail = BufferPtr(PacketTail(sendPacket)); in SdpBuildSearchFragmentResponse() 1255 tail[0] = 0x01; in SdpBuildSearchFragmentResponse() 1256 tail[1] = size & 0xFF; in SdpBuildSearchFragmentResponse() 1261 tail = BufferPtr(PacketTail(sendPacket)); in SdpBuildSearchFragmentResponse() 1262 tail[0] = 0x02; in SdpBuildSearchFragmentResponse() 1263 *(uint16_t *)(tail + 1) = H2BE_16(size); in SdpBuildSearchFragmentResponse() 1355 uint8_t *tail in SdpSendSearchResponse() local 1419 uint8_t *tail = NULL; SdpBuildAttributeFragmentResponse() local 1528 uint8_t *tail = NULL; SdpSendAttributeResponse() local 1578 uint8_t *tail = NULL; SdpSendRequest() local [all...] |
/foundation/CastEngine/castengine_wifi_display/services/utils/ |
H A D | base64.h | 46 uint32_t tail = text_len - i; in Encode() local 47 if (tail == 1) { in Encode()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/ |
H A D | native_args_child_process.cpp | 86 NativeChildProcess_Fd *tail = nullptr; in ParseToNativeArgs() local 111 tail->next = node; in ParseToNativeArgs() 113 tail = node; in ParseToNativeArgs()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | xml_parse.cpp | 74 std::string tail = str.substr(pos + 1); in TransStrAsRange() local 79 ret = StrToInt(tail, range.maxVal); in TransStrAsRange() 81 "call StrToInt func false, input tail is: %{public}s", tail.c_str()); in TransStrAsRange()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | render_list.cpp | 307 void RenderList::ResetLayoutRange(double head, double tail, Offset position, Size viewport) in ResetLayoutRange() argument 312 layoutManager_->ResetLayoutRange(head, tail, position, viewport); in ResetLayoutRange() 503 // recycle from [tail to end] index. 504 void RenderList::RecycleTail(int32_t tail) in RecycleTail() argument 506 if (tail < maxCount_) { in RecycleTail() 507 RecycleByRange(tail, maxCount_); in RecycleTail() 773 // when scroll over head/tail, control node needs to switch to head/tail node. in NotifyScrollOver()
|
H A D | layout_manager.h | 105 void ResetLayoutRange(double head, double tail, Offset position, Size viewPort) in ResetLayoutRange() argument 108 tail_ = tail; in ResetLayoutRange()
|
H A D | render_list.h | 61 void ResetLayoutRange(double head, double tail, Offset position, Size viewport); 285 void RecycleTail(int32_t tail);
|
/foundation/multimedia/media_library/frameworks/services/media_async_worker/src/ |
H A D | medialibrary_async_worker.cpp | 158 std::queue<std::shared_ptr<MediaLibraryAsyncTask>> tail; in ClearRefreshTaskQueue() local 159 tmp.swap(tail); in ClearRefreshTaskQueue()
|
/foundation/multimodalinput/input/libudev/src/ |
H A D | udev_device.cpp | 71 std::string_view tail{ linkTarget, len }; in ResolveSymLink() 73 for (; StartsWith(tail, backStr); back++) { in ResolveSymLink() 74 tail.remove_prefix(backStr.size()); in ResolveSymLink() 84 return std::string{ base }.append("/").append(tail); in ResolveSymLink()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/ |
H A D | rd_json_object.cpp | 457 cJSON *tail = cjson_; in GetItemField() local 458 while (tail->next != nullptr) { in GetItemField() 459 tail = tail->next; in GetItemField() 464 while (head->prev != tail) { in GetItemField()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | vector.h | 182 uint16_t tail = 0; member in OHOS::Graphic::Vector
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_occlusion_region_helper.h | 68 inline RectType GetEdgeRelation(int &head, int &tail, bool &more_lhs, bool &more_rhs);
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/ |
H A D | audio_capturer_source.cpp | 352 uint64_t tail = (head_ + size_) % sizeMax_; in Poll() local 354 if (tail > head_) { in Poll() 406 uint64_t tail = (head_ + size_) % sizeMax_; in Offer() local 407 if (tail < head_) { in Offer() 408 MemcpysAndCheck((buffer_.get() + tail), bufferBytes, frame, bufferBytes); in Offer() 410 uint64_t copySize = min(sizeMax_ - tail, bufferBytes); in Offer() 411 MemcpysAndCheck((buffer_.get() + tail), sizeMax_ - tail, frame, copySize); in Offer()
|