Home
last modified time | relevance | path

Searched refs:inSection (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
DSpecialCaseListTest.cpp54 EXPECT_TRUE(SCL->inSection("", "src", "hello")); in TEST_F()
55 EXPECT_TRUE(SCL->inSection("", "src", "bye")); in TEST_F()
56 EXPECT_TRUE(SCL->inSection("", "src", "hi", "category")); in TEST_F()
57 EXPECT_TRUE(SCL->inSection("", "src", "zzzz", "category")); in TEST_F()
58 EXPECT_FALSE(SCL->inSection("", "src", "hi")); in TEST_F()
59 EXPECT_FALSE(SCL->inSection("", "fun", "hello")); in TEST_F()
60 EXPECT_FALSE(SCL->inSection("", "src", "hello", "category")); in TEST_F()
105 EXPECT_TRUE(SCL->inSection("arbitrary", "src", "global")); in TEST_F()
106 EXPECT_TRUE(SCL->inSection("", "src", "global")); in TEST_F()
107 EXPECT_TRUE(SCL->inSection("sect1", "src", "test1")); in TEST_F()
[all …]
/external/llvm/unittests/Support/
DSpecialCaseListTest.cpp54 EXPECT_TRUE(SCL->inSection("src", "hello")); in TEST_F()
55 EXPECT_TRUE(SCL->inSection("src", "bye")); in TEST_F()
56 EXPECT_TRUE(SCL->inSection("src", "hi", "category")); in TEST_F()
57 EXPECT_TRUE(SCL->inSection("src", "zzzz", "category")); in TEST_F()
58 EXPECT_FALSE(SCL->inSection("src", "hi")); in TEST_F()
59 EXPECT_FALSE(SCL->inSection("fun", "hello")); in TEST_F()
60 EXPECT_FALSE(SCL->inSection("src", "hello", "category")); in TEST_F()
66 EXPECT_FALSE(SCL->inSection("global", "foo")); in TEST_F()
67 EXPECT_FALSE(SCL->inSection("global", "bar")); in TEST_F()
68 EXPECT_TRUE(SCL->inSection("global", "foo", "init")); in TEST_F()
[all …]
/external/llvm-project/clang/lib/Basic/
DXRayLists.cpp39 if (AlwaysInstrument->inSection("xray_always_instrument", "fun", FunctionName, in shouldImbueFunction()
41 AttrList->inSection("always", "fun", FunctionName, "arg1")) in shouldImbueFunction()
43 if (AlwaysInstrument->inSection("xray_always_instrument", "fun", in shouldImbueFunction()
45 AttrList->inSection("always", "fun", FunctionName)) in shouldImbueFunction()
48 if (NeverInstrument->inSection("xray_never_instrument", "fun", in shouldImbueFunction()
50 AttrList->inSection("never", "fun", FunctionName)) in shouldImbueFunction()
59 if (AlwaysInstrument->inSection("xray_always_instrument", "src", Filename, in shouldImbueFunctionsInFile()
61 AttrList->inSection("always", "src", Filename, Category)) in shouldImbueFunctionsInFile()
63 if (NeverInstrument->inSection("xray_never_instrument", "src", Filename, in shouldImbueFunctionsInFile()
65 AttrList->inSection("never", "src", Filename, Category)) in shouldImbueFunctionsInFile()
DSanitizerBlacklist.cpp33 return SSCL->inSection(Mask, "global", GlobalName, Category); in isBlacklistedGlobal()
39 return SSCL->inSection(Mask, "type", MangledTypeName, Category); in isBlacklistedType()
44 return SSCL->inSection(Mask, "fun", FunctionName); in isBlacklistedFunction()
50 return SSCL->inSection(Mask, "src", FileName, Category); in isBlacklistedFile()
DSanitizerSpecialCaseList.cpp56 bool SanitizerSpecialCaseList::inSection(SanitizerMask Mask, StringRef Prefix, in inSection() function in SanitizerSpecialCaseList
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DFile.h45 const Section *inSection) { in addDefinedAtom() argument
46 assert(sectionOffset+contentSize <= inSection->content.size()); in addDefinedAtom()
47 ArrayRef<uint8_t> content = inSection->content.slice(sectionOffset, in addDefinedAtom()
55 inSection->alignment, in addDefinedAtom()
56 sectionOffset % inSection->alignment); in addDefinedAtom()
60 addAtomForSection(inSection, atom, sectionOffset); in addDefinedAtom()
67 bool copyRefs, const Section *inSection) { in addDefinedAtomInCustomSection() argument
68 assert(sectionOffset+contentSize <= inSection->content.size()); in addDefinedAtomInCustomSection()
69 ArrayRef<uint8_t> content = inSection->content.slice(sectionOffset, in addDefinedAtomInCustomSection()
78 inSection->alignment, in addDefinedAtomInCustomSection()
[all …]
/external/clang/lib/Basic/
DSanitizerBlacklist.cpp24 return SCL->inSection("global", GlobalName, Category); in isBlacklistedGlobal()
29 return SCL->inSection("type", MangledTypeName, Category); in isBlacklistedType()
33 return SCL->inSection("fun", FunctionName); in isBlacklistedFunction()
38 return SCL->inSection("src", FileName, Category); in isBlacklistedFile()
/external/webrtc/examples/objc/AppRTCMobile/ios/
DARDSettingsViewController.m107 inSection:(int)section
110 NSIndexPath *rowPath = [NSIndexPath indexPathForRow:i inSection:section];
118 inSection:(int)section {
119 [self removeAllAccessories:tableView inSection:section];
201 inSection:ARDSettingsSectionVideoResolution];
232 inSection:ARDSettingsSectionVideoCodec];
/external/llvm-project/clang/include/clang/Basic/
DSanitizerSpecialCaseList.h43 bool inSection(SanitizerMask Mask, StringRef Prefix, StringRef Query,
/external/llvm/include/llvm/Support/
DSpecialCaseList.h82 bool inSection(StringRef Section, StringRef Query,
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageFilters.cpp40 return Whitelist.inSection("llvmcov", "whitelist_fun", Function.Name); in matches()
/external/llvm-project/llvm/include/llvm/Support/
DSpecialCaseList.h92 bool inSection(StringRef Section, StringRef Prefix, StringRef Query,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSpecialCaseList.h90 bool inSection(StringRef Section, StringRef Prefix, StringRef Query,
/external/llvm/lib/Support/
DSpecialCaseList.cpp157 bool SpecialCaseList::inSection(StringRef Section, StringRef Query, in inSection() function in llvm::SpecialCaseList
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp388 !Allowlist->inSection("coverage", "src", M.getSourceFileName())) in instrumentModule()
391 Blocklist->inSection("coverage", "src", M.getSourceFileName())) in instrumentModule()
616 if (Allowlist && !Allowlist->inSection("coverage", "fun", F.getName())) in instrumentFunction()
618 if (Blocklist && Blocklist->inSection("coverage", "fun", F.getName())) in instrumentFunction()
DDataFlowSanitizer.cpp229 SCL->inSection("dataflow", "fun", F.getName(), Category); in isIn()
241 return SCL->inSection("dataflow", "fun", GA.getName(), Category); in isIn()
243 return SCL->inSection("dataflow", "global", GA.getName(), Category) || in isIn()
244 SCL->inSection("dataflow", "type", GetGlobalTypeString(GA), in isIn()
250 return SCL->inSection("dataflow", "src", M.getModuleIdentifier(), Category); in isIn()
/external/llvm-project/llvm/tools/sancov/
Dsancov.cpp483 DefaultBlacklist->inSection("sancov", "fun", I.FunctionName)) in isBlacklisted()
486 DefaultBlacklist->inSection("sancov", "src", I.FileName)) in isBlacklisted()
489 UserBlacklist->inSection("sancov", "fun", I.FunctionName)) in isBlacklisted()
491 if (UserBlacklist && UserBlacklist->inSection("sancov", "src", I.FileName)) in isBlacklisted()
/external/llvm/tools/sancov/
Dsancov.cc258 if (DefaultBlacklist && DefaultBlacklist->inSection("fun", AI.FunctionName)) in isBlacklisted()
260 if (DefaultBlacklist && DefaultBlacklist->inSection("src", AI.FileName)) in isBlacklisted()
262 if (UserBlacklist && UserBlacklist->inSection("fun", AI.FunctionName)) in isBlacklisted()
264 if (UserBlacklist && UserBlacklist->inSection("src", AI.FileName)) in isBlacklisted()
/external/llvm-project/llvm/lib/Support/
DSpecialCaseList.cpp204 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() function in llvm::SpecialCaseList
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSpecialCaseList.cpp204 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() function in llvm::SpecialCaseList
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp158 SCL->inSection("fun", F.getName(), Category); in isIn()
170 return SCL->inSection("fun", GA.getName(), Category); in isIn()
172 return SCL->inSection("global", GA.getName(), Category) || in isIn()
173 SCL->inSection("type", GetGlobalTypeString(GA), Category); in isIn()
178 return SCL->inSection("src", M.getModuleIdentifier(), Category); in isIn()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp190 SCL->inSection("dataflow", "fun", F.getName(), Category); in isIn()
202 return SCL->inSection("dataflow", "fun", GA.getName(), Category); in isIn()
204 return SCL->inSection("dataflow", "global", GA.getName(), Category) || in isIn()
205 SCL->inSection("dataflow", "type", GetGlobalTypeString(GA), in isIn()
211 return SCL->inSection("dataflow", "src", M.getModuleIdentifier(), Category); in isIn()