Home | History | Annotate | Download | only in android

Lines Matching defs:node

36     AConfig *node;
38 for(node = root->first_child; node; node = node->next) {
39 if(!strcmp(node->name, name)) return node;
43 node = (AConfig*) calloc(sizeof(AConfig), 1);
44 node->name = name;
45 node->value = "";
48 root->last_child->next = node;
50 root->first_child = node;
52 root->last_child = node;
55 return node;
119 AConfig *node = _aconfig_find(root, name, 1);
120 node->value = value;
270 static int parse_expr(cstate *cs, AConfig *node);
273 parse_block(cstate *cs, AConfig *node)
278 if(parse_expr(cs, node)) return -1;
291 parse_expr(cstate *cs, AConfig *node)
294 node = _aconfig_find(node, cs->text, 1);
300 node = _aconfig_find(node, cs->text, 1);
304 node->value = cs->text;
308 return parse_block(cs, node);
427 writer_node(Writer* w, AConfig* node, int margin)
430 writer_str(w, node->name);
433 if (node->value[0]) {
434 writer_str(w, node->value);
444 for (child = node->first_child; child; child = child->next)