/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 | 885 static bool isRetain(const FunctionDecl *FD, StringRef FName) { in isRetain() argument 886 return FName.endswith("Retain"); in isRetain() 889 static bool isRelease(const FunctionDecl *FD, StringRef FName) { in isRelease() argument 890 return FName.endswith("Release"); in isRelease() 893 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { in isAutorelease() argument 894 return FName.endswith("Autorelease"); in isAutorelease() 897 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { in isMakeCollectable() argument 900 return FName.find("MakeCollectable") != StringRef::npos; in isMakeCollectable() 1054 StringRef FName = II->getName(); in getFunctionSummary() local 1058 FName = FName.substr(FName.find_first_not_of('_')); in getFunctionSummary() [all …]
|
D | UnixAPIChecker.cpp | 356 StringRef FName = C.getCalleeName(FD); in checkPreStmt() local 357 if (FName.empty()) in checkPreStmt() 361 llvm::StringSwitch<SubChecker>(FName) in checkPreStmt()
|
D | MallocChecker.cpp | 2468 StringRef FName = II->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local 2472 if (FName.endswith("NoCopy")) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2491 if (FName == "funopen") in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2498 if (FName == "setbuf" || FName =="setbuffer" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2499 FName == "setlinebuf" || FName == "setvbuf") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2514 if (FName == "CGBitmapContextCreate" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2515 FName == "CGBitmapContextCreateWithData" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2516 FName == "CVPixelBufferCreateWithBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2517 FName == "CVPixelBufferCreateWithPlanarBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2518 FName == "OSAtomicEnqueue") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 80 StringRef FName = II->getName(); in isCLibraryFunction() local 81 if (FName.equals(Name)) in isCLibraryFunction() 84 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos)) in isCLibraryFunction() 87 if (FName.startswith("__") && FName.endswith("_chk") && in isCLibraryFunction() 88 FName.find(Name) != StringRef::npos) in isCLibraryFunction()
|
D | CallEvent.cpp | 385 StringRef FName = II->getName(); in argumentsMayEscape() local 389 if (FName.endswith("NoCopy")) in argumentsMayEscape() 394 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos)) in argumentsMayEscape() 399 if (FName.startswith("CF") || FName.startswith("CG")) { in argumentsMayEscape() 400 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos || in argumentsMayEscape() 401 StrInStrNoCase(FName, "AddValue") != StringRef::npos || in argumentsMayEscape() 402 StrInStrNoCase(FName, "SetValue") != StringRef::npos || in argumentsMayEscape() 403 StrInStrNoCase(FName, "WithData") != StringRef::npos || in argumentsMayEscape() 404 StrInStrNoCase(FName, "AppendValue") != StringRef::npos || in argumentsMayEscape() 405 StrInStrNoCase(FName, "SetAttribute") != StringRef::npos; in argumentsMayEscape()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 50 void SampleProfileReader::dumpFunctionProfile(StringRef FName, in dumpFunctionProfile() argument 52 OS << "Function: " << FName << ": " << Profiles[FName]; in dumpFunctionProfile() 68 static bool ParseHead(const StringRef &Input, StringRef &FName, in ParseHead() argument 74 FName = Input.substr(0, n1); in ParseHead() 216 StringRef FName; in read() local 217 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in read() 222 Profiles[FName] = FunctionSamples(); in read() 223 FunctionSamples &FProfile = Profiles[FName]; in read() 224 FProfile.setName(FName); in read() 231 StringRef FName; in read() local [all …]
|
D | SampleProfWriter.cpp | 119 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) { in writeNameIdx() argument 120 const auto &ret = NameTable.find(FName); in writeNameIdx() 127 void SampleProfileWriterBinary::addName(StringRef FName) { in addName() argument 128 NameTable.insert(std::make_pair(FName, 0)); in addName()
|
/external/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 39 void SampleProfileReader::dumpFunctionProfile(StringRef FName, in dumpFunctionProfile() argument 41 OS << "Function: " << FName << ": " << Profiles[FName]; in dumpFunctionProfile() 57 static bool ParseHead(const StringRef &Input, StringRef &FName, in ParseHead() argument 63 FName = Input.substr(0, n1); in ParseHead() 172 StringRef FName; in read() local 173 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in read() 178 Profiles[FName] = FunctionSamples(); in read() 179 FunctionSamples &FProfile = Profiles[FName]; in read() 180 FProfile.setName(FName); in read() 187 StringRef FName; in read() local [all …]
|
D | SampleProfWriter.cpp | 83 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) { in writeNameIdx() argument 84 const auto &ret = NameTable.find(FName); in writeNameIdx() 91 void SampleProfileWriterBinary::addName(StringRef FName) { in addName() argument 93 NameTable.insert(std::make_pair(FName, NextIdx)); in addName()
|
/external/elfutils/libelf/ |
D | gelf_xlate.c | 92 #define INLINE2(Bytes, FName, TName) \ argument 93 INLINE3 (Bytes, FName, TName) 94 #define INLINE3(Bytes, FName, TName) \ argument 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/clang/tools/scan-build/bin/ |
D | scan-build | 272 my $FName = shift; 273 DieDiag("Cannot read $FName to compute Digest.\n") if (! -r $FName); 279 open(FILE, $FName) or DieDiag("Cannot open $FName when computing Digest.\n"); 379 my $FName = shift; 385 my $digest = ComputeDigest("$Dir/$FName"); 389 unlink("$Dir/$FName"); 396 chmod(0644, "$Dir/$FName"); 399 open(IN, "$Dir/$FName") or DieDiag("Cannot open '$Dir/$FName'\n"); 454 push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugFunction, $BugLine, 603 my $FName = "$Dir/index.html"; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | DebugInfo.cpp | 870 StringRef FName = "fn"; in getFnSpecificMDNode() local 872 FName = Fn.getFunction()->getName(); in getFnSpecificMDNode() 874 FName = Fn.getName(); in getFnSpecificMDNode() 876 if (FName.startswith(StringRef(&One, 1))) in getFnSpecificMDNode() 877 FName = FName.substr(1); in getFnSpecificMDNode() 878 fixupObjcLikeName(FName, Name); in getFnSpecificMDNode() 886 StringRef FName = "fn"; in getOrInsertFnSpecificMDNode() local 888 FName = Fn.getFunction()->getName(); in getOrInsertFnSpecificMDNode() 890 FName = Fn.getName(); in getOrInsertFnSpecificMDNode() 892 if (FName.startswith(StringRef(&One, 1))) in getOrInsertFnSpecificMDNode() [all …]
|
/external/v8/src/asmjs/ |
D | asm-js.cc | 69 #define STDLIB_MATH_FUNC(fname, FName, ignore1, ignore2) \ in AreStdlibMembersValid() argument 70 if (members.Contains(wasm::AsmJsParser::StandardMember::kMath##FName)) { \ in AreStdlibMembersValid() 71 members.Remove(wasm::AsmJsParser::StandardMember::kMath##FName); \ in AreStdlibMembersValid() 78 shared->builtin_id() != Builtins::kMath##FName) { \ in AreStdlibMembersValid() 82 isolate->builtins()->builtin(Builtins::kMath##FName)); \ in AreStdlibMembersValid() 96 #define STDLIB_ARRAY_TYPE(fname, FName) \ in AreStdlibMembersValid() argument 97 if (members.Contains(wasm::AsmJsParser::StandardMember::k##FName)) { \ in AreStdlibMembersValid() 98 members.Remove(wasm::AsmJsParser::StandardMember::k##FName); \ in AreStdlibMembersValid() 101 STATIC_CHAR_VECTOR(#FName))); \ in AreStdlibMembersValid()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 450 const char *FName = FLoc.get()->info.function; in handleFunctionTypeMismatch() local 451 if (!FName) in handleFunctionTypeMismatch() 452 FName = "(unknown)"; in handleFunctionTypeMismatch() 456 << FName << Data->Type; in handleFunctionTypeMismatch() 457 Diag(FLoc, DL_Note, "%0 defined here") << FName; in handleFunctionTypeMismatch() 544 const char *FName = FLoc.get()->info.function; in handleCFIBadIcall() local 545 if (!FName) in handleCFIBadIcall() 546 FName = "(unknown)"; in handleCFIBadIcall() 547 Diag(FLoc, DL_Note, "%0 defined here") << FName; in handleCFIBadIcall()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | StripSymbols.cpp | 401 StringRef FName = DISubprogram(*I).getLinkageName(); in runOnModule() local 402 if (FName.empty()) in runOnModule() 403 FName = DISubprogram(*I).getName(); in runOnModule() 406 getRealLinkageName(FName)))) in runOnModule()
|
/external/llvm/include/llvm/ProfileData/ |
D | SampleProfWriter.h | 122 std::error_code writeNameIdx(StringRef FName); 126 void addName(StringRef FName);
|
D | SampleProf.h | 207 const std::string &FName, 210 FName, Num, Weight);
|
/external/antlr/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;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/ |
D | SampleProfWriter.h | 115 std::error_code writeNameIdx(StringRef FName); 122 void addName(StringRef FName);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibFunc.h | 365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT); 441 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc() argument 442 Name = FName; in AMDGPUUnmangledLibFunc()
|
/external/clang/tools/libclang/ |
D | CIndexDiagnostic.cpp | 271 CXString FName = clang_getFileName(File); in clang_formatDiagnostic() local 272 Out << clang_getCString(FName) << ":" << Line << ":"; in clang_formatDiagnostic() 273 clang_disposeString(FName); in clang_formatDiagnostic()
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 156 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local 158 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg() 162 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg() 185 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local 187 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg() 190 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 199 StringRef FName = I->first(); in mergeSampleProfile() local 201 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile() 204 handleMergeWriterError(errorCodeToError(EC), Input.Filename, FName); in mergeSampleProfile()
|