Home
last modified time | relevance | path

Searched refs:cnode (Results 1 – 4 of 4) sorted by relevance

/system/core/libcutils/include/cutils/
Dconfig_utils.h24 typedef struct cnode cnode; typedef
27 struct cnode struct
29 cnode *next; argument
30 cnode *first_child; argument
31 cnode *last_child; argument
37 void config_load(cnode *root, char *data); argument
40 void config_load_file(cnode *root, const char *fn);
43 cnode* config_node(const char *name, const char *value);
46 cnode* config_find(cnode *root, const char *name);
49 int config_bool(cnode *root, const char *name, int _default);
[all …]
/system/core/libcutils/include_vndk/cutils/
Dconfig_utils.h24 typedef struct cnode cnode; typedef
27 struct cnode struct
29 cnode *next; argument
30 cnode *first_child; argument
31 cnode *last_child; argument
37 void config_load(cnode *root, char *data); argument
40 void config_load_file(cnode *root, const char *fn);
43 cnode* config_node(const char *name, const char *value);
46 cnode* config_find(cnode *root, const char *name);
49 int config_bool(cnode *root, const char *name, int _default);
[all …]
/system/core/libcutils/
Dconfig_utils.cpp27 cnode* config_node(const char *name, const char *value) in config_node()
29 cnode* node = static_cast<cnode*>(calloc(sizeof(cnode), 1)); in config_node()
38 cnode* config_find(cnode *root, const char *name) in config_find()
40 cnode *node, *match = NULL; in config_find()
50 static cnode* _config_create(cnode *root, const char *name) in _config_create()
52 cnode *node; in _config_create()
66 int config_bool(cnode *root, const char *name, int _default) in config_bool()
68 cnode *node; in config_bool()
84 const char* config_str(cnode *root, const char *name, const char *_default) in config_str()
86 cnode *node; in config_str()
[all …]
/system/core/libdiskconfig/
Ddiskconfig.c92 load_partitions(cnode *root, struct disk_info *dinfo) in load_partitions()
94 cnode *partnode; in load_partitions()
142 cnode *devroot; in load_diskconfig()
143 cnode *partnode; in load_diskconfig()
144 cnode *root = config_node("", ""); in load_diskconfig()