Home | History | Annotate | Download | only in util

Lines Matching refs:node

140     camera_cmd_t *node = (camera_cmd_t *)malloc(sizeof(camera_cmd_t));
141 if (NULL == node) {
145 memset(node, 0, sizeof(camera_cmd_t));
146 node->cmd = cmd;
149 if (!cmd_queue.enqueueWithPriority((void *)node)) {
150 free(node);
151 node = NULL;
154 if (!cmd_queue.enqueue((void *)node)) {
155 free(node);
156 node = NULL;
180 camera_cmd_t *node = (camera_cmd_t *)cmd_queue.dequeue();
181 if (NULL == node) {
185 cmd = node->cmd;
186 free(node);