Lines Matching refs:node

57 static int loadEffect(cnode *node);
58 // To get and add the effect pointed by the passed node to the gSubEffectList
287 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2],
288 uuid->node[3],uuid->node[4],uuid->node[5]);
408 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2],
409 uuid->node[3],uuid->node[4],uuid->node[5]);
494 cnode *node;
496 node = config_find(root, LIBRARIES_TAG);
497 if (node == NULL) {
500 node = node->first_child;
501 while (node) {
502 loadLibrary(node, node->name);
503 node = node->next;
510 cnode *node;
519 node = config_find(root, PATH_TAG);
520 if (node == NULL) {
524 strlcpy(path, node->value, PATH_MAX);
532 strlcat(path, node->value + len + strlen("/lib/"), PATH_MAX);
587 // node, gets the effect descriptor and lib_entry_t and adds the subeffect -
592 cnode *node;
597 node = config_find(root, LIBRARY_TAG);
598 if (node == NULL) {
601 l = getLibrary(node->value);
603 ALOGW("addSubEffect() could not get library %s", node->value);
606 node = config_find(root, UUID_TAG);
607 if (node == NULL) {
610 if (stringToUuid(node->value, &uuid) != 0) {
611 ALOGW("addSubEffect() invalid uuid %s", node->value);
647 cnode *node;
649 node = config_find(root, EFFECTS_TAG);
650 if (node == NULL) {
653 node = node->first_child;
654 while (node) {
655 loadEffect(node);
656 node = node->next;
663 cnode *node;
669 node = config_find(root, LIBRARY_TAG);
670 if (node == NULL) {
674 l = getLibrary(node->value);
676 ALOGW("loadEffect() could not get library %s", node->value);
680 node = config_find(root, UUID_TAG);
681 if (node == NULL) {
684 if (stringToUuid(node->value, &uuid) != 0) {
685 ALOGW("loadEffect() invalid uuid %s", node->value);
691 ALOGW("skipping duplicate uuid %s %s", node->value,
692 node->next ? "and its sub-effects" : "");
726 // After the UUID node in the config_tree, if node->next is valid,
727 // that would be sub effect node.
729 node = node->next;
733 if (node != NULL) {
741 while (node != NULL && count) {
742 if (addSubEffect(node)) {
743 ALOGW("loadEffect() could not add subEffect %s", node->value);
766 node = node->next;
955 uuid->node[0] = (uint8_t)tmp[4];
956 uuid->node[1] = (uint8_t)tmp[5];
957 uuid->node[2] = (uint8_t)tmp[6];
958 uuid->node[3] = (uint8_t)tmp[7];
959 uuid->node[4] = (uint8_t)tmp[8];
960 uuid->node[5] = (uint8_t)tmp[9];
973 uuid->node[0],
974 uuid->node[1],
975 uuid->node[2],
976 uuid->node[3],
977 uuid->node[4],
978 uuid->node[5]);