Lines Matching refs:match
36 std::smatch match; in ParseDirPath() local
38 ASSERT_TRUE(std::regex_match(line, match, dir_regex)) << line; in ParseDirPath()
39 ASSERT_EQ(3u, match.size()) << line; in ParseDirPath()
40 std::string section_name = match[1]; in ParseDirPath()
41 std::string dir_path = match[2]; in ParseDirPath()
51 inline void ParseAdditionalNamespaces(const std::smatch& match, in ParseAdditionalNamespaces() argument
54 ASSERT_EQ(2u, match.size()); in ParseAdditionalNamespaces()
55 std::stringstream namespaces(match[1]); in ParseAdditionalNamespaces()
215 std::smatch match; in ParseConfiguration() local
225 if (std::regex_match(line, match, section_name_regex)) { in ParseConfiguration()
227 ASSERT_EQ(2u, match.size()) << line; in ParseConfiguration()
228 std::string section_name = match[1]; in ParseConfiguration()
238 if (std::regex_match(line, match, additional_namespaces_regex)) { in ParseConfiguration()
239 ParseAdditionalNamespaces(match, *current_section); in ParseConfiguration()
241 EXPECT_TRUE(std::regex_match(line, match, namespace_base_regex)) << line; in ParseConfiguration()
242 ASSERT_EQ(5u, match.size()) << line; in ParseConfiguration()
243 std::string namespace_name = match[1]; in ParseConfiguration()
244 std::string property_desc = match[2]; in ParseConfiguration()
245 bool is_additional_property = match[3] == "+="; in ParseConfiguration()
246 std::string content = match[4]; in ParseConfiguration()