/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | QueryParserUtils.cpp | 59 compareKeys(uint32 type, const void* key1, size_t length1, const void* key2, in compareKeys() argument 64 return compare_integral(*(int32*)key1, *(int32*)key2); in compareKeys() 66 return compare_integral(*(uint32*)key1, *(uint32*)key2); in compareKeys() 68 return compare_integral(*(int64*)key1, *(int64*)key2); in compareKeys() 70 return compare_integral(*(uint64*)key1, *(uint64*)key2); in compareKeys() 72 return compare_integral(*(float*)key1, *(float*)key2); in compareKeys() 74 return compare_integral(*(double*)key1, *(double*)key2); in compareKeys() 78 int result = strncmp((const char*)key1, (const char*)key2, in compareKeys() 81 result = compare_integral(strnlen((const char*)key1, length1), in compareKeys()
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | AttributeIndexImpl.cpp | 36 compare_keys(const uint8 *key1, size_t length1, const uint8 *key2, in compare_keys() argument 41 return compare_integral(*(int32*)key1, *(int32*)key2); in compare_keys() 43 return compare_integral(*(uint32*)key1, *(uint32*)key2); in compare_keys() 45 return compare_integral(*(int64*)key1, *(int64*)key2); in compare_keys() 47 return compare_integral(*(uint64*)key1, *(uint64*)key2); in compare_keys() 49 return compare_integral(*(float*)key1, *(float*)key2); in compare_keys() 51 return compare_integral(*(double*)key1, *(double*)key2); in compare_keys() 54 int result = strncmp((const char*)key1, (const char*)key2, in compare_keys() 57 result = compare_integral(strnlen((const char*)key1, length1), in compare_keys()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_keycache.c | 112 uint32_t key0, key1, key2, key3, key4; in ar5210SetKeyCacheEntry() local 136 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff; in ar5210SetKeyCacheEntry() 150 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ar5210SetKeyCacheEntry()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_keycache.c | 194 u_int32_t key0, key1, key2, key3, key4; in ar9300_set_key_cache_entry() local 258 key1 = (LE_READ_2(k->kv_val + 4) ^ xor_mask) & 0xffff; in ar9300_set_key_cache_entry() 298 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); in ar9300_set_key_cache_entry() 361 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ar9300_set_key_cache_entry() 364 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ar9300_set_key_cache_entry() 450 u_int32_t key0, key1, key2, key3, key4; in ar9300_check_key_cache_entry() local 508 key1 = (LE_READ_2(k->kv_val + 4) ^ xorMask) & 0xffff; in ar9300_check_key_cache_entry() 532 (OS_REG_READ(ah, AR_KEYTABLE_KEY1(entry)) == key1) && in ar9300_check_key_cache_entry() 581 (OS_REG_READ(ah, AR_KEYTABLE_KEY1(entry)) == key1) && in ar9300_check_key_cache_entry()
|
H A D | ar9300_misc.c | 3221 u_int32_t key0, key1, key2, key3, key4; in ar9300_print_keycache() local 3231 key1 = OS_REG_READ(ah, AR_KEYTABLE_KEY1(entry)); in ar9300_print_keycache() 3262 (key1 << 24) >> 24, (key1 << 16) >> 24, in ar9300_print_keycache()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_keycache.c | 160 uint32_t key0, key1, key2, key3, key4; in ar5212SetKeyCacheEntry() local 216 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff; in ar5212SetKeyCacheEntry() 239 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); in ar5212SetKeyCacheEntry() 289 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ar5212SetKeyCacheEntry() 292 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ar5212SetKeyCacheEntry()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_keycache.c | 119 uint32_t key0, key1, key2, key3, key4; in ar5211SetKeyCacheEntry() local 157 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff; in ar5211SetKeyCacheEntry() 171 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); in ar5211SetKeyCacheEntry()
|
/haiku/src/system/libnetwork/netresolv/dst/ |
H A D | dst_api.c | 201 dst_compare_keys(const DST_KEY *key1, const DST_KEY *key2) in dst_compare_keys() argument 203 if (key1 == key2) in dst_compare_keys() 205 if (key1 == NULL || key2 == NULL) in dst_compare_keys() 207 if (key1->dk_alg != key2->dk_alg) in dst_compare_keys() 209 if (key1->dk_key_size != key2->dk_key_size) in dst_compare_keys() 211 if (key1->dk_id != key2->dk_id) in dst_compare_keys() 213 return (key1->dk_func->compare(key1, key2)); in dst_compare_keys()
|
H A D | dst_internal.h | 96 int (*compare)(const DST_KEY *key1, const DST_KEY *key2);
|
H A D | hmac_link.c | 406 dst_hmac_md5_compare_keys(const DST_KEY *key1, const DST_KEY *key2) in dst_hmac_md5_compare_keys() argument 408 HMAC_Key *hkey1 = (HMAC_Key *) key1->dk_KEY_struct; in dst_hmac_md5_compare_keys()
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | BPlusTree.cpp | 494 int32 BPlusTree::CompareKeys(const void *key1, int keyLength1, const void *key2, int keyLength2) in CompareKeys() argument 501 int result = strncmp((const char *)key1,(const char *)key2,len); in CompareKeys() 510 return *(int32 *)key1 - *(int32 *)key2; in CompareKeys() 514 if (*(uint32 *)key1 == *(uint32 *)key2) in CompareKeys() 516 else if (*(uint32 *)key1 > *(uint32 *)key2) in CompareKeys() 524 if (*(int64 *)key1 == *(int64 *)key2) in CompareKeys() 526 else if (*(int64 *)key1 > *(int64 *)key2) in CompareKeys() 534 if (*(uint64 *)key1 == *(uint64 *)key2) in CompareKeys() 536 else if (*(uint64 *)key1 > *(uint64 *)key2) in CompareKeys() 544 float result = *(float *)key1 - *(float *)key2; in CompareKeys() [all …]
|
H A D | BPlusTree.h | 152 int32 CompareKeys(const void *key1, int keylength1, const void *key2, int keylength2);
|
/haiku/headers/private/file_systems/ |
H A D | QueryParserUtils.h | 47 int compareKeys(uint32 type, const void* key1, size_t length1,
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BPlusTree.h | 324 int32 _CompareKeys(const void* key1, int keylength1,
|
H A D | BPlusTree.cpp | 1011 BPlusTree::_CompareKeys(const void* key1, int keyLength1, const void* key2, in _CompareKeys() argument 1038 return QueryParser::compareKeys(type, key1, keyLength1, key2, keyLength2); in _CompareKeys()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 2327 static int ntfs_index_keys_compare(u8 *key1, u8 *key2, int key1_length, in ntfs_index_keys_compare() argument 2335 u1 = le32_to_cpup((const le32*)key1); in ntfs_index_keys_compare() 2348 u1 = le32_to_cpup((const le32*)(key1 + i)); in ntfs_index_keys_compare() 2365 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->hash); in ntfs_index_keys_compare() 2372 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->security_id); in ntfs_index_keys_compare() 2382 i = memcmp(key1, key2, min(key1_length, key2_length)); in ntfs_index_keys_compare()
|