Home
last modified time | relevance | path

Searched refs:InputFile (Results 1 – 25 of 52) sorted by relevance

123

/third_party/gn/src/gn/
Dinput_file.h15 class InputFile {
17 explicit InputFile(const SourceFile& name);
19 ~InputFile();
61 InputFile(const InputFile&) = delete;
62 InputFile& operator=(const InputFile&) = delete;
Dinput_file.cc9 InputFile::InputFile(const SourceFile& name) in InputFile() function in InputFile
12 InputFile::~InputFile() = default;
14 void InputFile::SetContents(const std::string& c) { in SetContents()
19 bool InputFile::Load(const base::FilePath& system_path) { in Load()
Dinput_file_manager.h45 std::function<bool(const SourceFile& file_name, InputFile* file)>;
87 InputFile** file,
117 InputFile file;
144 InputFile* file);
150 InputFile* file,
Dlocation.h10 class InputFile; variable
16 Location(const InputFile* file, int line_number, int column_number);
18 const InputFile* file() const { return file_; } in file()
36 const InputFile* file_ = nullptr; // Null when unset.
Dtokenizer.h16 class InputFile; variable
30 const InputFile* input_file,
56 Tokenizer(const InputFile* input_file,
95 const InputFile* input_file_;
Dc_include_iterator_unittest.cc42 InputFile file(SourceFile("//foo.cc")); in TEST()
85 InputFile file(SourceFile("//foo.cc")); in TEST()
106 InputFile file(SourceFile("//foo.cc")); in TEST()
132 InputFile file(SourceFile("//foo.cc")); in TEST()
157 InputFile file(SourceFile("//foo.cc")); in TEST()
171 InputFile file(SourceFile("//foo.cc")); in TEST()
Dc_include_iterator.h14 class InputFile; variable
26 explicit CIncludeIterator(const InputFile* input);
43 const InputFile* input_file_;
Dtokenizer_unittest.cc21 InputFile input_file(SourceFile("/test")); in CheckTokenizer()
41 InputFile empty_string_input(SourceFile("/test")); in TEST()
48 InputFile whitespace_input(SourceFile("/test")); in TEST()
124 InputFile input(SourceFile("/test")); in TEST()
208 InputFile input(SourceFile("/test")); in TEST()
219 InputFile input(SourceFile("/test")); in TEST()
Dheader_checker.h24 class InputFile; variable
117 const InputFile& source_file,
134 const InputFile& source_file,
170 static Err MakeUnreachableError(const InputFile& source_file,
Dparser_unittest.cc14 bool GetTokens(const InputFile* input, std::vector<Token>* result) { in GetTokens()
23 InputFile input_file(SourceFile("/test")); in DoParserPrintTest()
41 InputFile input_file(SourceFile("/test")); in DoExpressionPrintTest()
58 InputFile input_file(SourceFile("/test")); in DoParserErrorTest()
76 InputFile input_file(SourceFile("/test")); in DoExpressionErrorTest()
Dsetup.h22 class InputFile; variable
188 std::unique_ptr<InputFile> dotfile_input_file_;
206 std::unique_ptr<InputFile> args_input_file_;
Dheader_checker.cc40 LocationRange CreatePersistentRange(const InputFile& input_file, in CreatePersistentRange()
42 InputFile* clone_input_file; in CreatePersistentRange()
250 const InputFile& source_file, in SourceFileForInclude()
305 InputFile input_file(file); in CheckFile()
349 const InputFile& source_file, in CheckInclude()
585 Err HeaderChecker::MakeUnreachableError(const InputFile& source_file, in MakeUnreachableError()
Dinput_file_manager.cc41 InputFile* file, in DoLoadFile()
249 InputFile** file, in AddDynamicInput()
280 InputFile* file) { in BackgroundLoadFile()
289 InputFile* file, in LoadFile()
Dtest_with_scope.h102 const InputFile& input_file() const { return input_file_; } in input_file()
107 InputFile input_file_;
Dheader_checker_unittest.cc154 InputFile input_file(SourceFile("//some_file.cc")); in TEST_F()
289 InputFile input_file(SourceFile("//some_file.cc")); in TEST_F()
325 InputFile dummy_input_file(SourceFile("/d/subdir/some_file.cc")); in TEST_F()
383 InputFile input_file(SourceFile("//input.cc")); in TEST_F()
396 InputFile input_file(SourceFile("//some_file.cc")); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DLTO.h104 class InputFile {
111 InputFile() = default;
125 ~InputFile();
128 static Expected<std::unique_ptr<InputFile>> create(MemoryBufferRef Object);
269 friend InputFile; variable
284 Error add(std::unique_ptr<InputFile> Obj, ArrayRef<SymbolResolution> Res);
400 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
408 Error addModule(InputFile &Input, unsigned ModI,
412 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
417 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DThinLTOCodeGenerator.h255 const lto::InputFile &File);
262 const lto::InputFile &File);
269 const lto::InputFile &File);
277 const lto::InputFile &File);
283 const lto::InputFile &File);
312 std::vector<std::unique_ptr<lto::InputFile>> Modules;
DLTOModule.h161 static lto::InputFile *createInputFile(const void *buffer, size_t buffer_size,
164 static size_t getDependentLibraryCount(lto::InputFile *input);
166 static const char *getDependentLibrary(lto::InputFile *input, size_t index, size_t *size);
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DStatisticsTool.java53 private InputFile inputFile;
114 private int nextBuffer(InputFile inputFileArg) in nextBuffer()
270 public NGramList collectStatistics(InputFile file) in collectStatistics()
317 InputFile[] input_files = new InputFile[args.length]; in main()
348 input_files[file_count++] = new InputFile(arg, encoding, visual_order); in main()
361 InputFile file = input_files[i]; in main()
391 InputFile file = input_files[f]; in main()
DChecker.java41 public Checker(NGramList list, InputFile dataFile) in Checker()
93 private boolean nextBuffer(InputFile inputFile) in nextBuffer()
130 public void setMapper(InputFile file) in setMapper()
145 public void check(InputFile dataFile) in check()
DInputFile.java30 public class InputFile implements NGramList.NGramKeyMapper class
51 public InputFile(String filename, String encoding, boolean visual) in InputFile() method in InputFile
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp107 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local
108 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
110 FileRemover InputRemover(InputFile.c_str()); in printSymbolizedStackTrace()
121 StringRef InputFileStr(InputFile); in printSymbolizedStackTrace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSignals.cpp144 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local
145 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
147 FileRemover InputRemover(InputFile.c_str()); in printSymbolizedStackTrace()
158 Optional<StringRef> Redirects[] = {StringRef(InputFile), in printSymbolizedStackTrace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp143 static StringMap<lto::InputFile *>
144 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) { in generateModuleMap()
145 StringMap<lto::InputFile *> ModuleMap; in generateModuleMap()
182 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input, in loadModuleFromInput()
207 StringMap<lto::InputFile*> &ModuleMap, in crossImportIntoModule()
260 addUsedSymbolToPreservedGUID(const lto::InputFile &File, in addUsedSymbolToPreservedGUID()
401 StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM, in ProcessThinLTOModule()
512 auto InputOrError = lto::InputFile::create(Buffer); in addModule()
634 const lto::InputFile &File) { in promote()
683 const lto::InputFile &File) { in crossModuleImport()
[all …]
DLTO.cpp429 InputFile::~InputFile() = default;
431 Expected<std::unique_ptr<InputFile>> InputFile::create(MemoryBufferRef Object) { in create()
432 std::unique_ptr<InputFile> File(new InputFile); in create()
460 StringRef InputFile::getName() const { in getName()
464 BitcodeModule &InputFile::getSingleBitcodeModule() { in getSingleBitcodeModule()
493 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes()
499 for (const InputFile::Symbol &Sym : Syms) { in addModuleToGlobalRes()
546 static void writeToResolutionFile(raw_ostream &OS, InputFile *Input, in writeToResolutionFile()
551 for (const InputFile::Symbol &Sym : Input->symbols()) { in writeToResolutionFile()
570 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
[all …]

123