Home
last modified time | relevance | path

Searched refs:FileName (Results 1 – 25 of 134) sorted by relevance

123456

/external/jhead/
Djhead.c294 printf("not resizing %dx%x '%s'\n",ImageInfo.Height, ImageInfo.Width, ImageInfo.FileName);
352 static void DoCommand(const char * FileName, int ShowIt)
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, char * NewBaseName)
490 for(ExtPos = strlen(FileName);FileName[ExtPos-1] != '.';){
[all …]
Djhead.h86 char FileName [PATH_MAX+1]; member
240 void MyGlob(const char * Pattern , void (*FileFuncParm)(const char * FileName));
245 int EnsurePathExists(const char * FileName);
252 int ReadJpegFile(const char * FileName, ReadMode_t ReadMode);
258 int WriteJpegFile(const char * FileName);
/external/netperf/
Dnetserver.c174 char FileName[PATH_MAX]; /* for opening the debug log file */ in open_debug_file() local
175 strcpy(FileName, DEBUG_LOG_FILE); in open_debug_file()
179 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid()); in open_debug_file()
180 if ((where = fopen(FileName, "w")) == NULL) { in open_debug_file()
185 chmod(FileName,0644); in open_debug_file()
797 char FileName[PATH_MAX]; /* for opening the debug log file */ in main() local
918 strcpy(FileName, DEBUG_LOG_FILE); in main()
921 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid()); in main()
922 if ((where = fopen(FileName, "w")) == NULL) { in main()
930 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%x", getpid()); in main()
[all …]
/external/clang/lib/Tooling/
DFileMatchTrie.cpp100 StringRef FileName, in findEquivalent() argument
104 if (Comparator.equivalent(StringRef(Path), FileName)) in findEquivalent()
108 StringRef Element(llvm::sys::path::filename(FileName.drop_back( in findEquivalent()
114 Comparator, FileName, IsAmbiguous, in findEquivalent()
123 if (Comparator.equivalent(AllChildren[i], FileName)) { in findEquivalent()
178 StringRef FileMatchTrie::findEquivalent(StringRef FileName, in findEquivalent() argument
180 if (llvm::sys::path::is_relative(FileName)) { in findEquivalent()
185 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous); in findEquivalent()
DTooling.cpp108 const Twine &FileName) { in runToolOnCode() argument
110 ToolAction, Code, std::vector<std::string>(), FileName); in runToolOnCode()
115 StringRef FileName) { in getSyntaxOnlyToolArgs() argument
120 Args.push_back(FileName.str()); in getSyntaxOnlyToolArgs()
126 const Twine &FileName, in runToolOnCodeWithArgs() argument
130 StringRef FileNameRef = FileName.toNullTerminatedStringRef(FileNameStorage); in runToolOnCodeWithArgs()
410 const Twine &FileName) { in buildASTFromCode() argument
411 return buildASTFromCodeWithArgs(Code, std::vector<std::string>(), FileName); in buildASTFromCode()
417 const Twine &FileName) { in buildASTFromCodeWithArgs() argument
419 StringRef FileNameRef = FileName.toNullTerminatedStringRef(FileNameStorage); in buildASTFromCodeWithArgs()
/external/clang/lib/Frontend/
DDependencyGraph.cpp50 StringRef FileName, bool IsAngled,
70 StringRef FileName, in InclusionDirective() argument
116 StringRef FileName = AllFiles[I]->getName(); in OutputGraphFile() local
117 if (FileName.startswith(SysRoot)) in OutputGraphFile()
118 FileName = FileName.substr(SysRoot.size()); in OutputGraphFile()
120 OS << DOT::EscapeString(FileName) in OutputGraphFile()
/external/clang/include/clang/Frontend/
DCommandLineSourceLoc.h26 std::string FileName; member
42 PSL.FileName = LineSplit.first; in FromString()
46 if (PSL.FileName == "-") in FromString()
47 PSL.FileName = "<stdin>"; in FromString()
76 if (Val.FileName.empty()) { in parse()
/external/clang/lib/Serialization/
DModuleManager.cpp56 ModuleManager::addModule(StringRef FileName, ModuleKind Type, in addModule() argument
76 if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) { in addModule()
81 if (!Entry && FileName != "-") { in addModule()
93 New->FileName = FileName.str(); in addModule()
111 if (std::unique_ptr<llvm::MemoryBuffer> Buffer = lookupBuffer(FileName)) { in addModule()
118 if (FileName == "-") { in addModule()
221 ModuleManager::addInMemoryBuffer(StringRef FileName, in addInMemoryBuffer() argument
225 FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0); in addInMemoryBuffer()
229 bool ModuleManager::addKnownModuleFile(StringRef FileName) { in addKnownModuleFile() argument
231 if (lookupModuleFile(FileName, 0, 0, File)) in addKnownModuleFile()
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h211 DiagnosticInfoSampleProfile(const char *FileName, unsigned LineNum,
214 : DiagnosticInfo(DK_SampleProfile, Severity), FileName(FileName), in DiagnosticInfo()
216 DiagnosticInfoSampleProfile(const char *FileName, const Twine &Msg,
218 : DiagnosticInfo(DK_SampleProfile, Severity), FileName(FileName), in DiagnosticInfo()
222 : DiagnosticInfo(DK_SampleProfile, Severity), FileName(nullptr), in DiagnosticInfo()
232 const char *getFileName() const { return FileName; } in getFileName()
238 const char *FileName;
/external/llvm/lib/Support/
DLockFileManager.cpp72 LockFileManager::LockFileManager(StringRef FileName) in LockFileManager() argument
74 this->FileName = FileName; in LockFileManager()
75 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) { in LockFileManager()
79 LockFileName = this->FileName; in LockFileManager()
204 if (!sys::fs::exists(FileName)) in waitForUnlock()
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp115 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName, in findCompileArgsInJsonDatabase() argument
122 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
215 StringRef FileName("//net/path/to/a-file.cpp"); in TEST() local
219 FileName, in TEST()
222 "\"file\":\"" + FileName + "\"}]").str(), in TEST()
236 "\"file\":\"" + FileName + "\"}]").str(), in TEST()
244 StringRef FileName("//net/path/to/a-file.cpp"); in TEST() local
248 FileName, in TEST()
251 "\"file\":\"" + FileName + "\"}]").str(), in TEST()
261 StringRef FileName("//net/path/to/a-file.cpp"); in TEST() local
[all …]
/external/clang/unittests/AST/
DMatchVerifier.h95 StringRef FileName; in match() local
99 FileName = "input.c"; in match()
103 FileName = "input.c"; in match()
107 FileName = "input.cc"; in match()
111 FileName = "input.cc"; in match()
114 FileName = "input.cl"; in match()
117 FileName = "input.mm"; in match()
123 if (!tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) in match()
/external/clang/tools/clang-format/
DClangFormat.cpp106 static FileID createInMemoryFile(StringRef FileName, MemoryBuffer *Source, in createInMemoryFile() argument
108 const FileEntry *Entry = Files.getVirtualFile(FileName == "-" ? "<stdin>" : in createInMemoryFile()
109 FileName, in createInMemoryFile()
206 static bool format(StringRef FileName) { in format() argument
213 MemoryBuffer::getFileOrSTDIN(FileName); in format()
221 FileID ID = createInMemoryFile(FileName, Code.get(), Sources, Files); in format()
227 Style, (FileName == "-") ? AssumeFilename : FileName, FallbackStyle); in format()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp333 StringRef FileName; in evalStubAddr() local
335 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalStubAddr()
362 FileName, SectionName, Symbol, PCtx.IsInsideLoad); in evalStubAddr()
378 StringRef FileName; in evalSectionAddr() local
380 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalSectionAddr()
399 FileName, SectionName, PCtx.IsInsideLoad); in evalSectionAddr()
754 RuntimeDyldCheckerImpl::findSectionAddrInfo(StringRef FileName, in findSectionAddrInfo() argument
757 auto SectionMapItr = Stubs.find(FileName); in findSectionAddrInfo()
760 ErrorMsg += FileName; in findSectionAddrInfo()
780 FileName + "'\n").str()); in findSectionAddrInfo()
[all …]
DRuntimeDyldCheckerImpl.h51 StringRef FileName,
54 std::pair<uint64_t, std::string> getSectionAddr(StringRef FileName,
58 std::pair<uint64_t, std::string> getStubAddrFor(StringRef FileName,
/external/clang/utils/analyzer/
DSATestBuild.py236 def hasNoExtension(FileName): argument
237 (Root, Ext) = os.path.splitext(FileName)
242 def isValidSingleInputFile(FileName): argument
243 (Root, Ext) = os.path.splitext(FileName)
268 FileName = os.path.basename(FullFileName)
272 if (hasNoExtension(FileName)):
274 if (isValidSingleInputFile(FileName) == False):
279 OutputOption = "-o " + os.path.join(PlistPath, FileName) + ".plist "
280 Command = CmdPrefix + OutputOption + os.path.join(Dir, FileName)
281 LogFile = open(os.path.join(FailPath, FileName + ".stderr.txt"), "w+b")
/external/llvm/include/llvm/DebugInfo/DWARF/
DDIContext.h32 std::string FileName; member
38 : FileName("<invalid>"), FunctionName("<invalid>"), Line(0), Column(0) {} in DILineInfo()
42 FileName == RHS.FileName && FunctionName == RHS.FunctionName;
/external/clang/lib/Lex/
DPreprocessingRecord.cpp27 StringRef FileName, in InclusionDirective() argument
35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>()); in InclusionDirective()
36 memcpy(Memory, FileName.data(), FileName.size()); in InclusionDirective()
37 Memory[FileName.size()] = 0; in InclusionDirective()
38 this->FileName = StringRef(Memory, FileName.size()); in InclusionDirective()
437 StringRef FileName, in InclusionDirective() argument
477 = new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled, in InclusionDirective()
/external/clang/include/clang/Lex/
DPPCallbacks.h78 virtual bool FileNotFound(StringRef FileName, in FileNotFound() argument
122 StringRef FileName, in InclusionDirective() argument
346 bool FileNotFound(StringRef FileName, in FileNotFound() argument
348 return First->FileNotFound(FileName, RecoveryPath) || in FileNotFound()
349 Second->FileNotFound(FileName, RecoveryPath); in FileNotFound()
353 StringRef FileName, bool IsAngled, in InclusionDirective() argument
357 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
360 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
/external/clang/include/clang/Serialization/
DModuleManager.h204 AddModuleResult addModule(StringRef FileName, ModuleKind Type,
219 void addInMemoryBuffer(StringRef FileName,
232 bool addKnownModuleFile(StringRef FileName);
305 bool lookupModuleFile(StringRef FileName,
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp67 StringRef FileName, bool IsAngled,
393 const char *FileName = FromFile.getBufferIdentifier(); in Process() local
401 WriteLineInfo(FileName, 1, FileType, ""); in Process()
403 WriteLineInfo(FileName, 1, FileType, " 1"); in Process()
434 WriteLineInfo(FileName, Line - 1, FileType, ""); in Process()
452 WriteLineInfo(FileName, Line, FileType, LineInfoExtra); in Process()
464 WriteLineInfo(FileName, Line, FileType); in Process()
470 WriteLineInfo(FileName, Line, FileType); in Process()
524 WriteLineInfo(FileName, Line, FileType); in Process()
543 WriteLineInfo(FileName, Line, FileType); in Process()
/external/clang/test/CodeGen/
Dtypes.c3 struct FileName { struct
4 struct FileName *next; argument
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h47 …typedef BOOL (CALLBACK *PFIND_DEBUG_FILE_CALLBACK)(HANDLE FileHandle,PSTR FileName,PVOID CallerDat…
49 …typedef BOOL (CALLBACK *PFIND_EXE_FILE_CALLBACK)(HANDLE FileHandle,PSTR FileName,PVOID CallerData);
59 HANDLE IMAGEAPI FindDebugInfoFile(PSTR FileName,PSTR SymbolPath,PSTR DebugFilePath);
60 …HANDLE IMAGEAPI FindDebugInfoFileEx(PSTR FileName,PSTR SymbolPath,PSTR DebugFilePath,PFIND_DEBUG_F…
61 …BOOL IMAGEAPI SymFindFileInPath(HANDLE hprocess,LPSTR SearchPath,LPSTR FileName,PVOID id,DWORD two…
62 HANDLE IMAGEAPI FindExecutableImage(PSTR FileName,PSTR SymbolPath,PSTR ImageFilePath);
63 …HANDLE IMAGEAPI FindExecutableImageEx(PSTR FileName,PSTR SymbolPath,PSTR ImageFilePath,PFIND_EXE_F…
126 …PIMAGE_DEBUG_INFORMATION IMAGEAPI MapDebugInformation(HANDLE FileHandle,PSTR FileName,PSTR SymbolP…
469 PCHAR FileName; member
481 PCHAR FileName; member
[all …]
/external/llvm/include/llvm/Support/
DLockFileManager.h53 SmallString<128> FileName;
70 LockFileManager(StringRef FileName);
/external/clang/lib/Basic/
DSanitizerBlacklist.cpp36 bool SanitizerBlacklist::isBlacklistedFile(StringRef FileName, in isBlacklistedFile() argument
38 return SCL->inSection("src", FileName, Category); in isBlacklistedFile()

123456