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

1234567891011

/freebsd-current/sys/contrib/ck/include/gcc/sparcv9/
H A Dck_pr.h155 ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *value) argument
161 "r" (compare)
165 return (compare == set);
169 ck_pr_cas_64(uint64_t *target, uint64_t compare, uint64_t set) argument
175 "r" (compare)
178 return (compare == set);
182 ck_pr_cas_ptr(void *target, void *compare, void *set) argument
185 return ck_pr_cas_64(target, (uint64_t)compare, (uint64_t)set);
189 ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *previous) argument
192 return ck_pr_cas_64_value(target, (uint64_t)compare, (uint64_
[all...]
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dstore-test.c48 compare(const char *name, krb5_storage *sp, void *expected, size_t len) function
80 nerr += compare("Integer", sp, "\x1\x2\x3\x4", 4);
85 nerr += compare("Integer (LE)", sp, "\x4\x3\x2\x1", 4);
90 nerr += compare("Integer (BE)", sp, "\x1\x2\x3\x4", 4);
102 nerr += compare("Integer (host)", sp, data, 4);
109 nerr += compare("Principal", sp, "\x0\x0\x0\x1"
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPriorityQueue.h30 explicit PriorityQueue(const Compare &compare = Compare(),
32 : std::priority_queue<T, Sequence, Compare>(compare, sequence)
37 const Compare &compare = Compare(),
39 : std::priority_queue<T, Sequence, Compare>(begin, end, compare, sequence)
H A DAPFixedPoint.h245 int compare(const APFixedPoint &Other) const;
247 return compare(Other) == 0;
250 return compare(Other) != 0;
252 bool operator>(const APFixedPoint &Other) const { return compare(Other) > 0; }
253 bool operator<(const APFixedPoint &Other) const { return compare(Other) < 0; }
255 return compare(Other) >= 0;
258 return compare(Other) <= 0;
/freebsd-current/sys/contrib/ck/include/gcc/aarch64/
H A Dck_pr_lse.h38 ck_pr_cas_64_2_value(uint64_t target[2], uint64_t compare[2], uint64_t set[2], uint64_t value[2]) argument
42 register uint64_t x0 __asm__ ("x0") = compare[0];
43 register uint64_t x1 __asm__ ("x1") = compare[1];
52 : "r" (x2), "r" (x3), "r" (target), "r" (compare[0]), "r" (compare[1])
62 ck_pr_cas_ptr_2_value(void *target, void *compare, void *set, void *value) argument
65 CK_CPP_CAST(uint64_t *, compare),
71 ck_pr_cas_64_2(uint64_t target[2], uint64_t compare[2], uint64_t set[2]) argument
73 register uint64_t x0 __asm__ ("x0") = compare[0];
74 register uint64_t x1 __asm__ ("x1") = compare[
89 ck_pr_cas_ptr_2(void *target, void *compare, void *set) argument
[all...]
H A Dck_pr_llsc.h36 ck_pr_cas_64_2_value(uint64_t target[2], uint64_t compare[2], uint64_t set[2], uint64_t value[2]) argument
54 : "r" (target), "r" (compare[0]), "r" (compare[1]), "r" (set[0]), "r" (set[1])
61 ck_pr_cas_ptr_2_value(void *target, void *compare, void *set, void *value) argument
64 CK_CPP_CAST(uint64_t *, compare),
70 ck_pr_cas_64_2(uint64_t target[2], uint64_t compare[2], uint64_t set[2]) argument
86 : "r" (target), "r" (compare[0]), "r" (compare[1]), "r" (set[0]), "r" (set[1])
92 ck_pr_cas_ptr_2(void *target, void *compare, void *set) argument
95 CK_CPP_CAST(uint64_t *, compare),
[all...]
/freebsd-current/sys/contrib/ck/include/gcc/ppc64/
H A Dck_pr.h153 ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *value) argument
167 "r" (compare)
171 return (previous == compare);
175 ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *value) argument
189 "r" (compare)
193 return (previous == compare);
197 ck_pr_cas_64(uint64_t *target, uint64_t compare, uint64_t set) argument
211 "r" (compare)
214 return (previous == compare);
218 ck_pr_cas_ptr(void *target, void *compare, voi argument
[all...]
/freebsd-current/usr.sbin/makefs/zfs/
H A DMakefile.inc13 CWARNFLAGS.zap.c+= -Wno-sign-compare
/freebsd-current/usr.sbin/makefs/ffs/
H A DMakefile.inc8 CWARNFLAGS.ffs_balloc.c+= -Wno-sign-compare
/freebsd-current/sys/contrib/ck/include/gcc/arm/
H A Dck_pr.h212 ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
226 : "r" (compare), "r" (set) , \
230 return (*value == compare); \
241 ck_pr_cas_ptr_2_value(void *target, void *compare, void *set, void *value) argument
243 uint32_t *_compare = CK_CPP_CAST(uint32_t *, compare);
256 ck_pr_cas_##N(T *target, T compare, T set) \
272 : "r" (compare), "r" (set) , \
285 ck_pr_cas_ptr_2(void *target, void *compare, void *set) argument
287 uint32_t *_compare = CK_CPP_CAST(uint32_t *, compare);
299 ck_pr_cas_ptr_value(void *target, void *compare, voi argument
320 ck_pr_cas_ptr(void *target, void *compare, void *set) argument
[all...]
/freebsd-current/contrib/libucl/src/
H A Dtree.h122 (struct node *self, struct node *elm, int (*compare)(struct node *lhs, struct node *rhs)) \
126 if (compare(elm, self) < 0) \
127 self->field.avl_left= TREE_INSERT_##node##_##field(self->field.avl_left, elm, compare); \
129 self->field.avl_right= TREE_INSERT_##node##_##field(self->field.avl_right, elm, compare); \
134 (struct node *self, struct node *elm, int (*compare)(struct node *lhs, struct node *rhs)) \
138 if (compare(elm, self) == 0) \
140 if (compare(elm, self) < 0) \
141 return TREE_FIND_##node##_##field(self->field.avl_left, elm, compare); \
143 return TREE_FIND_##node##_##field(self->field.avl_right, elm, compare); \
155 (struct node *self, struct node *elm, int (*compare)(struc
[all...]
/freebsd-current/tests/sys/sys/
H A Dsplay_test.c43 compare(struct node *a, struct node *b) function
50 SPLAY_PROTOTYPE(tree, node, node, compare);
52 SPLAY_GENERATE(tree, node, node, compare);
H A Drb_test.c44 compare(struct node *a, struct node *b) function
51 RB_PROTOTYPE(tree, node, node, compare);
53 RB_GENERATE(tree, node, node, compare);
H A Darb_test.c45 compare(const struct node *a, const struct node *b) function
52 ARB_PROTOTYPE(tree, node, next, compare);
54 ARB_GENERATE(tree, node, next, compare);
/freebsd-current/contrib/mtree/
H A DMakefile10 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c specspec.c \
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineModuleInfoImpls.cpp32 return LHS->first->getName().compare(RHS->first->getName());
/freebsd-current/libexec/bootpd/
H A Dhash.c180 hash_Exists(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare,
187 if ((*compare) (key, memberptr->data)) {
200 * to determine the bucket number, and "compare" and "key" to determine
209 hash_Insert(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare,
215 if (hash_Exists(hashtable, hashcode, compare, key)) {
238 hash_Delete(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare,
254 while (memberptr && (*compare) (key, memberptr->data)) {
273 if ((*compare) (key, memberptr->data)) {
301 hash_Lookup(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare,
308 if ((*compare) (ke
176 hash_Exists(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, hash_datum *key) argument
204 hash_Insert(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, hash_datum *key, hash_datum *element) argument
232 hash_Delete(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, hash_datum *key, hash_freefp free_data) argument
294 hash_Lookup(hash_tbl *hashtable, unsigned hashcode, hash_cmpfp compare, hash_datum *key) argument
[all...]
/freebsd-current/sys/contrib/ck/include/gcc/
H A Dck_pr.h154 * Atomic compare and swap.
158 ck_pr_cas_##S(M *target, T compare, T set) \
161 z = __sync_bool_compare_and_swap((T *)target, compare, set); \
184 ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *v) argument
186 set = __sync_val_compare_and_swap((void **)target, compare, set);
188 return (set == compare);
193 ck_pr_cas_##S##_value(T *target, T compare, T set, T *v) \
195 set = __sync_val_compare_and_swap(target, compare, set);\
197 return (set == compare); \
/freebsd-current/crypto/openssl/crypto/property/
H A Dproperty_query.c14 static int property_idx_cmp(const void *keyp, const void *compare) argument
18 (const OSSL_PROPERTY_DEFINITION *)compare;
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcoroutine.inc18 // [coroutine.handle.compare], comparison operators
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DFunctionId.h82 /// as StringRef::compare. If one of them is StringRef, it is considered
85 int compare(const FunctionId &Other) const { function in class:llvm::sampleprof::FunctionId
144 return LHS.compare(RHS) < 0;
148 return LHS.compare(RHS) <= 0;
152 return LHS.compare(RHS) > 0;
156 return LHS.compare(RHS) >= 0;
/freebsd-current/contrib/bmake/mk/
H A Dinstall-sh25 # -C compare. Only install if target is missing or
86 compare=:
100 -C) compare=Different;;
224 $compare $f $t || continue
/freebsd-current/contrib/bmake/
H A Dinstall-sh25 # -C compare. Only install if target is missing or
86 compare=:
100 -C) compare=Different;;
224 $compare $f $t || continue
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAtomic.cpp57 # error No compare-and-swap implementation for your platform!
/freebsd-current/usr.bin/top/
H A Dmachine.h96 int (*compare)(const void *, const void *));

Completed in 249 milliseconds

1234567891011