Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_format.inc178 internal_memset(dir, 0, sizeof(*dir));
179 dir->argIdx = -1;
186 dir->begin = p;
259 dir->end = p;
273 if (dir->convSpecifier != 'a' || dir->lengthModifier[0])
328 SanitizerToolName, static_cast<int>(dir.end - dir.begin), dir.begin);
387 internal_memset(dir, 0, sizeof(*dir));
388 dir->argIdx = -1;
436 dir->end = p;
511 if (dir.argIdx != -1 || dir.precisionIdx != -1) {
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dsystem-include-extractor.test1 # RUN: rm -rf %t.dir && mkdir -p %t.dir
7 # RUN: mkdir -p %t.dir/bin
8 # RUN: export PATH=%t.dir/bin:$PATH
12 # RUN: echo '[ "$0" = "%t.dir/bin/my_driver.sh" ] || exit' >> %t.dir/bin/my_driver.sh
20 # RUN: echo 'echo %t.dir/my/dir/ >&2' >> %t.dir/bin/my_driver.sh
21 # RUN: echo 'echo %t.dir/my/dir2/ >&2' >> %t.dir/bin/my_driver.sh
23 # RUN: chmod +x %t.dir/bin/my_driver.sh
26 # RUN: mkdir -p %t.dir/my/dir
27 # RUN: touch %t.dir/my/dir/a.h
28 # RUN: mkdir -p %t.dir/my/dir2
[all …]
/llvm-project-15.0.7/lld/test/COFF/
H A Ddriver-opt.s1 # RUN: mkdir -p %t.dir
2 # RUN: yaml2obj %s -o %t.dir/foo.obj
4 # RUN: rm -f %t.dir/foo.sys
5 # RUN: cd %t.dir; lld-link /driver foo.obj
12 # RUN: rm -f %t.dir/foo.sys
19 # RUN: rm -f %t.dir/foo.sys
26 # RUN: rm -f %t.dir/foo.sys
30 # RUN: rm -f %t.dir/foo.sys
38 # RUN: rm -f %t.dir/foo.sys
42 # RUN: rm -f %t.dir/foo.sys
[all …]
H A Dforce-multipleres.test8 RUN: rm -rf %t.dir
9 RUN: mkdir %t.dir
10 RUN: cp %S/Inputs/id.res %t.dir/id1.res
11 RUN: cp %S/Inputs/id.res %t.dir/id2.res
12 RUN: cp %S/Inputs/id.res.o %t.dir/id1.o
13 RUN: cp %S/Inputs/id.res.o %t.dir/id2.o
15 RUN: not lld-link /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2.res 2>&1 | \
17 RUN: not lld-link /lldmingw /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2.o 2>…
19 RUN: not lld-link /lldmingw /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.o %t.dir/id2.o 2>&1…
23 RUN: lld-link /force /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2.res 2>&1 | \
[all …]
/llvm-project-15.0.7/llvm/utils/
H A DUpdateCMakeLists.pl12 my $dir = shift;
13 my $x = $dirFiles{$dir};
16 $dirFiles{$dir} = $x;
23 my $dir = $File::Find::dir;
36 $files = GetFiles($dir);
46 my $dir = shift;
47 my $files = $dirFiles{$dir};
62 my $dir = shift;
73 EmitCMakeList($dir);
110 if (UpdateCMake($dirCMake{$dir}, $dir)) {
[all …]
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dinput-relative.s5 # RUN: rm -rf %t.dir && mkdir %t.dir && cd %t.dir
7 # RUN: mkdir dir
12 # RUN: llvm-ar rc dir/libb.a dir/b.o
16 # RUN: echo 'INPUT(libb.a)' > dir/relative.lds
19 # RUN: echo 'GROUP(libb.a)' > dir/relative1.lds
22 # DIR: T dir
25 # RUN: echo 'INPUT(-lb)' > dir/cwd.lds
27 # RUN: echo 'GROUP(-lb)' > dir/cwd1.lds
33 # RUN: echo 'INPUT(/libb.a)' > dir/absolute.lds
39 # RUN: echo 'INPUT(libc.a)' > dir/fallback.lds
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Dmodified-module-dependency.m1 // RUN: rm -rf %t-dir
2 // RUN: mkdir -p %t-dir
3 // RUN: echo '@import test;' > %t-dir/prefix.h
4 // RUN: echo 'void foo(void);' > %t-dir/test.h
5 // RUN: cp %S/modified-module-dependency.module.map %t-dir/module.map
8 …ive-c -I %t-dir -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-dir/cache -fdisable-modul…
11 // RUN: echo ' ' >> %t-dir/test.h
14 …-dir -include-pch %t-dir/prefix.pch -fmodules -fimplicit-module-maps -fmodules-cache-path=%t-dir/c…
15 // RUN: FileCheck %s < %t-dir/log
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A Dfuzzer-dirs.test20 RUN: rm -rf %t.dir && mkdir -p %t.dir
36 RUN: rm -rf %t.dir && mkdir -p %t.dir/access_restricted
42 …dirs=1 -artifact_prefix=%t.dir/subdira/./././artifacts/ -features_dir=%t.dir/subdirb/dummy_dir/./.…
43 RUN: test -e %t.dir/subdira/artifacts/
44 RUN: test -e %t.dir/subdirb/subdirb/features/
45 RUN: test -e %t.dir/subdirc/corpus/
46 RUN: test -e %t.dir/subdirb/dummy_dir
56 RUN: test -e %t.dir/subdire/ && not test -e %t.dir/subdire/myprefix
61 RUN: test -e %t.dir/cwd_artifacts/
62 RUN: test -e %t.dir/cwd_features/subdirtest/
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/
H A Dcreate_directory.pass.cpp60 const path dir = env.create_dir("dir1"); in TEST_CASE() local
64 TEST_CHECK(is_directory(dir)); in TEST_CASE()
66 TEST_CHECK(fs::create_directory(dir) == false); in TEST_CASE()
72 const path dir = env.make_env_path("dir1"); in TEST_CASE() local
76 TEST_CHECK(is_directory(dir)); in TEST_CASE()
78 auto st = status(dir); in TEST_CASE()
86 const path dir = env.make_env_path("dir1/dir2"); in TEST_CASE() local
91 TEST_CHECK(!is_directory(dir)); in TEST_CASE()
109 const path dir = env.make_env_path("file/dir1"); in TEST_CASE() local
114 TEST_CHECK(!exists(dir)); in TEST_CASE()
[all …]
H A Dcreate_directory_with_attributes.pass.cpp44 const path dir = env.create_dir("dir1"); in TEST_CASE() local
47 const perms orig_p = status(dir).permissions(); in TEST_CASE()
55 TEST_CHECK(orig_p == status(dir).permissions()); in TEST_CASE()
69 const path dir = env.make_env_path("dir1"); in TEST_CASE() local
76 TEST_CHECK(is_directory(dir)); in TEST_CASE()
79 auto st = status(dir); in TEST_CASE()
87 const path dir = env.make_env_path("dir1/dir2"); in TEST_CASE() local
93 TEST_CHECK(!is_directory(dir)); in TEST_CASE()
112 const path dir = env.make_env_path("file/dir1"); in TEST_CASE() local
118 TEST_CHECK(!exists(dir)); in TEST_CASE()
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Dreproduce.s3 # RUN: rm -rf %t.dir
4 # RUN: mkdir -p %t.dir/build1
6 # RUN: echo '_main' > %t.dir/main.exports
7 # RUN: echo '_main' > %t.dir/main.order
8 # RUN: echo 'not a virus' > %t.dir/sectdata.txt
9 # RUN: cd %t.dir
24 # RUN: cmp build1/foo.o repro1/%:t.dir/build1/foo.o
26 # RUN: diff main.order repro1/%:t.dir/main.order
43 # RUN: mkdir -p %t.dir/build2/a/b/c
45 # RUN: cd %t.dir/build2/a/b/c
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-tli-checker/
H A Dmulti-file.yaml7 # RUN: mkdir -p %t.dir
8 # RUN: yaml2obj --docnum=1 %s -o %t.dir/file1
9 # RUN: yaml2obj --docnum=2 %s -o %t.dir/file2
13 # RUN: %t.dir/file1 %t.dir/file2 %t.dir/file3 | \
24 # RUN: --libdir=%t.dir @%t.dir/resp1.txt | \
27 # RUN: echo %t.dir/file1 > %t.dir/resp2.txt
28 # RUN: echo %t.dir/file2 >> %t.dir/resp2.txt
29 # RUN: echo %t.dir/file3 >> %t.dir/resp2.txt
31 # RUN: @%t.dir/resp2.txt | \
36 # RUN: rm -f %t.dir/archive.a
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-cov/
H A Ddir-with-filtering.test1 RUN: llvm-profdata merge %S/Inputs/dir-with-filtering.proftext -o %t.profdata
8 TEXT-INDEX: dir-with-filtering1.cpp 1 0 100.00% 1 0 100.00% 4 0 100.00%
9 TEXT-INDEX: dir-with-filtering2.cpp 1 1 0.00% 1 1 0.00% 3 3 0.00%
27 …puts/dir-with-filtering.covmapping -o %t.text_one_file -instr-profile %t.profdata -path-equivalenc…
30 TEXT-INDEX-ONE-FILE: dir-with-filtering1.cpp 1 0 100.00% 1 0 100.00% 4 0 100.00%
31 TEXT-INDEX-ONE-FILE-NOT: dir-with-filtering2.cpp
41 TEXT-INDEX-ONE-FUNC-NOT: dir-with-filtering2.cpp
45 RUN: llvm-profdata merge %S/Inputs/dir-with-filtering.proftext -o %t.profdata
69 RUN: llvm-profdata merge %S/Inputs/dir-with-filtering.proftext -o %t.profdata
75 HTML-INDEX-ONE-FILE-NOT: dir-with-filtering2.cpp
[all …]
/llvm-project-15.0.7/lldb/scripts/lldb-test-qemu/
H A Drootfs.sh80 mkdir $image_name.dir
81 sudo mount -o loop $image_name.img $image_name.dir
83 sudo qemu-debootstrap --arch $rfs_arch $rfs_distro $image_name.dir
85 sudo chroot $image_name.dir locale-gen en_US.UTF-8
87 sudo chroot $image_name.dir sed -i \
92 sudo chroot $image_name.dir apt update
93 sudo chroot $image_name.dir apt -y install ssh bash-completion
94 sudo chroot $image_name.dir adduser --gecos "" $USER
95 sudo chroot $image_name.dir adduser $USER sudo
96 sudo umount $image_name.dir
[all …]
/llvm-project-15.0.7/flang/lib/Parser/
H A Dpreprocessor.cpp400 std::size_t j{dir.SkipBlanks(0)}; in Directive()
408 j = dir.SkipBlanks(j + 1); in Directive()
415 if (IsDecimalDigit(dir.TokenAt(j)[0]) || dir.TokenAt(j)[0] == '"') { in Directive()
420 j = dir.SkipBlanks(j + 1); in Directive()
423 nameToken = dir.TokenAt(j); in Directive()
437 j = dir.SkipBlanks(j + 1); in Directive()
482 j = dir.SkipBlanks(j + 1); in Directive()
486 j = dir.SkipBlanks(j + 1); in Directive()
530 if (dir.IsAnythingLeft(j)) { in Directive()
557 if (dir.IsAnythingLeft(j)) { in Directive()
[all …]
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dupdate.test1 RUN: rm -rf %t.dir
2 RUN: mkdir -p %t.dir
3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %t.dir/basic
4 RUN: dsymutil -accelerator=Pub -oso-prepend-path=%p/.. %t.dir/basic
5 RUN: llvm-dwarfdump -a %t.dir/basic.dSYM | FileCheck %S/basic-linking-x86.test
6 RUN: dsymutil -accelerator=Pub --update %t.dir/basic.dSYM
7 RUN: llvm-dwarfdump -a %t.dir/basic.dSYM | FileCheck %S/basic-linking-x86.test
8 RUN: dsymutil -accelerator=Pub -u %t.dir/basic.dSYM
9 RUN: llvm-dwarfdump -a %t.dir/basic.dSYM | FileCheck %S/basic-linking-x86.test
10 RUN: dsymutil -accelerator=Pub --update %t.dir/basic.dSYM -o %t.dir/updated.dSYM
[all …]
H A Dswift-interface.test1 # RUN: rm -rf %t.dir
2 # RUN: mkdir -p %t.dir/obj
3 # RUN: mkdir -p %t.dir/Foo/x86_64
4 # RUN: llvm-mc -triple x86_64-apple-macos -filetype=obj -o %t.dir/obj/1.o \
6 # RUN: dsymutil -oso-prepend-path %t.dir -y %s \
7 # RUN: -o %t.dir/swift-interface.dSYM 2>&1 \
9 # RUN: echo "// module Foo" >%t.dir/Foo/x86_64.swiftinterface
10 # RUN: dsymutil -oso-prepend-path %t.dir -y %s \
11 # RUN: -o %t.dir/swift-interface.dSYM
12 # RUN: cat %t.dir/swift-interface.dSYM/Contents/Resources/Swift/x86_64/Foo.swiftinterface \
H A Dreflection-dump.test1 RUN: rm -rf %t.dir && mkdir -p %t.dir/tmp
2 RUN: cp %p/../Inputs/main.yaml %t.dir
3 RUN: cp %p/../Inputs/test.yaml %t.dir
4 RUN: cp %p/../Inputs/reflection_metadata.yaml %t.dir
5 RUN: yaml2obj %p/../Inputs/main.yaml -o %t.dir/main
6 RUN: yaml2obj %p/../Inputs/test.yaml -o %t.dir/tmp/test-1.o
7 RUN: yaml2obj %p/../Inputs/reflection_metadata.yaml -o %t.dir/tmp/reflection_metadata-1.o
9 RUN: dsymutil -oso-prepend-path=%t.dir %t.dir/main -o %t.dir/main.dSYM
10 RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck %s
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Drefresh.pass.cpp86 permissions(dir, perms::none); in TEST_CASE()
89 permissions(dir, old_perms); in TEST_CASE()
100 permissions(dir, perms::none); in TEST_CASE()
138 permissions(dir, old_perms); in TEST_CASE()
175 permissions(dir, perms::none); in TEST_CASE()
189 permissions(dir, old_perms); in TEST_CASE()
192 permissions(dir, perms::none); in TEST_CASE()
204 permissions(dir, old_perms); in TEST_CASE()
222 permissions(dir, old_perms); in TEST_CASE()
321 permissions(dir, old_perms); in TEST_CASE()
[all …]
/llvm-project-15.0.7/clang/utils/
H A DCaptureCmd24 def saveCaptureData(prefix, dir, object): argument
27 path = os.path.join(dir,
37 dir = os.getenv('CAPTURE_CMD_DIR')
41 if not dir:
45 if not os.path.exists(dir):
46 os.mkdir(dir, 0700)
51 envKey = saveCaptureData('env-', dir, env)
52 cwdKey = saveCaptureData('cwd-', dir, os.getcwd())
53 argvKey = saveCaptureData('argv-', dir, sys.argv)
55 saveCaptureData('cmd-', dir, entry)
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/
H A Dcreate_directories.pass.cpp44 const path dir = env.create_dir("dir1"); in TEST_CASE() local
46 TEST_CHECK(fs::create_directories(dir, ec) == false); in TEST_CASE()
48 TEST_CHECK(is_directory(dir)); in TEST_CASE()
54 const path dir = env.make_env_path("dir1"); in TEST_CASE() local
56 TEST_CHECK(fs::create_directories(dir, ec) == true); in TEST_CASE()
58 TEST_CHECK(is_directory(dir)); in TEST_CASE()
66 TEST_CHECK(fs::create_directories(dir, ec) == true); in TEST_CASE()
68 TEST_CHECK(is_directory(dir)); in TEST_CASE()
118 const path dir = env.make_env_path("file/dir1"); in TEST_CASE() local
124 TEST_CHECK(!exists(dir)); in TEST_CASE()
[all …]
/llvm-project-15.0.7/clang/test/Frontend/
H A Dabsolute-paths-windows.test2 // RUN: rm -rf %t.dir
3 // RUN: mkdir -p %t.dir\real
4 // RUN: cmd /c mklink /j %t.dir\junc %t.dir\real
5 // RUN: echo "wrong code" > %t.dir\real\foo.cpp
6 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths %t.dir\junc\foo.cpp 2>&1 | FileCh…
8 // CHECK-NOT: .dir\real\foo.cpp
9 // CHECK: .dir\junc\foo.cpp
/llvm-project-15.0.7/libc/test/src/dirent/
H A Ddirent_test.cpp23 ::DIR *dir = __llvm_libc::opendir("testdata"); in TEST()
24 ASSERT_TRUE(dir != nullptr); in TEST()
28 ASSERT_GT(__llvm_libc::dirfd(dir), 2); in TEST()
33 struct ::dirent *d = __llvm_libc::readdir(dir); in TEST()
54 ASSERT_EQ(__llvm_libc::closedir(dir), 0); in TEST()
59 ::DIR *dir = __llvm_libc::opendir("___xyz123__.non_existent__"); in TEST()
60 ASSERT_TRUE(dir == nullptr); in TEST()
67 ::DIR *dir = __llvm_libc::opendir("testdata/file1.txt"); in TEST()
68 ASSERT_TRUE(dir == nullptr); in TEST()
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dcache-config.ll4 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx
5 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mcpu=core2
6 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -relax-elf-relocatio…
7 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -function-sections
8 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -data-sections
9 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -debugger-tune=sce
10 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mattr=+sse2
12 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -code-model=large
13 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -cg-opt-level=0
14 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -O1
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-cvtres/
H A Dduplicate.test7 RUN: rm -rf %t.dir
8 RUN: mkdir %t.dir
9 RUN: cp %S/Inputs/id.res %t.dir/id1.res
10 RUN: cp %S/Inputs/id.res %t.dir/id2.res
11 RUN: not llvm-cvtres /machine:X86 %t.dir/id1.res %t.dir/id2.res 2>&1 | \
15 RUN: cp %S/Inputs/name.res %t.dir/name1.res
16 RUN: cp %S/Inputs/name.res %t.dir/name2.res
17 RUN: not llvm-cvtres /machine:X86 %t.dir/name1.res %t.dir/name2.res 2>&1 | \

12345678910>>...27