/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mailbox.py | 102 key1 = self._box.add(self._template % 1) 109 self.assertEqual(self._box.get_string(key1), self._template % 1) 117 self.assertEqual(self._box.get_string(key1), self._template % 1) 118 method(key1) 120 self.assertRaises(KeyError, lambda: self._box[key1]) 121 self.assertRaises(KeyError, lambda: method(key1)) 126 key1 = self._box.add(self._template % 1) 145 key1 = self._box.add(self._template % 1) 146 msg = self._box.get(key1) 164 key1 = self._box.add(_sample_message [all...] |
/external/chromium_org/v8/src/ |
heap-snapshot-generator.h | 313 static bool HeapThingsMatch(HeapThing key1, HeapThing key2) { 314 return key1 == key2; 525 static bool RetainedInfosMatch(void* key1, void* key2) { 526 return key1 == key2 || 527 (reinterpret_cast<v8::RetainedObjectInfo*>(key1))->IsEquivalent( 530 INLINE(static bool StringsMatch(void* key1, void* key2)) { 531 return strcmp(reinterpret_cast<char*>(key1), 601 INLINE(static bool StringsMatch(void* key1, void* key2)) { 602 return strcmp(reinterpret_cast<char*>(key1),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 342 SelectionKey key1 = ssc.register(selector, SelectionKey.OP_ACCEPT); 344 assertTrue(keys.contains(key1)); 350 assertTrue(keys.contains(key1)); 353 key1.cancel(); 354 assertTrue(keys.contains(key1)); 357 assertFalse(keys.contains(key1)); 423 SelectionKey key1 = sc.register(selector, SelectionKey.OP_WRITE); 424 assertEquals(key, key1); 430 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));
|
/external/chromium_org/third_party/icu/source/common/ |
unistr_case.cpp | 235 uhash_compareCaselessUnicodeString(const UHashTok key1, const UHashTok key2) { 237 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
|
uhash.c | 917 const UHashTok key1 = elem1->key; local 923 const UHashElement* elem2 = _uhash_find(hash2, key1, hash2->keyHasher(key1)); 937 uhash_compareUChars(const UHashTok key1, const UHashTok key2) { 938 const UChar *p1 = (const UChar*) key1.pointer; 954 uhash_compareChars(const UHashTok key1, const UHashTok key2) { 955 const char *p1 = (const char*) key1.pointer; 971 uhash_compareIChars(const UHashTok key1, const UHashTok key2) { 972 const char *p1 = (const char*) key1.pointer; 997 uhash_compareLong(const UHashTok key1, const UHashTok key2) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_hash_table.c | 58 int (*compare)(void *key1, void *key2); 80 int (*compare)(void *key1, void *key2))
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
hash_table.c | 232 hash_table_pointer_compare(const void *key1, const void *key2) 234 return key1 == key2 ? 0 : 1;
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_test.c | 33 static int key1(RSA *key, unsigned char *c) function 237 clen = key1(key, ctext_ex);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_hash_table.c | 58 int (*compare)(void *key1, void *key2); 80 int (*compare)(void *key1, void *key2))
|
/external/mesa3d/src/mesa/program/ |
hash_table.c | 232 hash_table_pointer_compare(const void *key1, const void *key2) 234 return key1 == key2 ? 0 : 1;
|
/external/openssl/crypto/rsa/ |
rsa_test.c | 33 static int key1(RSA *key, unsigned char *c) function 237 clen = key1(key, ctext_ex);
|
/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_org/third_party/icu/source/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));
|
/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));
|
/frameworks/av/camera/ |
CameraParameters2.cpp | 149 status_t CameraParameters2::compareSetOrder(const char *key1, const char *key2, 151 if (key1 == NULL) { 152 ALOGE("%s: key1 must not be NULL", __FUNCTION__); 162 ssize_t index1 = mMap.indexOfKey(String8(key1)); 165 ALOGW("%s: Key1 (%s) was not set", __FUNCTION__, 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/chromium_org/third_party/smhasher/src/ |
KeysetTest.cpp | 104 uint8_t * key1 = &buffer1[pad]; local 110 memcpy(key2,key1,len); 112 hash(key1,len,0,hash1);
|
/external/icu4c/common/ |
uhash.c | 891 const UHashTok key1 = elem1->key; local 897 const UHashElement* elem2 = _uhash_find(hash2, key1, hash2->keyHasher(key1)); 911 uhash_compareUChars(const UHashTok key1, const UHashTok key2) { 912 const UChar *p1 = (const UChar*) key1.pointer; 928 uhash_compareChars(const UHashTok key1, const UHashTok key2) { 929 const char *p1 = (const char*) key1.pointer; 945 uhash_compareIChars(const UHashTok key1, const UHashTok key2) { 946 const char *p1 = (const char*) key1.pointer; 971 uhash_compareLong(const UHashTok key1, const UHashTok key2) [all...] |
/external/openssl/crypto/evp/ |
e_aes.c | 93 const AES_KEY *key1, const AES_KEY *key2, 136 size_t len, const AES_KEY *key1, 139 size_t len, const AES_KEY *key1, 149 const AES_KEY *key1, const AES_KEY *key2, 152 const AES_KEY *key1, const AES_KEY *key2, 206 const AES_KEY *key1, const AES_KEY *key2, 212 const AES_KEY *key1, const AES_KEY *key2, 373 xctx->xts.key1 = &xctx->ks1; 1046 /* key1 and key2 are used as an indicator both key and IV are set */ 1047 xctx->xts.key1 = NULL [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
glsl_types.cpp | 488 const glsl_type *const key1 = (glsl_type *) a; local 494 if (strcmp(key1->name, key2->name) != 0) 497 if (key1->length != key2->length) 500 for (unsigned i = 0; i < key1->length; i++) { 501 if (key1->fields.structure[i].type != key2->fields.structure[i].type) 503 if (strcmp(key1->fields.structure[i].name,
|
/external/mesa3d/src/glsl/ |
glsl_types.cpp | 488 const glsl_type *const key1 = (glsl_type *) a; local 494 if (strcmp(key1->name, key2->name) != 0) 497 if (key1->length != key2->length) 500 for (unsigned i = 0; i < key1->length; i++) { 501 if (key1->fields.structure[i].type != key2->fields.structure[i].type) 503 if (strcmp(key1->fields.structure[i].name,
|
/external/chromium_org/net/http/ |
http_pipelined_host_pool_unittest.cc | 228 HttpPipelinedHost::Key key1(HostPortPair("host", 123)); 232 MockHost* host1 = CreateDummyHost(key1); 239 EXPECT_TRUE(pool_->IsExistingPipelineAvailableForKey(key1));
|
/external/libvpx/libvpx/examples/includes/HTML-Toc-0.91/ |
TocUpdator.pm | 90 my ($key1, $value1, $key2, $value2, $result); 94 HASH1: while (($key1, $value1) = each %$aHash1) { 97 if ($value1 ne $aHash2->{$key1}) {
|
/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()) {
|