Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_config.cc327 const char* value_str = config_get_string(config, section, key, NULL); in btif_config_get_bin() local
329 if (!value_str) return false; in btif_config_get_bin()
331 size_t value_len = strlen(value_str); in btif_config_get_bin()
335 if (!isxdigit(value_str[i])) return false; in btif_config_get_bin()
337 for (*length = 0; *value_str; value_str += 2, *length += 1) in btif_config_get_bin()
338 sscanf(value_str, "%02hhx", &value[*length]); in btif_config_get_bin()
349 const char* value_str = config_get_string(config, section, key, NULL); in btif_config_get_bin_length() local
350 if (!value_str) return 0; in btif_config_get_bin_length()
352 size_t value_len = strlen(value_str); in btif_config_get_bin_length()
/system/core/bootstat/
Dbootstat.cpp60 const std::string& event, const std::string& value_str) { in RecordBootEventFromCommandLine() argument
62 if (!value_str.empty()) { in RecordBootEventFromCommandLine()
64 if (android::base::ParseInt(value_str, &value)) { in RecordBootEventFromCommandLine()
380 static const char value_str[] = "value"; in main() local
389 { value_str, required_argument, NULL, 0 }, in main()
404 if (option_name == value_str) { in main()
/system/libufdt/utils/src/
Dmkdtimg_core.c126 int parse_path(char **path_ptr, char **prop_ptr, char *value_str) { in parse_path() argument
127 return split_str(path_ptr, prop_ptr, value_str, ':'); in parse_path()
151 static fdt32_t get_fdt32_from_number_or_prop(void *fdt, char *value_str) { in get_fdt32_from_number_or_prop() argument
152 if (value_str[0] == '/') { in get_fdt32_from_number_or_prop()
154 if (parse_path(&path, &prop, value_str) != 0) { in get_fdt32_from_number_or_prop()
155 fprintf(stderr, "Wrong syntax: %s\n", value_str); in get_fdt32_from_number_or_prop()
163 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/bt/osi/src/
Dconfig.cc198 char value_str[32] = {0}; in config_set_int() local
199 snprintf(value_str, sizeof(value_str), "%d", value); in config_set_int()
200 config_set_string(config, section, key, value_str); in config_set_int()