Home | History | Annotate | Download | only in util

Lines Matching refs:node

132     camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t));
133 if (NULL == node) {
137 memset(node, 0, sizeof(camera_cmd_t));
138 node->cmd = cmd;
141 if (!cmd_queue.enqueueWithPriority((void *)node)) {
142 free(node);
143 node = NULL;
146 if (!cmd_queue.enqueue((void *)node)) {
147 free(node);
148 node = NULL;
172 camera_cmd_t *node = (camera_cmd_t *)cmd_queue.dequeue();
173 if (NULL == node) {
177 cmd = node->cmd;
178 free(node);