Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DPthreadLockChecker.cpp85 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 …]
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.cpp884 static bool isRetain(const FunctionDecl *FD, StringRef FName) { in isRetain() argument
885 return FName.endswith("Retain"); in isRetain()
888 static bool isRelease(const FunctionDecl *FD, StringRef FName) { in isRelease() argument
889 return FName.endswith("Release"); in isRelease()
892 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { in isAutorelease() argument
893 return FName.endswith("Autorelease"); in isAutorelease()
896 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { in isMakeCollectable() argument
899 return FName.find("MakeCollectable") != StringRef::npos; in isMakeCollectable()
1053 StringRef FName = II->getName(); in getFunctionSummary() local
1057 FName = FName.substr(FName.find_first_not_of('_')); in getFunctionSummary()
[all …]
DUnixAPIChecker.cpp356 StringRef FName = C.getCalleeName(FD); in checkPreStmt() local
357 if (FName.empty()) in checkPreStmt()
361 llvm::StringSwitch<SubChecker>(FName) in checkPreStmt()
DMallocChecker.cpp2460 StringRef FName = II->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2464 if (FName.endswith("NoCopy")) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2483 if (FName == "funopen") in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2490 if (FName == "setbuf" || FName =="setbuffer" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2491 FName == "setlinebuf" || FName == "setvbuf") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2506 if (FName == "CGBitmapContextCreate" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2507 FName == "CGBitmapContextCreateWithData" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2508 FName == "CVPixelBufferCreateWithBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2509 FName == "CVPixelBufferCreateWithPlanarBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2510 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.cpp375 StringRef FName = II->getName(); in argumentsMayEscape() local
379 if (FName.endswith("NoCopy")) in argumentsMayEscape()
384 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos)) in argumentsMayEscape()
389 if (FName.startswith("CF") || FName.startswith("CG")) { in argumentsMayEscape()
390 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos || in argumentsMayEscape()
391 StrInStrNoCase(FName, "AddValue") != StringRef::npos || in argumentsMayEscape()
392 StrInStrNoCase(FName, "SetValue") != StringRef::npos || in argumentsMayEscape()
393 StrInStrNoCase(FName, "WithData") != StringRef::npos || in argumentsMayEscape()
394 StrInStrNoCase(FName, "AppendValue") != StringRef::npos || in argumentsMayEscape()
395 StrInStrNoCase(FName, "SetAttribute") != StringRef::npos; in argumentsMayEscape()
/external/llvm/include/llvm/ProfileData/
DSampleProfWriter.h37 virtual std::error_code write(StringRef FName, const FunctionSamples &S) = 0;
47 StringRef FName = I.first(); in write() local
49 if (std::error_code EC = write(FName, Profile)) in write()
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);
DSampleProf.h249 std::string FName, uint64_t Num,
252 FName, Num, Weight);
DSampleProfReader.h246 void dumpFunctionProfile(StringRef FName, raw_ostream &OS = dbgs());
/external/llvm/lib/ProfileData/
DSampleProfWriter.cpp40 std::error_code SampleProfileWriterText::write(StringRef FName, in write() argument
44 OS << FName << ":" << S.getTotalSamples(); in write()
85 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) { in writeNameIdx() argument
86 const auto &ret = NameTable.find(FName); in writeNameIdx()
93 void SampleProfileWriterBinary::addName(StringRef FName) { in addName() argument
95 NameTable.insert(std::make_pair(FName, NextIdx)); in addName()
139 std::error_code SampleProfileWriterBinary::writeBody(StringRef FName, in writeBody() argument
143 if (std::error_code EC = writeNameIdx(FName)) in writeBody()
183 std::error_code SampleProfileWriterBinary::write(StringRef FName, in write() argument
186 return writeBody(FName, S); in write()
DSampleProfReader.cpp39 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()
175 StringRef FName; in read() local
176 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples)) { in read()
181 Profiles[FName] = FunctionSamples(); in read()
182 FunctionSamples &FProfile = Profiles[FName]; in read()
189 StringRef FName; in read() local
194 Discriminator, FName, TargetCountMap)) { in read()
[all …]
/external/elfutils/libelf/
Dgelf_xlate.c92 #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/
Dscan-build271 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");
378 my $FName = shift;
384 my $digest = ComputeDigest("$Dir/$FName");
388 unlink("$Dir/$FName");
395 chmod(0644, "$Dir/$FName");
398 open(IN, "$Dir/$FName") or DieDiag("Cannot open '$Dir/$FName'\n");
453 push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugFunction, $BugLine,
602 my $FName = "$Dir/index.html";
[all …]
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc450 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()
541 const char *FName = FLoc.get()->info.function; in handleCFIBadIcall() local
542 if (!FName) in handleCFIBadIcall()
543 FName = "(unknown)"; in handleCFIBadIcall()
544 Diag(FLoc, DL_Note, "%0 defined here") << FName; in handleCFIBadIcall()
/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.cpp271 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/
DMipsSEISelDAGToDAG.cpp155 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local
157 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
161 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
184 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local
186 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
189 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp181 StringRef FName = I->first(); in mergeSampleProfile() local
183 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight); in mergeSampleProfile()
186 handleMergeWriterError(EC, Input.Filename, FName); in mergeSampleProfile()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h286 std::string FName = mangle(F->getName(), DL); in addLogicalModule()
287 auto StubSym = LMResources.StubsMgr->findStub(FName, false); in addLogicalModule()
/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/Transforms/Instrumentation/
DGCOVProfiling.cpp442 StringRef FName = sys::path::filename(Filename); in mangleName() local
444 if (sys::fs::current_path(CurPath)) return FName; in mangleName()
445 sys::path::append(CurPath, FName); in mangleName()
DDataFlowSanitizer.cpp272 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
572 StringRef FName) { in getOrBuildTrampolineFunction() argument
574 Constant *C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction()
/external/llvm/lib/Support/
DCommandLine.cpp705 static bool ExpandResponseFile(const char *FName, StringSaver &Saver, in ExpandResponseFile() argument
710 MemoryBuffer::getFile(FName); in ExpandResponseFile()