• Home
  • Raw
  • Download

Lines Matching refs:name

64   int next_token(std::string* name, std::string* value, std::string* error_msg) {  in next_token()  argument
75 *name = line.substr(1, line.size() - 2); in next_token()
87 *name = android::base::Trim(line.substr(0, found)); in next_token()
176 std::string name; in parse_config_file() local
180 int result = cp.next_token(&name, &value, &error); in parse_config_file()
194 if (!android::base::StartsWith(name, "dir.")) { in parse_config_file()
199 name.c_str()); in parse_config_file()
216 section_name = name.substr(4); in parse_config_file()
224 std::string name; in parse_config_file() local
228 int result = cp.next_token(&name, &value, &error); in parse_config_file()
230 if (result == ConfigParser::kSection && name == section_name) { in parse_config_file()
244 std::string name; in parse_config_file() local
248 int result = cp.next_token(&name, &value, &error); in parse_config_file()
255 if (properties->find(name) != properties->end()) { in parse_config_file()
259 name.c_str()); in parse_config_file()
262 (*properties)[name] = PropertyValue(std::move(value), cp.lineno()); in parse_config_file()
292 std::vector<std::string> get_strings(const std::string& name, size_t* lineno = nullptr) const { in get_strings() argument
293 auto it = find_property(name, lineno); in get_strings()
308 bool get_bool(const std::string& name, size_t* lineno = nullptr) const { in get_bool() argument
309 auto it = find_property(name, lineno); in get_bool()
317 std::string get_string(const std::string& name, size_t* lineno = nullptr) const { in get_string() argument
318 auto it = find_property(name, lineno); in get_string()
322 std::vector<std::string> get_paths(const std::string& name, size_t* lineno = nullptr) { in get_paths() argument
323 std::string paths_str = get_string(name, lineno); in get_paths()
354 find_property(const std::string& name, size_t* lineno) const { in find_property() argument
355 auto it = properties_.find(name); in find_property()
400 for (const auto& name : additional_namespaces) { in read_binary_config() local
401 namespace_configs[name] = g_config.create_namespace_config(name); in read_binary_config()
434 auto& name = ns_config_it.first; in read_binary_config() local
437 std::string property_name_prefix = std::string("namespace.") + name; in read_binary_config()
460 name + in read_binary_config()
487 NamespaceConfig* Config::create_namespace_config(const std::string& name) { in create_namespace_config() argument
488 namespace_configs_.push_back(std::unique_ptr<NamespaceConfig>(new NamespaceConfig(name))); in create_namespace_config()
490 namespace_configs_map_[name] = ns_config_ptr; in create_namespace_config()