Lines Matching refs:key1
116 static int befs_compare_strings(const void *key1, int keylen1,
715 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument
719 int result = strncmp(key1, key2, len); in befs_compare_strings()
728 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
730 return *(int32_t *) key1 - *(int32_t *) key2;
734 btree_compare_uint32(cont void *key1, int keylen1,
737 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
739 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
745 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
747 if (*(int64_t *) key1 == *(int64_t *) key2)
749 else if (*(int64_t *) key1 > *(int64_t *) key2)
756 btree_compare_uint64(cont void *key1, int keylen1,
759 if (*(u_int64_t *) key1 == *(u_int64_t *) key2)
761 else if (*(u_int64_t *) key1 > *(u_int64_t *) key2)
768 btree_compare_float(cont void *key1, int keylen1, const void *key2, int keylen2)
770 float result = *(float *) key1 - *(float *) key2;
778 btree_compare_double(cont void *key1, int keylen1,
781 double result = *(double *) key1 - *(double *) key2;