Home
last modified time | relevance | path

Searched refs:sig1 (Results 1 – 17 of 17) sorted by relevance

/external/epid-sdk/epid/verifier/1.1/unittests/
Dsigs_linked-test.cc43 auto& sig1 = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
45 EXPECT_FALSE(Epid11AreSigsLinked((Epid11BasicSignature const*)sig1.data(), in TEST_F()
50 auto& sig1 = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
52 EXPECT_TRUE(Epid11AreSigsLinked((Epid11BasicSignature const*)sig1.data(), in TEST_F()
58 auto& sig1 = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
60 EXPECT_FALSE(Epid11AreSigsLinked((Epid11BasicSignature const*)sig1.data(), in TEST_F()
66 auto& sig1 = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
68 EXPECT_FALSE(Epid11AreSigsLinked((Epid11BasicSignature const*)sig1.data(), in TEST_F()
/external/epid-sdk/epid/verifier/unittests/
Dsigs_linked-test.cc42 auto& sig1 = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
44 EXPECT_FALSE(EpidAreSigsLinked((BasicSignature const*)sig1.data(), in TEST_F()
49 auto& sig1 = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
51 EXPECT_TRUE(EpidAreSigsLinked((BasicSignature const*)sig1.data(), in TEST_F()
56 auto& sig1 = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
58 EXPECT_FALSE(EpidAreSigsLinked((BasicSignature const*)sig1.data(), in TEST_F()
63 auto& sig1 = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
65 EXPECT_FALSE(EpidAreSigsLinked((BasicSignature const*)sig1.data(), in TEST_F()
/external/epid-sdk/epid/verifier/1.1/src/
Dsigs_linked.c25 bool Epid11AreSigsLinked(Epid11BasicSignature const* sig1, in Epid11AreSigsLinked() argument
27 return (sig1 && sig2 && 0 == memcmp(&sig1->B, &sig2->B, sizeof(sig2->B)) && in Epid11AreSigsLinked()
28 0 == memcmp(&sig1->K, &sig2->K, sizeof(sig2->K))); in Epid11AreSigsLinked()
/external/epid-sdk/epid/verifier/src/
Dsigs_linked.c27 bool EpidAreSigsLinked(BasicSignature const* sig1, BasicSignature const* sig2) { in EpidAreSigsLinked() argument
29 return (sig1 && sig2 && 0 == memcmp(&sig1->B, &sig2->B, sizeof(sig2->B)) && in EpidAreSigsLinked()
30 0 == memcmp(&sig1->K, &sig2->K, sizeof(sig2->K))); in EpidAreSigsLinked()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_api_info.cc104 const auto& sig1 = f1.signature(); in IsSameSignature() local
108 if (sig1.input_arg_size() != sig2.input_arg_size()) return false; in IsSameSignature()
109 for (int k = 0; k < sig1.input_arg_size(); ++k) { in IsSameSignature()
110 if (!IsSameArgDef(sig1.input_arg(k), sig2.input_arg(k))) return false; in IsSameSignature()
115 if (sig1.output_arg_size() != sig2.output_arg_size()) return false; in IsSameSignature()
116 for (int k = 0; k < sig1.output_arg_size(); ++k) { in IsSameSignature()
117 if (!IsSameArgDef(sig1.output_arg(k), sig2.output_arg(k))) return false; in IsSameSignature()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Ddenoising_msa.c32 v16u8 mc_running_avg_y1, running_avg_y1, sig1; in vp8_denoiser_filter_msa() local
75 sig1 = LD_UB(sig_ptr); in vp8_denoiser_filter_msa()
125 ILVRL_B2_UB(mc_running_avg_y1, sig1, coeff0, coeff1); in vp8_denoiser_filter_msa()
160 UNPCK_UB_SH(sig1, temp0_h, temp1_h); in vp8_denoiser_filter_msa()
202 sig1 = LD_UB(sig_ptr); in vp8_denoiser_filter_msa()
240 ILVRL_B2_UB(mc_running_avg_y1, sig1, coeff0, coeff1); in vp8_denoiser_filter_msa()
321 v16u8 mc_running_avg_y1, running_avg_y1, sig1; in vp8_denoiser_filter_uv_msa() local
339 sig1 = LD_UB(sig_ptr); in vp8_denoiser_filter_uv_msa()
341 temp0_h += (v8i16)__msa_ilvr_b(zero, (v16i8)sig1); in vp8_denoiser_filter_uv_msa()
393 sig1 = LD_UB(sig_ptr); in vp8_denoiser_filter_uv_msa()
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc1183 Signature sig1; in TEST_F() local
1184 sg1.ExtractForSignature(&sig1.map); in TEST_F()
1185 ASSERT_THAT(sig1.Compute(), Eq(Status::OK())); in TEST_F()
1200 EXPECT_TRUE(sig1 == sig2); in TEST_F()
1204 EXPECT_FALSE(sig1 == sig2); in TEST_F()
1208 EXPECT_TRUE(sig1 == sig2); in TEST_F()
1212 EXPECT_FALSE(sig1 == sig2); in TEST_F()
1216 EXPECT_TRUE(sig1 == sig2); in TEST_F()
1220 EXPECT_FALSE(sig1 == sig2); in TEST_F()
1224 EXPECT_TRUE(sig1 == sig2); in TEST_F()
[all …]
/external/epid-sdk/epid/member/tiny/unittests/
Dsign-test.cc157 std::vector<uint8_t> sig1(EpidGetSigSize(nullptr)); in TEST_F() local
161 (EpidSignature*)sig1.data(), sig1.size())); in TEST_F()
164 EXPECT_TRUE(sig1.size() == sig2.size() && in TEST_F()
165 0 != memcmp(sig1.data(), sig2.data(), sig1.size())); in TEST_F()
205 std::vector<uint8_t> sig1(EpidGetSigSize(nullptr)); in TEST_F() local
211 (EpidSignature*)sig1.data(), sig1.size())); in TEST_F()
215 EXPECT_TRUE(sig1.size() == sig2.size() && in TEST_F()
216 0 != memcmp(sig1.data(), sig2.data(), sig1.size())); in TEST_F()
/external/epid-sdk/epid/member/unittests/
Dsign-test.cc128 std::vector<uint8_t> sig1(EpidGetSigSize(nullptr)); in TEST_F() local
132 (EpidSignature*)sig1.data(), sig1.size())); in TEST_F()
135 EXPECT_TRUE(sig1.size() == sig2.size() && in TEST_F()
136 0 != memcmp(sig1.data(), sig2.data(), sig1.size())); in TEST_F()
176 std::vector<uint8_t> sig1(EpidGetSigSize(nullptr)); in TEST_F() local
182 (EpidSignature*)sig1.data(), sig1.size())); in TEST_F()
186 EXPECT_TRUE(sig1.size() == sig2.size() && in TEST_F()
187 0 != memcmp(sig1.data(), sig2.data(), sig1.size())); in TEST_F()
/external/epid-sdk/epid/verifier/1.1/
Dapi.h370 bool Epid11AreSigsLinked(Epid11BasicSignature const* sig1,
/external/epid-sdk/epid/verifier/
Dapi.h406 bool EpidAreSigsLinked(BasicSignature const* sig1, BasicSignature const* sig2);
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
DSignatureTest.java136 Signature sig1 = Signature.getInstance(algorithm); in test_getInstance() local
137 assertEquals(algorithm, sig1.getAlgorithm()); in test_getInstance()
138 test_Signature(sig1, kp); in test_getInstance()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
DSignatureTest.java132 Signature sig1 = Signature.getInstance(algorithm); in test_getInstance() local
133 assertEquals(algorithm, sig1.getAlgorithm()); in test_getInstance()
134 test_Signature(sig1, kp); in test_getInstance()
/external/elfutils/src/
Dunstrip.c743 const char *sig1, const char *sig2) in compare_unalloc_sections() argument
758 if (sig1 != NULL && sig2 != NULL) in compare_unalloc_sections()
759 return strcmp (sig1, sig2); in compare_unalloc_sections()
DChangeLog157 (compare_unalloc_sections): Take and use sig1 and sig2 as arguments.
/external/libpng/contrib/tools/
Dpngfix.c140 #define sig1 PNG_U32(137, 80, 78, 71) macro
3221 if (file->length != sig1 || file->type != sig2) in read_callback()
3322 assert(length == sig1 && type == sig2); in read_callback()
/external/ImageMagick/MagickCore/
Denhance.c4204 const double sig1=Sigmoidal(a,b,1.0); in InverseScaledSigmoidal() local
4205 const double argument=(sig1-sig0)*x+sig0; in InverseScaledSigmoidal()