HomeSort by relevance Sort by last modified time
    Searched refs:FileName (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/clang/test/CodeGen/
types.c 3 struct FileName {
4 struct FileName *next;
  /external/clang/include/clang/Frontend/
CommandLineSourceLoc.h 26 std::string FileName;
31 /// Construct a parsed source location from a string; the Filename is empty on
42 PSL.FileName = LineSplit.first;
46 if (PSL.FileName == "-")
47 PSL.FileName = "<stdin>";
60 /// Source locations are of the form filename:line:column.
76 if (Val.FileName.empty()) {
78 << "source location must be of the form filename:line:column\n";
  /external/llvm/lib/ExecutionEngine/
EventListenerCommon.h 28 // Holds the filename of each Scope, so that we can pass a null-terminated
36 std::string &Filename = Filenames[Scope];
37 if (Filename.empty()) {
39 Filename = DIScope.getFilename();
41 return Filename.c_str();
49 StringRef FileName = DIScope.getFilename();
54 if (FileName != "") {
55 sys::path::append(FullPath, FileName);
  /external/llvm/include/llvm/Support/
LockFileManager.h 44 SmallString<128> FileName;
61 LockFileManager(StringRef FileName);
  /external/jhead/
jhead.c 68 // the filename to store the thumbnail to.
71 // the filename to retrieve the thumbnail from.
294 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);
    [all...]
jhead.h 79 char FileName [PATH_MAX+1];
226 void MyGlob(const char * Pattern , void (*FileFuncParm)(const char * FileName));
231 int EnsurePathExists(const char * FileName);
238 int ReadJpegFile(const char * FileName, ReadMode_t ReadMode);
244 int WriteJpegFile(const char * FileName);
  /external/clang/lib/Frontend/
DependencyGraph.cpp 51 StringRef FileName,
73 StringRef FileName,
119 StringRef FileName = AllFiles[I]->getName();
120 if (FileName.startswith(SysRoot))
121 FileName = FileName.substr(SysRoot.size());
123 OS << DOT::EscapeString(FileName)
  /external/llvm/include/llvm/DebugInfo/
DIContext.h 32 SmallString<16> FileName;
38 : FileName("<invalid>"), FunctionName("<invalid>"),
40 DILineInfo(const SmallString<16> &fileName,
43 : FileName(fileName), FunctionName(functionName),
46 const char *getFileName() { return FileName.c_str(); }
53 FileName.equals(RHS.FileName) &&
  /external/clang/lib/Tooling/
FileMatchTrie.cpp 67 StringRef Element(llvm::sys::path::filename(
71 StringRef Element(llvm::sys::path::filename(
77 /// matches 'FileName'.
79 /// If multiple paths fit 'FileName' equally well, \c IsAmbiguous is set to
80 /// \c true and an empty string is returned. If no path fits 'FileName', an
82 /// \c Filename's trailing characters already consumed during recursion.
98 StringRef FileName,
102 if (Comparator.equivalent(StringRef(Path), FileName))
106 StringRef Element(llvm::sys::path::filename(FileName.drop_back
    [all...]
  /external/clang/include/clang/Tooling/
FileMatchTrie.h 38 /// in the compilation database are keyed by filename, a simple string match
73 /// Returns file name stored in this trie that is equivalent to 'FileName'
78 StringRef findEquivalent(StringRef FileName,
  /external/webrtc/src/system_wrappers/interface/
file_wrapper.h 53 virtual int FileName(char* fileNameUTF8,
  /external/netperf/
netserver.c 174 char FileName[PATH_MAX]; /* for opening the debug log file */
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 */
918 strcpy(FileName, DEBUG_LOG_FILE)
    [all...]
  /external/clang/unittests/AST/
MatchVerifier.h 74 StringRef FileName;
78 FileName = "input.c";
82 FileName = "input.c";
86 FileName = "input.cc";
89 FileName = "input.cl";
94 if (!tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName))
  /external/webrtc/src/system_wrappers/source/
file_impl.h 26 virtual int FileName(char* fileNameUTF8,
  /external/clang/lib/Serialization/
ModuleManager.cpp 40 ModuleManager::addModule(StringRef FileName, ModuleKind Type,
43 const FileEntry *Entry = FileMgr.getFile(FileName, /*openFile=*/false,
45 if (!Entry && FileName != "-") {
57 New->FileName = FileName.str();
65 if (llvm::MemoryBuffer *Buffer = lookupBuffer(FileName)) {
72 if (FileName == "-") {
77 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
139 void ModuleManager::addInMemoryBuffer(StringRef FileName,
142 const FileEntry *Entry = FileMgr.getVirtualFile(FileName,
    [all...]
  /external/webkit/LayoutTests/fast/js/resources/
script-line-number.js 13 // ErrorName: ErrorDescription at FileName:LineNumber:ColumnNumber
  /external/llvm/lib/Support/
LockFileManager.cpp 65 LockFileManager::LockFileManager(StringRef FileName)
67 this->FileName = FileName;
68 LockFileName = FileName;
199 if (!sys::fs::exists(FileName.str(), Exists) && Exists)
  /external/llvm/lib/DebugInfo/
DWARFContext.cpp 298 std::string &FileName) {
302 FileName))
304 if (NeedsAbsoluteFilePath && sys::path::is_relative(FileName)) {
310 sys::path::append(AbsolutePath, FileName);
311 FileName = AbsolutePath.str();
320 std::string &FileName,
331 NeedsAbsoluteFilePath, FileName))
343 std::string FileName = "<invalid>";
365 FileName, Line, Column);
367 return DILineInfo(StringRef(FileName), StringRef(FunctionName)
    [all...]
  /external/clang/include/clang/Lex/
PPCallbacks.h 67 /// \param FileName The name of the file being included, as written in the
76 virtual bool FileNotFound(StringRef FileName,
91 /// \param FileName The name of the file being included, as written in the
113 /// file was found. This is equal to FileName except for framework includes.
120 StringRef FileName,
287 virtual bool FileNotFound(StringRef FileName,
289 return First->FileNotFound(FileName, RecoveryPath) ||
290 Second->FileNotFound(FileName, RecoveryPath);
295 StringRef FileName,
302 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled
    [all...]
  /external/llvm/lib/MC/
MCContext.cpp 301 unsigned MCContext::GetDwarfFile(StringRef Directory, StringRef FileName,
323 // Separate the directory part from the basename of the FileName.
324 StringRef tFileName = sys::path::filename(FileName);
326 Directory = sys::path::parent_path(FileName);
328 FileName = tFileName;
358 char *Buf = static_cast<char *>(Allocate(FileName.size()));
359 memcpy(Buf, FileName.data(), FileName.size());
360 File = new (*this) MCDwarfFile(StringRef(Buf, FileName.size()), DirIndex)
    [all...]
  /external/clang/utils/analyzer/
SATestBuild.py 231 def hasNoExtension(FileName):
232 (Root, Ext) = os.path.splitext(FileName)
237 def isValidSingleInputFile(FileName):
238 (Root, Ext) = os.path.splitext(FileName)
263 FileName = os.path.basename(FullFileName)
267 if (hasNoExtension(FileName)):
269 if (isValidSingleInputFile(FileName) == False):
274 OutputOption = "-o " + os.path.join(PlistPath, FileName) + ".plist "
275 Command = CmdPrefix + OutputOption + os.path.join(Dir, FileName)
276 LogFile = open(os.path.join(FailPath, FileName + ".stderr.txt"), "w+b"
    [all...]
  /external/clang/unittests/Tooling/
CompilationDatabaseTest.cpp 115 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName,
122 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName);
215 StringRef FileName("//net/path/to/a-file.cpp");
219 FileName,
222 "\"file\":\"" + FileName + "\"}]").str(),
236 "\"file\":\"" + FileName + "\"}]").str(),
244 StringRef FileName("//net/path/to/a-file.cpp");
248 FileName,
251 "\"file\":\"" + FileName + "\"}]").str(),
261 StringRef FileName("//net/path/to/a-file.cpp")
    [all...]
  /external/clang/lib/Rewrite/Frontend/
InclusionRewriter.cpp 58 StringRef FileName,
65 void WriteLineInfo(const char *Filename, int Line,
92 /// markers depending on what mode we're in, including the \p Filename and
95 void InclusionRewriter::WriteLineInfo(const char *Filename, int Line,
101 OS << "#line" << ' ' << Line << ' ' << '"' << Filename << '"';
105 OS << '#' << ' ' << Line << ' ' << '"' << Filename << '"';
154 StringRef /*FileName*/,
257 const char *FileName = FromFile.getBufferIdentifier();
264 WriteLineInfo(FileName, 1, FileType, EOL, " 1");
300 WriteLineInfo(FileName, Line, FileType, EOL, " 2")
    [all...]
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 27 StringRef FileName,
35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
36 memcpy(Memory, FileName.data(), FileName.size());
37 Memory[FileName.size()] = 0;
38 this->FileName = StringRef(Memory, FileName.size());
269 // include directives that form the filename using macros, e.g:
282 // Usually there are few macro expansions when defining the filename, do a
430 StringRef FileName,
    [all...]
  /external/clang/include/clang/Serialization/
ModuleManager.h 149 /// \param FileName The file name of the module to be loaded.
166 addModule(StringRef FileName, ModuleKind Type, SourceLocation ImportLoc,
174 void addInMemoryBuffer(StringRef FileName, llvm::MemoryBuffer *Buffer);

Completed in 347 milliseconds

1 2 3 4