Lines Matching refs:slash_bits
180 uint64_t slash_bits; in TEST() local
183 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
185 EXPECT_EQ(0, slash_bits); in TEST()
188 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
190 EXPECT_EQ(1, slash_bits); in TEST()
193 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
195 EXPECT_EQ(4, slash_bits); in TEST()
198 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
200 EXPECT_EQ(5, slash_bits); in TEST()
203 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
205 EXPECT_EQ(7, slash_bits); in TEST()
208 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
210 EXPECT_EQ(0, slash_bits); in TEST()
213 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
215 EXPECT_EQ(3, slash_bits); in TEST()
218 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
220 EXPECT_EQ(1, slash_bits); in TEST()
223 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
225 EXPECT_EQ(127, slash_bits); in TEST()
228 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
230 EXPECT_EQ(1, slash_bits); in TEST()
233 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
235 EXPECT_EQ(1, slash_bits); in TEST()
238 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
240 EXPECT_EQ(3, slash_bits); in TEST()
243 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
245 EXPECT_EQ(1, slash_bits); in TEST()
248 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
250 EXPECT_EQ(1, slash_bits); in TEST()
253 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
255 EXPECT_EQ(0, slash_bits); in TEST()
258 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
260 EXPECT_EQ(1, slash_bits); in TEST()
266 uint64_t slash_bits; in TEST() local
269 EXPECT_TRUE(::CanonicalizePath(buf, &size, &slash_bits, &err)); in TEST()
271 EXPECT_EQ(2, slash_bits); // Not including the trailing one. in TEST()
277 uint64_t slash_bits; in TEST() local
282 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
283 EXPECT_EQ(slash_bits, 0x0); in TEST()
292 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
293 EXPECT_EQ(slash_bits, 0xffffffff); in TEST()
299 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
300 EXPECT_EQ(slash_bits, 0x0); in TEST()
309 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
310 EXPECT_EQ(slash_bits, 0x1ffffffff); in TEST()
318 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
319 EXPECT_EQ(slash_bits, 0x0); in TEST()
329 EXPECT_TRUE(CanonicalizePath(&path, &slash_bits, &err)); in TEST()
330 EXPECT_EQ(slash_bits, 0x3ffffffffffffff); in TEST()