Searched refs:OutFile (Results 1 - 7 of 7) sorted by relevance

/external/llvm/runtime/libprofile/
H A DCommonProfiling.c86 static int OutFile = -1; local
91 if (OutFile == -1) {
92 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666);
93 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */
94 if (OutFile == -1) {
98 return(OutFile);
105 if (write(OutFile, &PTy, sizeof(int)) < 0 ||
106 write(OutFile, &SavedArgsLength, sizeof(unsigned)) < 0 ||
107 write(OutFile, SavedArgs, SavedArgsLength) < 0 ) {
113 if (write(OutFile,
[all...]
/external/clang/lib/Frontend/
H A DCompilerInstance.cpp438 void CompilerInstance::addOutputFile(const OutputFile &OutFile) { argument
439 assert(OutFile.OS && "Attempt to add empty stream to output list!");
440 OutputFiles.push_back(OutFile);
525 std::string OutFile, TempFile; local
527 OutFile = OutputPath;
529 OutFile = "-";
534 OutFile = Path.str();
536 OutFile = "-";
542 if (UseTemporary && OutFile != "-") {
559 TempPath = OutFile;
[all...]
/external/llvm/tools/bugpoint/
H A DToolRunner.h129 sys::Path &OutFile, std::string &Error,
193 sys::Path &OutFile, std::string &Error,
241 sys::Path &OutFile, std::string &Error,
128 OutputCode(const std::string &Bitcode, sys::Path &OutFile, std::string &Error, unsigned Timeout = 0, unsigned MemoryLimit = 0) argument
/external/clang/include/clang/Frontend/
H A DCompilerInstance.h456 /// \param OutFile - The output file info.
457 void addOutputFile(const OutputFile &OutFile);
/external/llvm/lib/CodeGen/
H A DMachineVerifier.cpp251 raw_ostream *OutFile = 0; local
254 OutFile = new raw_fd_ostream(OutFileName, ErrorInfo,
261 OS = OutFile;
311 if (OutFile)
312 delete OutFile;
/external/clang/lib/Rewrite/
H A DRewriteModernObjC.cpp71 raw_ostream* OutFile; member in class:__anon3247::RewriteModernObjC
583 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(OS),
5580 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end());
5591 *OutFile << ResultStr;
5597 *OutFile << ResultStr;
5599 OutFile->flush();
H A DRewriteObjC.cpp71 raw_ostream* OutFile; member in class:__anon3250::RewriteObjC
577 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(OS),
5039 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end());
5050 *OutFile << ResultStr;
5052 OutFile->flush();

Completed in 146 milliseconds