/external/clang/lib/StaticAnalyzer/Checkers/ |
MacOSXAPIChecker.cpp | 40 StringRef FName) const; 44 StringRef FName) const; 53 StringRef FName) const { 78 StringRef TrimmedFName = FName.ltrim("_"); 79 if (TrimmedFName != FName) 80 FName = TrimmedFName; 85 os << "Call to '" << FName << "' uses";
|
PthreadLockChecker.cpp | 85 StringRef FName = C.getCalleeName(CE); 86 if (FName.empty()) 92 if (FName == "pthread_mutex_lock" || 93 FName == "pthread_rwlock_rdlock" || 94 FName == "pthread_rwlock_wrlock") 97 else if (FName == "lck_mtx_lock" || 98 FName == "lck_rw_lock_exclusive" || 99 FName == "lck_rw_lock_shared") 102 else if (FName == "pthread_mutex_trylock" || 103 FName == "pthread_rwlock_tryrdlock" | [all...] |
RetainCountChecker.cpp | 884 static bool isRetain(const FunctionDecl *FD, StringRef FName) { 885 return FName.endswith("Retain"); 888 static bool isRelease(const FunctionDecl *FD, StringRef FName) { 889 return FName.endswith("Release"); 892 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { 893 return FName.endswith("Autorelease"); 896 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { 899 return FName.find("MakeCollectable") != StringRef::npos; [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerContext.cpp | 77 StringRef FName = II->getName(); 78 if (FName.equals(Name)) 81 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos)) 84 if (FName.startswith("__") && FName.endswith("_chk") && 85 FName.find(Name) != StringRef::npos)
|
CallEvent.cpp | 375 StringRef FName = II->getName(); 379 if (FName.endswith("NoCopy")) 384 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos)) 389 if (FName.startswith("CF") || FName.startswith("CG")) { 390 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos || 391 StrInStrNoCase(FName, "AddValue") != StringRef::npos || 392 StrInStrNoCase(FName, "SetValue") != StringRef::npos || 393 StrInStrNoCase(FName, "WithData") != StringRef::npos | [all...] |
/external/llvm/include/llvm/ProfileData/ |
SampleProfWriter.h | 34 /// Write sample profiles in \p S for function \p FName. 37 virtual std::error_code write(StringRef FName, const FunctionSamples &S) = 0; 47 StringRef FName = I.first(); 49 if (std::error_code EC = write(FName, Profile)) 83 std::error_code write(StringRef FName, const FunctionSamples &S) override; 116 std::error_code writeNameIdx(StringRef FName); 117 std::error_code writeBody(StringRef FName, const FunctionSamples &S); 120 void addName(StringRef FName);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSScreenFunctionsPass.cpp | 58 llvm::StringRef FName = F.getName(); 59 if (FName.startswith("llvm.")) 62 if (isPresent(whiteList, FName.str()))
|
RSX86CallConvPass.cpp | 50 llvm::StringRef FName = F.getName(); 51 if (FName.startswith("llvm.")) 79 llvm::StringRef FName = F->getName(); 81 if (FName.find("rsSetObject") != std::string::npos && ArgNo == 0) 84 if (FName.find("rsClearObject") != std::string::npos && ArgNo == 0) 87 if (FName.find("rsForEachInternal") != std::string::npos && ArgNo == 4)
|
/external/llvm/lib/ProfileData/ |
SampleProfWriter.cpp | 40 std::error_code SampleProfileWriterText::write(StringRef FName, 44 OS << FName << ":" << S.getTotalSamples(); 85 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) { 86 const auto &ret = NameTable.find(FName); 93 void SampleProfileWriterBinary::addName(StringRef FName) { 95 NameTable.insert(std::make_pair(FName, NextIdx)); 139 std::error_code SampleProfileWriterBinary::writeBody(StringRef FName, 143 if (std::error_code EC = writeNameIdx(FName)) 183 std::error_code SampleProfileWriterBinary::write(StringRef FName, 186 return writeBody(FName, S) [all...] |
SampleProfReader.cpp | 35 /// \brief Dump the function profile for \p FName. 37 /// \param FName Name of the function to print. 39 void SampleProfileReader::dumpFunctionProfile(StringRef FName, 41 OS << "Function: " << FName << ": " << Profiles[FName]; 52 /// Parse one line of \p Input, and update function name in \p FName, 57 static bool ParseHead(const StringRef &Input, StringRef &FName, 63 FName = Input.substr(0, n1); 175 StringRef FName; 176 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) [all...] |
/external/elfutils/libelf/ |
gelf_xlate.c | 92 #define INLINE2(Bytes, FName, TName) \ 93 INLINE3 (Bytes, FName, TName) 94 #define INLINE3(Bytes, FName, TName) \ 95 static inline void FName##1 (void *dest, const void *ptr) \ 107 static void FName (void *dest, const void *ptr, size_t len, \ 114 FName##1 (dest, ptr); \ 126 FName##1 (dest, ptr); \
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 450 const char *FName = FLoc.get()->info.function; 451 if (!FName) 452 FName = "(unknown)"; 456 << FName << Data->Type; 457 Diag(FLoc, DL_Note, "%0 defined here") << FName; 541 const char *FName = FLoc.get()->info.function; 542 if (!FName) 543 FName = "(unknown)"; 544 Diag(FLoc, DL_Note, "%0 defined here") << FName;
|
/external/clang/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/darwin-x86/host/3.6/tools/scan-build/ |
scan-build | 246 my $FName = shift; 247 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 253 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 290 my $fname = shift; 294 open (RIN, $fname) or die "cannot open $fname"; 295 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/darwin-x86/3.8/tools/scan-build/ |
scan-build | 246 my $FName = shift; 247 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 253 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 290 my $fname = shift; 294 open (RIN, $fname) or die "cannot open $fname"; 295 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/darwin-x86/clang-2629532/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/darwin-x86/clang-2658975/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/darwin-x86/clang-2690385/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/linux-x86/3.8/tools/scan-build/ |
scan-build | 246 my $FName = shift; 247 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 253 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 290 my $fname = shift; 294 open (RIN, $fname) or die "cannot open $fname"; 295 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/linux-x86/clang-2629532/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/linux-x86/clang-2658975/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/host/linux-x86/clang-2690385/tools/scan-build/bin/ |
scan-build | 271 my $FName = shift; 272 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 278 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 315 my $fname = shift; 319 open (RIN, $fname) or die "cannot open $fname"; 320 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/clang/linux-x86/host/3.6/tools/scan-build/ |
scan-build | 246 my $FName = shift; 247 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 253 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 290 my $fname = shift; 294 open (RIN, $fname) or die "cannot open $fname"; 295 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/misc/darwin-x86/analyzer/tools/scan-build/ |
scan-build | 231 my $FName = shift; 232 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 238 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 275 my $fname = shift; 279 open (RIN, $fname) or die "cannot open $fname"; 280 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |
/prebuilts/misc/linux-x86/analyzer/tools/scan-build/ |
scan-build | 231 my $FName = shift; 232 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 238 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 275 my $fname = shift; 279 open (RIN, $fname) or die "cannot open $fname"; 280 open (ROUT, ">", "$fname.tmp") or die "cannot open $fname.tmp" [all...] |