Home
last modified time | relevance | path

Searched refs:kp (Results 1 – 25 of 115) sorted by relevance

12345

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyPairTest.java84 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.getPublic());
[all …]
DKeyPairGenerator3Test.java97 KeyPair kp, kp1; in testGenKeyPair01() local
101 kp = kpg[i].generateKeyPair(); in testGenKeyPair01()
103 assertFalse("Incorrect private key", kp.getPrivate().equals( in testGenKeyPair01()
105 assertFalse("Incorrect public key", kp.getPublic().equals( in testGenKeyPair01()
123 KeyPair kp, kp1; in testGenKeyPair02() local
125 kp = kpg[i].generateKeyPair(); in testGenKeyPair02()
127 assertFalse("Incorrect private key", kp.getPrivate().equals( in testGenKeyPair02()
129 assertFalse("Incorrect public key", kp.getPublic().equals( in testGenKeyPair02()
DSignerTest.java57 …KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), new Private… in test_toString() local
58 s1.setKeyPair(kp); in test_toString()
61 s2.setKeyPair(kp); in test_toString()
103 KeyPair kp = new KeyPair(publicKey, privateKey); in testGetPrivateKey() local
109 s.setKeyPair(kp); in testGetPrivateKey()
/external/tcpdump/
Dprint-krb.c150 register const struct krb *kp; in krb4_print() local
156 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) in krb4_print() argument
157 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) in krb4_print() argument
159 kp = (struct krb *)cp; in krb4_print()
161 if ((&kp->type) >= ndo->ndo_snapend) { in krb4_print()
166 type = kp->type & (0xFF << 1); in krb4_print()
169 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type))); in krb4_print()
200 len = KTOHSP(kp, cp); in krb4_print()
209 ND_PRINT((ndo, " %s ", tok2str(kerr2str, NULL, KTOHSP(kp, cp)))); in krb4_print()
228 register const struct krb *kp; in krb_print() local
[all …]
/external/libedit/src/
Demacs.c93 Char *cp, *p, *kp; in em_delete_next_word() local
101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) in em_delete_next_word()
103 *kp++ = *p; in em_delete_next_word()
104 el->el_chared.c_kill.last = kp; in em_delete_next_word()
122 Char *kp, *cp; in em_yank() local
139 for (kp = el->el_chared.c_kill.buf; kp < el->el_chared.c_kill.last; kp++) in em_yank()
140 *cp++ = *kp; in em_yank()
158 Char *kp, *cp; in em_kill_line() local
161 kp = el->el_chared.c_kill.buf; in em_kill_line()
163 *kp++ = *cp++; /* copy it */ in em_kill_line()
[all …]
/external/opencv3/modules/features2d/test/
Dtest_keypoints.cpp90 const KeyPoint& kp = keypoints[i]; in run() local
92 if(!r.contains(kp.pt)) in run()
94 … ts->printf(cvtest::TS::LOG, "KeyPoint::pt is out of image (x=%f, y=%f).\n", kp.pt.x, kp.pt.y); in run()
99 if(kp.size <= 0.f) in run()
101 ts->printf(cvtest::TS::LOG, "KeyPoint::size is not positive (%f).\n", kp.size); in run()
106 if((kp.angle < 0.f && kp.angle != -1.f) || kp.angle >= 360.f) in run()
108 … ts->printf(cvtest::TS::LOG, "KeyPoint::angle is out of range [0, 360). It's %f.\n", kp.angle); in run()
Dtest_orb.cpp69 for(std::vector<KeyPoint>::const_iterator kp = keypoints.begin(); kp != keypoints.end(); ++kp) in TEST() local
71 int x = cvRound(kp->pt.x); in TEST()
72 int y = cvRound(kp->pt.y); in TEST()
Dtest_fast.cpp84 const KeyPoint& kp = keypoints1[i]; in run() local
85 cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); in run()
90 const KeyPoint& kp = keypoints2[i]; in run() local
91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); in run()
Dtest_agast.cpp84 const KeyPoint& kp = keypoints1[i]; in run() local
85 cv::circle(image1, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); in run()
90 const KeyPoint& kp = keypoints2[i]; in run() local
91 cv::circle(image2, kp.pt, cvRound(kp.size/2), Scalar(255, 0, 0)); in run()
Dtest_brisk.cpp84 const KeyPoint& kp = keypoints1[i]; in run() local
85 ASSERT_NE(kp.angle, -1); in run()
90 const KeyPoint& kp = keypoints2[i]; in run() local
91 ASSERT_NE(kp.angle, -1); in run()
/external/opencv3/modules/features2d/misc/java/src/cpp/
Dfeatures2d_converters.cpp18 KeyPoint kp(v[0], v[1], v[2], v[3], v[4], (int)v[5], (int)v[6]); in Mat_to_vector_KeyPoint() local
19 v_kp.push_back(kp); in Mat_to_vector_KeyPoint()
31 KeyPoint kp = v_kp[i]; in vector_KeyPoint_to_Mat() local
32 …Vec<float, 7> >(i, 0) = Vec<float, 7>(kp.pt.x, kp.pt.y, kp.size, kp.angle, kp.response, (float)kp.… in vector_KeyPoint_to_Mat()
/external/opencv3/modules/core/misc/java/src/java/
Dcore+MatOfKeyPoint.java52 KeyPoint kp = a[i]; in fromArray() local
53 buff[_channels*i+0] = (float) kp.pt.x; in fromArray()
54 buff[_channels*i+1] = (float) kp.pt.y; in fromArray()
55 buff[_channels*i+2] = kp.size; in fromArray()
56 buff[_channels*i+3] = kp.angle; in fromArray()
57 buff[_channels*i+4] = kp.response; in fromArray()
58 buff[_channels*i+5] = kp.octave; in fromArray()
59 buff[_channels*i+6] = kp.class_id; in fromArray()
/external/boringssl/src/crypto/chacha/
Dchacha_vec.c160 unsigned iters, i, *op=(unsigned *)out, *ip=(unsigned *)in, *kp; in CRYPTO_chacha_20_neon() local
168 kp = (unsigned *)key; in CRYPTO_chacha_20_neon()
173 s1 = LOAD(&((vec*)kp)[0]); in CRYPTO_chacha_20_neon()
174 s2 = LOAD(&((vec*)kp)[1]); in CRYPTO_chacha_20_neon()
209 x4 = kp[0]; x5 = kp[1]; x6 = kp[2]; x7 = kp[3]; in CRYPTO_chacha_20_neon()
210 x8 = kp[4]; x9 = kp[5]; x10 = kp[6]; x11 = kp[7]; in CRYPTO_chacha_20_neon()
255 op[4] = REVW_BE(REVW_BE(ip[4]) ^ (x4 + kp[0])); in CRYPTO_chacha_20_neon()
256 op[5] = REVW_BE(REVW_BE(ip[5]) ^ (x5 + kp[1])); in CRYPTO_chacha_20_neon()
257 op[6] = REVW_BE(REVW_BE(ip[6]) ^ (x6 + kp[2])); in CRYPTO_chacha_20_neon()
258 op[7] = REVW_BE(REVW_BE(ip[7]) ^ (x7 + kp[3])); in CRYPTO_chacha_20_neon()
[all …]
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMainProcessor.java28 private final KeepProcessor kp; field in MainProcessor
47 kp = keepList.isEmpty() ? null : new KeepProcessor(keepList); in MainProcessor()
52 if (kp != null) in MainProcessor()
53 processors.add(kp); in MainProcessor()
61 if (kp == null) in strip()
76 for (String exclude : kp.getExcludes()) { in getExcludes()
95 if (kp != null) in process()
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
Deval.pass.cpp61 int kp = -1; in main() local
80 if (k != kp) in main()
88 kp = k; in main()
111 int kp = -1; in main() local
130 if (k != kp) in main()
138 kp = k; in main()
161 int kp = -1; in main() local
180 if (k != kp) in main()
188 kp = k; in main()
211 int kp = -1; in main() local
[all …]
Deval_param.pass.cpp60 int kp = -1; in main() local
79 if (k != kp) in main()
87 kp = k; in main()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DAMutableDictionary.m93 ACBKey *kp;
98 kp = [ACBKey newKeyWithKStr:aKey];
102 kp = aKey;
111 node = [root search:kp.key];
113 ret = [node searchnode:kp.key match:YES];
121 if ( mustRelease ) [kp release];
127 ACBKey *kp;
130 kp = [ACBKey newKeyWithKStr:aKey];
134 kp = (ACBKey *)aKey;
141 if ( [root search:kp.key] == nil ) {
[all …]
DACBTree.m100 - (ACBTree *)createnode:(ACBKey *)kp
110 //tmp.keys[0] = kp;
160 - (ACBTree *)insertkey:(ACBKey *)kp value:(id)value
166 q = [self internalinsert:kp value:value split:&h];
323 /** Search key kp on B-tree with root t; if found increment counter.
324 * otherwise insert an item with key kp in tree. If an ACBKey
325 * emerges to be passed to a lower level, then assign it to kp;
328 - (ACBTree *) internalinsert:(ACBKey *)kp value:(id)value split:(NSInteger *)h
335 ret = [keys[i].key compare:kp.key];
342 q = [self insert:kp value:value index:i split:h];
[all …]
/external/opencv3/samples/android/tutorial-2-mixedprocessing/jni/
Djni_part.cpp23 const KeyPoint& kp = v[i]; in Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures() local
24 circle(mRgb, Point(kp.pt.x, kp.pt.y), 10, Scalar(255,0,0,255)); in Java_org_opencv_samples_tutorial2_Tutorial2Activity_FindFeatures()
/external/jemalloc/test/unit/
Dckh.c55 void **kp, **vp; in TEST_BEGIN() local
58 kp = (i & 1) ? &k.p : NULL; in TEST_BEGIN()
62 assert_false(ckh_search(&ckh, strs[i], kp, vp), in TEST_BEGIN()
81 void **kp, **vp; in TEST_BEGIN() local
84 kp = (i & 1) ? &k.p : NULL; in TEST_BEGIN()
88 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp), in TEST_BEGIN()
/external/pdfium/third_party/freetype/src/type1/
Dt1afm.c116 AFM_KernPair kp; in T1_Read_PFM() local
172 kp = fi->KernPairs; in T1_Read_PFM()
202 kp->index1 = FT_Get_Char_Index( t1_face, p[0] ); in T1_Read_PFM()
203 kp->index2 = FT_Get_Char_Index( t1_face, p[1] ); in T1_Read_PFM()
205 kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2); in T1_Read_PFM()
206 kp->y = 0; in T1_Read_PFM()
208 kp++; in T1_Read_PFM()
/external/xmlrpcpp/src/
DXmlRpcServerConnection.cpp84 char *kp = 0; // Start of connection value in readHeader() local
90 kp = cp + 12; in readHeader()
130 if (kp == 0 || strncasecmp(kp, "keep-alive", 10) != 0) in readHeader()
133 if (kp != 0 && strncasecmp(kp, "close", 5) == 0) in readHeader()
/external/opencv/cv/src/
Dcvinpaint.cpp334 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); in icvTeleaInpaintFMM() local
365 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,l… in icvTeleaInpaintFMM()
367 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
371 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,… in icvTeleaInpaintFMM()
447 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); in icvTeleaInpaintFMM() local
478 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; in icvTeleaInpaintFMM()
480 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km,lm))); in icvTeleaInpaintFMM()
484 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); in icvTeleaInpaintFMM()
542 int km=k-1+(k==1),kp=k-1-(k==f->rows-2); in icvNSInpaintFMM() local
555 …gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,… in icvNSInpaintFMM()
[all …]
/external/opencv3/modules/photo/src/
Dinpaint.cpp336 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); in icvTeleaInpaintFMM() local
367 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,l… in icvTeleaInpaintFMM()
369 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
373 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,… in icvTeleaInpaintFMM()
448 int km=k-1+(k==1),kp=k-1-(k==t->rows-2); in icvTeleaInpaintFMM() local
479 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm)))*2.0f; in icvTeleaInpaintFMM()
481 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp+1,lm)-CV_MAT_ELEM(*out,uchar,km,lm))); in icvTeleaInpaintFMM()
485 … gradI.y=(float)((CV_MAT_ELEM(*out,uchar,kp,lm)-CV_MAT_ELEM(*out,uchar,km-1,lm))); in icvTeleaInpaintFMM()
542 int km=k-1+(k==1),kp=k-1-(k==f->rows-2); in icvNSInpaintFMM() local
555 …gradI.x=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,kp,… in icvNSInpaintFMM()
[all …]
/external/clang/test/PCH/
Dcuda-kernel-call.cu10 void kcall(void (*kp)()) { in kcall() argument
11 kp<<<1, 1>>>(); in kcall()

12345