Home | History | Annotate | Download | only in android

Lines Matching refs:root

34 _aconfig_find(AConfig *root, const char *name, int create)
38 for(node = root->first_child; node; node = node->next) {
47 if(root->last_child) {
48 root->last_child->next = node;
50 root->first_child = node;
52 root->last_child = node;
59 aconfig_find(AConfig *root, const char *name)
61 return _aconfig_find(root, name, 0);
65 aconfig_bool(AConfig *root, const char *name, int _default)
67 AConfig *n = _aconfig_find(root, name, 0);
83 aconfig_unsigned(AConfig *root, const char *name, unsigned _default)
85 AConfig *n = _aconfig_find(root, name, 0);
94 aconfig_int(AConfig *root, const char *name, int _default)
96 AConfig *n = _aconfig_find(root, name, 0);
106 aconfig_str(AConfig *root, const char *name, const char *_default)
108 AConfig *n = _aconfig_find(root, name, 0);
117 aconfig_set(AConfig *root, const char *name, const char *value)
119 AConfig *node = _aconfig_find(root, name, 1);
317 aconfig_load(AConfig *root, char *data)
327 if(parse_expr(&cs, root)) return;
337 aconfig_load_file(AConfig *root, const char *fn)
344 aconfig_load(root, data);
454 aconfig_save_file(AConfig *root, const char *fn)
462 for (child = root->first_child; child; child = child->next)