/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 346 SelectionKey key1 = ssc.register(selector, SelectionKey.OP_ACCEPT); local 348 assertTrue(keys.contains(key1)); 354 assertTrue(keys.contains(key1)); 357 key1.cancel(); 358 assertTrue(keys.contains(key1)); 361 assertFalse(keys.contains(key1)); 427 SelectionKey key1 = sc.register(selector, SelectionKey.OP_WRITE); local 428 assertEquals(key, key1); 434 assertEquals(key, key1);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SortedMapTestBase.java | 207 int key1 = rnd.nextInt(N/2) + N/2; local 209 ref.comparator().compare(key0, key1) > 0) { 212 key0 = key1; 213 key1 = tmp; 215 checkSubMap(ref.subMap(key0, key1), map.subMap(key0, key1));
|
IdentityHashMapTest.java | 117 map.put("key1", "value1"); 119 map.remove("key1"); 121 assertTrue("Did not remove key1", !map.containsKey("key1")); 122 assertTrue("Did not remove the value for key1", !map 450 identityHashMap.put("key1", "value1");
|
/external/chromium/net/server/ |
http_server.cc | 77 std::string key1 = GetHeaderValue(request, "Sec-WebSocket-Key1"); 80 uint32 fp1 = WebSocketKeyFingerprint(key1); 392 std::string key1 = GetHeaderValue(request, "Sec-WebSocket-Key1"); local 402 if (!key1.empty() && !key2.empty()) {
|
/external/mesa3d/src/glsl/ |
glsl_types.cpp | 371 const glsl_type *const key1 = (glsl_type *) a; local 377 if (strcmp(key1->name, key2->name) != 0) 380 if (key1->length != key2->length) 383 for (unsigned i = 0; i < key1->length; i++) { 384 if (key1->fields.structure[i].type != key2->fields.structure[i].type) 386 if (strcmp(key1->fields.structure[i].name,
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl1Test.java | 494 Key key1 = ((KeyStore.PrivateKeyEntry) en).getPrivateKey(); local 495 if (!key.getAlgorithm().equals(key1.getAlgorithm()) || 496 !key.getFormat().equals(key1.getFormat())) { 500 byte[] enc1 = key1.getEncoded(); 511 key1 = privKey; 512 if (!key.getAlgorithm().equals(key1.getAlgorithm()) || 513 !key.getFormat().equals(key1.getFormat())) { 517 enc1 = key1.getEncoded(); 604 Key key1; local 606 key1 = kss[i].getKey(aliases[j], pwd) 795 Key key1 = kss[i].getKey(aliases[j], pwd); local [all...] |
/external/libsepol/include/sepol/policydb/ |
hashtab.h | 38 int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison function */ 53 const hashtab_key_t key1,
|
/external/mesa3d/src/mesa/program/ |
hash_table.c | 187 hash_table_pointer_compare(const void *key1, const void *key2) 189 return key1 == key2 ? 0 : 1;
|
hash_table.h | 37 typedef int (*hash_compare_func_t)(const void *key1, const void *key2); 145 hash_table_pointer_compare(const void *key1, const void *key2);
|
/external/skia/third_party/glu/libtess/ |
dict-list.h | 73 int (*leq)(void *frame, DictKey key1, DictKey key2) ); 104 int (*leq)(void *frame, DictKey key1, DictKey key2);
|
dict.h | 75 int (*leq)(void *frame, DictKey key1, DictKey key2) ); 106 int (*leq)(void *frame, DictKey key1, DictKey key2);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldCollationKeyTest.java | 31 CollationKey key1 = collator.getCollationKey("abc"); local 32 byte[] bytes = key1.toByteArray();
|
/external/clang/test/CodeGen/ |
2008-03-24-BitField-And-Alloca.c | 60 unsigned int key1; member in struct:_Key::__anon5237
|
/external/openssl/crypto/des/ |
des_old.c | 233 int _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2, 236 return DES_read_2passwords(key1, key2, prompt, verify); 258 void _ossl_old_des_string_to_2keys(char *str,_ossl_old_des_cblock *key1,_ossl_old_des_cblock *key2) 260 DES_string_to_2keys(str, key1, key2);
|
/external/openssl/crypto/modes/ |
xts128.c | 86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1); 129 (*ctx->block1)(scratch.c,scratch.c,ctx->key1); 164 (*ctx->block1)(scratch.c,scratch.c,ctx->key1); 175 (*ctx->block1)(scratch.c,scratch.c,ctx->key1);
|
/frameworks/base/core/java/android/content/pm/ |
ContainerEncryptionParams.java | 233 private static final boolean isSecretKeyEqual(SecretKey key1, SecretKey key2) { 234 final String keyFormat = key1.getFormat(); 242 if (key1.getEncoded() != key2.getEncoded()) { 250 if (!Arrays.equals(key1.getEncoded(), key2.getEncoded())) {
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 125 Key key1 = new MyExemptionMechanismSpi().new tmpKey("Proba", local 127 assertFalse(em.isCryptoAllowed(key1)); 129 em.init(key1);
|
/external/chromium/net/data/cache_tests/dirty_entry5/ |
contents.txt | 142 std::string key1("The first key"); 147 ASSERT_EQ(net::OK, CreateEntry(key1, &entry)); 155 ASSERT_EQ(net::OK, OpenEntry(key1, &entry));
|
/external/srtp/crypto/test/ |
auth_driver.c | 62 /* key1 is for TAG_WORDS = 2 */ 64 const uint16_t key1[47] = { variable 139 status = auth_init(a, (uint8_t *)key1);
|
/external/chromium/net/websockets/ |
websocket_handshake_handler.cc | 207 request_info.extra_headers.GetHeader("Sec-WebSocket-Key1", &key); 208 request_info.extra_headers.RemoveHeader("Sec-WebSocket-Key1"); 226 std::string key1; local 239 "sec-websocket-key1")) { 241 key1 = iter.values(); 262 GetKeyNumber(key1, challenge);
|
websocket_job_unittest.cc | 243 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n" 288 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n" 356 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n" 369 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n" 444 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n" 457 "Sec-WebSocket-Key1: 4 @1 46546xW%0l 1 5\r\n"
|
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 45 extras.putParcelable("key1", new MockParcelable()); 88 extras.putBoolean("key1", false); 94 assertFalse(actual.getBoolean("key1"));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
RuleBasedCollatorTest.java | 105 CollationKey key1 = coll.getCollationKey(source); local 106 assertEquals(source, key1.getSourceString()); 110 assertTrue(key1.compareTo(key2) > 0);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DESKeySpecTest.java | 177 byte[] key1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}; 179 ks = new DESKeySpec(key1, 2); 186 + "as specified in a constructor.", key1, res); 188 System.arraycopy(key1, 2, exp, 0, 8);
|
/external/icu4c/test/cintltst/ |
chashtst.c | 28 static UBool U_EXPORT2 U_CALLCONV isEqualChars(const UHashTok key1, const UHashTok key2); 326 static UBool U_EXPORT2 U_CALLCONV isEqualChars(const UHashTok key1, const UHashTok key2) { 327 return (UBool)((key1.pointer != NULL) && 329 (uprv_strcmp((const char*)key1.pointer, (const char*)key2.pointer) == 0));
|