Lines Matching refs:key1
119 static int befs_compare_strings(const void *key1, int keylen1,
712 befs_compare_strings(const void *key1, int keylen1, in befs_compare_strings() argument
716 int result = strncmp(key1, key2, len); in befs_compare_strings()
725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2)
727 return *(int32_t *) key1 - *(int32_t *) key2;
731 btree_compare_uint32(cont void *key1, int keylen1,
734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2)
736 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2)
742 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2)
744 if (*(int64_t *) key1 == *(int64_t *) key2)
746 else if (*(int64_t *) key1 > *(int64_t *) key2)
753 btree_compare_uint64(cont void *key1, int keylen1,
756 if (*(u_int64_t *) key1 == *(u_int64_t *) key2)
758 else if (*(u_int64_t *) key1 > *(u_int64_t *) key2)
765 btree_compare_float(cont void *key1, int keylen1, const void *key2, int keylen2)
767 float result = *(float *) key1 - *(float *) key2;
775 btree_compare_double(cont void *key1, int keylen1,
778 double result = *(double *) key1 - *(double *) key2;