Lines Matching refs:property_descs

66 inline void ParseNamespacePath(const std::vector<std::string>& property_descs,  in ParseNamespacePath()  argument
71 ASSERT_EQ(property_descs[0] == "asan" ? 3u : 2u, property_descs.size()); in ParseNamespacePath()
74 if (property_descs[0] == "search") { in ParseNamespacePath()
76 } else if (property_descs[0] == "permitted") { in ParseNamespacePath()
78 } else if (property_descs[0] == "asan" && property_descs[1] == "search") { in ParseNamespacePath()
80 } else if (property_descs[0] == "asan" && property_descs[1] == "permitted") { in ParseNamespacePath()
92 inline void ParseLinkList(const std::vector<std::string>& property_descs, in ParseLinkList() argument
97 EXPECT_EQ(1u, property_descs.size()); in ParseLinkList()
112 inline void ParseLink(const std::vector<std::string>& property_descs, in ParseLink() argument
118 ASSERT_EQ(3u, property_descs.size()) << line; in ParseLink()
119 ASSERT_TRUE(property_descs[2] == "shared_libs" || in ParseLink()
120 property_descs[2] == "allow_all_shared_libs") in ParseLink()
122 std::string namespace_to = property_descs[1]; in ParseLink()
128 if (property_descs[2] == "shared_libs") { in ParseLink()
153 std::vector<std::string> property_descs; in ParseNamespaceCommand() local
157 property_descs.push_back(property); in ParseNamespaceCommand()
160 ASSERT_TRUE(property_descs.size() > 0) in ParseNamespaceCommand()
164 if (property_descs[0].compare("isolated") == 0) { in ParseNamespaceCommand()
166 EXPECT_EQ(1u, property_descs.size()) << line; in ParseNamespaceCommand()
169 } else if (property_descs[0].compare("visible") == 0) { in ParseNamespaceCommand()
171 EXPECT_EQ(1u, property_descs.size()) << line; in ParseNamespaceCommand()
174 } else if (property_descs[property_descs.size() - 1] == "paths") { in ParseNamespaceCommand()
177 property_descs, is_additional_property, value, current_namespace, line); in ParseNamespaceCommand()
178 } else if (property_descs[0] == "links") { in ParseNamespaceCommand()
181 property_descs, value, current_namespace, current_section, line); in ParseNamespaceCommand()
182 } else if (property_descs[0] == "link") { in ParseNamespaceCommand()
184 ParseLink(property_descs, in ParseNamespaceCommand()
190 } else if (property_descs[0] == "allowed_libs") { in ParseNamespaceCommand()
191 EXPECT_EQ(1u, property_descs.size()) << line; in ParseNamespaceCommand()