Searched defs:section (Results 1 - 8 of 8) sorted by relevance

/system/bt/btif/src/
H A Dbtif_config_transcode.cpp52 const char *section = j->Attribute("Tag"); local
56 if (section && key && value)
57 config_set_string(config, section, key, value);
H A Dbtif_config.c226 LOG_ERROR(LOG_TAG, "Config is missing adapter section");
261 bool btif_config_has_section(const char *section) { argument
263 assert(section != NULL);
266 bool ret = config_has_section(config, section);
272 bool btif_config_exist(const char *section, const char *key) { argument
274 assert(section != NULL);
278 bool ret = config_has_key(config, section, key);
284 bool btif_config_get_int(const char *section, const char *key, int *value) { argument
286 assert(section != NULL);
291 bool ret = config_has_key(config, section, ke
299 btif_config_set_int(const char *section, const char *key, int value) argument
311 btif_config_get_str(const char *section, const char *key, char *value, int *size_bytes) argument
331 btif_config_set_str(const char *section, const char *key, const char *value) argument
344 btif_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length) argument
372 btif_config_get_bin_length(const char *section, const char *key) argument
388 btif_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length) argument
423 btif_config_section_next(const btif_config_section_iter_t *section) argument
429 btif_config_section_name(const btif_config_section_iter_t *section) argument
435 btif_config_remove(const char *section, const char *key) argument
512 const char *section = config_section_name(snode); local
570 const char *section = config_section_name(snode); local
[all...]
/system/bt/osi/test/
H A Dconfig_test.cpp148 EXPECT_FALSE(config_remove_section(config, "not a section"));
170 const config_section_node_t *section = config_section_begin(config); local
171 EXPECT_TRUE(section != NULL);
172 const char *section_name = config_section_name(section);
173 EXPECT_TRUE(section != NULL);
180 const config_section_node_t *section = config_section_begin(config); local
181 EXPECT_TRUE(section != NULL);
182 section = config_section_next(section);
183 EXPECT_TRUE(section !
192 const config_section_node_t * section = config_section_begin(config); local
[all...]
/system/extras/simpleperf/
H A Dcmd_dumprecord.cpp112 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset,
114 printf("data[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.data.offset,
116 printf("event_types[file section]: offset %" PRId64 ", size %" PRId64 "\n",
192 const auto& section = pair.second; local
193 printf("feature section for %s: offset %" PRId64 ", size %" PRId64 "\n",
194 GetFeatureName(feature).c_str(), section.offset, section.size);
H A Drecord_file_reader.cpp189 SectionDesc section = it->second; local
190 data->resize(section.size);
191 if (fseek(record_fp_, section.offset, SEEK_SET) != 0) {
H A Dread_elf.cpp67 static bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { argument
68 const char* p = section;
110 LOG(DEBUG) << "read note section error";
365 LOG(ERROR) << "failed to read section " << section_name;
372 LOG(ERROR) << "can't find section " << section_name;
/system/media/camera/tests/
H A Dcamera_metadata_tests_fake_vendor.h163 int section; local
168 for (section = 0; section < FAKEVENDOR_SECTION_COUNT; section++) {
169 start = fakevendor_section_bounds[section][0];
170 end = fakevendor_section_bounds[section][1];
177 int section; local
181 for (section = 0; section < FAKEVENDOR_SECTION_COUNT; section
[all...]
/system/bt/osi/src/
H A Dconfig.c59 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);
136 bool config_has_section(const config_t *config, const char *section) { argument
138 assert(section != NULL);
140 return (section_find(config, section) != NULL);
143 bool config_has_key(const config_t *config, const char *section, const char *key) { argument
145 assert(section != NULL);
148 return (entry_find(config, section, key) != NULL);
151 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) { argument
153 assert(section !
165 config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) argument
182 config_get_string(const config_t *config, const char *section, const char *key, const char *def_value) argument
194 config_set_int(config_t *config, const char *section, const char *key, int value) argument
204 config_set_bool(config_t *config, const char *section, const char *key, bool value) argument
212 config_set_string(config_t *config, const char *section, const char *key, const char *value) argument
232 config_remove_section(config_t *config, const char *section) argument
243 config_remove_key(config_t *config, const char *section, const char *key) argument
274 const section_t *section = (const section_t *)list_node(lnode); local
322 const section_t *section = (const section_t *)list_node(node); local
415 char section[1024]; local
449 section_t *section = osi_calloc(sizeof(section_t)); local
466 section_find(const config_t *config, const char *section) argument
494 entry_find(const config_t *config, const char *section, const char *key) argument
[all...]

Completed in 170 milliseconds