/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairTest.java | 74 Object kp = new KeyPair(null, null); 75 assertTrue(kp instanceof KeyPair); 77 kp = new KeyPair(null, TestKeyPair.getPrivate()); 78 assertTrue(kp instanceof KeyPair); 79 kp = new KeyPair(TestKeyPair.getPublic(), null); 80 assertTrue(kp instanceof KeyPair); 90 Object kp = new KeyPair(TestKeyPair.getPublic(), TestKeyPair.getPrivate()); 91 assertTrue(kp instanceof KeyPair); 99 KeyPair kp = new KeyPair(null, null); 100 assertNull(kp.getPrivate()) [all...] |
SignerTest.java | 65 KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), local 67 s1.setKeyPair(kp); 70 s2.setKeyPair(kp); 129 KeyPair kp = new KeyPair(publicKey, privateKey); local 135 s.setKeyPair(kp); 153 KeyPair kp = new KeyPair(null, null); local 155 s.setKeyPair(kp);
|
KeyPairGenerator3Test.java | 98 KeyPair kp, kp1; local 102 kp = kpg[i].generateKeyPair(); 104 assertFalse("Incorrect private key", kp.getPrivate().equals( 106 assertFalse("Incorrect public key", kp.getPublic().equals( 124 KeyPair kp, kp1; local 126 kp = kpg[i].generateKeyPair(); 128 assertFalse("Incorrect private key", kp.getPrivate().equals( 130 assertFalse("Incorrect public key", kp.getPublic().equals(
|
KeyPairGeneratorSpiTest.java | 72 KeyPair kp = keyPairGen.generateKeyPair(); local 73 assertNull("Not null KeyPair", kp);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
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.getPublic()) [all...] |
KeyPairGenerator3Test.java | 97 KeyPair kp, kp1; local 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; local 125 kp = kpg[i].generateKeyPair(); 127 assertFalse("Incorrect private key", kp.getPrivate().equals( 129 assertFalse("Incorrect public key", kp.getPublic().equals(
|
SignerTest.java | 57 KeyPair kp = new KeyPair(new PublicKeyStub("public", "SignerTest.testToString", null), new PrivateKeyStub("private", "SignerTest.testToString", null)); local 58 s1.setKeyPair(kp); 61 s2.setKeyPair(kp); 103 KeyPair kp = new KeyPair(publicKey, privateKey); local 109 s.setKeyPair(kp);
|
KeyPairGeneratorSpiTest.java | 75 KeyPair kp = keyPairGen.generateKeyPair(); local 76 assertNull("Not null KeyPair", kp);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_intercept.cc | 30 KernelProxy* kp; member in struct:KernelInterceptState 42 assert(s_saved_state.kp == NULL); 43 if (s_saved_state.kp != NULL) 46 s_state.kp = NULL; 57 s_saved_state.kp = NULL; 67 int ki_init(void* kp) { 68 LOG_TRACE("ki_init: %p", kp); 69 return ki_init_ppapi(kp, 0, NULL); 72 int ki_init_ppapi(void* kp, 75 assert(!s_state.kp); [all...] |
/system/extras/ksmutils/ |
ksminfo.c | 62 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags); 63 static void print_pages(struct ksm_pages *kp, uint8_t pr_flags); 64 static void free_pages(struct ksm_pages *kp, uint8_t pr_flags); 81 struct ksm_pages kp; local 83 memset(&kp, 0, sizeof(kp)); 168 if (read_pages(&kp, maps, num_maps, pr_flags) < 0) { 180 qsort(kp.pages, kp.len, sizeof(*kp.pages), cmp_pages) [all...] |
/external/tcpdump/ |
print-krb.c | 155 register const struct krb *kp; local 161 #define IS_LENDIAN(kp) (((kp)->type & 0x01) != 0) 162 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) 164 kp = (struct krb *)cp; 166 if ((&kp->type) >= snapend) { 171 type = kp->type & (0xFF << 1); 174 IS_LENDIAN(kp) ? "le" : "be", tok2str(type2str, NULL, type)); 205 len = KTOHSP(kp, cp) 232 register const struct krb *kp; local [all...] |
/external/chromium_org/base/process/ |
process_handle_openbsd.cc | 31 struct kinfo_proc kp; local 39 if (sysctl(mib, arraysize(mib), &kp, &len, NULL, 0) < 0) 41 if ((kp.p_flag & P_SYSTEM) != 0) 43 if (strcmp(kp.p_comm, "chrome") == 0) 44 return FilePath(kp.p_comm);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
cryptoparams.h | 39 const std::string& kp, const std::string& sp) 40 : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {}
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
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/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
event_test.cc | 230 kp = new KernelProxy(); 231 kp->Init(NULL); 232 EXPECT_EQ(0, kp->umount("/")); 233 EXPECT_EQ(0, kp->mount("", "/", "memfs", 0, NULL)); 238 void TearDown() { delete kp; } 259 kp->close(fds[index]); 263 KernelProxy* kp; member in class:SelectPollTest 276 fds[0] = kp->open("/test.txt", O_CREAT | O_WRONLY, 0777); 277 fds[1] = kp->open("/test.txt", O_RDONLY, 0); 283 ASSERT_EQ(2, kp->poll(pollfds, 2, 0)) [all...] |
/external/libedit/src/ |
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, *cp local 180 Char *kp, *cp; local 213 Char *kp, *cp; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherRSAThread.java | 38 KeyPair kp = kpg.generateKeyPair(); local 42 cip.init(Cipher.ENCRYPT_MODE, kp.getPublic()); 45 cip.init(Cipher.DECRYPT_MODE, kp.getPrivate());
|
/external/chromium_org/third_party/boringssl/src/crypto/chacha/ |
chacha_vec.c | 149 unsigned iters, i, *op=(unsigned *)out, *ip=(unsigned *)in, *kp; local 160 kp = (unsigned *)key; 168 kp = (unsigned *)key; 175 s1 = LOAD(&((vec*)kp)[0]); 176 s2 = LOAD(&((vec*)kp)[1]); 215 x4 = kp[0]; x5 = kp[1]; x6 = kp[2]; x7 = kp[3]; 216 x8 = kp[4]; x9 = kp[5]; x10 = kp[6]; x11 = kp[7] [all...] |
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
eval.pass.cpp | 59 int kp = -1; local 78 if (k != kp) 86 kp = k; 109 int kp = -1; 128 if (k != kp) 136 kp = k; 159 int kp = -1; 178 if (k != kp) 186 kp = k; 209 int kp = -1 [all...] |
eval_param.pass.cpp | 58 int kp = -1; local 77 if (k != kp) 85 kp = k;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
eval.pass.cpp | 59 int kp = -1; local 78 if (k != kp) 86 kp = k; 109 int kp = -1; 128 if (k != kp) 136 kp = k; 159 int kp = -1; 178 if (k != kp) 186 kp = k; 209 int kp = -1 [all...] |
eval_param.pass.cpp | 58 int kp = -1; local 77 if (k != kp) 85 kp = k;
|
/external/chromium_org/third_party/smhasher/src/ |
DifferentialTest.h | 33 keytype kp = diffs[0]; local 37 if(diffs[i] == kp) 52 printbits((unsigned char*)&kp,sizeof(kp)); 61 kp = diffs[i]; 72 printbits((unsigned char*)&kp,sizeof(kp));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/X11/ |
Xthreads.h | 79 # define xthread_key_create(kp,d) thr_keycreate(kp,d) 119 # define xthread_key_create(kp,d) *(kp) = TlsAlloc() 176 # define xthread_key_create(kp,d) tis_key_create(kp,d) 207 # define xthread_key_create(kp,d) thr_keycreate(kp,d) 235 # define xthread_key_create(kp,d) pthread_key_create(kp,d [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xthreads.h | 79 # define xthread_key_create(kp,d) thr_keycreate(kp,d) 119 # define xthread_key_create(kp,d) *(kp) = TlsAlloc() 176 # define xthread_key_create(kp,d) tis_key_create(kp,d) 207 # define xthread_key_create(kp,d) thr_keycreate(kp,d) 235 # define xthread_key_create(kp,d) pthread_key_create(kp,d [all...] |