Home
last modified time | relevance | path

Searched refs:cmpfn (Results 1 – 25 of 204) sorted by relevance

123456789

/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dtypesafe.c192 int (*cmpfn)(const struct sskip_item *a, in typesafe_skiplist_add()
211 cmpval = cmpfn(next, item); in typesafe_skiplist_add()
253 while (next && cmpfn(next, item) < 0) { in typesafe_skiplist_add()
282 cmpval = cmpfn(next, item); in typesafe_skiplist_find()
310 cmpval = cmpfn(next, item); in typesafe_skiplist_find_gteq()
338 cmpval = cmpfn(next, item); in typesafe_skiplist_find_lt()
370 cmpval = cmpfn(next, item); in typesafe_skiplist_del()
488 int (*cmpfn)(const struct heap_item *a, in typesafe_heap_pushdown()
541 heap_consistency_check(head, cmpfn, 0); in typesafe_heap_pushdown()
546 int (*cmpfn)(const struct heap_item *a, in typesafe_heap_pullup()
[all …]
H A Dtyperb.h43 int (*cmpfn)(
50 int (*cmpfn)(
55 int (*cmpfn)(
60 int (*cmpfn)(
147 #define DECLARE_RBTREE_UNIQ(prefix, type, field, cmpfn) \ argument
152 return cmpfn(container_of(a, type, field.re), \
169 #define DECLARE_RBTREE_NONUNIQ(prefix, type, field, cmpfn) \ argument
174 return cmpfn(container_of(a, type, field.re), \
180 int cmpval = cmpfn(container_of(a, type, field.re), \
H A Dtypesafe.h340 return cmpfn(container_of(a, type, field.hi), \
359 if (cmpfn(container_of(other, type, field.hi), item) < 0) \
410 int (*cmpfn)(const struct heap_item *a,
414 int (*cmpfn)(const struct heap_item *a,
543 _DECLARE_SORTLIST(prefix, type, field, cmpfn, cmpfn) \
665 if (!cmpfn(container_of(hitem, type, field.hi), item)) \
898 struct sskip_item *item, int (*cmpfn)(
903 const struct sskip_item *item, int (*cmpfn)(
908 const struct sskip_item *item, int (*cmpfn)(
913 const struct sskip_item *item, int (*cmpfn)(
[all …]
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dtypesafe.c192 int (*cmpfn)(const struct sskip_item *a, in typesafe_skiplist_add()
211 cmpval = cmpfn(next, item); in typesafe_skiplist_add()
253 while (next && cmpfn(next, item) < 0) { in typesafe_skiplist_add()
282 cmpval = cmpfn(next, item); in typesafe_skiplist_find()
310 cmpval = cmpfn(next, item); in typesafe_skiplist_find_gteq()
338 cmpval = cmpfn(next, item); in typesafe_skiplist_find_lt()
370 cmpval = cmpfn(next, item); in typesafe_skiplist_del()
488 int (*cmpfn)(const struct heap_item *a, in typesafe_heap_pushdown()
541 heap_consistency_check(head, cmpfn, 0); in typesafe_heap_pushdown()
546 int (*cmpfn)(const struct heap_item *a, in typesafe_heap_pullup()
[all …]
H A Dtyperb.h43 int (*cmpfn)(
50 int (*cmpfn)(
55 int (*cmpfn)(
60 int (*cmpfn)(
147 #define DECLARE_RBTREE_UNIQ(prefix, type, field, cmpfn) \ argument
152 return cmpfn(container_of(a, type, field.re), \
169 #define DECLARE_RBTREE_NONUNIQ(prefix, type, field, cmpfn) \ argument
174 return cmpfn(container_of(a, type, field.re), \
180 int cmpval = cmpfn(container_of(a, type, field.re), \
H A Dtypesafe.h340 return cmpfn(container_of(a, type, field.hi), \
359 if (cmpfn(container_of(other, type, field.hi), item) < 0) \
410 int (*cmpfn)(const struct heap_item *a,
414 int (*cmpfn)(const struct heap_item *a,
543 _DECLARE_SORTLIST(prefix, type, field, cmpfn, cmpfn) \
665 if (!cmpfn(container_of(hitem, type, field.hi), item)) \
898 struct sskip_item *item, int (*cmpfn)(
903 const struct sskip_item *item, int (*cmpfn)(
908 const struct sskip_item *item, int (*cmpfn)(
913 const struct sskip_item *item, int (*cmpfn)(
[all …]
/dports/devel/bglibs/bglibs-2.04/pwcmp/
H A Dclient.c31 static pwcmpfn cmpfn; variable
97 cmpfn = pwcmp_plain; in pwcmp_start()
99 cmpfn = pwcmp_crypt; in pwcmp_start()
101 cmpfn = pwcmp_pipe; in pwcmp_start()
109 if (!cmpfn) return -1; in pwcmp_check()
110 return cmpfn(plaintext, encoded); in pwcmp_check()
115 if (cmpfn == pwcmp_pipe) { in pwcmp_stop()
120 cmpfn = 0; in pwcmp_stop()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/compiler-rt/lib/asan/tests/
H A Dasan_mem_test.cpp212 template <int (*cmpfn)(const void *, const void *, size_t)>
218 Ident(cmpfn(s1, s2, size)); in CmpOOBTestCommon()
219 Ident(cmpfn(s1 + size - 1, s2 + size - 1, 1)); in CmpOOBTestCommon()
220 Ident(cmpfn(s1 - 1, s2 - 1, 0)); in CmpOOBTestCommon()
222 EXPECT_DEATH(Ident(cmpfn)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
223 EXPECT_DEATH(Ident(cmpfn)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in CmpOOBTestCommon()
224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon()
232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
[all …]
/dports/mail/avenger/avenger-0.8.5/libasync/
H A Ditree.h44 #define itree_check(r, os, cmpfn) __itree_check(r, os, cmpfn) argument
46 #define itree_check(r, os, cmpfn) argument
91 #define cmpfn scmp, (void *) this macro
154 itree_insert (&rb_root, (oc) n, eos, cmpfn); in insert()
155 itree_check (&rb_root, eos, cmpfn); in insert()
159 itree_check (&rb_root, eos, cmpfn); in remove()
218 #undef cmpfn
H A Ditree.C133 int (*cmpfn) (void *, oc, oc), void *cmparg) in itree_insert()
141 cmpres = cmpfn (cmparg, z, x); in itree_insert()
303 int (*cmpfn) (void *, oc, oc), void *cmparg) in itree_check_node()
329 assert (!low || cmpfn (cmparg, low, x) <= 0); in itree_check_node()
330 assert (!high || cmpfn (cmparg, x, high) <= 0); in itree_check_node()
332 itree_check_node (l, low, x, bd, lbd, os, cmpfn, cmparg); in itree_check_node()
333 itree_check_node (r, x, high, bd, lbd, os, cmpfn, cmparg); in itree_check_node()
338 int (*cmpfn) (void *, oc, oc), void *cmparg) in __itree_check()
351 itree_check_node (*r, NULL, NULL, -1, lbd, os, cmpfn, cmparg); in __itree_check()
/dports/lang/gauche/Gauche-0.9.10/src/gauche/
H A Dhash.h73 ScmHashCompareProc *cmpfn; member
84 ScmHashCompareProc *cmpfn,
90 ScmHashCompareProc **cmpfn);
158 ScmHashCompareProc *cmpfn,
202 ScmHashCompareProc *cmpfn,
/dports/devel/git-gui/git-2.34.1/
H A Doidmap.c35 if (!map->map.cmpfn) in oidmap_get()
45 if (!map->map.cmpfn) in oidmap_remove()
56 if (!map->map.cmpfn) in oidmap_put()
/dports/devel/git-p4/git-2.34.1/
H A Doidmap.c35 if (!map->map.cmpfn) in oidmap_get()
45 if (!map->map.cmpfn) in oidmap_remove()
56 if (!map->map.cmpfn) in oidmap_put()
/dports/devel/git-svn/git-2.34.1/
H A Doidmap.c35 if (!map->map.cmpfn) in oidmap_get()
45 if (!map->map.cmpfn) in oidmap_remove()
56 if (!map->map.cmpfn) in oidmap_put()
/dports/devel/git/git-2.34.1/
H A Doidmap.c35 if (!map->map.cmpfn) in oidmap_get()
45 if (!map->map.cmpfn) in oidmap_remove()
56 if (!map->map.cmpfn) in oidmap_put()

123456789