/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PthreadLockChecker.cpp | 85 StringRef FName = C.getCalleeName(CE); in REGISTER_LIST_WITH_PROGRAMSTATE() local 86 if (FName.empty()) in REGISTER_LIST_WITH_PROGRAMSTATE() 92 if (FName == "pthread_mutex_lock" || in REGISTER_LIST_WITH_PROGRAMSTATE() 93 FName == "pthread_rwlock_rdlock" || in REGISTER_LIST_WITH_PROGRAMSTATE() 94 FName == "pthread_rwlock_wrlock") in REGISTER_LIST_WITH_PROGRAMSTATE() 97 else if (FName == "lck_mtx_lock" || in REGISTER_LIST_WITH_PROGRAMSTATE() 98 FName == "lck_rw_lock_exclusive" || in REGISTER_LIST_WITH_PROGRAMSTATE() 99 FName == "lck_rw_lock_shared") in REGISTER_LIST_WITH_PROGRAMSTATE() 102 else if (FName == "pthread_mutex_trylock" || in REGISTER_LIST_WITH_PROGRAMSTATE() 103 FName == "pthread_rwlock_tryrdlock" || in REGISTER_LIST_WITH_PROGRAMSTATE() [all …]
|
D | MacOSXAPIChecker.cpp | 40 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()
|
D | RetainCountChecker.cpp | 858 static bool isRetain(const FunctionDecl *FD, StringRef FName) { in isRetain() argument 859 return FName.endswith("Retain"); in isRetain() 862 static bool isRelease(const FunctionDecl *FD, StringRef FName) { in isRelease() argument 863 return FName.endswith("Release"); in isRelease() 866 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { in isAutorelease() argument 867 return FName.endswith("Autorelease"); in isAutorelease() 870 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { in isMakeCollectable() argument 873 return FName.find("MakeCollectable") != StringRef::npos; in isMakeCollectable() 1026 StringRef FName = II->getName(); in getFunctionSummary() local 1030 FName = FName.substr(FName.find_first_not_of('_')); in getFunctionSummary() [all …]
|
D | UnixAPIChecker.cpp | 332 StringRef FName = C.getCalleeName(FD); in checkPreStmt() local 333 if (FName.empty()) in checkPreStmt() 337 llvm::StringSwitch<SubChecker>(FName) in checkPreStmt()
|
D | MallocChecker.cpp | 2123 StringRef FName = II->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local 2127 if (FName.endswith("NoCopy")) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2146 if (FName == "funopen") in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2153 if (FName == "setbuf" || FName =="setbuffer" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2154 FName == "setlinebuf" || FName == "setvbuf") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2169 if (FName == "CGBitmapContextCreate" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2170 FName == "CGBitmapContextCreateWithData" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2171 FName == "CVPixelBufferCreateWithBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2172 FName == "CVPixelBufferCreateWithPlanarBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2173 FName == "OSAtomicEnqueue") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 77 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()
|
D | CallEvent.cpp | 357 StringRef FName = II->getName(); in argumentsMayEscape() local 361 if (FName.endswith("NoCopy")) in argumentsMayEscape() 366 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos)) in argumentsMayEscape() 371 if (FName.startswith("CF") || FName.startswith("CG")) { in argumentsMayEscape() 372 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos || in argumentsMayEscape() 373 StrInStrNoCase(FName, "AddValue") != StringRef::npos || in argumentsMayEscape() 374 StrInStrNoCase(FName, "SetValue") != StringRef::npos || in argumentsMayEscape() 375 StrInStrNoCase(FName, "WithData") != StringRef::npos || in argumentsMayEscape() 376 StrInStrNoCase(FName, "AppendValue") != StringRef::npos || in argumentsMayEscape() 377 StrInStrNoCase(FName, "SetAttribute") != StringRef::npos; in argumentsMayEscape()
|
/external/chromium_org/third_party/lcov/contrib/galaxy/ |
D | conglomerate_functions.pl | 147 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/0.153/libelf/ |
D | gelf_xlate.c | 112 #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/ |
D | 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"); 353 my $FName = shift; 359 my $digest = ComputeDigest("$Dir/$FName"); 363 unlink("$Dir/$FName"); 370 chmod(0644, "$Dir/$FName"); 373 open(IN, "$Dir/$FName") or DieDiag("Cannot open '$Dir/$FName'\n"); 424 push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugFunction, $BugLine, 573 my $FName = "$Dir/index.html"; [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | SampleProfile.cpp | 248 void printFunctionProfile(raw_ostream &OS, StringRef FName); 249 void dumpFunctionProfile(StringRef FName); 371 StringRef FName) { in printFunctionProfile() argument 372 OS << "Function: " << FName << ":\n"; in printFunctionProfile() 373 Profiles[FName].print(OS); in printFunctionProfile() 379 void SampleModuleProfile::dumpFunctionProfile(StringRef FName) { in dumpFunctionProfile() argument 380 printFunctionProfile(dbgs(), FName); in dumpFunctionProfile() 488 StringRef FName = Matches[1]; in loadText() local 492 Profiles[FName] = SampleFunctionProfile(); in loadText() 493 SampleFunctionProfile &FProfile = Profiles[FName]; in loadText()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 266 const char *FName = "(unknown)"; in __ubsan_handle_function_type_mismatch() local 268 Location Loc = getFunctionLocation(Function, &FName); in __ubsan_handle_function_type_mismatch() 272 << FName << Data->Type; in __ubsan_handle_function_type_mismatch() 273 Diag(Loc, DL_Note, "%0 defined here") << FName; in __ubsan_handle_function_type_mismatch()
|
D | ubsan_diag.cc | 60 Location __ubsan::getFunctionLocation(uptr Loc, const char **FName) { in getFunctionLocation() argument 70 if (FName && Info.function) in getFunctionLocation() 71 *FName = Info.function; in getFunctionLocation()
|
D | ubsan_diag.h | 87 Location getFunctionLocation(uptr Loc, const char **FName);
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.Tools.pas | 369 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;
|
D | Antlr.Runtime.pas | 1646 FName: String; 1662 property SourceName: String read GetSourceName write FName; 3210 Result := FName;
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 152 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local 154 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg() 158 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg() 181 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local 183 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg() 186 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
|
/external/clang/tools/libclang/ |
D | CIndexDiagnostic.cpp | 272 CXString FName = clang_getFileName(File); in clang_formatDiagnostic() local 273 Out << clang_getCString(FName) << ":" << Line << ":"; in clang_formatDiagnostic() 274 clang_disposeString(FName); in clang_formatDiagnostic()
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 863 StringRef FName = in fixupSubprogramName() local 865 FName = Function::getRealLinkageName(FName); in fixupSubprogramName() 868 Out.reserve(FName.size() + Prefix.size()); in fixupSubprogramName() 872 for (size_t i = 0, e = FName.size(); i < e; ++i) { in fixupSubprogramName() 873 char C = FName[i]; in fixupSubprogramName()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 39 const char *FName, in EnsureFPIntrinsicsExist() argument 44 EnsureFunctionExists(M, FName, Fn->arg_begin(), Fn->arg_end(), in EnsureFPIntrinsicsExist()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 435 StringRef FName = sys::path::filename(Filename); in mangleName() local 437 if (sys::fs::current_path(CurPath)) return FName; in mangleName() 438 sys::path::append(CurPath, FName.str()); in mangleName()
|
D | DataFlowSanitizer.cpp | 255 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName); 512 StringRef FName) { in getOrBuildTrampolineFunction() argument 514 Constant *C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction()
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 631 static bool ExpandResponseFile(const char *FName, StringSaver &Saver, in ExpandResponseFile() argument 635 MemoryBuffer::getFile(FName); in ExpandResponseFile()
|