Home
last modified time | relevance | path

Searched refs:FromFile (Results 1 – 25 of 50) sorted by relevance

12

/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp75 void OutputContentUpTo(const MemoryBuffer &FromFile,
80 const MemoryBuffer &FromFile, StringRef EOL,
216 static StringRef DetectEOL(const MemoryBuffer &FromFile) { in DetectEOL() argument
220 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); in DetectEOL()
223 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r') in DetectEOL()
225 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') in DetectEOL()
232 const MemoryBuffer &FromFile = *SM.getBuffer(SM.getMainFileID(), &Invalid); in detectMainFileEOL() local
236 MainEOL = DetectEOL(FromFile); in detectMainFileEOL()
241 void InclusionRewriter::OutputContentUpTo(const MemoryBuffer &FromFile, in OutputContentUpTo() argument
247 if (&FromFile == PredefinesBuffer) { in OutputContentUpTo()
[all …]
DRewriteMacros.cpp68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile() local
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
/external/angle/third_party/glslang/src/gtests/
DCMakeLists.txt15 ${CMAKE_CURRENT_SOURCE_DIR}/AST.FromFile.cpp
16 ${CMAKE_CURRENT_SOURCE_DIR}/BuiltInResource.FromFile.cpp
17 ${CMAKE_CURRENT_SOURCE_DIR}/Config.FromFile.cpp
19 ${CMAKE_CURRENT_SOURCE_DIR}/Hlsl.FromFile.cpp
20 ${CMAKE_CURRENT_SOURCE_DIR}/Link.FromFile.cpp
21 ${CMAKE_CURRENT_SOURCE_DIR}/Link.FromFile.Vk.cpp
22 ${CMAKE_CURRENT_SOURCE_DIR}/Pp.FromFile.cpp
23 ${CMAKE_CURRENT_SOURCE_DIR}/Spv.FromFile.cpp)
27 ${CMAKE_CURRENT_SOURCE_DIR}/Remap.FromFile.cpp)
DSpv.FromFile.cpp83 TEST_P(CompileVulkanToSpirvTest, FromFile) in TEST_P() argument
90 TEST_P(CompileVulkanToSpirvDeadCodeElimTest, FromFile) in TEST_P() argument
99 TEST_P(CompileVulkanToDebugSpirvTest, FromFile) in TEST_P() argument
109 TEST_P(CompileVulkan1_1ToSpirvTest, FromFile) in TEST_P() argument
116 TEST_P(CompileToSpirv14Test, FromFile) in TEST_P() argument
125 TEST_P(CompileOpenGLToSpirvTest, FromFile) in TEST_P() argument
134 TEST_P(VulkanSemantics, FromFile) in TEST_P() argument
143 TEST_P(OpenGLSemantics, FromFile) in TEST_P() argument
151 TEST_P(VulkanAstSemantics, FromFile) in TEST_P() argument
159 TEST_P(HlslIoMap, FromFile) in TEST_P() argument
[all …]
DHlsl.FromFile.cpp70 TEST_P(HlslCompileTest, FromFile) in TEST_P() argument
77 TEST_P(HlslVulkan1_1CompileTest, FromFile) in TEST_P() argument
84 TEST_P(HlslCompileAndFlattenTest, FromFile) in TEST_P() argument
93 TEST_P(HlslLegalizeTest, FromFile) in TEST_P() argument
103 TEST_P(HlslDebugTest, FromFile) in TEST_P() argument
111 TEST_P(HlslDX9CompatibleTest, FromFile) in TEST_P() argument
123 TEST_P(HlslLegalDebugTest, FromFile) in TEST_P() argument
DAST.FromFile.cpp46 TEST_P(CompileToAstTest, FromFile) in TEST_P() argument
54 TEST_P(CompileToAstTestNV, FromFile) in TEST_P() argument
DPp.FromFile.cpp44 TEST_P(PreprocessingTest, FromFile) in TEST_P() argument
DBuiltInResource.FromFile.cpp47 TEST_F(DefaultResourceTest, FromFile) in TEST_F() argument
DLink.FromFile.cpp47 TEST_P(LinkTest, FromFile) in TEST_P() argument
/external/deqp-deps/glslang/gtests/
DCMakeLists.txt15 ${CMAKE_CURRENT_SOURCE_DIR}/AST.FromFile.cpp
16 ${CMAKE_CURRENT_SOURCE_DIR}/BuiltInResource.FromFile.cpp
17 ${CMAKE_CURRENT_SOURCE_DIR}/Config.FromFile.cpp
19 ${CMAKE_CURRENT_SOURCE_DIR}/Hlsl.FromFile.cpp
20 ${CMAKE_CURRENT_SOURCE_DIR}/Link.FromFile.cpp
21 ${CMAKE_CURRENT_SOURCE_DIR}/Link.FromFile.Vk.cpp
22 ${CMAKE_CURRENT_SOURCE_DIR}/Pp.FromFile.cpp
23 ${CMAKE_CURRENT_SOURCE_DIR}/Spv.FromFile.cpp)
27 ${CMAKE_CURRENT_SOURCE_DIR}/Remap.FromFile.cpp)
DSpv.FromFile.cpp83 TEST_P(CompileVulkanToSpirvTest, FromFile) in TEST_P() argument
90 TEST_P(CompileVulkanToSpirvDeadCodeElimTest, FromFile) in TEST_P() argument
99 TEST_P(CompileVulkanToDebugSpirvTest, FromFile) in TEST_P() argument
109 TEST_P(CompileVulkan1_1ToSpirvTest, FromFile) in TEST_P() argument
116 TEST_P(CompileToSpirv14Test, FromFile) in TEST_P() argument
125 TEST_P(CompileOpenGLToSpirvTest, FromFile) in TEST_P() argument
134 TEST_P(VulkanSemantics, FromFile) in TEST_P() argument
143 TEST_P(OpenGLSemantics, FromFile) in TEST_P() argument
151 TEST_P(VulkanAstSemantics, FromFile) in TEST_P() argument
159 TEST_P(HlslIoMap, FromFile) in TEST_P() argument
[all …]
DHlsl.FromFile.cpp70 TEST_P(HlslCompileTest, FromFile) in TEST_P() argument
77 TEST_P(HlslVulkan1_1CompileTest, FromFile) in TEST_P() argument
84 TEST_P(HlslCompileAndFlattenTest, FromFile) in TEST_P() argument
93 TEST_P(HlslLegalizeTest, FromFile) in TEST_P() argument
103 TEST_P(HlslDebugTest, FromFile) in TEST_P() argument
111 TEST_P(HlslDX9CompatibleTest, FromFile) in TEST_P() argument
123 TEST_P(HlslLegalDebugTest, FromFile) in TEST_P() argument
DAST.FromFile.cpp46 TEST_P(CompileToAstTest, FromFile) in TEST_P() argument
54 TEST_P(CompileToAstTestNV, FromFile) in TEST_P() argument
DPp.FromFile.cpp44 TEST_P(PreprocessingTest, FromFile) in TEST_P() argument
DBuiltInResource.FromFile.cpp47 TEST_F(DefaultResourceTest, FromFile) in TEST_F() argument
DLink.FromFile.cpp47 TEST_P(LinkTest, FromFile) in TEST_P() argument
/external/clang/lib/Frontend/
DDependencyGraph.cpp81 const FileEntry *FromFile in InclusionDirective() local
83 if (!FromFile) in InclusionDirective()
86 Dependencies[FromFile].push_back(File); in InclusionDirective()
89 AllFiles.insert(FromFile); in InclusionDirective()
/external/toolchain-utils/deprecated/automation/clients/report/dejagnu/
Dmain.py51 test_run = DejaGnuTestRun.FromFile(filename)
99 manifests.append(Manifest.FromFile(filename))
101 test_runs = [DejaGnuTestRun.FromFile(filename)
Dmanifest.py50 def FromFile(cls, filename): member in Manifest
/external/angle/third_party/glslang/src/
DBUILD.bazel226 ["gtests/*.FromFile.cpp"],
230 "gtests/Hlsl.FromFile.cpp",
231 "gtests/Spv.FromFile.cpp",
236 name = test_file.replace("gtests/", "").replace(".FromFile.cpp", "") + "_test",
/external/deqp-deps/glslang/
DBUILD.bazel226 ["gtests/*.FromFile.cpp"],
230 "gtests/Hlsl.FromFile.cpp",
231 "gtests/Spv.FromFile.cpp",
236 name = test_file.replace("gtests/", "").replace(".FromFile.cpp", "") + "_test",
/external/clang/lib/Rewrite/
DTokenRewriter.cpp26 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in TokenRewriter() local
27 Lexer RawLex(FID, FromFile, SM, LangOpts); in TokenRewriter()
DHTMLRewrite.cpp361 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in SyntaxHighlight() local
362 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in SyntaxHighlight()
451 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in HighlightMacros() local
452 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in HighlightMacros()
/external/u-boot/tools/binman/
Dcontrol.py80 image = Image.FromFile(image_fname)
117 image = Image.FromFile(image_fname)
137 image = Image.FromFile(image_fname)
250 image = Image.FromFile(image_fname)
276 image = Image.FromFile(image_fname)
/external/toolchain-utils/deprecated/automation/clients/report/
Dvalidate_failures.py141 manifest = set(Manifest.FromFile(manifest_path))
151 test_run = DejaGnuTestRun.FromFile(summary)
188 testruns = map(DejaGnuTestRun.FromFile, GetSumFiles(build_dir))

12