Home | History | Annotate | Download | only in wrapper

Lines Matching refs:node

142     cnode *node;
143 for (node = root->first_child; node != NULL; node = node->next) {
145 ALOG_ASSERT(node != NULL, "error in parsing file");
146 const char *typeName = node->name;
147 char *valueNames = strndup(node->value, strlen(node->value));
187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str());
188 if (node == NULL) {
191 loadCriterionType(node, true);
197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str());
198 if (node == NULL) {
201 loadCriterionType(node, false);
207 cnode *node;
208 for (node = root->first_child; node != NULL; node = node->next) {
209 ALOG_ASSERT(node != NULL, "error in parsing file");
211 if (string(node->name) == gDefaultTag) {
212 defaultValue = node->value;
213 } else if (string(node->name) == gTypeTag) {
214 type = node->value;
216 ALOGE("%s: Unrecognized %s %s node", __FUNCTION__, node->name, node->value);
242 cnode *node = config_find(root, gCriterionTag.c_str());
244 if (node == NULL) {
248 for (node = node->first_child; node != NULL; node = node->next) {
249 loadCriterion(node);
295 cnode *node = config_find(root, gPolicyConfTag.c_str());
296 if (node == NULL) {
297 ALOGW("%s: Could not find node for pfw", __FUNCTION__);
301 loadInclusiveCriterionType(node);
302 loadExclusiveCriterionType(node);
303 loadCriteria(node);
318 ALOG_ASSERT(root != NULL, "Unable to allocate a configuration node");