Lines Matching refs:path

34 static inline void _VerifyPathValue(const std::string& path,  in _VerifyPathValue()  argument
37 EXPECT_TRUE(android::base::ReadFileToString(path, &s)) << strerror(errno); in _VerifyPathValue()
44 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false, false); in TEST()
46 _VerifyPathValue(tf.path, ""); in TEST()
52 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, true, true); in TEST()
54 _VerifyPathValue(tf.path, "value1"); in TEST()
56 FileNode t2("t2", tf2.path, {{"value0"}, {"value1"}, {"value2"}}, 0, true, true); in TEST()
58 _VerifyPathValue(tf2.path, "value0"); in TEST()
64 FileNode t("test_dump", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, in TEST()
78 "test_dump", tf.path, static_cast<size_t>(1), "value1", 0, 1)); in TEST()
79 _VerifyPathValue(dumptf.path, buf); in TEST()
85 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false, false); in TEST()
97 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false, false); in TEST()
139 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 2, true, true); in TEST()
144 _VerifyPathValue(tf.path, "value1"); in TEST()
150 _VerifyPathValue(tf.path, "value0"); in TEST()
156 _VerifyPathValue(tf.path, "value1"); in TEST()
162 _VerifyPathValue(tf.path, "value2"); in TEST()
169 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 2, true, true); in TEST()
174 _VerifyPathValue(tf.path, "value1"); in TEST()
180 _VerifyPathValue(tf.path, "value0"); in TEST()
186 _VerifyPathValue(tf.path, "value1"); in TEST()
192 _VerifyPathValue(tf.path, "value2"); in TEST()
199 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 2, true, in TEST()
206 _VerifyPathValue(tf.path, "value1"); in TEST()
212 _VerifyPathValue(tf.path, "value0"); in TEST()
218 _VerifyPathValue(tf.path, "value0"); in TEST()
224 _VerifyPathValue(tf.path, "value0"); in TEST()
230 _VerifyPathValue(tf.path, "value1"); in TEST()
236 _VerifyPathValue(tf.path, "value2"); in TEST()