Searched refs:key1 (Results 1 - 25 of 25) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ipw2100/
H A Dipw2100.settings99 # key1 a8d9fec82387d7912fdaa86820
102 key1 00000000000000000000000000
/haiku-fatelf/src/add-ons/kernel/file_systems/shared/
H A DQueryParserUtils.cpp56 compareKeys(uint32 type, const void* key1, size_t length1, const void* key2, argument
61 return compare_integral(*(int32*)key1, *(int32*)key2);
63 return compare_integral(*(uint32*)key1, *(uint32*)key2);
65 return compare_integral(*(int64*)key1, *(int64*)key2);
67 return compare_integral(*(uint64*)key1, *(uint64*)key2);
69 return compare_integral(*(float*)key1, *(float*)key2);
71 return compare_integral(*(double*)key1, *(double*)key2);
75 int result = strncmp((const char*)key1, (const char*)key2,
78 result = compare_integral(strnlen((const char*)key1, length1),
/haiku-fatelf/headers/private/file_systems/
H A DQueryParserUtils.h40 int compareKeys(uint32 type, const void* key1, size_t length1,
/haiku-fatelf/src/add-ons/kernel/file_systems/btrfs/
H A DBPlusTree.cpp65 BPlusTree::_CompareKeys(struct btrfs_key &key1, struct btrfs_key &key2) argument
67 if (key1.ObjectID() > key2.ObjectID())
69 if (key1.ObjectID() < key2.ObjectID())
71 if (key1.Type() > key2.Type())
73 if (key1.Type() < key2.Type())
75 if (key1.Offset() > key2.Offset())
77 if (key1.Offset() < key2.Offset())
H A DBPlusTree.h63 int32 _CompareKeys(struct btrfs_key &key1,
/haiku-fatelf/src/system/boot/loader/file_systems/bfs/
H A DBPlusTree.cpp260 BPlusTree::CompareKeys(const void *key1, int keyLength1, const void *key2, int keyLength2) argument
287 return compareKeys(type, key1, keyLength1, key2, keyLength2);
817 BFS::compareKeys(type_code type, const void *key1, int keyLength1, const void *key2, int keyLength2) argument
820 if (key1 == NULL || key2 == NULL)
828 int result = strncmp((const char *)key1, (const char *)key2, len);
831 && !(((const char *)key1)[len] == '\0' && ((const char *)key2)[len] == '\0'))
839 return *(int32 *)key1 - *(int32 *)key2;
843 if (*(uint32 *)key1 == *(uint32 *)key2)
845 else if (*(uint32 *)key1 > *(uint32 *)key2)
852 if (*(int64 *)key1
[all...]
H A DBPlusTree.h194 int32 CompareKeys(const void *key1, int keylength1, const void *key2, int keylength2);
216 extern int32 compareKeys(type_code type, const void *key1, int keyLength1,
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DAttributeIndexImpl.cpp33 compare_keys(const uint8 *key1, size_t length1, const uint8 *key2, argument
38 return compare_integral(*(int32*)key1, *(int32*)key2);
40 return compare_integral(*(uint32*)key1, *(uint32*)key2);
42 return compare_integral(*(int64*)key1, *(int64*)key2);
44 return compare_integral(*(uint64*)key1, *(uint64*)key2);
46 return compare_integral(*(float*)key1, *(float*)key2);
48 return compare_integral(*(double*)key1, *(double*)key2);
51 int result = strncmp((const char*)key1, (const char*)key2,
54 result = compare_integral(strnlen((const char*)key1, length1),
H A DQuery.cpp165 compare_keys(const uint8 *key1, size_t length1, const uint8 *key2, argument
170 return compare_integral(*(int32*)key1, *(int32*)key2);
172 return compare_integral(*(uint32*)key1, *(uint32*)key2);
174 return compare_integral(*(int64*)key1, *(int64*)key2);
176 return compare_integral(*(uint64*)key1, *(uint64*)key2);
178 return compare_integral(*(float*)key1, *(float*)key2);
180 return compare_integral(*(double*)key1, *(double*)key2);
183 int result = strncmp((const char*)key1, (const char*)key2,
186 result = compare_integral(strnlen((const char*)key1, length1),
198 compareKeys(uint32 type, const uint8 *key1, size_ argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DAttributeIndexImpl.cpp33 compare_keys(const uint8 *key1, size_t length1, const uint8 *key2, argument
38 return compare_integral(*(int32*)key1, *(int32*)key2);
40 return compare_integral(*(uint32*)key1, *(uint32*)key2);
42 return compare_integral(*(int64*)key1, *(int64*)key2);
44 return compare_integral(*(uint64*)key1, *(uint64*)key2);
46 return compare_integral(*(float*)key1, *(float*)key2);
48 return compare_integral(*(double*)key1, *(double*)key2);
51 int result = strncmp((const char*)key1, (const char*)key2,
54 result = compare_integral(strnlen((const char*)key1, length1),
H A DQuery.cpp152 compare_keys(const uint8 *key1, size_t length1, const uint8 *key2, argument
157 return compare_integral(*(int32*)key1, *(int32*)key2);
159 return compare_integral(*(uint32*)key1, *(uint32*)key2);
161 return compare_integral(*(int64*)key1, *(int64*)key2);
163 return compare_integral(*(uint64*)key1, *(uint64*)key2);
165 return compare_integral(*(float*)key1, *(float*)key2);
167 return compare_integral(*(double*)key1, *(double*)key2);
170 int result = strncmp((const char*)key1, (const char*)key2,
173 result = compare_integral(strnlen((const char*)key1, length1),
185 compareKeys(uint32 type, const uint8 *key1, size_ argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_keycache.c160 uint32_t key0, key1, key2, key3, key4; local
216 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff;
239 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1);
290 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
293 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_keycache.c112 uint32_t key0, key1, key2, key3, key4; local
136 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff;
150 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_keycache.c119 uint32_t key0, key1, key2, key3, key4; local
157 key1 = (LE_READ_2(k->kv_val+4) ^ xorMask) & 0xffff;
172 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/haiku-fatelf/src/kits/network/libbind/dst/
H A Ddst_api.c190 * key1, key2 Two keys to be compared.
197 dst_compare_keys(const DST_KEY *key1, const DST_KEY *key2) argument
199 if (key1 == key2)
201 if (key1 == NULL || key2 == NULL)
203 if (key1->dk_alg != key2->dk_alg)
205 if (key1->dk_key_size != key2->dk_key_size)
207 if (key1->dk_id != key2->dk_id)
209 return (key1->dk_func->compare(key1, key2));
H A Ddst_internal.h86 int (*compare)(const DST_KEY *key1, const DST_KEY *key2);
H A Dhmac_link.c415 dst_hmac_md5_compare_keys(const DST_KEY *key1, const DST_KEY *key2) argument
417 HMAC_Key *hkey1 = (HMAC_Key *) key1->dk_KEY_struct;
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp490 int32 BPlusTree::CompareKeys(const void *key1, int keyLength1, const void *key2, int keyLength2) argument
497 int result = strncmp((const char *)key1,(const char *)key2,len);
506 return *(int32 *)key1 - *(int32 *)key2;
510 if (*(uint32 *)key1 == *(uint32 *)key2)
512 else if (*(uint32 *)key1 > *(uint32 *)key2)
520 if (*(int64 *)key1 == *(int64 *)key2)
522 else if (*(int64 *)key1 > *(int64 *)key2)
530 if (*(uint64 *)key1 == *(uint64 *)key2)
532 else if (*(uint64 *)key1 > *(uint64 *)key2)
540 float result = *(float *)key1
[all...]
H A DBPlusTree.h151 int32 CompareKeys(const void *key1, int keylength1, const void *key2, int keylength2);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DBPlusTree.cpp500 BPlusTree::CompareKeys(const void *key1, int keyLength1, const void *key2, int keyLength2) argument
526 return compareKeys(type, key1, keyLength1, key2, keyLength2);
2058 compareKeys(type_code type, const void *key1, int keyLength1, const void *key2, int keyLength2) argument
2061 if (key1 == NULL || key2 == NULL) {
2068 if (key1 == NULL && key2 != NULL)
2070 else if (key2 == NULL && key1 != NULL)
2080 int result = strncmp((const char *)key1, (const char *)key2, len);
2083 && !(((const char *)key1)[len] == '\0' && ((const char *)key2)[len] == '\0'))
2091 return *(int32 *)key1 - *(int32 *)key2;
2095 if (*(uint32 *)key1
[all...]
H A DBPlusTree.h220 int32 CompareKeys(const void *key1, int keylength1, const void *key2, int keylength2);
261 extern int32 compareKeys(type_code type, const void *key1, int keyLength1,
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp950 BPlusTree::_CompareKeys(const void* key1, int keyLength1, const void* key2, argument
977 return compareKeys(type, key1, keyLength1, key2, keyLength2);
3044 compareKeys(type_code type, const void* key1, int keyLength1, argument
3048 if (key1 == NULL || key2 == NULL) {
3051 if (key1 == NULL && key2 != NULL)
3053 if (key2 == NULL && key1 != NULL)
3062 int result = memcmp(key1, key2, min_c(keyLength1, keyLength2));
3066 && ((uint8*)key1)[keyLength2] == '\0')
3079 return *(int32*)key1 - *(int32*)key2;
3083 if (*(uint32*)key1
[all...]
H A DBPlusTree.h267 int32 _CompareKeys(const void* key1, int keylength1,
333 extern int32 compareKeys(type_code type, const void* key1, int keyLength1,
/haiku-fatelf/src/bin/gdb/gdb/
H A Dmacrotab.c322 struct macro_key *key1 = (struct macro_key *) untyped_key1;
325 return key_compare (key1, key2->name, key2->start_file, key2->start_line);
319 struct macro_key *key1 = (struct macro_key *) untyped_key1; local
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c2267 static int ntfs_index_keys_compare(u8 *key1, u8 *key2, int key1_length, argument
2275 u1 = le32_to_cpup((const le32*)key1);
2288 u1 = le32_to_cpup((const le32*)(key1 + i));
2305 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->hash);
2312 u1 = le32_to_cpu(((SDH_INDEX_KEY*)key1)->security_id);
2322 i = memcmp(key1, key2, min(key1_length, key2_length));

Completed in 186 milliseconds