Lines Matching refs:value

73   int next_token(std::string* name, std::string* value, std::string* error_msg) {  in next_token()  argument
92 *value = android::base::Trim(line.substr(found_assign + 1)); in next_token()
98 *value = android::base::Trim(line.substr(found_append + 2)); in next_token()
149 PropertyValue(std::string&& value, size_t lineno) in PropertyValue() argument
150 : value_(std::move(value)), lineno_(lineno) {} in PropertyValue()
152 const std::string& value() const { in value() function in PropertyValue
156 void append_value(std::string&& value) { in append_value() argument
157 value_ = value_ + value; in append_value()
201 std::string value; in parse_config_file() local
204 int result = cp.next_token(&name, &value, &error); in parse_config_file()
228 while (!value.empty() && value.back() == '/') { in parse_config_file()
229 value.pop_back(); in parse_config_file()
232 if (value.empty()) { in parse_config_file()
242 if (access(value.c_str(), R_OK) != 0) { in parse_config_file()
249 resolved_path = value; in parse_config_file()
250 } else if (realpath(value.c_str(), buf)) { in parse_config_file()
260 value.c_str(), in parse_config_file()
262 resolved_path = value; in parse_config_file()
277 std::string value; in parse_config_file() local
280 int result = cp.next_token(&name, &value, &error); in parse_config_file()
297 std::string value; in parse_config_file() local
300 int result = cp.next_token(&name, &value, &error); in parse_config_file()
314 (*properties)[name] = PropertyValue(std::move(value), cp.lineno()); in parse_config_file()
321 (*properties)[name] = PropertyValue(std::move(value), cp.lineno()); in parse_config_file()
325 value = "," + value; in parse_config_file()
326 (*properties)[name].append_value(std::move(value)); in parse_config_file()
330 value = ":" + value; in parse_config_file()
331 (*properties)[name].append_value(std::move(value)); in parse_config_file()
370 std::vector<std::string> strings = android::base::Split(it->second.value(), ","); in get_strings()
385 return it->second.value() == "true"; in get_bool()
390 return (it == properties_.end()) ? "" : it->second.value(); in get_string()