Searched refs:FileName (Results 1 - 25 of 69) sorted by relevance

123

/external/clang/test/CodeGen/
H A Dtypes.c3 struct FileName { struct
4 struct FileName *next;
/external/llvm/include/llvm/DebugInfo/
H A DDIContext.h28 const char *FileName; member in class:llvm::DILineInfo
32 DILineInfo() : FileName("<invalid>"), Line(0), Column(0) {}
34 : FileName(fileName), Line(line), Column(column) {}
36 const char *getFileName() const { return FileName; }
42 std::strcmp(FileName, RHS.FileName) == 0;
/external/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h26 std::string FileName; member in struct:clang::ParsedSourceLocation
42 PSL.FileName = LineSplit.first;
46 if (PSL.FileName == "-")
47 PSL.FileName = "<stdin>";
76 if (Val.FileName.empty()) {
/external/llvm/lib/ExecutionEngine/
H A DEventListenerCommon.h49 StringRef FileName = DIScope.getFilename(); local
54 if (FileName != "") {
55 sys::path::append(FullPath, FileName);
/external/jhead/
H A Djhead.c294 printf("not resizing %dx%x '%s'\n",ImageInfo.Height, ImageInfo.Width, ImageInfo.FileName);
352 static void DoCommand(const char * FileName, int ShowIt)
362 // (a is the number of characters to copy from FileName)
363 a = strlen(FileName)-1;
364 while(a > 0 && FileName[a-1] != SLASH) a--;
365 memcpy(TempName, FileName, a);
379 e += shellescape(ExecString+e, FileName);
410 unlink(FileName);
411 rename(TempName, FileName);
480 void RenameAssociated(const char * FileName, cha
[all...]
H A Djhead.h74 char FileName [PATH_MAX+1]; member in struct:__anon5991
221 void MyGlob(const char * Pattern , void (*FileFuncParm)(const char * FileName));
226 int EnsurePathExists(const char * FileName);
233 int ReadJpegFile(const char * FileName, ReadMode_t ReadMode);
239 int WriteJpegFile(const char * FileName);
H A Djpgfile.c520 int ReadJpegFile(const char * FileName, ReadMode_t ReadMode) argument
525 infile = fopen(FileName, "rb"); // Unix ignores 'b', windows needs it.
528 ALOGE("can't open '%s'", FileName);
529 fprintf(stderr, "can't open '%s'\n", FileName);
537 ALOGV("Cannot parse JPEG sections for file: %s", FileName);
538 fprintf(stderr,"Not JPEG: %s\n",FileName);
784 int WriteJpegFile(const char * FileName) argument
794 outfile = fopen(FileName,"wb");
/external/clang/lib/Frontend/
H A DDependencyGraph.cpp52 StringRef FileName,
73 StringRef FileName,
118 StringRef FileName = AllFiles[I]->getName(); local
119 if (FileName.startswith(SysRoot))
120 FileName = FileName.substr(SysRoot.size());
122 OS << DOT::EscapeString(FileName)
71 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
H A DDependencyFile.cpp60 StringRef FileName,
133 StringRef FileName,
141 AddFilename(FileName);
131 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
/external/netperf/
H A Dnetserver.c174 char FileName[PATH_MAX]; /* for opening the debug log file */ local
175 strcpy(FileName, DEBUG_LOG_FILE);
179 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid());
180 if ((where = fopen(FileName, "w")) == NULL) {
185 chmod(FileName,0644);
797 char FileName[PATH_MAX]; /* for opening the debug log file */ local
918 strcpy(FileName, DEBUG_LOG_FIL
[all...]
/external/clang/lib/Serialization/
H A DModuleManager.cpp37 ModuleManager::addModule(StringRef FileName, ModuleKind Type, argument
40 const FileEntry *Entry = FileMgr.getFile(FileName);
41 if (!Entry && FileName != "-") {
52 New->FileName = FileName.str();
58 if (llvm::MemoryBuffer *Buffer = lookupBuffer(FileName)) {
65 if (FileName == "-") {
70 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
90 void ModuleManager::addInMemoryBuffer(StringRef FileName, argument
93 const FileEntry *Entry = FileMgr.getVirtualFile(FileName,
[all...]
H A DModule.cpp72 llvm::errs() << "\nModule: " << FileName << "\n";
78 llvm::errs() << Imports[I]->FileName;
/external/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp21 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName, argument
28 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName);
45 StringRef FileName("/path/to/a-file.cpp");
49 FileName,
52 "\"file\":\"" + FileName + "\"}]").str(),
65 "\"file\":\"" + FileName + "\"}]").str(),
73 StringRef FileName("/path/to/a-file.cpp");
77 FileName,
80 "\"file\":\"" + FileName + "\"}]").str(),
89 StringRef FileName("/pat
[all...]
/external/llvm/include/llvm/Support/
H A DLockFileManager.h60 LockFileManager(StringRef FileName);
/external/webrtc/src/system_wrappers/interface/
H A Dfile_wrapper.h53 virtual int FileName(char* fileNameUTF8,
/external/clang/include/clang/Serialization/
H A DModuleManager.h91 /// \param FileName The file name of the module to be loaded.
106 addModule(StringRef FileName, ModuleKind Type, ModuleFile *ImportedBy,
110 void addInMemoryBuffer(StringRef FileName, llvm::MemoryBuffer *Buffer);
/external/llvm/lib/MC/
H A DMCContext.cpp256 unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName, argument
276 // Separate the directory part from the basename of the FileName.
277 std::pair<StringRef, StringRef> Slash = FileName.rsplit('/');
281 FileName = Slash.second;
311 char *Buf = static_cast<char *>(Allocate(FileName.size()));
312 memcpy(Buf, FileName.data(), FileName.size());
313 File = new (*this) MCDwarfFile(StringRef(Buf, FileName.size()), DirIndex);
H A DMCNullStreamer.cpp94 StringRef FileName) {}
91 EmitDwarfLocDirective(unsigned FileNo, unsigned Line, unsigned Column, unsigned Flags, unsigned Isa, unsigned Discriminator, StringRef FileName) argument
/external/llvm/lib/Target/PTX/
H A DPTXAsmPrinter.h42 unsigned GetOrCreateSourceID(StringRef FileName,
/external/webrtc/src/system_wrappers/source/
H A Dfile_impl.h26 virtual int FileName(char* fileNameUTF8,
/external/clang/include/clang/Lex/
H A DPPCallbacks.h64 /// \param FileName The name of the file being included, as written in the
73 virtual bool FileNotFound(StringRef FileName, argument
88 /// \param FileName The name of the file being included, as written in the
110 /// file was found. This is equal to FileName except for framework includes.
113 StringRef FileName,
260 virtual bool FileNotFound(StringRef FileName, argument
262 return First->FileNotFound(FileName, RecoveryPath) ||
263 Second->FileNotFound(FileName, RecoveryPath);
268 StringRef FileName,
274 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngle
111 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
266 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, const FileEntry *File, SourceLocation EndLoc, StringRef SearchPath, StringRef RelativePath) argument
[all...]
/external/clang/utils/analyzer/
H A DSATestBuild.py152 def hasNoExtension(FileName):
153 (Root, Ext) = os.path.splitext(FileName)
158 def isValidSingleInputFile(FileName):
159 (Root, Ext) = os.path.splitext(FileName)
181 FileName = os.path.basename(FullFileName)
185 if (hasNoExtension(FileName)):
187 if (isValidSingleInputFile(FileName) == False):
192 OutputOption = "-o " + os.path.join(PlistPath, FileName) + ".plist "
193 Command = CmdPrefix + OutputOption + os.path.join(Dir, FileName)
194 LogFile = open(os.path.join(FailPath, FileName
[all...]
/external/srec/srec/include/
H A Dann_util.h76 void save_annotations(annotate_info* hAnnotation, char* FileName);
/external/clang/lib/Lex/
H A DPreprocessingRecord.cpp27 StringRef FileName,
34 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
35 memcpy(Memory, FileName.data(), FileName.size());
36 Memory[FileName.size()] = 0;
37 this->FileName = StringRef(Memory, FileName.size());
390 StringRef FileName,
420 = new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled,
25 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind, StringRef FileName, bool InQuotes, const FileEntry *File, SourceRange Range) argument
/external/llvm/lib/Support/
H A DLockFileManager.cpp66 LockFileManager::LockFileManager(StringRef FileName) argument
68 LockFileName = FileName;

Completed in 469 milliseconds

123