/external/epid-sdk/epid/member/tiny/unittests/ |
D | get_sigsize-test.cc | 36 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 53 srl.n2 = octstr32_0; in TEST_F() 54 EXPECT_EQ(sig_size_0_entries, EpidGetSigSize(&srl)); in TEST_F() 56 srl.n2 = octstr32_1; in TEST_F() 57 EXPECT_EQ(sig_size_1_entry, EpidGetSigSize(&srl)); in TEST_F() 59 srl.n2 = octstr32_2; in TEST_F() 60 EXPECT_EQ(sig_size_2_entries, EpidGetSigSize(&srl)); in TEST_F() 62 srl.n2 = octstr32_16; in TEST_F() 63 EXPECT_EQ(sig_size_16_entries, EpidGetSigSize(&srl)); in TEST_F() 65 srl.n2 = octstr32_256; in TEST_F() [all …]
|
D | context-test.cc | 225 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 226 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 227 EXPECT_EQ(kEpidBadArgErr, EpidMemberSetSigRl(nullptr, &srl, sizeof(SigRl))); in TEST_F() 235 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 236 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 237 EXPECT_EQ(kEpidBadArgErr, EpidMemberSetSigRl(member_ctx, &srl, 0)); in TEST_F() 244 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 245 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 248 EpidMemberSetSigRl(member_ctx, &srl, (sizeof(srl) - sizeof(srl.bk)) - 1)); in TEST_F() 249 srl.n2 = this->kOctStr32_1; in TEST_F() [all …]
|
D | sign-test.cc | 49 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 50 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 51 std::vector<uint8_t> sig(EpidGetSigSize(&srl)); in TEST_F() 53 EpidMemberSetSigRl(member, &srl, sizeof(srl) - sizeof(srl.bk))); in TEST_F() 73 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 74 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 75 std::vector<uint8_t> sig(EpidGetSigSize(&srl)); in TEST_F() 77 EpidMemberSetSigRl(member, &srl, sizeof(srl) - sizeof(srl.bk))); in TEST_F() 89 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 90 srl.gid = this->kGroupPublicKey.gid; in TEST_F() [all …]
|
/external/epid-sdk/epid/member/unittests/ |
D | get_sigsize-test.cc | 39 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 56 srl.n2 = octstr32_0; in TEST_F() 57 EXPECT_EQ(sig_size_0_entries, EpidGetSigSize(&srl)); in TEST_F() 59 srl.n2 = octstr32_1; in TEST_F() 60 EXPECT_EQ(sig_size_1_entry, EpidGetSigSize(&srl)); in TEST_F() 62 srl.n2 = octstr32_2; in TEST_F() 63 EXPECT_EQ(sig_size_2_entries, EpidGetSigSize(&srl)); in TEST_F() 65 srl.n2 = octstr32_16; in TEST_F() 66 EXPECT_EQ(sig_size_16_entries, EpidGetSigSize(&srl)); in TEST_F() 68 srl.n2 = octstr32_256; in TEST_F() [all …]
|
D | context-test.cc | 268 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 269 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 270 EXPECT_EQ(kEpidBadArgErr, EpidMemberSetSigRl(nullptr, &srl, sizeof(SigRl))); in TEST_F() 278 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 279 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 280 EXPECT_EQ(kEpidBadArgErr, EpidMemberSetSigRl(member_ctx, &srl, 0)); in TEST_F() 287 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 288 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 291 EpidMemberSetSigRl(member_ctx, &srl, (sizeof(srl) - sizeof(srl.bk)) - 1)); in TEST_F() 292 srl.n2 = this->kOctStr32_1; in TEST_F() [all …]
|
D | sign-test.cc | 50 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 51 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 52 std::vector<uint8_t> sig(EpidGetSigSize(&srl)); in TEST_F() 54 EpidMemberSetSigRl(member, &srl, sizeof(srl) - sizeof(srl.bk))); in TEST_F() 74 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 75 srl.gid = this->kGroupPublicKey.gid; in TEST_F() 77 EpidMemberSetSigRl(member, &srl, sizeof(srl) - sizeof(srl.bk))); in TEST_F() 80 std::vector<uint8_t> sig_small(EpidGetSigSize(&srl) - 1); in TEST_F() 99 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 100 srl.gid = this->kGroupPublicKey.gid; in TEST_F() [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | vector-select.ll | 59 ; MIPS32: srl [[T14]],[[T14]],0x8 63 ; MIPS32: srl [[T14]],[[T14]],0x8 67 ; MIPS32: srl [[T3]],[[T3]],0x8 70 ; MIPS32: srl [[T2]],[[T2]],0x8 80 ; MIPS32: srl [[T14]],[[T14]],0x10 84 ; MIPS32: srl [[T3]],[[T3]],0x10 87 ; MIPS32: srl [[T1]],[[T1]],0x10 96 ; MIPS32: srl [[T16:.*]],a0,0x18 98 ; MIPS32: srl [[T6]],[[T6]],0x18 99 ; MIPS32: srl [[T10]],[[T10]],0x18 [all …]
|
D | vector-icmp.ll | 660 ; MIPS32: srl [[T4]],[[T4]],0x10 663 ; MIPS32: srl [[T10:.*]],a0,0x10 664 ; MIPS32: srl [[T0]],[[T0]],0x10 671 ; MIPS32: srl [[T8]],[[T8]],0x10 682 ; MIPS32: srl [[T5]],[[T5]],0x10 685 ; MIPS32: srl [[T11:.*]],a1,0x10 686 ; MIPS32: srl [[T1]],[[T1]],0x10 693 ; MIPS32: srl [[T0]],[[T0]],0x10 704 ; MIPS32: srl [[T6]],[[T6]],0x10 707 ; MIPS32: srl [[T12:.*]],a2,0x10 [all …]
|
D | vector-cast.ll | 42 ; MIPS32: srl v0,v0,0x8 46 ; MIPS32: srl v0,v0,0x8 58 ; MIPS32: srl t2,t2,0x10 69 ; MIPS32: srl a0,a0,0x18 75 ; MIPS32: srl t2,t2,0x8 83 ; MIPS32: srl v1,v1,0x8 87 ; MIPS32: srl v1,v1,0x8 99 ; MIPS32: srl v0,v0,0x10 110 ; MIPS32: srl a1,a1,0x18 116 ; MIPS32: srl v0,v0,0x8 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | shift-and-i64-ubfe.ll | 17 %srl = lshr i64 %ld.64, 31 18 %bit = and i64 %srl, 1 35 %srl = lshr i64 %ld.64, 63 36 %bit = and i64 %srl, 1 51 %srl = lshr i64 %ld.64, 1 52 %bit = and i64 %srl, 1 67 %srl = lshr i64 %ld.64, 20 68 %bit = and i64 %srl, 1 84 %srl = lshr i64 %ld.64, 32 85 %bit = and i64 %srl, 1 [all …]
|
D | shift-and-i128-ubfe.ll | 19 %srl = lshr i128 %ld.64, 31 20 %bit = and i128 %srl, 1 42 %srl = lshr i128 %ld.64, 63 43 %bit = and i128 %srl, 1 64 %srl = lshr i128 %ld.64, 95 65 %bit = and i128 %srl, 1 87 %srl = lshr i128 %ld.64, 127 88 %bit = and i128 %srl, 1 111 %srl = lshr i128 %ld.64, 34 112 %bit = and i128 %srl, 73786976294838206463
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | shift-and-i64-ubfe.ll | 16 %srl = lshr i64 %ld.64, 31 17 %bit = and i64 %srl, 1 33 %srl = lshr i64 %ld.64, 63 34 %bit = and i64 %srl, 1 49 %srl = lshr i64 %ld.64, 1 50 %bit = and i64 %srl, 1 65 %srl = lshr i64 %ld.64, 20 66 %bit = and i64 %srl, 1 81 %srl = lshr i64 %ld.64, 32 82 %bit = and i64 %srl, 1 [all …]
|
D | shift-and-i128-ubfe.ll | 19 %srl = lshr i128 %ld.64, 31 20 %bit = and i128 %srl, 1 41 %srl = lshr i128 %ld.64, 63 42 %bit = and i128 %srl, 1 63 %srl = lshr i128 %ld.64, 95 64 %bit = and i128 %srl, 1 85 %srl = lshr i128 %ld.64, 127 86 %bit = and i128 %srl, 1 109 %srl = lshr i128 %ld.64, 34 110 %bit = and i128 %srl, 73786976294838206463
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/ |
D | rotations32.s | 24 # CHECK-32: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 27 # CHECK-32: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 31 # CHECK-32: srl $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc2] 36 # CHECK-32: srl $4, $5, 31 # encoding: [0x00,0x05,0x27,0xc2] 41 # CHECK-32: srl $4, $4, 30 # encoding: [0x00,0x04,0x27,0x82] 46 # CHECK-32: srl $4, $5, 30 # encoding: [0x00,0x05,0x27,0x82] 63 # CHECK-32: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 66 # CHECK-32: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 69 # CHECK-32: srl $1, $4, 1 # encoding: [0x00,0x04,0x08,0x42] 74 # CHECK-32: srl $1, $5, 1 # encoding: [0x00,0x05,0x08,0x42] [all …]
|
D | micromips-shift-instructions.s | 14 # CHECK-EL: srl $4, $3, 7 # encoding: [0x83,0x00,0x40,0x38] 26 # CHECK-EL: srl $3, $3, 7 # encoding: [0x63,0x00,0x40,0x38] 34 # CHECK-EB: srl $4, $3, 7 # encoding: [0x00,0x83,0x38,0x40] 46 # CHECK-EB: srl $3, $3, 7 # encoding: [0x00,0x63,0x38,0x40] 51 srl $4, $3, 7 57 srl $2, $3, $5 60 srl $2, $3 63 srl $3, 7
|
D | rotations64.s | 24 # CHECK-64: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 27 # CHECK-64: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 31 # CHECK-64: srl $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc2] 36 # CHECK-64: srl $4, $5, 31 # encoding: [0x00,0x05,0x27,0xc2] 41 # CHECK-64: srl $4, $4, 30 # encoding: [0x00,0x04,0x27,0x82] 46 # CHECK-64: srl $4, $5, 30 # encoding: [0x00,0x05,0x27,0x82] 63 # CHECK-64: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 66 # CHECK-64: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 69 # CHECK-64: srl $1, $4, 1 # encoding: [0x00,0x04,0x08,0x42] 74 # CHECK-64: srl $1, $5, 1 # encoding: [0x00,0x05,0x08,0x42] [all …]
|
D | mips-expansions.s | 788 # CHECK-BE: srl $1, $8, 8 # encoding: [0x00,0x08,0x0a,0x02] 791 # CHECK-LE: srl $1, $8, 8 # encoding: [0x02,0x0a,0x08,0x00] 796 # CHECK-BE: srl $1, $8, 8 # encoding: [0x00,0x08,0x0a,0x02] 799 # CHECK-LE: srl $1, $8, 8 # encoding: [0x02,0x0a,0x08,0x00] 807 # CHECK-BE: srl $8, $8, 8 # encoding: [0x00,0x08,0x42,0x02] 815 # CHECK-LE: srl $8, $8, 8 # encoding: [0x02,0x42,0x08,0x00] 823 # CHECK-BE: srl $1, $8, 8 # encoding: [0x00,0x08,0x0a,0x02] 826 # CHECK-LE: srl $1, $8, 8 # encoding: [0x02,0x0a,0x08,0x00] 834 # CHECK-BE: srl $8, $8, 8 # encoding: [0x00,0x08,0x42,0x02] 842 # CHECK-LE: srl $8, $8, 8 # encoding: [0x02,0x42,0x08,0x00] [all …]
|
/external/llvm/test/MC/Mips/ |
D | rotations32.s | 24 # CHECK-32: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 27 # CHECK-32: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 31 # CHECK-32: srl $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc2] 36 # CHECK-32: srl $4, $5, 31 # encoding: [0x00,0x05,0x27,0xc2] 41 # CHECK-32: srl $4, $4, 30 # encoding: [0x00,0x04,0x27,0x82] 46 # CHECK-32: srl $4, $5, 30 # encoding: [0x00,0x05,0x27,0x82] 63 # CHECK-32: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 66 # CHECK-32: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 69 # CHECK-32: srl $1, $4, 1 # encoding: [0x00,0x04,0x08,0x42] 74 # CHECK-32: srl $1, $5, 1 # encoding: [0x00,0x05,0x08,0x42] [all …]
|
D | micromips-shift-instructions.s | 14 # CHECK-EL: srl $4, $3, 7 # encoding: [0x83,0x00,0x40,0x38] 26 # CHECK-EL: srl $3, $3, 7 # encoding: [0x63,0x00,0x40,0x38] 34 # CHECK-EB: srl $4, $3, 7 # encoding: [0x00,0x83,0x38,0x40] 46 # CHECK-EB: srl $3, $3, 7 # encoding: [0x00,0x63,0x38,0x40] 51 srl $4, $3, 7 57 srl $2, $3, $5 60 srl $2, $3 63 srl $3, 7
|
D | rotations64.s | 24 # CHECK-64: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 27 # CHECK-64: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 31 # CHECK-64: srl $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc2] 36 # CHECK-64: srl $4, $5, 31 # encoding: [0x00,0x05,0x27,0xc2] 41 # CHECK-64: srl $4, $4, 30 # encoding: [0x00,0x04,0x27,0x82] 46 # CHECK-64: srl $4, $5, 30 # encoding: [0x00,0x05,0x27,0x82] 63 # CHECK-64: srl $4, $4, 0 # encoding: [0x00,0x04,0x20,0x02] 66 # CHECK-64: srl $4, $5, 0 # encoding: [0x00,0x05,0x20,0x02] 69 # CHECK-64: srl $1, $4, 1 # encoding: [0x00,0x04,0x08,0x42] 74 # CHECK-64: srl $1, $5, 1 # encoding: [0x00,0x05,0x08,0x42] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | shift-02.ll | 8 ; CHECK: srl %r2, 1 17 ; CHECK: srl %r2, 31 26 ; CHECK-NOT: srl %r2, 32 35 ; CHECK-NOT: srl %r2, -1{{.*}} 45 ; CHECK: srl %r2, 0(%r3) 54 ; CHECK: srl %r2, 10(%r3) 64 ; CHECK: srl %r2, 10(%r3) 76 ; CHECK: srl %r2, 4095(%r3) 87 ; CHECK: srl %r2, 0(%r3) 98 ; CHECK: srl %r2, 0({{%r[34]}}) [all …]
|
D | setcc-02.ll | 11 ; CHECK-NEXT: srl %r2, 31 24 ; CHECK-NEXT: srl %r2, 31 36 ; CHECK-NEXT: srl %r2, 31 49 ; CHECK-NEXT: srl %r2, 31 85 ; CHECK-NEXT: srl %r2, 31 97 ; CHECK-NEXT: srl %r2, 31 133 ; CHECK-NEXT: srl %r2, 31 157 ; CHECK-NEXT: srl %r2, 31 169 ; CHECK-NEXT: srl %r2, 31
|
/external/llvm/test/CodeGen/SystemZ/ |
D | shift-02.ll | 8 ; CHECK: srl %r2, 1 17 ; CHECK: srl %r2, 31 26 ; CHECK-NOT: srl %r2, 32 35 ; CHECK-NOT: srl %r2, -1{{.*}} 45 ; CHECK: srl %r2, 0(%r3) 54 ; CHECK: srl %r2, 10(%r3) 64 ; CHECK: srl %r2, 10(%r3) 76 ; CHECK: srl %r2, 4095(%r3) 87 ; CHECK: srl %r2, 0(%r3) 98 ; CHECK: srl %r2, 0({{%r[34]}}) [all …]
|
D | setcc-02.ll | 11 ; CHECK-NEXT: srl %r2, 31 24 ; CHECK-NEXT: srl %r2, 31 36 ; CHECK-NEXT: srl %r2, 31 49 ; CHECK-NEXT: srl %r2, 31 85 ; CHECK-NEXT: srl %r2, 31 97 ; CHECK-NEXT: srl %r2, 31 133 ; CHECK-NEXT: srl %r2, 31 157 ; CHECK-NEXT: srl %r2, 31 169 ; CHECK-NEXT: srl %r2, 31
|
/external/epid-sdk/epid/verifier/unittests/ |
D | context-test.cc | 249 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 250 srl.gid = this->kPubKeyStr.gid; in TEST_F() 251 EXPECT_EQ(kEpidBadArgErr, EpidVerifierSetSigRl(nullptr, &srl, sizeof(SigRl))); in TEST_F() 258 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 259 srl.gid = this->kPubKeyStr.gid; in TEST_F() 260 EXPECT_EQ(kEpidBadArgErr, EpidVerifierSetSigRl(verifier, &srl, 0)); in TEST_F() 266 SigRl srl = {{{0}}, {{0}}, {{0}}, {{{{0}, {0}}, {{0}, {0}}}}}; in TEST_F() local 267 srl.gid = this->kPubKeyStr.gid; in TEST_F() 270 EpidVerifierSetSigRl(verifier, &srl, (sizeof(srl) - sizeof(srl.bk)) - 1)); in TEST_F() 271 srl.n2 = this->kOctStr32_1; in TEST_F() [all …]
|