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);
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/
Dconfig_test.cpp62 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/
Dconfig.c44 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/
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.cpp30 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()
Dbtif_config.c86 static config_t *config;
Dbtif_storage.c1511 config_t *config = config_new(BTIF_AUTO_PAIR_CONF_FILE); in btif_storage_load_autopair_device_list()
/system/bt/main/
Dstack_config.c32 static config_t *config;
85 static config_t *get_all(void) { in get_all()
Dbte_conf.c38 config_t *config = config_new(path); in bte_load_ble_conf()
60 config_t *config = config_new(p_path); in bte_load_did_conf()
Dbte_logmsg.c227 static void load_levels_from_config(const config_t *config) { in load_levels_from_config()
/system/bt/include/
Dstack_config.h33 config_t *(*get_all)(void);
/system/bt/test/suite/
Dmain.c142 config_t *config = config_new(CONFIG_FILE_PATH); in main()