/external/clang/test/SemaObjC/ |
D | warn-superclass-method-mismatch.m | 7 @class Sub; 12 -(void) method2: (Sub*) x; // expected-note{{passing argument to parameter 'x' here}} argument 23 @interface Sub : Base interface 25 -(void) method1: (Sub*) x; // expected-warning {{method parameter type 'Sub *' does not match super… argument 27 + method3: (int)x1 : (Sub *)x2 : (float)x3; // expected-warning {{method parameter type 'Sub *' doe… 29 -(void) method_r: (char)ch : (float*)f1 : (Sub*) x; // expected-warning {{method parameter type 'Su… argument 34 void f(Base *base, Sub *sub) { 36 …[base method:&x]; // warn. if base is actually 'Sub' it will use -[Sub method] with wrong argumen… 39 [base method1:b]; // if base is actuall 'Sub' it will use [Sub method1] with wrong argument. 43 Sub *s; [all …]
|
D | block-type-safety.m | 5 @interface Sub : Super @end interface 12 void f3(void(^f)(Sub *)) { 13 Sub *o; 21 void r1(Sub* (^f)()) { // expected-note{{passing argument to parameter 'f' here}} 22 Sub *o = f(); 33 f2(^(Sub *o) { }); // expected-error {{incompatible block pointer types passing}} category 34 f3(^(Super *o) { }); // OK, block taking Super* may be called with a Sub* 37 r0(^Sub* () { return 0; }); // OK, variable of type Super* gets return value of type Sub* category 41 r1(^Sub* () { return 0; }); // OK category
|
/external/cldr/tools/java/org/unicode/cldr/util/data/external/ |
D | UnCodes.txt | 1 Global Code Global Name Region Code Region Name Sub-region Code Sub-region Name Intermediate Region… 9 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa British Indian Ocean Territory 086 I… 10 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Burundi 108 BDI x x Developing 11 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Comoros 174 COM x x Developing 12 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Djibouti 262 DJI x Developing 13 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Eritrea 232 ERI x Developing 14 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Ethiopia 231 ETH x x Developing 15 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa French Southern Territories 260 ATF … 16 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Kenya 404 KEN Developing 17 001 World 002 Africa 202 Sub-Saharan Africa 014 Eastern Africa Madagascar 450 MDG x Developing [all …]
|
/external/mockito/src/test/java/org/mockitousage/puzzlers/ |
D | BridgeMethodPuzzleTest.java | 33 private class Sub extends Super<String> { class in BridgeMethodPuzzleTest 42 Super s = new Sub(); in shouldHaveBridgeMethod() 46 Assertions.assertThat(Sub.class).has(bridgeMethod("say")); in shouldHaveBridgeMethod() 54 Sub s = mock(Sub.class); in shouldVerifyCorrectlyWhenBridgeMethodCalled() 65 Sub s = mock(Sub.class); in shouldVerifyCorrectlyWhenBridgeMethodVerified()
|
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/ |
D | Cloning.cpp | 55 BinaryOperator *Sub = BinaryOperator::Create(Instruction::Sub, V, V); in TEST_F() local 59 BinaryOperator *SubClone = this->clone(Sub); in TEST_F() 72 Sub->setHasNoUnsignedWrap(); in TEST_F() 76 SubClone = this->clone(Sub); in TEST_F() 89 Sub->setHasNoSignedWrap(); in TEST_F() 93 SubClone = this->clone(Sub); in TEST_F() 106 Sub->setHasNoUnsignedWrap(false); in TEST_F() 110 SubClone = this->clone(Sub); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | fmsubadd-combine.ll | 25 %Sub = fsub <2 x double> %AB, %C 27 %subadd = shufflevector <2 x double> %Add, <2 x double> %Sub, <2 x i32> <i32 0, i32 3> 43 %Sub = fsub <4 x float> %AB, %C 45 %subadd = shufflevector <4 x float> %Add, <4 x float> %Sub, <4 x i32> <i32 0, i32 5, i32 2, i32 7> 61 %Sub = fsub <4 x double> %AB, %C 63 …%subadd = shufflevector <4 x double> %Add, <4 x double> %Sub, <4 x i32> <i32 0, i32 5, i32 2, i32 … 79 %Sub = fsub <8 x float> %AB, %C 81 …%subadd = shufflevector <8 x float> %Add, <8 x float> %Sub, <8 x i32> <i32 0, i32 9, i32 2, i32 11… 104 %Sub = fsub <8 x double> %AB, %C 106 …%subadd = shufflevector <8 x double> %Add, <8 x double> %Sub, <8 x i32> <i32 0, i32 9, i32 2, i32 … [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | CommandLine.cpp | 130 for (const auto &Sub : RegisteredSubCommands) { in addLiteralOption() local 131 if (SC == Sub) in addLiteralOption() 133 addLiteralOption(Opt, Sub, Name); in addLiteralOption() 181 for (const auto &Sub : RegisteredSubCommands) { in addOption() local 182 if (SC == Sub) in addOption() 184 addOption(O, Sub); in addOption() 204 SubCommand &Sub = *SC; in removeOption() local 206 Sub.OptionsMap.erase(Name); in removeOption() 209 for (auto Opt = Sub.PositionalOpts.begin(); in removeOption() 210 Opt != Sub.PositionalOpts.end(); ++Opt) { in removeOption() [all …]
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 126 for (const auto &Sub : RegisteredSubCommands) { in addLiteralOption() local 127 if (SC == Sub) in addLiteralOption() 129 addLiteralOption(Opt, Sub, Name); in addLiteralOption() 177 for (const auto &Sub : RegisteredSubCommands) { in addOption() local 178 if (SC == Sub) in addOption() 180 addOption(O, Sub); in addOption() 200 SubCommand &Sub = *SC; in removeOption() local 202 Sub.OptionsMap.erase(Name); in removeOption() 205 for (auto Opt = Sub.PositionalOpts.begin(); in removeOption() 206 Opt != Sub.PositionalOpts.end(); ++Opt) { in removeOption() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | CommandLine.cpp | 140 for (const auto &Sub : RegisteredSubCommands) { in addLiteralOption() local 141 if (SC == Sub) in addLiteralOption() 143 addLiteralOption(Opt, Sub, Name); in addLiteralOption() 191 for (const auto &Sub : RegisteredSubCommands) { in addOption() local 192 if (SC == Sub) in addOption() 194 addOption(O, Sub); in addOption() 214 SubCommand &Sub = *SC; in removeOption() local 216 Sub.OptionsMap.erase(Name); in removeOption() 219 for (auto Opt = Sub.PositionalOpts.begin(); in removeOption() 220 Opt != Sub.PositionalOpts.end(); ++Opt) { in removeOption() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonExpandCondsets.cpp | 217 Sub(Op.getSubReg()) {} in RegisterRef() 218 RegisterRef(unsigned R = 0, unsigned S = 0) : Reg(R), Sub(S) {} in RegisterRef() 220 return Reg == RR.Reg && Sub == RR.Sub; in operator ==() 224 return Reg < RR.Reg || (Reg == RR.Reg && Sub < RR.Sub); in operator <() 226 unsigned Reg, Sub; member 232 unsigned getMaskForSub(unsigned Sub); 234 LaneBitmask getLaneMask(unsigned Reg, unsigned Sub); 289 unsigned HexagonExpandCondsets::getMaskForSub(unsigned Sub) { in INITIALIZE_PASS_DEPENDENCY() 290 switch (Sub) { in INITIALIZE_PASS_DEPENDENCY() 316 LaneBitmask HexagonExpandCondsets::getLaneMask(unsigned Reg, unsigned Sub) { in getLaneMask() argument [all …]
|
D | HexagonBitSimplify.cpp | 367 assert(RR.Sub == 0); in getSubregMask() 373 if (RR.Sub == 0) { in getSubregMask() 378 assert(RR.Sub == Hexagon::subreg_loreg || RR.Sub == Hexagon::subreg_hireg); in getSubregMask() 380 Begin = (RR.Sub == Hexagon::subreg_loreg ? 0 : 32); in getSubregMask() 854 if (RR.Sub == 0) in getFinalVRegClass() 857 auto VerifySR = [] (unsigned Sub) -> void { in getFinalVRegClass() argument 858 assert(Sub == Hexagon::subreg_hireg || Sub == Hexagon::subreg_loreg); in getFinalVRegClass() 863 VerifySR(RR.Sub); in getFinalVRegClass() 866 VerifySR(RR.Sub); in getFinalVRegClass() 869 VerifySR(RR.Sub); in getFinalVRegClass() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonExpandCondsets.cpp | 179 Sub(Op.getSubReg()) {} in RegisterRef() 180 RegisterRef(unsigned R = 0, unsigned S = 0) : Reg(R), Sub(S) {} in RegisterRef() 183 return Reg == RR.Reg && Sub == RR.Sub; in operator ==() 187 return Reg < RR.Reg || (Reg == RR.Reg && Sub < RR.Sub); in operator <() 190 unsigned Reg, Sub; member 197 unsigned getMaskForSub(unsigned Sub); 199 LaneBitmask getLaneMask(unsigned Reg, unsigned Sub); 260 unsigned HexagonExpandCondsets::getMaskForSub(unsigned Sub) { in INITIALIZE_PASS_DEPENDENCY() 261 switch (Sub) { in INITIALIZE_PASS_DEPENDENCY() 288 LaneBitmask HexagonExpandCondsets::getLaneMask(unsigned Reg, unsigned Sub) { in getLaneMask() argument [all …]
|
D | HexagonBitSimplify.cpp | 411 if (RR.Sub == 0) { in getSubregMask() 423 if (RR.Sub == Hexagon::isub_hi || RR.Sub == Hexagon::vsub_hi) in getSubregMask() 903 if (RR.Sub == 0) in getFinalVRegClass() 908 auto VerifySR = [&HRI] (const TargetRegisterClass *RC, unsigned Sub) -> void { in getFinalVRegClass() argument 910 assert(Sub == HRI.getHexagonSubRegIndex(*RC, Hexagon::ps_sub_lo) || in getFinalVRegClass() 911 Sub == HRI.getHexagonSubRegIndex(*RC, Hexagon::ps_sub_hi)); in getFinalVRegClass() 916 VerifySR(RC, RR.Sub); in getFinalVRegClass() 919 VerifySR(RC, RR.Sub); in getFinalVRegClass() 1352 .addReg(RS.Reg, 0, RS.Sub); in processBlock() 1353 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI); in processBlock() [all …]
|
/external/clang/test/SemaCXX/ |
D | pragma-pack.cpp | 11 struct Sub : public Base { struct 16 int check[sizeof(Sub) == 5 ? 1 : -1]; 28 struct Sub : virtual Base { struct 33 int check[sizeof(Sub) == 13 ? 1 : -1];
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | DiamondInheritanceIsConfusingMockitoTest.java | 17 Sub mock = Mockito.mock(Sub.class); in should_work() 37 public class Sub class in DiamondInheritanceIsConfusingMockitoTest 41 public Sub(String s) { in Sub() method in DiamondInheritanceIsConfusingMockitoTest.Sub
|
D | ConfusedSignatureTest.java | 17 Sub mock = mock(Sub.class); in should_mock_method_which_has_generic_return_type_in_superclass_and_concrete_one_in_interface() 37 public class Sub class in ConfusedSignatureTest 41 public Sub(String s) { in Sub() method in ConfusedSignatureTest.Sub
|
/external/guice/core/test/com/google/inject/ |
D | SuperclassTest.java | 34 Provider<Sub> creator = injector.getProvider(Sub.class); in testSuperclassInjection() 35 Sub sub = creator.get(); in testSuperclassInjection() 55 static class Sub extends Super {} class in SuperclassTest
|
/external/clang/test/Rewriter/ |
D | objc-modern-class-init.mm | 10 @interface Sub : Super interface 13 @implementation Sub @end implementation 19 @interface Sub(Cat) @end interface in Cat 23 @implementation Sub(Cat) @end implementation in Cat
|
D | objc-modern-class-init-hooks.mm | 10 @interface Sub : Super interface 13 @implementation Sub @end implementation 19 @interface Sub(Cat) @end interface in Cat 23 @implementation Sub(Cat) @end implementation in Cat
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 470 static bool ShouldBreakUpSubtract(Instruction *Sub) { in ShouldBreakUpSubtract() argument 472 if (BinaryOperator::isNeg(Sub)) in ShouldBreakUpSubtract() 477 if (isReassociableOp(Sub->getOperand(0), Instruction::Add) || in ShouldBreakUpSubtract() 478 isReassociableOp(Sub->getOperand(0), Instruction::Sub)) in ShouldBreakUpSubtract() 480 if (isReassociableOp(Sub->getOperand(1), Instruction::Add) || in ShouldBreakUpSubtract() 481 isReassociableOp(Sub->getOperand(1), Instruction::Sub)) in ShouldBreakUpSubtract() 483 if (Sub->hasOneUse() && in ShouldBreakUpSubtract() 484 (isReassociableOp(Sub->use_back(), Instruction::Add) || in ShouldBreakUpSubtract() 485 isReassociableOp(Sub->use_back(), Instruction::Sub))) in ShouldBreakUpSubtract() 494 static Instruction *BreakUpSubtract(Instruction *Sub, in BreakUpSubtract() argument [all …]
|
/external/llvm/lib/MC/MCDisassembler/ |
D | MCExternalSymbolizer.cpp | 101 const MCExpr *Sub = nullptr; in tryAddingSymbolicOperand() local 106 Sub = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 108 Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand() 117 if (Sub) { in tryAddingSymbolicOperand() 120 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand() 122 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCDisassembler/ |
D | MCExternalSymbolizer.cpp | 101 const MCExpr *Sub = nullptr; in tryAddingSymbolicOperand() local 106 Sub = MCSymbolRefExpr::create(Sym, Ctx); in tryAddingSymbolicOperand() 108 Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand() 117 if (Sub) { in tryAddingSymbolicOperand() 120 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand() 122 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
|
/external/clang/test/CodeGenCXX/ |
D | pragma-pack.cpp | 9 struct Sub : virtual Base { struct 14 void f(Sub*) { } in f() argument 16 static int i[sizeof(Sub) == 13 ? 1 : -1];
|
/external/clang/test/Index/Core/ |
D | index-source.m | 32 // CHECK: [[@LINE+7]]:12 | class/ObjC | Sub | c:objc(cs)Sub | _OBJC_CLASS_$_Sub | Decl | rel: 0 34 // CHECK-NEXT: RelBase | Sub | c:objc(cs)Sub 36 // CHECK-NEXT: RelBase | Sub | c:objc(cs)Sub 38 // CHECK-NEXT: RelBase | Sub | c:objc(cs)Sub 39 @interface Sub : Base<Prot2, Prot1> interface
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 64 BinaryOperator *Sub = BinaryOperator::Create(Instruction::Sub, V, V); in TEST_F() local 68 BinaryOperator *SubClone = this->clone(Sub); in TEST_F() 81 Sub->setHasNoUnsignedWrap(); in TEST_F() 85 SubClone = this->clone(Sub); in TEST_F() 98 Sub->setHasNoSignedWrap(); in TEST_F() 102 SubClone = this->clone(Sub); in TEST_F() 115 Sub->setHasNoUnsignedWrap(false); in TEST_F() 119 SubClone = this->clone(Sub); in TEST_F() 306 auto *Sub = cast<DISubprogram>(*Iter); in TEST_F() local 308 EXPECT_TRUE(Sub == OldFunc->getSubprogram()); in TEST_F() [all …]
|