Lines Matching defs:we
92 bool WeNotifyProc(WaitUntilEntry* we);
114 inline void push_back(WaitUntilEntry* we)
116 if ((we == nullptr) || (whead == nullptr) || (whead->prev == nullptr)) {
117 FFRT_LOGE("we or whead or whead->prev is nullptr");
120 we->next = whead;
121 we->prev = whead->prev;
122 whead->prev->next = we;
123 whead->prev = we;
132 WaitEntry *we = whead->next;
133 whead->next = we->next;
134 we->next->prev = whead;
135 we->next = nullptr;
136 we->prev = nullptr;
137 return static_cast<WaitUntilEntry*>(we);
140 inline void remove(WaitUntilEntry* we)
142 if ((we->next == nullptr) || (we->prev == nullptr)) {
145 we->prev->next = we->next;
146 we->next->prev = we->prev;
147 we->next = nullptr;
148 we->prev = nullptr;