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()
335 cp.lineno(), in parse_config_file()
344 cp.lineno(), in parse_config_file()
363 std::vector<std::string> get_strings(const std::string& name, size_t* lineno = nullptr) const { in get_strings() argument
364 auto it = find_property(name, lineno); in get_strings()
379 bool get_bool(const std::string& name, size_t* lineno = nullptr) const { in get_bool() argument
380 auto it = find_property(name, lineno); in get_bool()
388 std::string get_string(const std::string& name, size_t* lineno = nullptr) const { in get_string() argument
389 auto it = find_property(name, lineno); in get_string()
393 …std::vector<std::string> get_paths(const std::string& name, bool resolve, size_t* lineno = nullptr… in get_paths() argument
394 std::string paths_str = get_string(name, lineno); in get_paths()
447 find_property(const std::string& name, size_t* lineno) const { in find_property()
449 if (it != properties_.end() && lineno != nullptr) { in find_property()
450 *lineno = it->second.lineno(); in find_property()
522 size_t lineno = 0; in read_binary_config() local
524 properties.get_strings(property_name_prefix + ".links", &lineno); in read_binary_config()
529 lineno, in read_binary_config()
540 ".shared_libs", &lineno); in read_binary_config()
544 lineno, in read_binary_config()
554 *error_msg = create_error_msg(ld_config_file_path, lineno, in read_binary_config()
568 properties.get_string(property_name_prefix + ".whitelisted", &lineno); in read_binary_config()