Searched refs:config_t (Results 1 – 10 of 10) sorted by relevance
/system/bt/osi/include/ |
D | config.h | 25 typedef struct config_t config_t; typedef 31 config_t *config_new_empty(void); 38 config_t *config_new(const char *filename); 47 config_t *config_new_clone(const config_t *src); 52 void config_free(config_t *config); 57 bool config_has_section(const config_t *config, const char *section); 61 bool config_has_key(const config_t *config, const char *section, const char *key); 67 int config_get_int(const config_t *config, const char *section, const char *key, int def_value); 72 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value); 78 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… [all …]
|
/system/bt/osi/test/ |
D | config_test.cpp | 62 config_t *config = config_new_empty(); in TEST_F() 68 config_t *config = config_new("/meow"); in TEST_F() 74 config_t *config = config_new(CONFIG_FILE); in TEST_F() 84 config_t *config = config_new(CONFIG_FILE); in TEST_F() 85 config_t *clone = config_new_clone(config); in TEST_F() 97 config_t *config = config_new(CONFIG_FILE); in TEST_F() 103 config_t *config = config_new(CONFIG_FILE); in TEST_F() 110 config_t *config = config_new(CONFIG_FILE); in TEST_F() 119 config_t *config = config_new(CONFIG_FILE); in TEST_F() 127 config_t *config = config_new(CONFIG_FILE); in TEST_F() [all …]
|
/system/bt/osi/src/ |
D | config.c | 48 struct config_t { struct 55 static bool config_parse(FILE *fp, config_t *config); argument 59 static section_t *section_find(const config_t *config, const char *section); 63 static entry_t *entry_find(const config_t *config, const char *section, const char *key); 65 config_t *config_new_empty(void) { in config_new_empty() 66 config_t *config = osi_calloc(sizeof(config_t)); in config_new_empty() 81 config_t *config_new(const char *filename) { in config_new() 84 config_t *config = config_new_empty(); in config_new() 104 config_t *config_new_clone(const config_t *src) { in config_new_clone() 107 config_t *ret = config_new_empty(); in config_new_clone() [all …]
|
/system/bt/btif/include/ |
D | btif_config_transcode.h | 21 typedef struct config_t config_t; typedef 23 config_t *btif_config_transcode(const char *xml_filename);
|
/system/bt/btif/src/ |
D | btif_config.c | 77 static void btif_config_remove_unpaired(config_t *config); 78 static void btif_config_remove_restricted(config_t *config); 79 static config_t *btif_config_open(const char* filename); 132 static config_t *config; 216 static config_t *btif_config_open(const char *filename) { in btif_config_open() 217 config_t *config = config_new(filename); in btif_config_open() 492 config_t *config_paired = config_new_clone(config); in btif_config_write() 499 static void btif_config_remove_unpaired(config_t *conf) { in btif_config_remove_unpaired() 561 static void btif_config_remove_restricted(config_t* config) { in btif_config_remove_restricted()
|
D | btif_config_transcode.cpp | 30 extern "C" config_t *btif_config_transcode(const char *xml_filename) { in btif_config_transcode() 44 config_t *config = config_new_empty(); in btif_config_transcode()
|
/system/bt/main/ |
D | stack_config.c | 38 static config_t *config; 117 static config_t *get_all(void) { in get_all()
|
D | bte_conf.c | 35 config_t *config = config_new(p_path); in bte_load_did_conf()
|
D | bte_logmsg.c | 219 static void load_levels_from_config(const config_t *config) { in load_levels_from_config()
|
/system/bt/include/ |
D | stack_config.h | 42 config_t *(*get_all)(void);
|