Home
last modified time | relevance | path

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

12345678910>>...13

/external/epid-sdk/epid/common/math/unittests/
Dtatepairing-test.cc84 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
100 NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
108 EXPECT_EQ(kEpidBadArgErr, NewEpid11PairingState(nullptr, this->params->G2, in TEST_F()
116 NewEpid11PairingState(this->params->G1, this->params->G2, nullptr, &ps)); in TEST_F()
119 NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
127 NewEpid11PairingState(this->params->G2, this->params->G2, in TEST_F()
146 this->params->G2, GFp, &ps)); in TEST_F()
174 EcPointObj gb_elem(&this->params->G2, this->kGbElemStr); in TEST_F()
177 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
194 EcPointObj gb_elem(&this->params->G2, this->kGbElemStr); in TEST_F()
[all …]
Dpairing-test.cc94 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
111 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
120 NewPairingState(nullptr, this->params->G2, this->params->GT, in TEST_F()
127 EXPECT_EQ(kEpidBadArgErr, NewPairingState(this->params->G1, this->params->G2, in TEST_F()
131 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
135 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
146 NewPairingState(&ga, this->params->G2, this->params->GT, in TEST_F()
168 EXPECT_EQ(kEpidBadArgErr, NewPairingState(this->params->G1, this->params->G2, in TEST_F()
216 EcPointObj gb_elem(&this->params->G2, this->gb_elem_str); in TEST_F()
219 THROW_ON_EPIDERR(NewPairingState(this->params->G1, this->params->G2, in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/
DExecutionEngineTest.cpp56 GlobalVariable *G2 = in TEST_F() local
58 EXPECT_EQ(NULL, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
62 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
63 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
80 GlobalVariable *G2 = in TEST_F() local
82 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
83 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
86 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)) in TEST_F()
89 Engine->updateGlobalMapping(G2, &Mem2); in TEST_F()
91 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem2)) in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/RISCV/
Dfixups-expr.s15 .globl G2 symbol
20 G2: label
24 .dword G2-G1
26 .word G2-G1
28 .half G2-G1
30 .byte G2-G1
33 # RELAX: 0x8 R_RISCV_ADD64 G2 0x0
37 # RELAX: 0x14 R_RISCV_ADD32 G2 0x0
41 # RELAX: 0x1A R_RISCV_ADD16 G2 0x0
45 # RELAX: 0x1D R_RISCV_ADD8 G2 0x0
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp66 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() local
67 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
71 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
72 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
88 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() local
89 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
90 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
93 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)) in TEST_F()
96 Engine->updateGlobalMapping(G2, &Mem2); in TEST_F()
98 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem2)) in TEST_F()
[all …]
/external/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp66 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() local
67 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G2)) in TEST_F()
71 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
72 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G2)); in TEST_F()
88 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() local
89 Engine->updateGlobalMapping(G2, &Mem1); in TEST_F()
90 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)); in TEST_F()
93 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem1)) in TEST_F()
96 Engine->updateGlobalMapping(G2, &Mem2); in TEST_F()
98 EXPECT_EQ(G2, Engine->getGlobalValueAtAddress(&Mem2)) in TEST_F()
[all …]
/external/epid-sdk/epid/member/src/
Dvalidatekey.c57 EcGroup* G2 = ctx->epid2_params->G2; in EpidMemberIsKeyValid() local
69 sts = NewEcPoint(G2, &t1); in EpidMemberIsKeyValid()
72 sts = EcSscmExp(G2, g2, (BigNumStr const*)x_str, t1); in EpidMemberIsKeyValid()
76 sts = NewEcPoint(G2, &w); in EpidMemberIsKeyValid()
78 sts = ReadEcPoint(G2, w_str, sizeof(*w_str), w); in EpidMemberIsKeyValid()
80 sts = EcMul(G2, t1, w, t1); in EpidMemberIsKeyValid()
Ddecompress_privkey.c87 EcGroup* G2 = epid2_params->G2; in EpidDecompressPrivKey() local
111 result = NewEcPoint(G2, &t1); in EpidDecompressPrivKey()
128 result = NewEcPoint(G2, &w); in EpidDecompressPrivKey()
130 result = ReadEcPoint(G2, &(pub_key->w), sizeof(pub_key->w), w); in EpidDecompressPrivKey()
155 result = EcSscmExp(G2, g2, (BigNumStr const*)&priv_key->x, t1); in EpidDecompressPrivKey()
158 result = EcMul(G2, t1, w, t1); in EpidDecompressPrivKey()
Dprecomp.c44 EcGroup* G2 = epid2_params->G2; in PrecomputeMemberPairing() local
49 sts = CreateGroupPubKey(pub_key, G1, G2, &pub_key_); in PrecomputeMemberPairing()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Dglobalsra.ll26 @G2 = internal constant { i32, float, { double } } {
32 …123, i32* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 0)
37 …0, float* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 1)
38 …t* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 1) …
43 …e* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 2, i32 0…
Dglobal-demotion.ll4 @G2 = internal global i32 5
18 ; The load comes before the store which makes @G2 live before the call.
21 ; CHECK-NOT: %G2
22 %a = load i32, i32* @G2
23 store i32 4, i32* @G2
Ddeadglobal.ll7 ; CHECK: @G2
19 @G2 = linkonce_odr constant i32 42
24 store i32 1, i32* @G2
/external/llvm/test/Transforms/GlobalOpt/
Dglobalsra.ll26 @G2 = internal constant { i32, float, { double } } {
32 …123, i32* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 0)
37 …0, float* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 1)
38 …t* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 1) …
43 …e* getelementptr ({ i32, float, { double } }, { i32, float, { double } }* @G2, i32 0, i32 2, i32 0…
Dglobal-demotion.ll4 @G2 = internal global i32 5
18 ; The load comes before the store which makes @G2 live before the call.
21 ; CHECK-NOT: %G2
22 %a = load i32, i32* @G2
23 store i32 4, i32* @G2
Ddeadglobal.ll7 ; CHECK: @G2
19 @G2 = linkonce_odr constant i32 42
24 store i32 1, i32* @G2
/external/epid-sdk/epid/common/src/
Dgrouppubkey.c25 EcGroup* G2, GroupPubKey_** pub_key) { in CreateGroupPubKey() argument
28 if (!pub_key_str || !G1 || !G2 || !pub_key) { in CreateGroupPubKey()
55 result = NewEcPoint(G2, &pubkey->w); in CreateGroupPubKey()
60 ReadEcPoint(G2, &pub_key_str->w, sizeof(pub_key_str->w), pubkey->w); in CreateGroupPubKey()
Depid2params.c39 FiniteField* Fq, FiniteField* Fq2, EcGroup** G2);
56 static void DeleteG2(EcGroup** G2);
156 internal_param->Fq, internal_param->Fq2, &internal_param->G2); in CreateEpid2Params()
160 result = NewEcPoint(internal_param->G2, &internal_param->g2); in CreateEpid2Params()
164 result = ReadEcPoint(internal_param->G2, &params_str.g2, in CreateEpid2Params()
173 result = NewPairingState(internal_param->G1, internal_param->G2, in CreateEpid2Params()
200 DeleteG2(&internal_param->G2); in CreateEpid2Params()
226 DeleteG2(&(*epid_params)->G2); in DeleteEpid2Params()
415 FiniteField* Fq, FiniteField* Fq2, EcGroup** G2) { in NewG2() argument
425 if (!param || !Fq || !Fq2 || !G2) { in NewG2()
[all …]
/external/epid-sdk/epid/common/1.1/src/
Dgrouppubkey.c32 EcGroup* G1, EcGroup* G2, in CreateEpid11GroupPubKey() argument
36 if (!pub_key_str || !G1 || !G2 || !pub_key) { in CreateEpid11GroupPubKey()
55 result = NewEcPoint(G2, &pubkey->w); in CreateEpid11GroupPubKey()
58 ReadEcPoint(G2, &pub_key_str->w, sizeof(pub_key_str->w), pubkey->w); in CreateEpid11GroupPubKey()
Depid11params.c48 FiniteField* Fqd, EcGroup** G2);
102 result = NewG2(&params_str, _params->Fq, _params->Fqd, &_params->G2); in CreateEpid11Params()
118 result = NewEcPoint(_params->G2, &_params->g2); in CreateEpid11Params()
120 result = ReadEcPoint(_params->G2, &params_str.g2, sizeof(params_str.g2), in CreateEpid11Params()
131 result = NewEpid11PairingState(_params->G1, _params->G2, _params->GT, in CreateEpid11Params()
156 DeleteEcGroup(&_params->G2); in CreateEpid11Params()
181 DeleteEcGroup(&(*params)->G2); in DeleteEpid11Params()
370 EcGroup** G2) { in NewG2() argument
384 if (!params || !Fq || !Fqd || !G2) return kEpidBadArgErr; in NewG2()
454 *G2 = ec; in NewG2()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ArgumentPromotion/
Dchained.ll5 @G2 = constant i32* @G1
21 %x = call i32 @test(i32** @G2)
22 ; CHECK: %[[Y:.*]] = load i32*, i32** @G2
/external/swiftshader/third_party/LLVM/test/CodeGen/XCore/
Dglobals.ll13 ; CHECK: ldaw r0, dp[G2]
14 ret i32* @G2
66 @G2 = global i32 0
68 ; CHECK: G2:
/external/webp/src/dsp/
Dyuv_sse41.c53 const __m128i G2 = _mm_add_epi16(Y1, k8708); in ConvertYUV444ToRGB_SSE41() local
55 const __m128i G4 = _mm_sub_epi16(G2, G3); in ConvertYUV444ToRGB_SSE41()
135 __m128i R0, R1, R2, R3, G0, G1, G2, G3, B0, B1, B2, B3; in VP8YuvToRgb32_SSE41() local
140 YUV444ToRGB_SSE41(y + 16, u + 16, v + 16, &R2, &G2, &B2); in VP8YuvToRgb32_SSE41()
147 rgb3 = _mm_packus_epi16(G2, G3); in VP8YuvToRgb32_SSE41()
157 __m128i R0, R1, R2, R3, G0, G1, G2, G3, B0, B1, B2, B3; in VP8YuvToBgr32_SSE41() local
162 YUV444ToRGB_SSE41(y + 16, u + 16, v + 16, &R2, &G2, &B2); in VP8YuvToBgr32_SSE41()
169 bgr3 = _mm_packus_epi16(G2, G3); in VP8YuvToBgr32_SSE41()
185 __m128i R0, R1, R2, R3, G0, G1, G2, G3, B0, B1, B2, B3; in YuvToRgbRow_SSE41() local
190 YUV420ToRGB_SSE41(y + 16, u + 8, v + 8, &R2, &G2, &B2); in YuvToRgbRow_SSE41()
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-misched-multimmo.ll6 @G2 = common global [100 x i32] zeroinitializer, align 4
18 %0 = load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G2, i64 0, i64 0), align 4
19 %1 = load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G2, i64 0, i64 1), align 4
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Darm64-misched-multimmo.ll6 @G2 = common global [100 x i32] zeroinitializer, align 4
18 %0 = load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G2, i64 0, i64 0), align 4
19 %1 = load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G2, i64 0, i64 1), align 4
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/EarlyCSE/
Dmemoryssa.ll7 @G2 = global i32 zeroinitializer
15 store i32 0, i32* @G2
29 ; CHECK: store i32 0, i32* @G2
30 store i32 0, i32* @G2
68 store i32 %sum, i32* @G2
86 store i32 %v1, i32* @G2

12345678910>>...13