Lines Matching full:paths

124   const std::tuple<StringRef, bool, bool> Paths[] = {
139 for (const auto &Path : Paths) {
152 SmallVector<StringRef, 40> paths;
153 paths.push_back("");
154 paths.push_back(".");
155 paths.push_back("..");
156 paths.push_back("foo");
157 paths.push_back("/");
158 paths.push_back("/foo");
159 paths.push_back("foo/");
160 paths.push_back("/foo/");
161 paths.push_back("foo/bar");
162 paths.push_back("/foo/bar");
163 paths.push_back("//net");
164 paths.push_back("//net/");
165 paths.push_back("//net/foo");
166 paths.push_back("///foo///");
167 paths.push_back("///foo///bar");
168 paths.push_back("/.");
169 paths.push_back("./");
170 paths.push_back("/..");
171 paths.push_back("../");
172 paths.push_back("foo/.");
173 paths.push_back("foo/..");
174 paths.push_back("foo/./");
175 paths.push_back("foo/./bar");
176 paths.push_back("foo/..");
177 paths.push_back("foo/../");
178 paths.push_back("foo/../bar");
179 paths.push_back("c:");
180 paths.push_back("c:/");
181 paths.push_back("c:foo");
182 paths.push_back("c:/foo");
183 paths.push_back("c:foo/");
184 paths.push_back("c:/foo/");
185 paths.push_back("c:/foo/bar");
186 paths.push_back("prn:");
187 paths.push_back("c:\\");
188 paths.push_back("c:foo");
189 paths.push_back("c:\\foo");
190 paths.push_back("c:foo\\");
191 paths.push_back("c:\\foo\\");
192 paths.push_back("c:\\foo/");
193 paths.push_back("c:/foo\\bar");
194 paths.push_back(":");
196 for (SmallVector<StringRef, 40>::const_iterator i = paths.begin(),
197 e = paths.end();
221 // Crash test most of the API - since we're iterating over all of our paths
260 Relative[5] = '/'; // Fix up windows paths.
267 Relative[6] = '/'; // Fix up windows paths.
283 SmallVector<StringRef, 40> paths;
284 paths.push_back("");
285 paths.push_back(".");
286 paths.push_back("..");
287 paths.push_back("foo");
288 paths.push_back("/");
289 paths.push_back("/foo");
290 paths.push_back("foo/");
291 paths.push_back("/foo/");
292 paths.push_back("foo/bar");
293 paths.push_back("/foo/bar");
294 paths.push_back("//net");
295 paths.push_back("//net/");
296 paths.push_back("//net/foo");
297 paths.push_back("///foo///");
298 paths.push_back("///foo///bar");
299 paths.push_back("/.");
300 paths.push_back("./");
301 paths.push_back("/..");
302 paths.push_back("../");
303 paths.push_back("foo/.");
304 paths.push_back("foo/..");
305 paths.push_back("foo/./");
306 paths.push_back("foo/./bar");
307 paths.push_back("foo/..");
308 paths.push_back("foo/../");
309 paths.push_back("foo/../bar");
310 paths.push_back("c:");
311 paths.push_back("c:/");
312 paths.push_back("c:foo");
313 paths.push_back("c:/foo");
314 paths.push_back("c:foo/");
315 paths.push_back("c:/foo/");
316 paths.push_back("c:/foo/bar");
317 paths.push_back("prn:");
318 paths.push_back("c:\\");
319 paths.push_back("c:foo");
320 paths.push_back("c:\\foo");
321 paths.push_back("c:foo\\");
322 paths.push_back("c:\\foo\\");
323 paths.push_back("c:\\foo/");
324 paths.push_back("c:/foo\\bar");
326 for (StringRef p : paths) {
372 // paths below. They are not meant to prescribe the one true interpretation of
373 // these paths. Other decompositions (e.g. "//" -> "" + "//") are also
414 SmallVector<std::pair<StringRef, path::Style>, 4> Paths;
415 Paths.emplace_back("/foo/", path::Style::native);
416 Paths.emplace_back("/foo//", path::Style::native);
417 Paths.emplace_back("//net/foo/", path::Style::native);
418 Paths.emplace_back("c:\\foo\\", path::Style::windows);
420 for (auto &Path : Paths) {
714 // Two paths representing the same file on disk should still provide the
1051 // Also verify that paths with Unix separators are handled correctly.
1078 // While we're here, prove that .. and . handling works in these long paths.
1269 // The Windows filesystem support uses UTF-16 and converts paths from the
1302 SmallString<64> Paths[4];
1309 Twine(BaseDir) + "/foo/bar/baz/%%%%%%.tmp", fds[0], Paths[0]));
1311 Twine(BaseDir) + "/foo/bar/baz/%%%%%%.tmp", fds[1], Paths[1]));
1313 Twine(BaseDir) + "/foo/bar/buzz/%%%%%%.tmp", fds[2], Paths[2]));
1315 Twine(BaseDir) + "/foo/bar/buzz/%%%%%%.tmp", fds[3], Paths[3]));
1322 EXPECT_TRUE(fs::exists(Paths[0]));
1323 EXPECT_TRUE(fs::exists(Paths[1]));
1324 EXPECT_TRUE(fs::exists(Paths[2]));
1325 EXPECT_TRUE(fs::exists(Paths[3]));
1721 // If we succeeded, check that the paths are the same (modulo case):
1723 // The paths returned by createTemporaryFile and getPathFromOpenFD
2418 // Test that UNC paths are handled correctly.