/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/noncompile/ |
H A D | pr23576.c | 1 struct ipr_path_entry path[0]; /* { dg-error "array type has incomplete element type" } */ variable in typeref:struct:ipr_path_entry
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | net27.C | 3 class path { class 5 path (const path& r) function in class:path
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tree-ssa/ |
H A D | pr20920.C | 14 char *path = __null; local 17 path = j (); 18 if (path != __null) 19 if (d (path) != 0) 25 return path;
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/ |
H A D | extension.cc | 21 // 8.4.9 path decomposition [path.decompose] 28 using std::experimental::filesystem::path; 33 VERIFY( path("/foo/bar.txt").extension() == path(".txt") ); 34 VERIFY( path("/foo/bar.baz.txt").extension() == path(".txt") ); 35 VERIFY( path(".bar.baz.txt").extension() == path(".txt") ); 37 VERIFY( path(" [all...] |
H A D | root_directory.cc | 21 // 8.4.9 path decomposition [path.decompose] 27 using std::experimental::filesystem::path; 32 path p1 = "foo/bar"; 33 VERIFY( p1.root_directory() == path() ); 34 path p2 = "/foo/bar"; 35 VERIFY( p2.root_directory() == path("/") ); 36 path p3 = "//foo"; 37 VERIFY( p3.root_directory() == path() ); 38 path p [all...] |
H A D | root_path.cc | 21 // 8.4.9 path decomposition [path.decompose] 27 using std::experimental::filesystem::path; 32 path p1 = "foo/bar"; 33 VERIFY( p1.root_path() == path() ); 34 path p2 = "/foo/bar"; 35 VERIFY( p2.root_path() == path("/") ); 41 for (const path& p : __gnu_test::test_paths) 43 path rootp = p.root_path(); 44 path root [all...] |
H A D | root_name.cc | 21 // 8.4.9 path decomposition [path.decompose] 27 using std::experimental::filesystem::path; 32 VERIFY( path("/foo/bar.txt").extension() == ".txt" ); 33 VERIFY( path("/foo/bar.baz.txt").extension() == ".txt" ); 34 VERIFY( path(".").extension().empty() ); 35 VERIFY( path("..").extension().empty() );
|
H A D | stem.cc | 21 // 8.4.9 path decomposition [path.decompose] 28 using std::experimental::filesystem::path; 33 VERIFY( path("/foo/bar.txt").stem() == path("bar") ); 34 path p = "foo.bar.baz.tar"; 42 VERIFY( path(".hidden").stem() == path() ); 44 VERIFY( path().stem() == path() ); [all...] |
H A D | filename.cc | 21 // 8.4.9 path decomposition [path.decompose] 27 using std::experimental::filesystem::path; 32 VERIFY( path("/foo/bar.txt").filename() == "bar.txt" ); 33 VERIFY( path("/").filename() == "/" ); 34 VERIFY( path(".").filename() == "." ); 35 VERIFY( path("..").filename() == ".." ); 41 for (const path& p : __gnu_test::test_paths) 43 path f = p.filename();
|
/haiku-buildtools/gcc/libstdc++-v3/include/experimental/ |
H A D | fs_ops.h | 54 path absolute(const path& __p, const path& __base = current_path()); 56 path canonical(const path& __p, const path& __base = current_path()); 57 path canonical(const path& __p, error_code& __ec); 58 path canonical(const path [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/ |
H A D | hash_value.cc | 21 // 8.6 path non-member functions [path.non-member] 27 using std::experimental::filesystem::path; 32 VERIFY( hash_value(path("a//b")) == hash_value(path("a/b")) ); 33 VERIFY( hash_value(path("a/")) == hash_value(path("a/.")) ); 39 for (const path& p : __gnu_test::test_paths) 41 path pp = p.native();
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/construct/ |
H A D | copy.cc | 21 // 8.4.1 path constructors [path.construct] 26 using std::experimental::filesystem::path; 31 for (const path& p : __gnu_test::test_paths) 33 path copy = p; 41 for (const path& p : __gnu_test::test_paths) 43 path copy = p; 44 path move = std::move(copy);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/ |
H A D | replace_extension.cc | 21 // 8.4.5 path modifiers [path.modifiers] 27 using std::experimental::filesystem::path; 32 VERIFY( path("/foo.txt").replace_extension("cpp") == "/foo.cpp" ); 33 VERIFY( path("/foo.txt").replace_extension(".cpp") == "/foo.cpp" ); 34 VERIFY( path("/").replace_extension("bar") == "/.bar" ); 40 for (const path& p : __gnu_test::test_paths) 42 path p2 = p;
|
H A D | swap.cc | 21 // 8.4.5 path modifiers [path.modifiers] 27 using std::experimental::filesystem::path; 32 const path p("/foo/bar"); 33 path p1; 34 path p2 = p;
|
H A D | make_preferred.cc | 21 // 8.4.5 path modifiers [path.modifiers] 27 using std::experimental::filesystem::path; 40 VERIFY( path("foo/bar").make_preferred() == "foo/bar" ); 49 VERIFY( path("foo/bar").make_preferred() == L"foo\\bar" ); 56 checker<path::value_type, path::preferred_separator>::check();
|
H A D | remove_filename.cc | 21 // 8.4.5 path modifiers [path.modifiers] 27 using std::experimental::filesystem::path; 32 VERIFY( path("/foo").remove_filename() == "/" ); 33 VERIFY( path("/").remove_filename() == "" ); 39 for (const path& p : __gnu_test::test_paths) 41 path p2(p);
|
H A D | replace_filename.cc | 21 // 8.4.5 path modifiers [path.modifiers] 27 using std::experimental::filesystem::path; 32 VERIFY( path("/foo").replace_filename("bar") == "/bar" ); 33 VERIFY( path("/").replace_filename("bar") == "bar" ); 39 for (const path& p : __gnu_test::test_paths) 41 path p2(p);
|
/haiku-buildtools/gcc/gcc/ |
H A D | prefix.h | 33 extern char *update_path (const char *path, const char *key);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/ |
H A D | va-arg-pack-len-2.C | 11 extern int myopen2 (const char *path, int oflag); 12 extern int myopenva (const char *path, int oflag, ...); 15 myopen (const char *path, int oflag, ...) argument 25 return myopen2 (path, oflag); 27 return myopenva (path, oflag, __builtin_va_arg_pack ()); 31 return myopen2 (path, oflag); 33 return myopenva (path, oflag, __builtin_va_arg_pack ());
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | va-arg-pack-len-2.c | 11 extern int myopen2 (const char *path, int oflag); 12 extern int myopenva (const char *path, int oflag, ...); 15 myopen (const char *path, int oflag, ...) argument 25 return myopen2 (path, oflag); 27 return myopenva (path, oflag, __builtin_va_arg_pack ()); 31 return myopen2 (path, oflag); 33 return myopenva (path, oflag, __builtin_va_arg_pack ());
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/append/ |
H A D | path.cc | 21 // 8.4.3 path appends [path.append] 27 using std::experimental::filesystem::path; 32 const path p("/foo/bar"); 34 path pp = p; 38 path q("baz"); 40 path qq = q; 47 path r = ""; 48 r /= path(); 51 r /= path("re [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/compare/ |
H A D | compare.cc | 21 // 8.4.8 path compare [path.compare] 27 using std::experimental::filesystem::path; 32 path p("/foo/bar"); 36 path q("/foo/baz"); 40 path r("/foo/bar/."); 43 VERIFY( path("a/b/").compare("a/b/.") == 0 );
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/generic/ |
H A D | generic_string.cc | 21 // 8.4.7 path generic format observers [path.generic.obs] 27 using std::experimental::filesystem::path; 32 for (const path& p : __gnu_test::test_paths) 34 path p2(p), p3; 36 VERIFY( p2 == path() ); 40 VERIFY( p3 == path() );
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/forward_list/modifiers/ |
H A D | 1.cc | 47 std::forward_list<PathPoint> path; local 49 path.emplace_front('a', coord1); 51 std::forward_list<PathPoint>::const_iterator pos = path.cbegin(); 54 path.emplace_after(pos, 'b', coord2); 56 VERIFY(path.front().getType() == 'a'); 58 path.pop_front(); 60 VERIFY(path.front().getType() == 'b'); 62 path.pop_front(); 64 VERIFY(path.empty() == true);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/assign/ |
H A D | copy.cc | 24 using std::experimental::filesystem::path; 30 for (const path& p : __gnu_test::test_paths) 32 path copy; 41 for (const path& p : __gnu_test::test_paths) 43 path copy = p; 44 path move;
|