Searched defs:value_str (Results 1 - 3 of 3) sorted by relevance

/system/bt/btif/src/
H A Dbtif_config.cc326 const std::string* value_str = config_get_string(*config, section, key, NULL); local
328 if (!value_str) return false;
330 size_t value_len = value_str->length();
334 if (!isxdigit(value_str->c_str()[i])) return false;
336 const char* ptr = value_str->c_str();
348 const std::string* value_str = config_get_string(*config, section, key, NULL); local
349 if (!value_str) return 0;
351 size_t value_len = value_str->length();
/system/libufdt/utils/src/
H A Dmkdtimg_core.c133 int parse_path(char **path_ptr, char **prop_ptr, char *value_str) { argument
134 return split_str(path_ptr, prop_ptr, value_str, ':');
158 static fdt32_t get_fdt32_from_number_or_prop(void *fdt, char *value_str) { argument
159 if (value_str[0] == '/') {
161 if (parse_path(&path, &prop, value_str) != 0) {
162 fprintf(stderr, "Wrong syntax: %s\n", value_str);
170 uint32_t value = strtoul(value_str, &end, 0);
/system/core/bootstat/
H A Dbootstat.cpp66 void RecordBootEventFromCommandLine(const std::string& event, const std::string& value_str) { argument
68 if (!value_str.empty()) {
70 if (android::base::ParseInt(value_str, &value)) {
1131 static const char value_str[] = "value"; local
1142 { value_str, required_argument, NULL, 0 },
1159 if (option_name == value_str) {

Completed in 209 milliseconds