/external/clang/test/VFS/Inputs/ |
D | vfsoverlay.yaml | 5 'contents': [ 7 'external-contents': 'INPUT_DIR/actual_header.h' 10 'external-contents': 'INPUT_DIR/import_some_frame.h' 13 'external-contents': 'INPUT_DIR/actual_module.map' 16 'external-contents': 'INPUT_DIR/include_real.h' 19 'contents': [ 21 'contents': [ 23 'external-contents': 'INPUT_DIR/public_header.h' }, 25 'external-contents': 'INPUT_DIR/public_header2.h' }, 27 'external-contents': 'INPUT_DIR/public_header3.h' } [all …]
|
/external/llvm-project/clang/test/VFS/Inputs/ |
D | vfsoverlay.yaml | 5 'contents': [ 7 'external-contents': 'INPUT_DIR/actual_header.h' 10 'external-contents': 'INPUT_DIR/import_some_frame.h' 13 'external-contents': 'INPUT_DIR/actual_module.map' 16 'external-contents': 'INPUT_DIR/include_real.h' 19 'contents': [ 21 'contents': [ 23 'external-contents': 'INPUT_DIR/public_header.h' }, 25 'external-contents': 'INPUT_DIR/public_header2.h' }, 27 'external-contents': 'INPUT_DIR/public_header3.h' } [all …]
|
D | vfsroot.yaml | 3 'use-external-names': false, 7 'contents': [ 8 { 'name': 'vfsroot-include.c', 'type': 'file', 9 'external-contents': 'TEST_DIR/vfsroot-include.c' 11 { 'name': 'vfsroot-with-overlay.c', 'type': 'file', 12 'external-contents': 'TEST_DIR/vfsroot-with-overlay.c' 14 { 'name': 'vfsroot-module.m', 'type': 'file', 15 'external-contents': 'TEST_DIR/vfsroot-module.m' 19 { 'name': '/direct-vfs-root-files', 'type': 'directory', 20 'contents': [ [all …]
|
D | bar-headers.yaml | 3 'case-sensitive': 'false', 8 'contents': [ 12 'external-contents': "OUT_DIR/Bar.framework/Headers/A.h" 17 'external-contents': "OUT_DIR/Bar.framework/Headers/B.h" 22 'external-contents': "OUT_DIR/Bar.framework/Headers/C.h" 29 'contents': [ 33 'external-contents': "OUT_DIR/Bar.framework/Modules/module.modulemap"
|
/external/clang/unittests/libclang/ |
D | LibclangTest.cpp | 1 //===- unittests/libclang/LibclangTest.cpp --- libclang tests -------------===// 8 //===----------------------------------------------------------------------===// 10 #include "clang-c/Index.h" 18 #define DEBUG_TYPE "libclang-test" 42 const char *Contents; member 45 TestVFO(const char *Contents) : Contents(Contents) { in TestVFO() 60 if (Contents) { in ~TestVFO() 65 EXPECT_STREQ(Contents, BufStr.c_str()); in ~TestVFO() 74 const char *contents = in TEST() local 81 " 'contents': [\n" in TEST() [all …]
|
/external/llvm-project/clang/test/Modules/Inputs/framework-public-includes-private/ |
D | z.yaml | 3 'case-sensitive': 'false', 4 'use-external-names' : 'false', 9 'contents': [ 13 'external-contents': "TEST_DIR/flat-header-path/Z.h" 20 'contents': [ 24 'external-contents': "TEST_DIR/flat-header-path/ZPriv.h" 31 'contents': [ 35 'external-contents': "TEST_DIR/flat-header-path/Z.modulemap" 40 'external-contents': "TEST_DIR/flat-header-path/Z.private.modulemap"
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 1 //===- unittests/Basic/VirtualFileSystem.cpp ---------------- VFS tests ---===// 8 //===----------------------------------------------------------------------===// 55 return I->second; in status() 78 if (LastSep == Path.size() || LastSep == Path.size()-1) in isInPath() 88 if (isInPath(I->first)) { in DirIterImpl() 89 CurrentEntry = I->second; in DirIterImpl() 97 if (isInPath(I->first)) { in increment() 98 CurrentEntry = I->second; in increment() 142 D->addRegularFile("/foo"); in TEST() 143 Status = D->status("/foo"); in TEST() [all …]
|
/external/llvm-project/clang/unittests/libclang/ |
D | LibclangTest.cpp | 1 //===- unittests/libclang/LibclangTest.cpp --- libclang tests -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 #include "clang-c/Index.h" 10 #include "clang-c/Rewrite.h" 23 #define DEBUG_TYPE "libclang-test" 47 const char *Contents; member 50 TestVFO(const char *Contents) : Contents(Contents) { in TestVFO() 65 if (Contents) { in ~TestVFO() 70 EXPECT_STREQ(Contents, BufStr.c_str()); in ~TestVFO() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | VirtualFileSystemTest.cpp | 1 //===- unittests/Support/VirtualFileSystem.cpp -------------- VFS tests ---===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 #include "llvm/Config/llvm-config.h" 64 return I->second; in status() 86 if (I->second.isSymlink()) { in getRealPath() 103 if (LastSep == Path.size() || LastSep == Path.size() - 1) in isInPath() 113 if (isInPath(I->first)) { in DirIterImpl() 114 CurrentEntry = vfs::directory_entry(std::string(I->second.getName()), in DirIterImpl() 115 I->second.getType()); in DirIterImpl() [all …]
|
/external/llvm-project/clang/test/VFS/Inputs/Nonmodular/ |
D | nonmodular-headers.yaml | 3 'case-sensitive': 'false', 8 'contents': [ 12 'external-contents': "IN_DIR/Inputs/Nonmodular/umbrella.h" 17 'external-contents': "IN_DIR/Inputs/Nonmodular/A.h" 24 'contents': [ 28 'external-contents': "OUT_DIR/module.modulemap"
|
/external/clang/test/Index/Inputs/ |
D | vfsoverlay.yaml | 5 'contents': [ 7 'external-contents': 'INPUT_DIR/module.map' 10 'external-contents': 'INPUT_DIR/module_needs_vfs.h' 13 'external-contents': 'INPUT_DIR/base_module_needs_vfs.h'
|
/external/llvm-project/clang/test/Index/Inputs/ |
D | vfsoverlay.yaml | 5 'contents': [ 7 'external-contents': 'INPUT_DIR/module.map' 10 'external-contents': 'INPUT_DIR/module_needs_vfs.h' 13 'external-contents': 'INPUT_DIR/base_module_needs_vfs.h'
|
/external/tensorflow/tensorflow/lite/g3doc/ |
D | _book.yaml | 2 - name: "Install" 5 - include: /install/_toc.yaml 7 - name: "Learn" 11 - include: /learn/_menu_toc.yaml 15 - name: "Tutorials" 16 contents: 17 - title: "TensorFlow Lite Tutorials" 20 - heading: "Vision" 21 - title: "Recognize handwritten digits" 22 path: https://codelabs.developers.google.com/codelabs/digit-classifier-tflite/ [all …]
|
/external/llvm-project/clang/test/Modules/Inputs/double-quotes/ |
D | z.yaml | 3 'case-sensitive': 'false', 8 'contents': [ 12 'external-contents': "TEST_DIR/flat-header-path/Z.h" 19 'contents': [ 23 'external-contents': "TEST_DIR/flat-header-path/Z.modulemap"
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 1 //===- VirtualFileSystem.h - Virtual File System Layer ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 101 /// Sub-classes should generally call close() inside their destructors. We 111 return Status->getName().str(); in getName() 116 /// Get the contents of the file as a \p MemoryBuffer. 118 getBuffer(const Twine &Name, int64_t FileSize = -1, 143 /// (non-recursive) contents of a directory. 148 /// to directory_entry() at end, or returns a system-defined \c error_code. [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | VirtualFileSystem.h | 1 //===- VirtualFileSystem.h - Virtual File System Layer ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 102 /// Sub-classes should generally call close() inside their destructors. We 112 return Status->getName().str(); in getName() 117 /// Get the contents of the file as a \p MemoryBuffer. 119 getBuffer(const Twine &Name, int64_t FileSize = -1, 144 /// (non-recursive) contents of a directory. 149 /// to directory_entry() at end, or returns a system-defined \c error_code. [all …]
|
/external/llvm-project/clang/test/CodeGen/Inputs/ |
D | sanitizer-blacklist-vfsoverlay.yaml | 5 'contents': [ 6 { 'name': 'only-virtual-file.blacklist', 'type': 'file', 7 'external-contents': '@REAL_FILE@' 9 { 'name': 'invalid-virtual-file.blacklist', 'type': 'file', 10 'external-contents': '@NONEXISTENT_FILE@'
|
/external/llvm-project/clang/test/Modules/ |
D | crash-vfs-headermaps.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/m %t/i/Foo.framework/Headers 6 // RUN: %hmaptool write %S/../Preprocessor/Inputs/headermap-rel/foo.hmap.json %t/i/foo.hmap 9 // RUN: not %clang -fsyntax-only -fmodules -fmodules-cache-path=%t/m %s \ 10 // RUN: -I %t/i/foo.hmap -F %t/i 2>&1 | FileCheck %s 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml 20 // CHECK-NEXT: note: diagnostic msg: {{.*}}.m [all …]
|
D | crash-vfs-run-reproducer.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/i %t/m %t 7 // RUN: not %clang -fsyntax-only -nostdinc %s \ 8 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ 9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml [all …]
|
D | crash-vfs-relative-incdir.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/m 5 // RUN: cd %S/Inputs/crash-recovery/usr 8 // RUN: not %clang -fsyntax-only -nostdinc %s -Iinclude \ 9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml [all …]
|
D | crash-vfs-umbrella-frameworks.m | 1 // REQUIRES: crash-recovery, shell 3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it? 4 // XFAIL: windows-gnu 6 // RUN: rm -rf %t 7 // RUN: mkdir -p %t/i %t/m %t 8 // RUN: cp -R %S/Inputs/crash-recovery/Frameworks %t/i/ 9 // RUN: mkdir -p %t/i/Frameworks/A.framework/Frameworks 10 // RUN: ln -s ../../B.framework %t/i/Frameworks/A.framework/Frameworks/B.framework 13 // RUN: not %clang -nostdinc -fsyntax-only %s \ 14 // RUN: -F %/t/i/Frameworks -fmodules \ [all …]
|
/external/clang/lib/Basic/ |
D | VirtualFileSystem.cpp | 1 //===- VirtualFileSystem.cpp - Virtual File System Layer --------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 10 //===----------------------------------------------------------------------===// 19 #include "llvm/Config/llvm-config.h" 101 return (*F)->getBuffer(Name, FileSize, RequiresNullTerminator, IsVolatile); in getBufferForFile() 117 return Status && Status->exists(); in exists() 134 //===-----------------------------------------------------------------------===/ 136 //===-----------------------------------------------------------------------===/ 166 assert(FD != -1 && "cannot stat closed file"); in status() 183 assert(FD != -1 && "cannot get buffer for closed file"); in getBuffer() [all …]
|
/external/llvm-project/llvm/test/DebugInfo/X86/ |
D | gnu-public-names-tu.ll | 1 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -generate-type-units -filetype=obj < %s | llvm-dwarfdump -v… 14 ; CHECK-LABEL: .debug_info contents: 15 ; CHECK: [[CU:0x[0-9a-f]+]]: DW_TAG_compile_unit 16 ; CHECK: [[BAR:0x[0-9a-f]+]]: DW_TAG_structure_type 19 ; CHECK-LABEL: .debug_gnu_pubnames contents: 20 ; CHECK-NEXT: length = {{.*}}, version = 0x0002, unit_offset = 0x00000000, unit_size = {{.*}} 21 ; CHECK-NEXT: Offset Linkage Kind Name 22 ; CHECK-NEXT: [[CU]] EXTERNAL TYPE "ns" 23 ; CHECK-NEXT: {{.*}} EXTERNAL VARIABLE "b" 25 ; CHECK-LABEL: debug_gnu_pubtypes contents: [all …]
|
/external/boringssl/src/util/ |
D | read_symbols.go | 41 outFlag = flag.String("out", "-", "File to write output symbols") 42 …objFileFormat = flag.String("obj-file-format", defaultObjFileFormat(runtime.GOOS), "Object file fo… 55 // cross-compile from an unsupported platform to a supported platform by 71 …printAndExit("Usage: %s [-out OUT] [-obj-file-format FORMAT] ARCHIVE_FILE [ARCHIVE_FILE [...]]", o… 76 if *outFlag != "-" { 99 for name, contents := range objectFiles { 100 syms, err := listSymbols(contents) 120 // symbol-prefixing strategy that we cannot distinguish 160 func listSymbols(contents []byte) ([]string, error) { 163 return listSymbolsELF(contents) [all …]
|
/external/clang/test/Modules/ |
D | crash-vfs-run-reproducer.m | 1 // REQUIRES: crash-recovery, shell, system-darwin 3 // RUN: rm -rf %t 4 // RUN: mkdir -p %t/i %t/m %t 7 // RUN: %clang -fsyntax-only -nostdinc %s \ 8 // RUN: -I %S/Inputs/crash-recovery/usr/include -isysroot %/t/i/ \ 9 // RUN: -fmodules -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s 11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m 12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh 13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \ 14 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml [all …]
|