Home | History | Annotate | Download | only in android

Lines Matching defs:node

38     AConfig *node;
40 for(node = root->first_child; node; node = node->next) {
41 if(!strcmp(node->name, name)) return node;
45 node = (AConfig*) calloc(sizeof(AConfig), 1);
46 node->name = name;
47 node->value = "";
50 root->last_child->next = node;
52 root->first_child = node;
54 root->last_child = node;
57 return node;
121 AConfig *node = _aconfig_find(root, name, 1);
122 node->value = value;
272 static int parse_expr(cstate *cs, AConfig *node);
275 parse_block(cstate *cs, AConfig *node)
280 if(parse_expr(cs, node)) return -1;
293 parse_expr(cstate *cs, AConfig *node)
296 node = _aconfig_find(node, cs->text, 1);
302 node = _aconfig_find(node, cs->text, 1);
306 node->value = cs->text;
310 return parse_block(cs, node);
431 writer_node(Writer* w, AConfig* node, int margin)
434 writer_str(w, node->name);
437 if (node->value[0]) {
438 writer_str(w, node->value);
448 for (child = node->first_child; child; child = child->next)