Lines Matching defs:root

140 void ParameterManagerWrapper::loadCriterionType(cnode *root, bool isInclusive)
142 ALOG_ASSERT(root != NULL, "error in parsing file");
144 for (node = root->first_child; node != NULL; node = node->next) {
185 void ParameterManagerWrapper::loadInclusiveCriterionType(cnode *root)
187 ALOG_ASSERT(root != NULL, "error in parsing file");
188 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str());
195 void ParameterManagerWrapper::loadExclusiveCriterionType(cnode *root)
197 ALOG_ASSERT(root != NULL, "error in parsing file");
198 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str());
205 void ParameterManagerWrapper::parseChildren(cnode *root, string &defaultValue, string &type)
207 ALOG_ASSERT(root != NULL, "error in parsing file");
209 for (node = root->first_child; node != NULL; node = node->next) {
240 void ParameterManagerWrapper::loadCriteria(cnode *root)
242 ALOG_ASSERT(root != NULL, "error in parsing file");
243 cnode *node = config_find(root, gCriterionTag.c_str());
275 void ParameterManagerWrapper::loadCriterion(cnode *root)
277 ALOG_ASSERT(root != NULL, "error in parsing file");
278 const char *criterionName = root->name;
288 parseChildren(root, defaultValue, typeName);
293 void ParameterManagerWrapper::loadConfig(cnode *root)
295 ALOG_ASSERT(root != NULL, "error in parsing file");
296 cnode *node = config_find(root, gPolicyConfTag.c_str());
311 cnode *root;
318 root = config_node("", "");
319 ALOG_ASSERT(root != NULL, "Unable to allocate a configuration node");
320 config_load(root, data);
322 loadConfig(root);
324 config_free(root);
325 free(root);