Searched refs:config_t (Results 1 – 12 of 12) 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); 43 void config_free(config_t *config); 48 bool config_has_section(const config_t *config, const char *section); 52 bool config_has_key(const config_t *config, const char *section, const char *key); 58 int config_get_int(const config_t *config, const char *section, const char *key, int def_value); 63 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value); 69 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… 74 void config_set_int(config_t *config, const char *section, const char *key, int value); [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() 90 config_t *config = config_new(CONFIG_FILE); in TEST_F() 97 config_t *config = config_new(CONFIG_FILE); in TEST_F() 106 config_t *config = config_new(CONFIG_FILE); in TEST_F() 114 config_t *config = config_new(CONFIG_FILE); in TEST_F() 120 config_t *config = config_new(CONFIG_FILE); in TEST_F() 126 config_t *config = config_new(CONFIG_FILE); in TEST_F() [all …]
|
/system/bt/osi/src/ |
D | config.c | 44 struct config_t { struct 51 static void config_parse(FILE *fp, config_t *config); argument 55 static section_t *section_find(const config_t *config, const char *section); 59 static entry_t *entry_find(const config_t *config, const char *section, const char *key); 61 config_t *config_new_empty(void) { in config_new_empty() 62 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() 99 void config_free(config_t *config) { in config_free() 107 bool config_has_section(const config_t *config, const char *section) { in config_has_section() [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_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()
|
D | btif_config.c | 86 static config_t *config;
|
D | btif_storage.c | 1511 config_t *config = config_new(BTIF_AUTO_PAIR_CONF_FILE); in btif_storage_load_autopair_device_list()
|
/system/bt/main/ |
D | stack_config.c | 32 static config_t *config; 85 static config_t *get_all(void) { in get_all()
|
D | bte_conf.c | 38 config_t *config = config_new(path); in bte_load_ble_conf() 60 config_t *config = config_new(p_path); in bte_load_did_conf()
|
D | bte_logmsg.c | 227 static void load_levels_from_config(const config_t *config) { in load_levels_from_config()
|
/system/bt/include/ |
D | stack_config.h | 33 config_t *(*get_all)(void);
|
/system/bt/test/suite/ |
D | main.c | 142 config_t *config = config_new(CONFIG_FILE_PATH); in main()
|