Home
last modified time | relevance | path

Searched refs:cmp_fn (Results 1 – 7 of 7) sorted by relevance

/third_party/iowow/src/utils/
Diwhmap.c30 int (*cmp_fn)(const void *, const void *); member
109 IWHMAP *iwhmap_create(int (*cmp_fn)(const void *, const void *), in iwhmap_create()
116 if (!cmp_fn) { in iwhmap_create()
117 cmp_fn = _ptr_cmp; in iwhmap_create()
132 hm->cmp_fn = cmp_fn; in iwhmap_create()
167 if (hash == entry->hash && hm->cmp_fn(key, entry->key) == 0) { in _entry_find()
194 if (hash == entry->hash && hm->cmp_fn(key, entry->key) == 0) { in _entry_add()
Diwhmap.h55 IW_EXPORT IWHMAP *iwhmap_create(int (*cmp_fn)(const void *, const void *),
/third_party/gstreamer/gstreamer/gst/
Dgsturi.c1091 _gst_uri_compare_lists (GList * first, GList * second, GCompareFunc cmp_fn) in _gst_uri_compare_lists() argument
1102 result = cmp_fn (itr1->data, itr2->data); in _gst_uri_compare_lists()
1775 #define GST_URI_NORMALIZED_CMP_LIST(field, norm_fn, copy_fn, cmp_fn, free_fn) \ in gst_uri_equal() argument
1780 result = _gst_uri_compare_lists (first_norm_list, second_norm_list, (GCompareFunc) cmp_fn); \ in gst_uri_equal()
/third_party/mindspore/mindspore/_extends/parse/
Dstandard_method.py631 return compile_utils.reduce_(x, P.ReduceMax(keepdims), cmp_fn=F.maximum,
676 return compile_utils.reduce_(x, P.ReduceMin(keepdims), cmp_fn=F.minimum,
/third_party/mindspore/mindspore/common/
Dtensor.py1008 return reduce_(self, reduce_max(keepdims), cmp_fn=maximum(), axis=axis, keepdims=keepdims,
1054 return reduce_(self, reduce_min(keepdims), cmp_fn=minimum(), axis=axis, keepdims=keepdims,
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
D_compile_utils.py945 def reduce_(a, reduce_fn, cmp_fn=None, axis=None, keepdims=False, initial=None, where=True, dtype=N… argument
969 a = cmp_fn(a, initial)
/third_party/mindspore/mindspore/numpy/
Dmath_ops.py2427 def _reduce(a, reduce_fn, cmp_fn=None, axis=None, keepdims=False, initial=None, where=True, dtype=N… argument
2454 if cmp_fn is None:
2462 a = cmp_fn(a, initial)