/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_list.h | 28 struct List *next; member 33 head->next = head; in ListInitHead() 39 node->next = head->next; in ListInsertHead() 40 node->next->prev = node; in ListInsertHead() 42 head->next = node; in ListInsertHead() 48 node->prev->next = node; in ListInsertTail() 49 node->next = head; in ListInsertTail() 58 node->next->prev = node->prev; in ListRemoveNode() 59 node->prev->next in ListRemoveNode() [all...] |
/foundation/communication/dsoftbus/core/common/include/ |
H A D | common_list.h | 30 struct ListNode *next; /* Current node's pointer to the next node */ member 36 list->next = list; in ListInit() 41 #define GET_LIST_HEAD(object) ((object)->next) 49 node->next = list->next; in ListAdd() 51 list->next->prev = node; in ListAdd() 52 list->next = node; in ListAdd() 70 if (node->next != 0 && node->prev != 0) { in ListDelete() 71 node->next in ListDelete() [all...] |
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_event_transmission.cpp | 25 auto next = GetNext(); in OnKeyEvent() local 26 if (next != nullptr) { in OnKeyEvent() 27 return next->OnKeyEvent(event); in OnKeyEvent() 36 auto next = GetNext(); in OnPointerEvent() local 37 if (next != nullptr) { in OnPointerEvent() 38 return next->OnPointerEvent(event); in OnPointerEvent() 47 auto next = GetNext(); in OnMoveMouse() local 48 if (next != nullptr) { in OnMoveMouse() 49 next->OnMoveMouse(offsetX, offsetY); in OnMoveMouse() 53 void EventTransmission::SetNext(const sptr<EventTransmission> &next) in SetNext() argument 71 auto next = GetNext(); DestroyEvents() local [all...] |
/foundation/resourceschedule/ffrt/src/util/ |
H A D | linked_list.h | 25 LinkedList() : prev(this), next(this) in LinkedList() 29 LinkedList(LinkedList* prev, LinkedList* next) : prev(prev), next(next) in LinkedList() argument 53 node->next = cur->next; 55 cur->next->prev = node; 56 cur->next = node; 61 node->next = cur; 63 cur->prev->next 105 LinkedList* next = cur->next; global() variable 116 LinkedList* next = cur->next; global() variable 126 LinkedList* next = cur->next; global() variable 127 Delete(next); global() variable 138 LinkedList* next = cur->next; global() variable 139 Delete(next); global() variable 289 LinkedList* next; global() member in ffrt::LinkedList [all...] |
H A D | IntrusiveList.h | 25 // if next point to self, isn't in list 28 return next != this; 30 explicit SListNode(SListNode* p) noexcept : next {p} 38 std::swap(next, rhs.next); 44 SListNode* next {this}; 51 return m_head.next == nullptr; 72 nd.next = std::exchange(m_head.next, &nd); 80 auto node = m_head.next; [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | hlist.h | 24 struct HlistNode *next; member 39 (ptr)->head.next = FILLP_NULL_PTR; \ 40 (ptr)->head.pprev = &((ptr)->head.next); \ 45 (node)->next = FILLP_NULL_PTR; \ 51 #define HLIST_FIRST(_list) ((_list)->head.next) 55 for ((_pos) = HLIST_FIRST(list); ((_pos) != FILLP_NULL_PTR) && ((_next) = (_pos)->next, FILLP_TRUE); \ 59 for (; ((_pos) != FILLP_NULL_PTR) && ((_next) = (_pos)->next, FILLP_TRUE); (_pos) = (_next)) 71 if (prev->next != FILLP_NULL_PTR) { in HlistAddAfter() 72 prev->next->pprev = &toBeAdded->next; in HlistAddAfter() [all...] |
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | wait_queue.h | 76 whead->next = whead; in WaitQueue() 102 return (whead->next == whead); in empty() 120 we->next = whead; in push_back() 122 whead->prev->next = we; in push_back() 128 if ((whead->next == nullptr) || (whead->next->next == nullptr)) { in pop_front() 129 FFRT_LOGE("whead->next or whead->next->next i in pop_front() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | async_task_manager.cpp | 69 head_ = head_->next; in Reset() 106 head_ = head_->next; in Callback() 139 task->next = nullptr; in Dispatch() 144 tail_->next = task; in Dispatch() 163 head_ = head_->next; in Cancel() 165 prev->next = node->next; in Cancel() 175 node = node->next; in Cancel() 189 AsyncTask *next = nullptr; in CancelWithContext() local 191 next in CancelWithContext() [all...] |
H A D | locale_util.cpp | 37 char *next = nullptr;
in GetLocaleInfo() local 39 country = strtok_s(locale, delemeter, &next);
in GetLocaleInfo() 44 char *origion = strtok_s(nullptr, delemeter, &next);
in GetLocaleInfo() 45 if ((next == nullptr) || (!strcmp("", next))) {
in GetLocaleInfo() 50 localeInfo = new LocaleInfo(country, origion, next);
in GetLocaleInfo()
|
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | pool.h | 38 idle_ = idle_->next; in Get() 42 cur->next = busy_; in Get() 60 if (cur->next != nullptr) { in Release() 61 cur->next->prev = cur->prev; in Release() 64 cur->prev->next = cur->next; in Release() 67 idle_ = cur->next; in Release() 73 cur = cur->next; in Release() 85 cur = cur->next; in Idle() 91 busy_ = busy_->next; in Idle() 124 Node *next = nullptr; global() member [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | pool.h | 40 idle_ = idle_->next; in Get() 44 cur->next = busy_; in Get() 62 if (cur->next != nullptr) { in Release() 63 cur->next->prev = cur->prev; in Release() 66 cur->prev->next = cur->next; in Release() 69 idle_ = cur->next; in Release() 75 cur = cur->next; in Release() 87 cur = cur->next; in Idle() 93 busy_ = busy_->next; in Idle() 126 Node *next = nullptr; global() member [all...] |
/foundation/arkui/napi/sample/native_module_netserver/ |
H A D | event_target.cpp | 29 EventListener* next = nullptr; member 42 temp = i->next; in ~EventTarget() 44 first_ = first_->next; in ~EventTarget() 48 i->next->back = i->back; in ~EventTarget() 49 i->back->next = i->next; in ~EventTarget() 70 last_->next = tmp; in On() 71 last_->next->back = last_; in On() 72 last_ = last_->next; in On() 91 last_->next in Once() [all...] |
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/ |
H A D | debug_layer_test1.cpp | 40 PFNEGLGETDISPLAYPROC next = (PFNEGLGETDISPLAYPROC)GetNextLayerProc("eglGetDisplay"); in EglGetDisplay() local 41 if (next) { in EglGetDisplay() 42 return next(type); in EglGetDisplay() 49 PFNEGLSWAPBUFFERSPROC next = (PFNEGLSWAPBUFFERSPROC)GetNextLayerProc("eglSwapBuffers"); in EglSwapBuffers() local 50 if (next) { in EglSwapBuffers() 51 return next(dpy, surface); in EglSwapBuffers() 64 __eglMustCastToProperFunctionPointerType next) in DebugLayerGetProcAddr() 77 return next; in DebugLayerGetProcAddr() 63 DebugLayerGetProcAddr(const char *name, __eglMustCastToProperFunctionPointerType next) DebugLayerGetProcAddr() argument
|
H A D | debug_layer_test2.cpp | 40 PFNEGLGETDISPLAYPROC next = (PFNEGLGETDISPLAYPROC)GetNextLayerProc("eglGetDisplay"); in EglGetDisplay() local 41 if (next) { in EglGetDisplay() 42 return next(type); in EglGetDisplay() 49 PFNEGLSWAPBUFFERSPROC next = (PFNEGLSWAPBUFFERSPROC)GetNextLayerProc("eglSwapBuffers"); in EglSwapBuffers() local 50 if (next) { in EglSwapBuffers() 51 return next(dpy, surface); in EglSwapBuffers() 65 __eglMustCastToProperFunctionPointerType next) in DebugLayerGetProcAddr() 78 return next; in DebugLayerGetProcAddr() 64 DebugLayerGetProcAddr(const char *name, __eglMustCastToProperFunctionPointerType next) DebugLayerGetProcAddr() argument
|
/foundation/resourceschedule/ffrt/src/core/ |
H A D | entity.cpp | 36 VersionCtx* next = cur->next; in RecycleVersion() local 38 next->last = cur->last; in RecycleVersion() 40 cur->last->next = next; in RecycleVersion() 43 if (next->next == nullptr) { in RecycleVersion() 45 auto data = std::as_const(Entity::Instance()->vaMap).find(next->signature); in RecycleVersion() 49 SimpleAllocator<VersionCtx>::FreeMem(next); in RecycleVersion()
|
/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_allocator.cpp | 49 chunk->next = size - sizeof(struct Chunk); in SetRamAddr() 54 end_->next = size - sizeof(struct Chunk); in SetRamAddr() 65 return chunk->next - (reinterpret_cast<uint8_t*>(addr) - reinterpret_cast<uint8_t*>(ram_)); in GetSize() 87 ptr = reinterpret_cast<struct Chunk*>(ram_ + ptr)->next) { in Allocate() 92 free = chunk->next - ptr; in Allocate() 101 chunk2->next = chunk->next; in Allocate() 103 chunk->next = ptr2; in Allocate() 105 if (chunk2->next != end_->next) { in Allocate() [all...] |
H A D | ui_font_cache.h | 50 ListHead* next; member 79 head->next = head; in ListInit() 83 head->next->prev = node; in ListAdd() 84 node->next = head->next; in ListAdd() 86 head->next = node; in ListAdd() 90 node->next->prev = node->prev; in ListDel() 91 node->prev->next = node->next; in ListDel()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_option.cpp | 44 pNode->previous = pNode->next = 0; in CreateOptionNode() 80 pOptions->last->next = nullptr; in InitOptionList() 105 pOptions->last->next = pNode; in PushBackOption() 129 pOptions->first->next = pNode; in PushFrontOption() 132 pNode->next = pOptions->first->next; in PushFrontOption() 133 pNode->next->previous = pNode; in PushFrontOption() 135 pOptions->first->next = pNode; in PushFrontOption() 156 pOptions->last->next = nullptr; in RemoveOption() 158 pNode->next in RemoveOption() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | packet.c | 28 struct Payload *next; member 79 packet->head->next = packet->payload; in PacketMalloc() 82 packet->payload->next = packet->tail; in PacketMalloc() 104 refPayload->next = new; in PacketRefMalloc() 107 srcPayload = srcPayload->next; in PacketRefMalloc() 111 refPayload->next = refPacket->tail; in PacketRefMalloc() 114 refPacket->payload = refPacket->head->next; in PacketRefMalloc() 129 inheritPacket->head->next = inheritPacket->payload; in PacketInheritMalloc() 134 tempTail->next = inheritPacket->tail; in PacketInheritMalloc() 144 while (last != NULL && last->next ! in PacketPayloadAddLast() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | focusable_grid.cpp | 56 int32_t next = focusIndex_; in FocusMove() local 57 while (focusIndex_ == next || next < 0) { in FocusMove() 94 next = GetIndexByGrid(nextRow, nextCol); in FocusMove() 98 if (next < firstDayIndex_ && direction == KeyDirection::UP) { in FocusMove() 101 FocusChanged(focusIndex_, next); in FocusMove() 102 focusIndex_ = next; in FocusMove() 103 selectedDayNumber_ = next - firstDayIndex_ + 1; in FocusMove() 104 return next; in FocusMove()
|
/foundation/communication/wifi/wifi/base/cRPC/src/ |
H A D | hash_table.c | 76 ListNode *next = t->next; in DestroyHashTable() local 79 t = next; in DestroyHashTable() 107 ListNode *q = t->next; in RebuildHashTable() 109 t->next = new_list[pos]; in RebuildHashTable() 131 t = t->next; in FindContext() 148 t = t->next; in InsertHashTable() 157 n->next = NULL; in InsertHashTable() 161 q->next = n; in InsertHashTable() 185 t = t->next; in DeleteHashTable() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_timer_list.cpp | 33 timer->next = timerListHead_; in AddTimer() 49 current = current->next; in GetTimer() 61 while ((timer != current->index) && (current->next != nullptr)) { in DeleteTimer() 63 current = current->next; in DeleteTimer() 67 timerListHead_ = current->next; in DeleteTimer() 69 preNode->next = current->next; in DeleteTimer() 79 timerListHead_ = timerListHead_->next; in ClearTimerList()
|
/foundation/arkui/napi/reference_manager/ |
H A D | native_reference_manager.cpp | 40 NativeReference* next = reinterpret_cast<ArkNativeReference*>(reference)->next_; in ReleaseHandler() local 43 reinterpret_cast<ArkNativeReference*>(prev)->next_ = next; in ReleaseHandler() 46 references_ = next; in ReleaseHandler() 48 if (next) { in ReleaseHandler() 49 reinterpret_cast<ArkNativeReference*>(next)->prev_ = prev; in ReleaseHandler()
|
/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_common/ |
H A D | kvstore_common.c | 85 item = item->next;
in DeleteKVCache() 95 g_itemHeader = item->next;
in DeleteKVCache() 99 g_itemTail->next = NULL;
in DeleteKVCache() 101 item->prev->next = item->next;
in DeleteKVCache() 102 item->next->prev = item->prev;
in DeleteKVCache() 138 item->next = NULL;
in AddKVCache() 145 item->next = g_itemHeader;
in AddKVCache() 153 g_itemTail->next = NULL;
in AddKVCache() 166 item = item->next;
in GetValueByCache() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | result_entries_window.cpp | 160 Entry next; in LoadData() local 161 errCode = rawCursor_->GetNext(next, false); in LoadData() 168 Entry next; in LoadData() local 169 errCode = rawCursor_->GetNext(next, true); in LoadData() 174 if (next.key.size() > DBConstant::MAX_KEY_SIZE || next.value.size() > DBConstant::MAX_VALUE_SIZE) { in LoadData() 177 bufferSize += next.key.size() + next.value.size(); in LoadData() 178 buffer_.push_back(std::move(next)); in LoadData()
|