Searched refs:value_str (Results 1 – 6 of 6) sorted by relevance
/system/bt/gd/storage/ |
D | config_cache_helper.cc | 30 auto value_str = config_cache_.GetProperty(section, property); in GetBool() local 31 if (!value_str) { in GetBool() 34 if (*value_str == "true") { in GetBool() 36 } else if (*value_str == "false") { in GetBool() 48 auto value_str = config_cache_.GetProperty(section, property); in GetUint64() local 49 if (!value_str) { in GetUint64() 52 return common::Uint64FromString(*value_str); in GetUint64() 60 auto value_str = config_cache_.GetProperty(section, property); in GetUint32() local 61 if (!value_str) { in GetUint32() 79 auto value_str = config_cache_.GetProperty(section, property); in GetInt64() local [all …]
|
/system/bt/btif/src/ |
D | btif_config.cc | 520 const std::string* value_str; in btif_config_get_bin() local 536 value_str = &string; in btif_config_get_bin() 538 value_str = &value_str_from_config.value(); in btif_config_get_bin() 541 size_t value_len = value_str->length(); in btif_config_get_bin() 548 if (!isxdigit(value_str->c_str()[i])) { in btif_config_get_bin() 553 const char* ptr = value_str->c_str(); in btif_config_get_bin() 567 btif_config_cache.SetString(section, key, *value_str); in btif_config_get_bin() 581 auto value_str = btif_config_cache.GetString(section, key); in btif_config_get_bin_length() local 582 if (!value_str) return 0; in btif_config_get_bin_length() 583 size_t value_len = value_str->length(); in btif_config_get_bin_length() [all …]
|
/system/libufdt/utils/src/ |
D | mkdtimg_core.c | 136 int parse_path(char **path_ptr, char **prop_ptr, char *value_str) { in parse_path() argument 137 return split_str(path_ptr, prop_ptr, value_str, ':'); in parse_path() 161 static fdt32_t get_fdt32_from_number_or_prop(void *fdt, char *value_str) { in get_fdt32_from_number_or_prop() argument 162 if (value_str[0] == '/') { in get_fdt32_from_number_or_prop() 164 if (parse_path(&path, &prop, value_str) != 0) { in get_fdt32_from_number_or_prop() 165 fprintf(stderr, "Wrong syntax: %s\n", value_str); in get_fdt32_from_number_or_prop() 173 uint32_t value = strtoul(value_str, &end, 0); in get_fdt32_from_number_or_prop()
|
D | mkdtimg_core.h | 29 int parse_path(char **path_ptr, char **prop_ptr, char *value_str);
|
/system/core/bootstat/ |
D | bootstat.cpp | 187 void RecordBootEventFromCommandLine(const std::string& event, const std::string& value_str) { in RecordBootEventFromCommandLine() argument 189 if (!value_str.empty()) { in RecordBootEventFromCommandLine() 191 if (android::base::ParseInt(value_str, &value)) { in RecordBootEventFromCommandLine() 1468 static const char value_str[] = "value"; in main() local 1480 { value_str, required_argument, NULL, 0 }, in main() 1498 if (option_name == value_str) { in main()
|
/system/core/fastboot/ |
D | fastboot.cpp | 880 std::string value_str; in get_uint_var() local 881 if (fb->GetVar(var_name, &value_str) != fastboot::SUCCESS || value_str.empty()) { in get_uint_var() 887 value_str = android::base::Trim(value_str); in get_uint_var() 890 if (!android::base::ParseUint(value_str, &value)) { in get_uint_var() 891 fprintf(stderr, "couldn't parse %s '%s'\n", var_name, value_str.c_str()); in get_uint_var()
|