/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
SecretKeyFactorySpiTest.java | 57 SecretKey sk = null; local 58 assertNull("Not null result", skfSpi.engineTranslateKey(sk)); 63 assertNull("Not null result", skfSpi.engineGetKeySpec(sk, null));
|
/external/icu4c/test/cintltst/ |
ccolltst.c | 57 static char* dumpSk(uint8_t *sourceKey, char *sk) { 61 *sk = 0; 64 sprintf(sk+2*i, "%02X", sourceKey[i]); 66 return sk; 125 char sk[10000]; local 126 log_verbose("SortKey1: %s\n", dumpSk(sourceKey, sk)); 127 log_verbose("SortKey2: %s\n", dumpSk(targetKey, sk));
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyTest.java | 48 checkSecretKey sk = new checkSecretKey(); local 50 sk.getSerVerUID(), //SecretKey.serialVersionUID
|
/external/clang/test/CodeGen/ |
unsigned-promotion.c | 9 unsigned short si, sj, sk; variable 19 // CHECKS: load i16* @sk 27 // CHECKU: [[T3:%.*]] = load i16* @sk 33 si = sj + sk; 41 // CHECKS: load i16* @sk 49 // CHECKU: [[T3:%.*]] = load i16* @sk 55 si = sj - sk; 63 // CHECKS: load i16* @sk 71 // CHECKU: [[T3:%.*]] = load i16* @sk 76 si = sj * sk; [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactorySpiTest.java | 64 SecretKey sk = null; local 65 assertNull("Not null result", skfSpi.engineTranslateKey(sk)); 70 assertNull("Not null result", skfSpi.engineGetKeySpec(sk, null));
|
SecretKeyTest.java | 40 checkSecretKey sk = new checkSecretKey(); local 42 sk.getSerVerUID(), //SecretKey.serialVersionUID
|
/system/core/libnl_2/ |
socket.c | 27 int nl_socket_add_membership(struct nl_sock *sk, int group) 29 return setsockopt(sk->s_fd, SOL_NETLINK, 36 struct nl_sock *sk; local 40 sk = (struct nl_sock *) malloc(sizeof(struct nl_sock)); 41 if (!sk) 43 memset(sk, 0, sizeof(*sk)); 50 sk->s_seq_next = (int) tv.tv_sec; 53 sk->s_local.nl_family = AF_NETLINK; 54 sk->s_local.nl_pid = 0; /* Kernel fills in pid * 71 struct nl_sock *sk = _nl_socket_alloc(); local 90 struct nl_sock *sk = _nl_socket_alloc(); local [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
KeyGeneratorTest.java | 150 private void test_SecretKey(KeyGenerator kg, SecretKey sk) throws Exception { 151 assertNotNull(sk); 152 assertEquals(kg.getAlgorithm().toUpperCase(), sk.getAlgorithm().toUpperCase()); 153 assertNotNull(sk.getEncoded()); 154 assertNotNull(sk.getFormat());
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSSecretKeyEntryTest.java | 48 SecretKey sk = null; local 50 new KeyStore.SecretKeyEntry(sk); 61 SecretKey sk = new tmpSecretKey(); local 62 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk); 63 assertEquals("Incorrect SecretKey", sk, ske.getSecretKey()); 71 SecretKey sk = new tmpSecretKey(); local 72 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSSecretKeyEntryTest.java | 42 SecretKey sk = null; local 44 new KeyStore.SecretKeyEntry(sk); 50 sk = new tmpSecretKey(); 52 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk); 65 SecretKey sk = new tmpSecretKey(); local 66 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk); 67 assertEquals("Incorrect SecretKey", sk, ske.getSecretKey()); 75 SecretKey sk = new tmpSecretKey(); local 76 KeyStore.SecretKeyEntry ske = new KeyStore.SecretKeyEntry(sk);
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.nonmodifying/alg.search/ |
search.pass.cpp | 57 const unsigned sk = sizeof(ik)/sizeof(ik[0]); local 58 assert(std::search(Iter1(ij), Iter1(ij+sj), Iter2(ik), Iter2(ik+sk)) == Iter1(ij+6));
|
/external/e2fsprogs/misc/ |
findsuper.c | 100 #define WHY(fmt, arg...) { printf("\r%Ld: " fmt, sk, ##arg) ; continue; } 116 loff_t sk=0, skl=0; local 163 sk = skl = strtoll(argv[optind], &s, 0) << 10; 171 if (sk < 0) { 172 fprintf(stderr, _("startkb should be positive, not %Lu\n"), sk); 183 printf(_("starting at %Lu, with %u byte increments\n"), sk, skiprate); 188 for (; lseek64(fd, sk, SEEK_SET) != -1 && 189 read(fd, &ext2, 512) == 512; sk += skiprate) { 194 if (sk && !(sk & (interval - 1))) [all...] |
/system/bluetooth/bluedroid/ |
bluetooth.c | 142 int sk = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); local 143 if (sk < 0) { 147 return sk;
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactory_ImplTest.java | 82 SecretKey sk; local 84 sk = skf.generateSecret(null); 85 assertNull("generateSecret method must return null", sk); 86 sk = skf.translateKey(null); 87 assertNull("translateKey method must return null", sk);
|
/external/qemu/android/protocol/ |
fb-updates-impl.c | 228 SyncSocket* sk = syncsocket_init(fbi->sock); local 231 syncsocket_start_write(sk); 232 syncsocket_write(sk, &hd, sizeof(hd), 5000); 233 syncsocket_stop_write(sk); 234 syncsocket_free(sk);
|
/frameworks/base/keystore/java/android/security/ |
SystemKeyStore.java | 85 SecretKey sk = skg.generateKey(); local 86 byte[] retKey = sk.getEncoded();
|
/external/eigen/Eigen/src/Eigen2Support/ |
SVD.h | 376 Scalar sk = m_sigma[k]/scale; local 388 Scalar f = (sk + sp)*(sk - sp) + shift; 389 Scalar g = sk*ek;
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 391 unsigned long sk, inode; local 410 &sk, &ref_cnt, &type, &proto, &iface,
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gpsk.c | 23 u8 sk[EAP_GPSK_MAX_SK_LEN]; member in struct:eap_gpsk_data 187 if (eap_gpsk_compute_mic(data->sk, data->sk_len, data->vendor, 421 data->sk, &data->sk_len, 437 if (eap_gpsk_compute_mic(data->sk, data->sk_len, data->vendor, 506 if (eap_gpsk_compute_mic(data->sk, data->sk_len, data->vendor,
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Connection.java | 271 final LocalSocket sk = socket.accept(); local 273 onAccept(sk); 362 Socket sk = null; local 385 sk = new Socket(sock, channel_name, endian); 386 mPendingSockets.add(sk); 397 sk = new Socket(sock, channel_name, endian); 398 channel.connect(sk);
|
/external/bluetooth/bluedroid/btif/src/ |
btif_pan.c | 284 int sk, err; local 286 sk = socket(AF_INET, SOCK_DGRAM, 0); 291 err = ioctl(sk, SIOCGIFHWADDR, &ifr); 295 close(sk); 307 err = ioctl(sk, SIOCSIFHWADDR, (caddr_t)&ifr); 311 close(sk); 322 err = ioctl(sk, SIOCSIFFLAGS, (caddr_t) &ifr); 327 close(sk); 330 close(sk); 338 int sk, err local [all...] |
/external/kernel-headers/original/linux/ |
net.h | 103 * @sk: internal networking protocol agnostic socket representation 113 struct sock *sk; member in struct:socket 183 extern int sock_wake_async(struct socket *sk, int how, int band);
|
/external/opencv/cv/src/ |
cvapprox.cpp | 210 Cv32suf sk; local 230 sk.f = (float) (temp_num + 1.1); 232 assert( 0 <= sk.f && sk.f <= 2.2 ); 233 if( j < k && sk.i <= s ) 236 s = sk.i;
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_gpsk.c | 22 u8 sk[EAP_GPSK_MAX_SK_LEN]; member in struct:eap_gpsk_data 349 data->sk, &data->sk_len, 376 if (eap_gpsk_compute_mic(data->sk, data->sk_len, data->vendor, 541 if (eap_gpsk_compute_mic(data->sk, data->sk_len, data->vendor, 629 if (eap_gpsk_compute_mic(data->sk, data->sk_len, data->vendor,
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities.h | 484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; local 487 sp=dx[0]; so=dx[1]; sk=dx[2]; 490 om_sk2=1.0-sk*sk; 498 R[0]=sp_so*sk+cp*ck; R[1]=co*sk; R[2]=cp_so*sk-sp*ck; 499 R[3]=sp_so*ck-cp*sk; R[4]=co*ck; R[5]=cp_so*ck+sp*sk;
|