/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, argument 64 return compare_integral(*(int32*)key1, *(int32*)key2); 66 return compare_integral(*(uint32*)key1, *(uint32*)key2); 68 return compare_integral(*(int64*)key1, *(int64*)key2); 70 return compare_integral(*(uint64*)key1, *(uint64*)key2); 72 return compare_integral(*(float*)key1, *(float*)key2); 74 return compare_integral(*(double*)key1, *(double*)key2); 78 int result = strncmp((const char*)key1, (const char*)key2, 81 result = compare_integral(strnlen((const char*)key1, length1),
|
/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/ramfs/ |
H A D | AttributeIndexImpl.cpp | 36 compare_keys(const uint8 *key1, size_t length1, const uint8 *key2, argument 41 return compare_integral(*(int32*)key1, *(int32*)key2); 43 return compare_integral(*(uint32*)key1, *(uint32*)key2); 45 return compare_integral(*(int64*)key1, *(int64*)key2); 47 return compare_integral(*(uint64*)key1, *(uint64*)key2); 49 return compare_integral(*(float*)key1, *(float*)key2); 51 return compare_integral(*(double*)key1, *(double*)key2); 54 int result = strncmp((const char*)key1, (const char*)key2, 57 result = compare_integral(strnlen((const char*)key1, length1),
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_keycache.c | 162 uint32_t key0, key1, key2, key3, key4; local 218 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff; 241 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); 291 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); 294 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_keycache.c | 114 uint32_t key0, key1, key2, key3, key4; local 138 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff; 152 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_keycache.c | 121 uint32_t key0, key1, key2, key3, key4; local 159 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff; 173 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
|
/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; local 258 key1 = (LE_READ_2(k->kv_val + 4) ^ xor_mask) & 0xffff; 298 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1); 361 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); 364 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1); 450 u_int32_t key0, key1, key2, key3, key4; local 508 key1 = (LE_READ_2(k->kv_val + 4) ^ xorMask) & 0xffff; 532 (OS_REG_READ(ah, AR_KEYTABLE_KEY1(entry)) == key1) && 581 (OS_REG_READ(ah, AR_KEYTABLE_KEY1(entry)) == key1) &&
|
H A D | ar9300_misc.c | 3217 u_int32_t key0, key1, key2, key3, key4; local 3227 key1 = OS_REG_READ(ah, AR_KEYTABLE_KEY1(entry)); 3258 (key1 << 24) >> 24, (key1 << 16) >> 24, 3259 //(key1 << 8) >> 24, key1 >> 24,
|
/haiku/src/system/libnetwork/netresolv/dst/ |
H A D | dst_api.c | 194 * key1, key2 Two keys to be compared. 201 dst_compare_keys(const DST_KEY *key1, const DST_KEY *key2) argument 203 if (key1 == key2) 205 if (key1 == NULL || key2 == NULL) 207 if (key1->dk_alg != key2->dk_alg) 209 if (key1->dk_key_size != key2->dk_key_size) 211 if (key1->dk_id != key2->dk_id) 213 return (key1->dk_func->compare(key1, key2));
|
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) argument 408 HMAC_Key *hkey1 = (HMAC_Key *) key1->dk_KEY_struct;
|
/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) argument 501 int result = strncmp((const char *)key1,(const char *)key2,len); 510 return *(int32 *)key1 - *(int32 *)key2; 514 if (*(uint32 *)key1 == *(uint32 *)key2) 516 else if (*(uint32 *)key1 > *(uint32 *)key2) 524 if (*(int64 *)key1 == *(int64 *)key2) 526 else if (*(int64 *)key1 > *(int64 *)key2) 534 if (*(uint64 *)key1 == *(uint64 *)key2) 536 else if (*(uint64 *)key1 > *(uint64 *)key2) 544 float result = *(float *)key1 [all...] |
H A D | BPlusTree.h | 152 int32 CompareKeys(const void *key1, int keylength1, const void *key2, int keylength2);
|
/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, argument 1038 return QueryParser::compareKeys(type, key1, keyLength1, key2, keyLength2);
|
/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, argument 2335 u1 = le32_to_cpup((const le32*)key1); 2348 u1 = le32_to_cpup((const le32*)(key1 + i)); 2365 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->hash); 2372 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->security_id); 2382 i = memcmp(key1, key2, min(key1_length, key2_length));
|