/system/bt/btif/src/ |
H A D | btif_config_transcode.cc | 55 const char* section = j->Attribute("Tag"); local 60 if (section && key && value) 61 config_set_string(config, section, key, value);
|
H A D | btif_config.cc | 217 LOG_ERROR(LOG_TAG, "Config is missing adapter section"); 246 bool btif_config_has_section(const char* section) { argument 248 CHECK(section != NULL); 251 return config_has_section(config, section); 254 bool btif_config_exist(const char* section, const char* key) { argument 256 CHECK(section != NULL); 260 return config_has_key(config, section, key); 263 bool btif_config_get_int(const char* section, const char* key, int* value) { argument 265 CHECK(section != NULL); 270 bool ret = config_has_key(config, section, ke 276 btif_config_set_int(const char* section, const char* key, int value) argument 287 btif_config_get_str(const char* section, const char* key, char* value, int* size_bytes) argument 306 btif_config_set_str(const char* section, const char* key, const char* value) argument 318 btif_config_get_bin(const char* section, const char* key, uint8_t* value, size_t* length) argument 343 btif_config_get_bin_length(const char* section, const char* key) argument 356 btif_config_set_bin(const char* section, const char* key, const uint8_t* value, size_t length) argument 392 btif_config_section_next( const btif_config_section_iter_t* section) argument 400 btif_config_section_name( const btif_config_section_iter_t* section) argument 407 btif_config_remove(const char* section, const char* key) argument 477 const char* section = config_section_name(snode); local 535 const char* section = config_section_name(snode); local [all...] |
/system/bt/osi/test/ |
H A D | config_test.cc | 147 EXPECT_FALSE(config_remove_section(config, "not a section")); 169 const config_section_node_t* section = config_section_begin(config); local 170 EXPECT_TRUE(section != NULL); 171 const char* section_name = config_section_name(section); 172 EXPECT_TRUE(section != NULL); 179 const config_section_node_t* section = config_section_begin(config); local 180 EXPECT_TRUE(section != NULL); 181 section = config_section_next(section); 182 EXPECT_TRUE(section ! 191 const config_section_node_t* section = config_section_begin(config); local [all...] |
/system/extras/simpleperf/ |
H A D | cmd_dumprecord.cpp | 112 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", 187 const auto& section = pair.second; local 188 printf("feature section for %s: offset %" PRId64 ", size %" PRId64 "\n", 189 GetFeatureName(feature).c_str(), section.offset, section.size);
|
H A D | read_elf.cpp | 102 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { argument 103 const char* p = section; 321 // We may sample instructions in .plt section if the program 323 // different formats to store .plt section, so it needs a lot of work to match 324 // instructions in .plt section to symbols. As samples in .plt section rarely 325 // happen, and .plt section can hardly be a performance bottleneck, we can 326 // just use a symbol @plt to represent instructions in .plt section.
|
H A D | record_file_reader.cpp | 316 SectionDesc section = it->second; local 317 data->resize(section.size); 318 if (section.size == 0) { 321 if (fseek(record_fp_, section.offset, SEEK_SET) != 0) {
|
/system/media/camera/tests/ |
H A D | camera_metadata_tests_fake_vendor.h | 163 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 D | config.cc | 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, 135 bool config_has_section(const config_t* config, const char* section) { argument 137 CHECK(section != NULL); 139 return (section_find(config, section) != NULL); 142 bool config_has_key(const config_t* config, const char* section, argument 145 CHECK(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, argument 154 CHECK(section ! 165 config_get_bool(const config_t* config, const char* section, const char* key, bool def_value) argument 180 config_get_string(const config_t* config, const char* section, const char* key, const char* def_value) argument 192 config_set_int(config_t* config, const char* section, const char* key, int value) argument 203 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 234 config_remove_section(config_t* config, const char* section) argument 244 config_remove_key(config_t* config, const char* section, const char* key) argument 275 const section_t* section = (const section_t*)list_node(lnode); local 327 const section_t* section = (const section_t*)list_node(node); local 427 char section[1024]; local 462 section_t* section = static_cast<section_t*>(osi_calloc(sizeof(section_t))); local 478 section_find(const config_t* config, const char* section) argument 505 entry_find(const config_t* config, const char* section, const char* key) argument [all...] |