Searched refs:value_str (Results 1 - 5 of 5) sorted by relevance
/system/libufdt/utils/src/ |
H A D | mkdtimg_core.h | 29 int parse_path(char **path_ptr, char **prop_ptr, char *value_str);
|
H A D | mkdtimg_core.c | 131 int parse_path(char **path_ptr, char **prop_ptr, char *value_str) { argument 132 return split_str(path_ptr, prop_ptr, value_str, ':'); 156 static fdt32_t get_fdt32_from_number_or_prop(void *fdt, char *value_str) { argument 157 if (value_str[0] == '/') { 159 if (parse_path(&path, &prop, value_str) != 0) { 160 fprintf(stderr, "Wrong syntax: %s\n", value_str); 168 uint32_t value = strtoul(value_str, &end, 0);
|
/system/bt/btif/src/ |
H A D | btif_config.cc | 322 const char* value_str = config_get_string(config, section, key, NULL); local 324 if (!value_str) return false; 326 size_t value_len = strlen(value_str); 330 if (!isxdigit(value_str[i])) return false; 332 for (*length = 0; *value_str; value_str += 2, *length += 1) 333 sscanf(value_str, "%02hhx", &value[*length]); 344 const char* value_str = config_get_string(config, section, key, NULL); local 345 if (!value_str) return 0; 347 size_t value_len = strlen(value_str); [all...] |
/system/core/bootstat/ |
H A D | bootstat.cpp | 61 const std::string& event, const std::string& value_str) { 63 if (!value_str.empty()) { 65 if (android::base::ParseInt(value_str, &value)) { 434 static const char value_str[] = "value"; local 443 { value_str, required_argument, NULL, 0 }, 458 if (option_name == value_str) { 60 RecordBootEventFromCommandLine( const std::string& event, const std::string& value_str) argument
|
/system/bt/osi/src/ |
H A D | config.cc | 199 char value_str[32] = {0}; local 200 snprintf(value_str, sizeof(value_str), "%d", value); 201 config_set_string(config, section, key, value_str);
|
Completed in 130 milliseconds