Lines Matching refs:lineno
114 size_t lineno() const { in lineno() function in ConfigParser
149 PropertyValue(std::string&& value, size_t lineno) in PropertyValue() argument
150 : value_(std::move(value)), lineno_(lineno) {} in PropertyValue()
164 size_t lineno() const { in lineno() function in PropertyValue
174 size_t lineno, in create_error_msg() argument
177 async_safe_format_buffer(buf, sizeof(buf), "%s:%zu: error: %s", file, lineno, msg.c_str()); in create_error_msg()
208 cp.lineno(), in parse_config_file()
222 cp.lineno(), in parse_config_file()
235 cp.lineno()); in parse_config_file()
259 cp.lineno(), in parse_config_file()
288 cp.lineno(), in parse_config_file()
310 cp.lineno(), in parse_config_file()
314 (*properties)[name] = PropertyValue(std::move(value), cp.lineno()); in parse_config_file()
319 cp.lineno(), in parse_config_file()
321 (*properties)[name] = PropertyValue(std::move(value), cp.lineno()); in parse_config_file()
334 cp.lineno(), in parse_config_file()
343 cp.lineno(), in parse_config_file()
367 std::vector<std::string> get_strings(const std::string& name, size_t* lineno = nullptr) const { in get_strings() argument
368 auto it = find_property(name, lineno); in get_strings()
383 bool get_bool(const std::string& name, size_t* lineno = nullptr) const { in get_bool() argument
384 auto it = find_property(name, lineno); in get_bool()
392 std::string get_string(const std::string& name, size_t* lineno = nullptr) const { in get_string() argument
393 auto it = find_property(name, lineno); in get_string()
397 …std::vector<std::string> get_paths(const std::string& name, bool resolve, size_t* lineno = nullptr… in get_paths() argument
398 std::string paths_str = get_string(name, lineno); in get_paths()
436 find_property(const std::string& name, size_t* lineno) const { in find_property()
438 if (it != properties_.end() && lineno != nullptr) { in find_property()
439 *lineno = it->second.lineno(); in find_property()
510 size_t lineno = 0; in read_binary_config() local
512 properties.get_strings(property_name_prefix + ".links", &lineno); in read_binary_config()
517 lineno, in read_binary_config()
528 ".shared_libs", &lineno); in read_binary_config()
532 lineno, in read_binary_config()
542 *error_msg = create_error_msg(ld_config_file_path, lineno, in read_binary_config()
556 properties.get_string(property_name_prefix + ".whitelisted", &lineno); in read_binary_config()