Home
last modified time | relevance | path

Searched refs:FName (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DPthreadLockChecker.cpp53 StringRef FName = C.getCalleeName(CE); in REGISTER_LIST_WITH_PROGRAMSTATE() local
54 if (FName.empty()) in REGISTER_LIST_WITH_PROGRAMSTATE()
60 if (FName == "pthread_mutex_lock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
61 FName == "pthread_rwlock_rdlock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
62 FName == "pthread_rwlock_wrlock") in REGISTER_LIST_WITH_PROGRAMSTATE()
65 else if (FName == "lck_mtx_lock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
66 FName == "lck_rw_lock_exclusive" || in REGISTER_LIST_WITH_PROGRAMSTATE()
67 FName == "lck_rw_lock_shared") in REGISTER_LIST_WITH_PROGRAMSTATE()
70 else if (FName == "pthread_mutex_trylock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
71 FName == "pthread_rwlock_tryrdlock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
[all …]
DMacOSXAPIChecker.cpp40 StringRef FName) const;
44 StringRef FName) const;
53 StringRef FName) const { in CheckDispatchOnce()
78 StringRef TrimmedFName = FName.ltrim("_"); in CheckDispatchOnce()
79 if (TrimmedFName != FName) in CheckDispatchOnce()
80 FName = TrimmedFName; in CheckDispatchOnce()
85 os << "Call to '" << FName << "' uses"; in CheckDispatchOnce()
DRetainCountChecker.cpp880 static bool isRetain(const FunctionDecl *FD, StringRef FName) { in isRetain() argument
881 return FName.endswith("Retain"); in isRetain()
884 static bool isRelease(const FunctionDecl *FD, StringRef FName) { in isRelease() argument
885 return FName.endswith("Release"); in isRelease()
888 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { in isMakeCollectable() argument
891 return FName.find("MakeCollectable") != StringRef::npos; in isMakeCollectable()
1044 StringRef FName = II->getName(); in getFunctionSummary() local
1048 FName = FName.substr(FName.find_first_not_of('_')); in getFunctionSummary()
1057 if (FName == "pthread_create" || FName == "pthread_setspecific") { in getFunctionSummary()
1061 } else if (FName == "NSMakeCollectable") { in getFunctionSummary()
[all …]
DUnixAPIChecker.cpp337 StringRef FName = C.getCalleeName(FD); in checkPreStmt() local
338 if (FName.empty()) in checkPreStmt()
342 llvm::StringSwitch<SubChecker>(FName) in checkPreStmt()
DMallocChecker.cpp1935 StringRef FName = II->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
1939 if (FName.endswith("NoCopy")) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1958 if (FName == "funopen") in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1965 if (FName == "setbuf" || FName =="setbuffer" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1966 FName == "setlinebuf" || FName == "setvbuf") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1981 if (FName == "CGBitmapContextCreate" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1982 FName == "CGBitmapContextCreateWithData" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1983 FName == "CVPixelBufferCreateWithBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1984 FName == "CVPixelBufferCreateWithPlanarBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1985 FName == "OSAtomicEnqueue") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp77 StringRef FName = II->getName(); in isCLibraryFunction() local
78 if (FName.equals(Name)) in isCLibraryFunction()
81 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos)) in isCLibraryFunction()
84 if (FName.startswith("__") && FName.endswith("_chk") && in isCLibraryFunction()
85 FName.find(Name) != StringRef::npos) in isCLibraryFunction()
DCallEvent.cpp349 StringRef FName = II->getName(); in argumentsMayEscape() local
353 if (FName.endswith("NoCopy")) in argumentsMayEscape()
358 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos)) in argumentsMayEscape()
363 if (FName.startswith("CF") || FName.startswith("CG")) { in argumentsMayEscape()
364 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos || in argumentsMayEscape()
365 StrInStrNoCase(FName, "AddValue") != StringRef::npos || in argumentsMayEscape()
366 StrInStrNoCase(FName, "SetValue") != StringRef::npos || in argumentsMayEscape()
367 StrInStrNoCase(FName, "WithData") != StringRef::npos || in argumentsMayEscape()
368 StrInStrNoCase(FName, "AppendValue") != StringRef::npos || in argumentsMayEscape()
369 StrInStrNoCase(FName, "SetAttribute") != StringRef::npos; in argumentsMayEscape()
/external/chromium_org/third_party/lcov/contrib/galaxy/
Dconglomerate_functions.pl147 my $FName = "";
150 foreach $FName (@ARGV)
152 $FName =~ /\+([A-Z]+)\+/;
156 Decorate ("2", $FName); # Light green.
159 Decorate ("3", $FName); # Green.
162 Decorate ("4", $FName); # Red.
165 Decorate ("5", $FName); # Blue.
168 die ("Unknown extension $FName");
/external/elfutils/libelf/
Dgelf_xlate.c112 #define INLINE2(Bytes, FName, TName) \ argument
113 INLINE3 (Bytes, FName, TName)
114 #define INLINE3(Bytes, FName, TName) \ argument
115 static inline void FName##1 (void *dest, const void *ptr) \
127 static void FName (void *dest, const void *ptr, size_t len, \
134 FName##1 (dest, ptr); \
146 FName##1 (dest, ptr); \
/external/clang/tools/scan-build/
Dscan-build229 my $FName = shift;
230 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName);
236 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n");
336 my $FName = shift;
342 my $digest = ComputeDigest("$Dir/$FName");
346 system ("rm", "-f", "$Dir/$FName");
353 system ("chmod", "644", "$Dir/$FName");
356 open(IN, "$Dir/$FName") or DieDiag("Cannot open '$Dir/$FName'\n");
401 push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugLine,
548 my $FName = "$Dir/index.html";
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp136 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local
138 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
142 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
165 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local
167 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
170 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp397 StringRef FName = DISubprogram(*I).getLinkageName(); in runOnModule() local
398 if (FName.empty()) in runOnModule()
399 FName = DISubprogram(*I).getName(); in runOnModule()
401 "llvm.dbg.lv." + Function::getRealLinkageName(FName))) in runOnModule()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas369 FName: String;
944 if (FEntries[I].FName = Name) then
954 if (FEntries[I].FName = Name) then
969 if (FEntries[I].FName = Name) then
974 FEntries[FCount].FName := Name;
986 if (FEntries[I].FName = Name) then
991 FEntries[FCount].FName := Name;
DAntlr.Runtime.pas1646 FName: String;
1662 property SourceName: String read GetSourceName write FName;
3210 Result := FName;
/external/clang/tools/libclang/
DCIndexDiagnostic.cpp256 CXString FName = clang_getFileName(File); in clang_formatDiagnostic() local
257 Out << clang_getCString(FName) << ":" << Line << ":"; in clang_formatDiagnostic()
258 clang_disposeString(FName); in clang_formatDiagnostic()
/external/llvm/lib/IR/
DDebugInfo.cpp769 StringRef FName = in fixupSubprogramName() local
771 FName = Function::getRealLinkageName(FName); in fixupSubprogramName()
774 Out.reserve(FName.size() + Prefix.size()); in fixupSubprogramName()
778 for (size_t i = 0, e = FName.size(); i < e; ++i) { in fixupSubprogramName()
779 char C = FName[i]; in fixupSubprogramName()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp401 StringRef FName = sys::path::filename(Filename); in mangleName() local
403 if (sys::fs::current_path(CurPath)) return FName; in mangleName()
404 sys::path::append(CurPath, FName.str()); in mangleName()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp39 const char *FName, in EnsureFPIntrinsicsExist() argument
44 EnsureFunctionExists(M, FName, Fn->arg_begin(), Fn->arg_end(), in EnsureFPIntrinsicsExist()
/external/llvm/lib/Support/
DCommandLine.cpp606 static bool ExpandResponseFile(const char *FName, StringSaver &Saver, in ExpandResponseFile() argument
610 if (MemoryBuffer::getFile(FName, MemBuf)) in ExpandResponseFile()