Searched refs:key2 (Results 26 - 50 of 185) sorted by relevance

12345678

/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
H A Du_cache_test.c61 cache_test_compare(const void *key1, const void *key2) { argument
62 return !(key1 == key2);
/external/mesa3d/src/gallium/tests/unit/
H A Du_cache_test.c61 cache_test_compare(const void *key1, const void *key2) { argument
62 return !(key1 == key2);
/external/mockito/cglib-and-asm/src/org/mockito/asm/
H A DClassWriter.java273 final Item key2; field in class:ClassWriter
540 key2 = new Item();
943 key2.set(CLASS, value, null, null);
944 Item result = get(key2);
947 result = new Item(index++, key2);
1133 key2.set(STR, value, null, null);
1134 Item result = get(key2);
1137 result = new Item(index++, key2);
1154 key2.set(NAME_TYPE, name, desc, null);
1155 Item result = get(key2);
[all...]
/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dleveldb_unittest.cc157 const std::string key2("key2");
170 s = leveldb->Put(key2, &put_value);
176 s = leveldb->Remove(key2);
190 EXPECT_EQ(comparator.Compare(it->Key(), key2), 0);
203 const std::string key2("key2");
224 transaction->Put(key2, &put_value);
227 transaction->Put(key2, &put_value);
237 status = leveldb->Get(key2,
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dhash_table.h50 typedef int (*hash_compare_func_t)(const void *key1, const void *key2);
182 hash_table_pointer_compare(const void *key1, const void *key2);
/external/libsepol/include/sepol/policydb/
H A Dhashtab.h38 int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison function */
54 const hashtab_key_t key2),
/external/mesa3d/src/mesa/program/
H A Dhash_table.h50 typedef int (*hash_compare_func_t)(const void *key1, const void *key2);
182 hash_table_pointer_compare(const void *key1, const void *key2);
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
H A DLookupKeyTest.java52 LookupKey key2 = new LookupKey.Builder(key.toString()).build();
53 assertEquals(ROOT_KEY, key2.toString());
60 LookupKey key2 = new LookupKey.Builder(CALIFORNIA_KEY).build();
61 assertEquals(CALIFORNIA_KEY, key2.toString());
234 LookupKey key2 = new LookupKey.Builder("data/").build();
235 assertEquals("", key2.getValueForUpperLevelField(AddressField.COUNTRY));
/external/chromium_org/third_party/smhasher/src/
H A DKeysetTest.cpp105 uint8_t * key2 = &buffer2[pad+offset]; local
110 memcpy(key2,key1,len);
118 flipbit(key2,len,bit);
119 hash(key2,len,0,hash2);
128 flipbit(key2,len,bit);
129 hash(key2,len,0,hash2);
/external/pixman/test/
H A Dglyph-test.c251 void *key2 = KEY2 (glyph_img); local
254 if (!(glyph = pixman_glyph_cache_lookup (cache, key1, key2)))
257 pixman_glyph_cache_insert (cache, key1, key2, 5, 8, glyph_img);
307 void *key1, *key2; local
310 key2 = KEY2 (img);
312 pixman_glyph_cache_remove (cache, key1, key2);
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_metadata_storage_unittest.cc81 const std::string key2 = "abcd"; local
98 // key2 not found.
99 EXPECT_EQ(FILE_ERROR_NOT_FOUND, storage_->GetEntry(key2, &result));
103 entry2.set_local_id(key2);
108 // key2 found.
110 EXPECT_EQ(FILE_ERROR_OK, storage_->GetEntry(key2, &result));
112 EXPECT_EQ(key2, child_id);
117 entry3.set_parent_local_id(key2);
123 EXPECT_EQ(FILE_ERROR_OK, storage_->GetChild(key2, name3, &child_id));
131 EXPECT_EQ(FILE_ERROR_NOT_FOUND, storage_->GetChild(key2, name
561 const std::string key2 = "bar"; local
[all...]
/external/chromium_org/net/cert/
H A Dmulti_threaded_cert_verifier_unittest.cc328 MultiThreadedCertVerifier::RequestParams key2; member in struct:net::__anon9089
331 // -1 means key1 is less than key2
332 // 0 means key1 equals key2
333 // 1 means key1 is greater than key2
390 const MultiThreadedCertVerifier::RequestParams& key2 = tests[i].key2; local
394 EXPECT_TRUE(key1 < key2);
395 EXPECT_FALSE(key2 < key1);
398 EXPECT_FALSE(key1 < key2);
399 EXPECT_FALSE(key2 < key
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Duvectest.cpp70 UVectorTest_compareInt32(UElement key1, UElement key2) { argument
71 if (key1.integer > key2.integer) {
74 else if (key1.integer < key2.integer) {
82 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { argument
83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer);
164 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) {
/external/icu/icu4c/source/test/intltest/
H A Duvectest.cpp70 UVectorTest_compareInt32(UElement key1, UElement key2) { argument
71 if (key1.integer > key2.integer) {
74 else if (key1.integer < key2.integer) {
82 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { argument
83 return !strcmp((const char *)key1.pointer, (const char *)key2.pointer);
164 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) {
/external/chromium_org/chrome/browser/extensions/api/identity/
H A Didentity_mint_queue_unittest.cc88 scoped_ptr<ExtensionTokenKey> key2(ExtensionIdToKey("ext_id_2"));
95 queue.RequestStart(type, *key2, &request2);
98 queue.RequestComplete(type, *key2, &request2);
/external/chromium_org/third_party/skia/tests/
H A DResourceCacheTest.cpp203 GrResourceKey key2(GrCacheID(domain, key2Data), t, 0);
216 cache.addResource(key2, b);
222 static_cast<TestResource*>(cache.find(key2))->setSize(200);
238 cache.addResource(key2, b);
244 static_cast<TestResource*>(cache.find(key2))->setSize(201);
260 cache.addResource(key2, b);
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dhamt.c261 unsigned long key2 = node->BitMapKey; local
271 key2 = hamt->ReHashKey(
276 keypart2 = (key2 >> keypartbits) & 0x1F;
283 newnodes[0].BitMapKey = key2;
300 newnodes[0].BitMapKey = key2;
307 newnodes[1].BitMapKey = key2;
/external/skia/tests/
H A DResourceCacheTest.cpp201 GrResourceKey key2(GrCacheID(domain, key2Data), t, 0);
214 cache.addResource(key2, b);
220 static_cast<TestResource*>(cache.find(key2))->setSize(200);
236 cache.addResource(key2, b);
242 static_cast<TestResource*>(cache.find(key2))->setSize(201);
258 cache.addResource(key2, b);
/external/chromium_org/net/base/registry_controlled_domains/
H A Dregistry_controlled_domain_unittest.cc381 const char* key2 = local
390 EXPECT_EQ(0U, GetRegistryLengthFromHost(key2, EXCLUDE_UNKNOWN_REGISTRIES));
414 const char* key2 = local
423 EXPECT_EQ(0U, GetRegistryLengthFromHost(key2, EXCLUDE_UNKNOWN_REGISTRIES));
436 const char* key2 = "a.b.aak"; local
448 EXPECT_EQ(3U, GetRegistryLengthFromHost(key2, EXCLUDE_UNKNOWN_REGISTRIES));
473 const char* key2 = "a.b.kaa"; local
485 EXPECT_EQ(3U, GetRegistryLengthFromHost(key2, EXCLUDE_UNKNOWN_REGISTRIES));
/external/chromium_org/third_party/bintrees/bintrees/
H A Dctrees.pxd17 int ct_compare(object key1, object key2)
/external/chromium_org/third_party/icu/source/common/
H A Dunistr_case.cpp169 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2) { argument
172 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_auth.c349 * returns: 1 if key1 > key2
350 * -1 if key1 < key2
351 * 0 if key1 = key2
354 sctp_compare_key(sctp_key_t *key1, sctp_key_t *key2) argument
364 key2len = sctp_get_keylen(key2);
378 key_2 = key2->key;
405 sctp_compute_hashkey(sctp_key_t *key1, sctp_key_t *key2, sctp_key_t *shared) argument
411 keylen = sctp_get_keylen(key1) + sctp_get_keylen(key2) +
429 if (sctp_compare_key(key1, key2) <= 0) {
430 /* key is shared + key1 + key2 */
2237 sctp_test_key_concatenation(sctp_key_t *key1, sctp_key_t *key2, sctp_key_t *expected_key) argument
2266 sctp_key_t *key1, *key2, *expected_key; local
[all...]
/external/icu/icu4c/source/common/
H A Dunistr_case.cpp169 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2) { argument
172 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
/external/chromium_org/chrome/browser/extensions/api/declarative/
H A Drules_registry_service_unittest.cc124 const RulesRegistry::WebViewKey key2(kEmbedderProcessID2, kWebViewInstanceID);
129 new TestRulesRegistry(content::BrowserThread::UI, "ui", key2);
141 base::Bind(&InsertRule, registry_service.GetRulesRegistry(key2, "ui"),
147 EXPECT_TRUE(registry_service.GetRulesRegistry(key2, "ui").get());
/external/chromium_org/components/nacl/browser/
H A Dnacl_validation_cache_unittest.cc13 const char key2[65] = member in namespace:nacl
80 std::string key(key2);
142 std::string key(key2);
155 std::string key(key2);

Completed in 783 milliseconds

12345678