/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | KeyPairTest.java | 84 Object kp = new KeyPair(null, null); 85 assertTrue(kp instanceof KeyPair); 96 Object kp = new KeyPair(TestKeyPair.getPublic(), TestKeyPair.getPrivate()); 97 assertTrue(kp instanceof KeyPair); 105 KeyPair kp = new KeyPair(null, null); 106 assertNull(kp.getPrivate()); 117 KeyPair kp = new KeyPair(null, pk); 118 assertSame(pk, kp.getPrivate()); 126 KeyPair kp = new KeyPair(null, null); 127 assertNull(kp [all...] |
H A D | KeyPairGenerator3Test.java | 97 KeyPair kp, kp1; 101 kp = kpg[i].generateKeyPair(); 103 assertFalse("Incorrect private key", kp.getPrivate().equals( 105 assertFalse("Incorrect public key", kp.getPublic().equals( 123 KeyPair kp, kp1; 125 kp = kpg[i].generateKeyPair(); 127 assertFalse("Incorrect private key", kp.getPrivate().equals( 129 assertFalse("Incorrect public key", kp.getPublic().equals(
|
H A D | SignerTest.java | 57 KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), new PrivateKeyStub("private", "SignerTest.testToString", null)); 58 s1.setKeyPair(kp); 61 s2.setKeyPair(kp); 103 KeyPair kp = new KeyPair(publicKey, privateKey); 109 s.setKeyPair(kp);
|
H A D | KeyPairGeneratorSpiTest.java | 75 KeyPair kp = keyPairGen.generateKeyPair(); 76 assertNull("Not null KeyPair", kp);
|
/external/tcpdump/ |
H A D | print-krb.c | 150 register const struct krb *kp; local 156 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) 157 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) 159 kp = (struct krb *)cp; 161 if ((&kp->type) >= ndo->ndo_snapend) { 166 type = kp->type & (0xFF << 1); 169 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type))); 200 len = KTOHSP(kp, c 228 register const struct krb *kp; local [all...] |
/external/opencv3/modules/features2d/test/ |
H A D | test_orb.cpp | 69 for(std::vector<KeyPoint>::const_iterator kp = keypoints.begin(); kp != keypoints.end(); ++kp) 71 int x = cvRound(kp->pt.x); 72 int y = cvRound(kp->pt.y); 82 // circle(image, kp->pt, 3, Scalar(0,0,255));
|
H A D | test_brisk.cpp | 84 const KeyPoint& kp = keypoints1[i]; local 85 ASSERT_NE(kp.angle, -1); 90 const KeyPoint& kp = keypoints2[i]; local 91 ASSERT_NE(kp.angle, -1);
|
H A D | test_keypoints.cpp | 90 const KeyPoint& kp = keypoints[i]; local 92 if(!r.contains(kp.pt)) 94 ts->printf(cvtest::TS::LOG, "KeyPoint::pt is out of image (x=%f, y=%f).\n", kp.pt.x, kp.pt.y); 99 if(kp.size <= 0.f) 101 ts->printf(cvtest::TS::LOG, "KeyPoint::size is not positive (%f).\n", kp.size); 106 if((kp.angle < 0.f && kp.angle != -1.f) || kp.angle >= 360.f) 108 ts->printf(cvtest::TS::LOG, "KeyPoint::angle is out of range [0, 360). It's %f.\n", kp [all...] |
H A D | test_agast.cpp | 84 const KeyPoint& kp = keypoints1[i]; local 85 cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); 90 const KeyPoint& kp = keypoints2[i]; local 91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0));
|
H A D | test_fast.cpp | 84 const KeyPoint& kp = keypoints1[i]; local 85 cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); 90 const KeyPoint& kp = keypoints2[i]; local 91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0));
|
/external/opencv3/samples/android/tutorial-2-mixedprocessing/jni/ |
H A D | jni_part.cpp | 23 const KeyPoint& kp = v[i]; local 24 circle(mRgb, Point(kp.pt.x, kp.pt.y), 10, Scalar(255,0,0,255));
|
/external/opencv3/modules/core/misc/java/src/java/ |
H A D | core+MatOfKeyPoint.java | 52 KeyPoint kp = a[i]; 53 buff[_channels*i+0] = (float) kp.pt.x; 54 buff[_channels*i+1] = (float) kp.pt.y; 55 buff[_channels*i+2] = kp.size; 56 buff[_channels*i+3] = kp.angle; 57 buff[_channels*i+4] = kp.response; 58 buff[_channels*i+5] = kp.octave; 59 buff[_channels*i+6] = kp.class_id;
|
/external/webrtc/talk/media/base/ |
H A D | cryptoparams.h | 40 const std::string& kp, 42 : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {} 38 CryptoParams(int t, const std::string& cs, const std::string& kp, const std::string& sp) argument
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
H A D | MainProcessor.java | 28 private final KeepProcessor kp; field in class:MainProcessor 47 kp = keepList.isEmpty() ? null : new KeepProcessor(keepList); 52 if (kp != null) 53 processors.add(kp); 61 if (kp == null) 76 for (String exclude : kp.getExcludes()) { 95 if (kp != null)
|
/external/opencv3/modules/features2d/misc/java/src/cpp/ |
H A D | features2d_converters.cpp | 18 KeyPoint kp(v[0], v[1], v[2], v[3], v[4], (int)v[5], (int)v[6]); 19 v_kp.push_back(kp); 31 KeyPoint kp = v_kp[i]; local 32 mat.at< Vec<float, 7> >(i, 0) = Vec<float, 7>(kp.pt.x, kp.pt.y, kp.size, kp.angle, kp.response, (float)kp.octave, (float)kp [all...] |
/external/libedit/src/ |
H A D | emacs.c | 93 Char *cp, *p, *kp; local 101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 103 *kp++ = *p; 104 el->el_chared.c_kill.last = kp; 122 Char *kp, *cp; local 139 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) 140 *cp++ = *kp; 158 Char *kp, *c local 180 Char *kp, *cp; local 213 Char *kp, *cp; local [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/ |
H A D | test_afm.c | 53 AFM_KernPair kp = fi->KernPairs + i; local 56 printf( "\t%3d + %3d => (%4d, %4d)\n", kp->index1, 57 kp->index2, 58 kp->x, 59 kp->y );
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
H A D | keypair.py | 110 kp = rconn.create_key_pair(self.name, dry_run=dry_run) 111 return kp
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ |
H A D | Model.cpp | 38 void Model::add_keypoint(const cv::KeyPoint &kp) argument 40 list_keypoints_.push_back(kp);
|
/external/boringssl/src/crypto/chacha/ |
H A D | chacha_vec.c | 160 unsigned iters, i, *op=(unsigned *)out, *ip=(unsigned *)in, *kp; local 168 kp = (unsigned *)key; 173 s1 = LOAD(&((vec*)kp)[0]); 174 s2 = LOAD(&((vec*)kp)[1]); 209 x4 = kp[0]; x5 = kp[1]; x6 = kp[2]; x7 = kp[3]; 210 x8 = kp[4]; x9 = kp[ [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
H A D | eval.pass.cpp | 61 int kp = -1; local 80 if (k != kp) 88 kp = k; 111 int kp = -1; 130 if (k != kp) 138 kp = k; 161 int kp = -1; 180 if (k != kp) 188 kp = k; 211 int kp [all...] |
H A D | eval_param.pass.cpp | 60 int kp = -1; local 79 if (k != kp) 87 kp = k;
|
/external/jemalloc/test/unit/ |
H A D | ckh.c | 55 void **kp, **vp; local 58 kp = (i & 1) ? &k.p : NULL; 62 assert_false(ckh_search(&ckh, strs[i], kp, vp), 81 void **kp, **vp; local 84 kp = (i & 1) ? &k.p : NULL; 88 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp),
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
H A D | t1afm.c | 116 AFM_KernPair kp; local 172 kp = fi->KernPairs; 202 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); 203 kp->index2 = FT_Get_Char_Index( t1_face, p[1] ); 205 kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2); 206 kp->y = 0; 208 kp++;
|
/external/pdfium/third_party/freetype/src/type1/ |
H A D | t1afm.c | 116 AFM_KernPair kp; local 172 kp = fi->KernPairs; 202 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); 203 kp->index2 = FT_Get_Char_Index( t1_face, p[1] ); 205 kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2); 206 kp->y = 0; 208 kp++;
|