Lines Matching refs:node
133 camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t));
134 if (NULL == node) {
138 memset(node, 0, sizeof(camera_cmd_t));
139 node->cmd = cmd;
142 cmd_queue.enqueueWithPriority((void *)node);
144 cmd_queue.enqueue((void *)node);
167 camera_cmd_t *node = (camera_cmd_t *)cmd_queue.dequeue();
168 if (NULL == node) {
172 cmd = node->cmd;
173 free(node);