Searched refs:absolutePath (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | file.d | 3448 auto absolutePath = realpath(buffer.ptr, null); // let the function allocate in thisExePath() local 3452 if (absolutePath) in thisExePath() 3453 free(absolutePath); in thisExePath() 3456 errnoEnforce(absolutePath); in thisExePath() 3457 return to!(string)(absolutePath); in thisExePath() 3553 auto absolutePath = realpath(argv0, null); in thisExePath() local 3556 if (absolutePath) in thisExePath() 3557 free(absolutePath); in thisExePath() 3559 errnoEnforce(absolutePath); in thisExePath() 3560 return to!(string)(absolutePath); in thisExePath() [all …]
|
H A D | path.d | 2749 string absolutePath(string path, lazy string base = getcwd()) 2765 assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version() 2766 assert(absolutePath("../file", "/foo/bar") == "/foo/bar/../file"); in version() 2767 assert(absolutePath("/some/file", "/foo/bar") == "/some/file"); in version() 2772 assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); in version() 2773 assert(absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`); in version() 2774 assert(absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`); in version() 2775 assert(absolutePath(`\`, `c:\`) == `c:\`); in version() 2776 assert(absolutePath(`\some\file`, `c:\foo\bar`) == `c:\some\file`); in version() 2784 static assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version() [all …]
|
H A D | process.d | 3993 auto helper = absolutePath("std_process_unittest_helper");
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
H A D | file.d | 2725 auto absolutePath = realpath(buffer.ptr, null); // let the function allocate in thisExePath() local 2729 if (absolutePath) in thisExePath() 2730 free(absolutePath); in thisExePath() 2733 errnoEnforce(absolutePath); in thisExePath() 2734 return to!(string)(absolutePath); in thisExePath() 4044 import std.path : dirEntries, buildPath, absolutePath; 4063 auto len = enforce(walkLength(dirEntries(absolutePath(relpath), mode))); 4066 map!(a => absolutePath(a.name))(dirEntries(relpath, mode)), 4067 map!(a => a.name)(dirEntries(absolutePath(relpath), mode)))); 4081 foreach (DirEntry e; dirEntries(absolutePath(testdir), SpanMode.breadth))
|
H A D | path.d | 2649 string absolutePath(string path, lazy string base = getcwd()) 2665 assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version() 2666 assert(absolutePath("../file", "/foo/bar") == "/foo/bar/../file"); in version() 2667 assert(absolutePath("/some/file", "/foo/bar") == "/some/file"); in version() 2672 assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); in version() 2673 assert(absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`); in version() 2674 assert(absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`); in version() 2675 assert(absolutePath(`\`, `c:\`) == `c:\`); in version() 2676 assert(absolutePath(`\some\file`, `c:\foo\bar`) == `c:\some\file`); in version() 2684 static assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version() [all …]
|
H A D | process.d | 3185 auto helper = absolutePath("std_process_unittest_helper");
|