Home
last modified time | relevance | path

Searched refs:value_str (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/storage/
Dconfig_cache_helper.cc30 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/
Dbtif_config.cc503 const std::string* value_str; in btif_config_get_bin() local
519 value_str = &string; in btif_config_get_bin()
521 value_str = &value_str_from_config.value(); in btif_config_get_bin()
524 size_t value_len = value_str->length(); in btif_config_get_bin()
531 if (!isxdigit(value_str->c_str()[i])) { in btif_config_get_bin()
536 const char* ptr = value_str->c_str(); in btif_config_get_bin()
550 btif_config_cache.SetString(section, key, *value_str); in btif_config_get_bin()
564 auto value_str = btif_config_cache.GetString(section, key); in btif_config_get_bin_length() local
565 if (!value_str) return 0; in btif_config_get_bin_length()
566 size_t value_len = value_str->length(); in btif_config_get_bin_length()
[all …]
/system/libufdt/utils/src/
Dmkdtimg_core.c136 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()
Dmkdtimg_core.h29 int parse_path(char **path_ptr, char **prop_ptr, char *value_str);
/system/core/bootstat/
Dbootstat.cpp187 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()
1465 static const char value_str[] = "value"; in main() local
1477 { value_str, required_argument, NULL, 0 }, in main()
1495 if (option_name == value_str) { in main()