/frameworks/native/opengl/libs/EGL/ |
egl_tls.cpp | 32 pthread_key_t egl_tls_t::sKey = TLS_KEY_NOT_INITIALIZED; 64 pthread_key_create(&sKey, (void (*)(void*))&eglReleaseThread); 98 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); 101 pthread_setspecific(sKey, tls); 107 if (sKey != TLS_KEY_NOT_INITIALIZED) { 108 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); 110 pthread_setspecific(sKey, 0); 123 if (sKey == TLS_KEY_NOT_INITIALIZED) { 126 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); 141 if (sKey == TLS_KEY_NOT_INITIALIZED) [all...] |
egl_tls.h | 34 static pthread_key_t sKey;
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 42 symmetric_key skey; local 53 des_setup(pkey, 8, 0, &skey); 54 des_ecb_encrypt(clear, cypher, &skey); 55 des_done(&skey); 87 symmetric_key *skey; local 88 skey = os_malloc(sizeof(*skey)); 89 if (skey == NULL) 91 if (aes_setup(key, len, 0, skey) != CRYPT_OK) { 92 os_free(skey); 101 symmetric_key *skey = ctx; local 108 symmetric_key *skey = ctx; local 116 symmetric_key *skey; local 130 symmetric_key *skey = ctx; local 137 symmetric_key *skey = ctx; local [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
global.cpp | 240 this->SetGlobalVariables(pData->data.sKey, JS_GLOBALDATA_TYPE_NUMBER, pData->data.dData, false, "", v8::Handle<v8::Object>(), pData->bPersistent == 1);
242 pData->data.sKey.UTF8Decode(), pData->data.dData);
245 this->SetGlobalVariables(pData->data.sKey, JS_GLOBALDATA_TYPE_BOOLEAN, 0, (bool)(pData->data.bData == 1), "", v8::Handle<v8::Object>(), pData->bPersistent == 1);
247 pData->data.sKey.UTF8Decode(), (bool)(pData->data.bData == 1));
250 this->SetGlobalVariables(pData->data.sKey, JS_GLOBALDATA_TYPE_STRING, 0, false, pData->data.sData, v8::Handle<v8::Object>(), pData->bPersistent == 1);
252 pData->data.sKey.UTF8Decode(),
262 this->SetGlobalVariables(pData->data.sKey, JS_GLOBALDATA_TYPE_OBJECT, 0, false, "",
265 pData->data.sKey.UTF8Decode(), (JSObject)pObj);
269 this->SetGlobalVariables(pData->data.sKey, JS_GLOBALDATA_TYPE_NULL, 0, false, "", v8::Handle<v8::Object>(), pData->bPersistent == 1);
271 pData->data.sKey.UTF8Decode()); [all...] |
JS_GlobalData.cpp | 37 pNewObjData->sKey = pOldObjData->sKey;
46 pNewObjData->sKey = pOldObjData->sKey;
55 pNewObjData->sKey = pOldObjData->sKey;
64 pNewObjData->sKey = pOldObjData->sKey;
72 pNewObjData->sKey = pOldObjData->sKey;
[all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_auth.c | 494 sctp_free_sharedkey(sctp_sharedkey_t *skey) 496 if (skey == NULL) 499 if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&skey->refcount)) { 500 if (skey->key != NULL) 501 sctp_free_key(skey->key); 502 SCTP_FREE(skey, SCTP_M_AUTH_KY); 509 sctp_sharedkey_t *skey; local 511 LIST_FOREACH(skey, shared_keys, next) { 512 if (skey->keyid == key_id) 513 return (skey); 522 sctp_sharedkey_t *skey; local 568 sctp_sharedkey_t *skey; local 589 sctp_sharedkey_t *skey; local 634 sctp_sharedkey_t *skey, *new_skey; local 1268 sctp_sharedkey_t *skey; local 1302 sctp_sharedkey_t *skey; local 1334 sctp_sharedkey_t *skey = NULL; local 1362 sctp_sharedkey_t *skey; local 1381 sctp_sharedkey_t *skey; local 1415 sctp_sharedkey_t *skey; local 1583 sctp_sharedkey_t *skey; local 1674 sctp_sharedkey_t *skey; local [all...] |
sctp_auth.h | 139 extern void sctp_free_sharedkey(sctp_sharedkey_t *skey);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
WebappAuthenticator.java | 43 private static SecretKey sKey = null; 146 if (sKey == null) { 149 sKey = key; 150 return sKey; 155 sKey = sMacKeyGenerator.get(); 157 if (!writeKeyToFile(context, MAC_KEY_BASENAME, sKey)) { 158 sKey = null; 161 return sKey; 168 return sKey; 177 if (sKey != null || sMacKeyGenerator != null) [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorTest.java | 409 SecretKey sKey; 415 sKey = kgs[i].generateKey(); 416 assertEquals("Incorrect algorithm", sKey.getAlgorithm() 419 sKey = kgs[i].generateKey(); 420 assertEquals("Incorrect algorithm", sKey.getAlgorithm() 423 sKey = kgs[i].generateKey(); 424 assertEquals("Incorrect algorithm", sKey.getAlgorithm() 427 sKey = kgs[i].generateKey(); 428 assertEquals("Incorrect algorithm", sKey.getAlgorithm()
|
/external/chromium_org/third_party/libxml/src/ |
dict.c | 771 unsigned long skey; local 778 skey = xmlDictComputeKey(dict->subdict, name, len); 780 skey = okey; 782 key = skey % dict->subdict->size; 789 if ((tmp->okey == skey) && (tmp->len == len)) { 794 if ((tmp->okey == skey) && (tmp->len == len) && 801 if ((tmp->okey == skey) && (tmp->len == len)) { 806 if ((tmp->okey == skey) && (tmp->len == len) && 902 unsigned long skey; local 909 skey = xmlDictComputeKey(dict->subdict, name, len) 996 unsigned long skey; local [all...] |
/external/libxml2/ |
dict.c | 880 unsigned long skey; local 887 skey = xmlDictComputeKey(dict->subdict, name, l); 889 skey = okey; 891 key = skey % dict->subdict->size; 898 if ((tmp->okey == skey) && (tmp->len == l)) { 903 if ((tmp->okey == skey) && (tmp->len == l) && 910 if ((tmp->okey == skey) && (tmp->len == l)) { 915 if ((tmp->okey == skey) && (tmp->len == l) && 1017 unsigned long skey; local 1024 skey = xmlDictComputeKey(dict->subdict, name, l) 1111 unsigned long skey; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp_vfy.c | 92 EVP_PKEY *skey; local 93 skey = X509_get_pubkey(signer); 94 if (skey) 96 ret = OCSP_BASICRESP_verify(bs, skey, 0); 97 EVP_PKEY_free(skey); 99 if(!skey || ret <= 0) 392 EVP_PKEY *skey; local 393 skey = X509_get_pubkey(signer); 394 ret = OCSP_REQUEST_verify(req, skey); 395 EVP_PKEY_free(skey); [all...] |
/external/openssl/crypto/ocsp/ |
ocsp_vfy.c | 92 EVP_PKEY *skey; local 93 skey = X509_get_pubkey(signer); 94 if (skey) 96 ret = OCSP_BASICRESP_verify(bs, skey, 0); 97 EVP_PKEY_free(skey); 99 if(!skey || ret <= 0) 392 EVP_PKEY *skey; local 393 skey = X509_get_pubkey(signer); 394 ret = OCSP_REQUEST_verify(req, skey); 395 EVP_PKEY_free(skey); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorTest.java | 420 SecretKey sKey; 426 sKey = kgs[i].generateKey(); 427 assertEquals("Incorrect algorithm", sKey.getAlgorithm() 430 sKey = kgs[i].generateKey(); 431 assertEquals("Incorrect algorithm", sKey.getAlgorithm() 434 sKey = kgs[i].generateKey(); 435 assertEquals("Incorrect algorithm", sKey.getAlgorithm() 438 sKey = kgs[i].generateKey(); 439 assertEquals("Incorrect algorithm", sKey.getAlgorithm()
|
/external/javasqlite/src/main/java/SQLite/ |
Database.java | 824 * @param skey the key as String 827 public void key(String skey) throws SQLite.Exception { 830 if (skey != null && skey.length() > 0) { 831 ekey = new byte[skey.length()]; 832 for (int i = 0; i< skey.length(); i++) { 833 char c = skey.charAt(i); 862 * @param skey the key as String 865 public void rekey(String skey) throws SQLite.Exception { 868 if (skey != null && skey.length() > 0) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
KeyStoreTestSupport.java | 62 public static class SKey implements SecretKey { 67 public SKey(String type, byte[] encoded) {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
KeyStoreTestSupport.java | 63 public static class SKey implements SecretKey { 68 public SKey(String type, byte[] encoded) {
|
/external/pdfium/fpdfsdk/include/javascript/ |
JS_GlobalData.h | 43 CFX_ByteString sKey;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxSessionManager.java | 147 SessionKey skey = new SessionKey(); local 148 skey.value = session.getKey(); 149 saveSession(skey);
|
/external/chromium_org/third_party/openssl/openssl/crypto/rc4/asm/ |
rc4-ia64.pl | 258 &I(\$c, "SKEY [IPr[%u]] = SJ[%u]", $i2 % $NIP, $i1%$NSJ)if ($p & $pComT); 259 &I(\$c, "SKEY [JP[%u]] = SI[%u]", $i1 % $NJP, $i2%$NSI) if ($p & $pComT); 370 # define SKEY st1 374 # define SKEY st2 378 # define SKEY st4 382 # define SKEY st8 437 (pComputeT) SKEY [IPr[2]] = SJ[1]; \\ 438 (pComputeT) SKEY [JP[1]] = SI[2]; \\ 735 SKEY [KTable] = J,-SZ 741 SKEY [KTable] = IFina [all...] |
/external/openssl/crypto/rc4/asm/ |
rc4-ia64.pl | 258 &I(\$c, "SKEY [IPr[%u]] = SJ[%u]", $i2 % $NIP, $i1%$NSJ)if ($p & $pComT); 259 &I(\$c, "SKEY [JP[%u]] = SI[%u]", $i1 % $NJP, $i2%$NSI) if ($p & $pComT); 370 # define SKEY st1 374 # define SKEY st2 378 # define SKEY st4 382 # define SKEY st8 437 (pComputeT) SKEY [IPr[2]] = SJ[1]; \\ 438 (pComputeT) SKEY [JP[1]] = SI[2]; \\ 735 SKEY [KTable] = J,-SZ 741 SKEY [KTable] = IFina [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
t_x509a.c | 102 BIO_printf(out, "%*sKey Id: ", indent, "");
|
/external/openssl/crypto/asn1/ |
t_x509a.c | 102 BIO_printf(out, "%*sKey Id: ", indent, "");
|
/external/pdfium/fpdfsdk/src/ |
fpdf_flatten.cpp | 479 CFX_ByteString sKey;
480 CPDF_Object* pFirstObj = pAPDic->GetNextElement(pos, sKey);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl1Test.java | 576 KeyStoreTestSupport.SKey secKey = new KeyStoreTestSupport.SKey("DSA", 578 KeyStore.SecretKeyEntry sKey = new KeyStore.SecretKeyEntry( 590 kss[i].setEntry(aliases[j], sKey, pPath); [all...] |