Home
last modified time | relevance | path

Searched refs:config_t (Results 1 – 12 of 12) sorted by relevance

/system/bt/osi/include/
Dconfig.h25 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,
68 int config_get_int(const config_t* config, const char* section, const char* key,
75 bool config_get_bool(const config_t* config, const char* section,
82 const char* config_get_string(const config_t* config, const char* section,
[all …]
/system/bt/osi/test/
Dconfig_test.cc60 config_t* config = config_new_empty(); in TEST_F()
66 config_t* config = config_new("/meow"); in TEST_F()
72 config_t* config = config_new(CONFIG_FILE); in TEST_F()
80 config_t* config = config_new(CONFIG_FILE); in TEST_F()
81 config_t* clone = config_new_clone(config); in TEST_F()
94 config_t* config = config_new(CONFIG_FILE); in TEST_F()
100 config_t* config = config_new(CONFIG_FILE); in TEST_F()
109 config_t* config = config_new(CONFIG_FILE); in TEST_F()
118 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/
Dconfig.cc48 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,
66 config_t* config_new_empty(void) { in config_new_empty()
67 config_t* config = static_cast<config_t*>(osi_calloc(sizeof(config_t))); in config_new_empty()
82 config_t* config_new(const char* filename) { in config_new()
85 config_t* config = config_new_empty(); in config_new()
105 config_t* config_new_clone(const config_t* src) { in config_new_clone()
108 config_t* ret = config_new_empty(); in config_new_clone()
[all …]
/system/bt/btif/include/
Dbtif_config_transcode.h21 typedef struct config_t config_t; typedef
23 config_t* btif_config_transcode(const char* xml_filename);
/system/bt/btif/src/
Dbtif_config_transcode.cc28 config_t* btif_config_transcode(const char* xml_filename) { in btif_config_transcode()
45 config_t* config = config_new_empty(); in btif_config_transcode()
Dbtif_config.cc73 static void btif_config_remove_unpaired(config_t* config);
74 static void btif_config_remove_restricted(config_t* config);
75 static config_t* btif_config_open(const char* filename);
125 static config_t* config;
212 static config_t* btif_config_open(const char* filename) { in btif_config_open()
213 config_t* config = config_new(filename); in btif_config_open()
462 config_t* config_paired = config_new_clone(config); in btif_config_write()
468 static void btif_config_remove_unpaired(config_t* conf) { in btif_config_remove_unpaired()
530 static void btif_config_remove_restricted(config_t* config) { in btif_config_remove_restricted()
/system/bt/main/
Dstack_config.cc35 static config_t* config;
104 static config_t* get_all(void) { return config; } in get_all()
Dmain_int.h25 void init_cpp_logging(config_t* config);
Dbte_init_cpp_logging.cc21 void init_cpp_logging(config_t* config) { in init_cpp_logging()
Dbte_conf.cc36 config_t* config = config_new(p_path); in bte_load_did_conf()
Dbte_logmsg.cc203 static void load_levels_from_config(const config_t* config) { in load_levels_from_config()
/system/bt/include/
Dstack_config.h35 config_t* (*get_all)(void);