Lines Matching defs:queue
78 void AddSandboxMountNode(SandboxMountNode *node, SandboxSection *queue)
81 APPSPAWN_CHECK_ONLY_EXPER(queue != NULL, return);
82 OH_ListAddWithOrder(&queue->front, &node->node, SandboxNodeCompareProc);
307 SandboxSection *GetSandboxSection(const SandboxQueue *queue, const char *name)
309 APPSPAWN_CHECK_ONLY_EXPER(name != NULL && queue != NULL, return NULL);
310 ListNode *node = OH_ListFind(&queue->front, (void *)name, SandboxConditionalNodeCompareName);
317 void AddSandboxSection(SandboxSection *node, SandboxQueue *queue)
319 APPSPAWN_CHECK_ONLY_EXPER(node != NULL && queue != NULL, return);
321 OH_ListAddWithOrder(&queue->front, &node->sandboxNode.node, SandboxConditionalNodeCompareNode);
335 static void SandboxQueueClear(SandboxQueue *queue)
337 ListNode *node = queue->front.next;
338 while (node != &queue->front) {
342 node = queue->front.next;
370 // delete all queue
423 static inline void InitSandboxQueue(SandboxQueue *queue, uint32_t type)
425 OH_ListInit(&queue->front);
426 queue->type = type;
448 // queue