Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 46) sorted by relevance

12

/f-stack/dpdk/lib/librte_hash/
H A Drte_cmp_x86.h21 return rte_hash_k16_cmp_eq(key1, key2, key_len) || in rte_hash_k32_cmp_eq()
23 (const char *) key2 + 16, key_len); in rte_hash_k32_cmp_eq()
29 return rte_hash_k16_cmp_eq(key1, key2, key_len) || in rte_hash_k48_cmp_eq()
31 (const char *) key2 + 16, key_len) || in rte_hash_k48_cmp_eq()
33 (const char *) key2 + 32, key_len); in rte_hash_k48_cmp_eq()
41 (const char *) key2 + 32, key_len); in rte_hash_k64_cmp_eq()
49 (const char *) key2 + 64, key_len); in rte_hash_k80_cmp_eq()
57 (const char *) key2 + 64, key_len); in rte_hash_k96_cmp_eq()
65 (const char *) key2 + 64, key_len) || in rte_hash_k112_cmp_eq()
67 (const char *) key2 + 96, key_len); in rte_hash_k112_cmp_eq()
[all …]
H A Drte_cmp_arm64.h7 rte_hash_k16_cmp_eq(const void *key1, const void *key2, in rte_hash_k16_cmp_eq() argument
20 : [p2]"r"(key2) in rte_hash_k16_cmp_eq()
32 (const char *) key2 + 16, key_len); in rte_hash_k32_cmp_eq()
40 (const char *) key2 + 16, key_len) || in rte_hash_k48_cmp_eq()
42 (const char *) key2 + 32, key_len); in rte_hash_k48_cmp_eq()
50 (const char *) key2 + 32, key_len); in rte_hash_k64_cmp_eq()
58 (const char *) key2 + 64, key_len); in rte_hash_k80_cmp_eq()
66 (const char *) key2 + 64, key_len); in rte_hash_k96_cmp_eq()
74 (const char *) key2 + 64, key_len) || in rte_hash_k112_cmp_eq()
76 (const char *) key2 + 96, key_len); in rte_hash_k112_cmp_eq()
[all …]
H A Drte_hash.h70 typedef int (*rte_hash_cmp_eq_t)(const void *key1, const void *key2, size_t key_len);
/f-stack/dpdk/app/test/test_cfgfiles/etc/
H A Drealloc_sections.ini3 key2=value2_section1 key
26 key2=value2_section2 key
49 key2=value2_section3 key
72 key2=value2_section4 key
82 key2=value2_section5 key
92 key2=value2_section6 key
102 key2=value2_section7 key
112 key2=value2_section8 key
122 key2=value2_section9 key
H A Dsample1.ini10 key2=value2 key
H A Dsample2.ini10 key2=value2 key
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dauth.c10 static unsigned char key2[] = variable
46 crypto_auth_hmacsha512_init(&st, key2, sizeof key2); in main()
57 crypto_auth_hmacsha256_init(&st256, key2, sizeof key2); in main()
H A Daead_xchacha20poly1305.c32 …unsigned char *key2 = (unsigned char *) sodium_malloc(crypto_aead_xchacha20poly1305_ietf_KEYBYTES); in tv() local
165 crypto_aead_xchacha20poly1305_ietf_keygen(key2); in tv()
167 NULL, 0U, nonce, key2) == 0) { in tv()
173 sodium_free(key2); in tv()
/f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/
H A Dmutex_pool.h58 uintptr_t key2) { in mutex_pool_lock2() argument
62 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_lock2()
76 uintptr_t key2) { in mutex_pool_unlock2() argument
78 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_unlock2()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Ddict.h55 int (*keyCompare)(void *privdata, const void *key1, const void *key2);
101 #define dictCompareHashKeys(ht, key1, key2) \ argument
103 (ht)->type->keyCompare((ht)->privdata, key1, key2) : \
104 (key1) == (key2))
H A Dasync.c76 static int callbackKeyCompare(void *privdata, const void *key1, const void *key2) { in callbackKeyCompare() argument
81 l2 = sdslen((const sds)key2); in callbackKeyCompare()
83 return memcmp(key1,key2,l1) == 0; in callbackKeyCompare()
/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_em.c318 union ipv4_5tuple_host *key2) in convert_ipv4_5tuple() argument
324 key2->proto = key1->proto; in convert_ipv4_5tuple()
325 key2->pad0 = 0; in convert_ipv4_5tuple()
326 key2->pad1 = 0; in convert_ipv4_5tuple()
331 union ipv6_5tuple_host *key2) in convert_ipv6_5tuple() argument
336 key2->ip_dst[i] = key1->ip_dst[i]; in convert_ipv6_5tuple()
337 key2->ip_src[i] = key1->ip_src[i]; in convert_ipv6_5tuple()
341 key2->proto = key1->proto; in convert_ipv6_5tuple()
342 key2->pad0 = 0; in convert_ipv6_5tuple()
343 key2->pad1 = 0; in convert_ipv6_5tuple()
[all …]
/f-stack/app/redis-5.0.5/src/
H A Ddict.h62 int (*keyCompare)(void *privdata, const void *key1, const void *key2);
135 #define dictCompareKeys(d, key1, key2) \ argument
137 (d)->type->keyCompare((d)->privdata, key1, key2) : \
138 (key1) == (key2))
/f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_keycache.c194 u_int32_t key0, key1, key2, key3, key4; in ar9300_set_key_cache_entry() local
259 key2 = LE_READ_4(k->kv_val + 6) ^ xor_mask; in ar9300_set_key_cache_entry()
299 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar9300_set_key_cache_entry()
365 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar9300_set_key_cache_entry()
450 u_int32_t key0, key1, key2, key3, key4; in ar9300_check_key_cache_entry() local
509 key2 = LE_READ_4(k->kv_val + 6) ^ xorMask; in ar9300_check_key_cache_entry()
533 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) && in ar9300_check_key_cache_entry()
582 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) && in ar9300_check_key_cache_entry()
/f-stack/freebsd/contrib/openzfs/module/icp/os/
H A Dmodhash.c161 #define MH_KEYCMP(hash, key1, key2) ((hash->mh_keycmp)(key1, key2)) argument
221 mod_hash_strkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_strkey_cmp() argument
223 return (strcmp((char *)key1, (char *)key2)); in mod_hash_strkey_cmp()
286 mod_hash_ptrkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_ptrkey_cmp() argument
289 uintptr_t k2 = (uintptr_t)key2; in mod_hash_ptrkey_cmp()
353 mod_hash_idkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_idkey_cmp() argument
355 return ((uint_t)(uintptr_t)key1 - (uint_t)(uintptr_t)key2); in mod_hash_idkey_cmp()
/f-stack/app/redis-5.0.5/tests/unit/
H A Ddump.tcl257 r set key2 "v2"
266 set ret [r -1 migrate $second_host $second_port "" 9 5000 keys key1 key2 key3]
269 assert {[$first exists key2] == 0}
272 assert {[$second get key2] eq {v2}}
285 r set key2 "v2"
297 … ret [r -1 migrate $second_host $second_port "" 9 5000 keys nokey-1 key1 nokey-2 key2 nokey-3 key3]
300 assert {[$first exists key2] == 0}
303 assert {[$second get key2] eq {v2}}
H A Dintrospection-2.tcl26 r set key2 2
27 r touch key0 key1 key2 key3
H A Dexpire.tcl152 r psetex key2 500 a
167 r psetex key2 500 a
175 r mget key1 key2 key3
/f-stack/freebsd/opencrypto/
H A Dxform_aes_xts.c98 rijndael_encrypt(&ctx->key2, ctx->tweak, ctx->tweak); in aes_xts_reinit()
154 rijndael_set_key(&ctx->key2, key + (len / 2), len * 4); in aes_xts_setkey()
H A Dxform_enc.h95 rijndael_ctx key2; member
/f-stack/app/redis-5.0.5/utils/hashtable/
H A Drehashing.c21 int dictKeyCompare(void *privdata, const void *key1, const void *key2) { in dictKeyCompare() argument
23 unsigned long k2 = (unsigned long)key2; in dictKeyCompare()
/f-stack/freebsd/netinet/
H A Dsctp_auth.c351 sctp_compare_key(sctp_key_t *key1, sctp_key_t *key2) in sctp_compare_key() argument
361 key2len = sctp_get_keylen(key2); in sctp_compare_key()
375 key_2 = key2->key; in sctp_compare_key()
402 sctp_compute_hashkey(sctp_key_t *key1, sctp_key_t *key2, sctp_key_t *shared) in sctp_compute_hashkey() argument
408 keylen = sctp_get_keylen(key1) + sctp_get_keylen(key2) + in sctp_compute_hashkey()
426 if (sctp_compare_key(key1, key2) <= 0) { in sctp_compute_hashkey()
436 if (sctp_get_keylen(key2)) { in sctp_compute_hashkey()
437 memcpy(key_ptr, key2->key, key2->keylen); in sctp_compute_hashkey()
445 if (sctp_get_keylen(key2)) { in sctp_compute_hashkey()
446 memcpy(key_ptr, key2->key, key2->keylen); in sctp_compute_hashkey()
[all …]
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c3048 union ipv4_5tuple_host *key2) in convert_ipv4_5tuple() argument
3054 key2->proto = key1->proto; in convert_ipv4_5tuple()
3055 key2->pad0 = 0; in convert_ipv4_5tuple()
3056 key2->pad1 = 0; in convert_ipv4_5tuple()
3060 union ipv6_5tuple_host *key2) in convert_ipv6_5tuple() argument
3065 key2->ip_dst[i] = key1->ip_dst[i]; in convert_ipv6_5tuple()
3066 key2->ip_src[i] = key1->ip_src[i]; in convert_ipv6_5tuple()
3070 key2->proto = key1->proto; in convert_ipv6_5tuple()
3071 key2->pad0 = 0; in convert_ipv6_5tuple()
3072 key2->pad1 = 0; in convert_ipv6_5tuple()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_efd_perf.c105 static int key_compare(const void *key1, const void *key2) in key_compare() argument
107 return memcmp(key1, key2, MAX_KEYSIZE); in key_compare()
/f-stack/app/redis-5.0.5/tests/integration/
H A Dreplication-3.tcl39 r -1 set key2 2 ex 5

12