Searched refs:cnode (Results 1 – 4 of 4) sorted by relevance
/system/core/libcutils/include/cutils/ |
D | config_utils.h | 24 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/ |
D | config_utils.h | 24 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/ |
D | config_utils.cpp | 27 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/ |
D | diskconfig.c | 92 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()
|