Lines Matching refs:node
41 static int loadEffect(cnode *node);
80 cnode *node; in loadLibraries() local
82 node = config_find(root, LIBRARIES_TAG); in loadLibraries()
83 if (node == NULL) { in loadLibraries()
86 node = node->first_child; in loadLibraries()
87 while (node) { in loadLibraries()
88 loadLibrary(node, node->name); in loadLibraries()
89 node = node->next; in loadLibraries()
153 cnode *node; in loadLibrary() local
160 node = config_find(root, PATH_TAG); in loadLibrary()
161 if (node == NULL) { in loadLibrary()
165 if (checkLibraryPath((const char *)node->value, path) != 0) { in loadLibrary()
236 cnode *node; in addSubEffect() local
241 node = config_find(root, LIBRARY_TAG); in addSubEffect()
242 if (node == NULL) { in addSubEffect()
245 l = getLibrary(node->value); in addSubEffect()
247 ALOGW("addSubEffect() could not get library %s", node->value); in addSubEffect()
250 node = config_find(root, UUID_TAG); in addSubEffect()
251 if (node == NULL) { in addSubEffect()
254 if (stringToUuid(node->value, &uuid) != 0) { in addSubEffect()
255 ALOGW("addSubEffect() invalid uuid %s", node->value); in addSubEffect()
291 cnode *node; in loadEffects() local
293 node = config_find(root, EFFECTS_TAG); in loadEffects()
294 if (node == NULL) { in loadEffects()
297 node = node->first_child; in loadEffects()
298 while (node) { in loadEffects()
299 loadEffect(node); in loadEffects()
300 node = node->next; in loadEffects()
307 cnode *node; in loadEffect() local
313 node = config_find(root, LIBRARY_TAG); in loadEffect()
314 if (node == NULL) { in loadEffect()
318 l = getLibrary(node->value); in loadEffect()
320 ALOGW("loadEffect() could not get library %s", node->value); in loadEffect()
324 node = config_find(root, UUID_TAG); in loadEffect()
325 if (node == NULL) { in loadEffect()
328 if (stringToUuid(node->value, &uuid) != 0) { in loadEffect()
329 ALOGW("loadEffect() invalid uuid %s", node->value); in loadEffect()
335 ALOGW("skipping duplicate uuid %s %s", node->value, in loadEffect()
336 node->next ? "and its sub-effects" : ""); in loadEffect()
373 node = node->next; in loadEffect()
377 if (node != NULL) { in loadEffect()
385 while (node != NULL && count) { in loadEffect()
386 if (addSubEffect(node)) { in loadEffect()
387 ALOGW("loadEffect() could not add subEffect %s", node->value); in loadEffect()
410 node = node->next; in loadEffect()