Home
last modified time | relevance | path

Searched refs:compare_func (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-sort.c31 ecma_value_t compare_func, /**< compare function */ in ecma_builtin_helper_array_to_heap() argument
46 … ECMA_TRY_CATCH (child_compare_value, sort_cb (array_p[child], array_p[child + 1], compare_func), in ecma_builtin_helper_array_to_heap()
65 ECMA_TRY_CATCH (swap_compare_value, sort_cb (array_p[child], swap, compare_func), ret_value); in ecma_builtin_helper_array_to_heap()
113 ecma_value_t compare_func, /**< compare function */ in ecma_builtin_helper_array_heap_sort_helper() argument
122 … ecma_builtin_helper_array_to_heap (array_p, i - 1, right, compare_func, sort_cb), in ecma_builtin_helper_array_heap_sort_helper()
140 ecma_builtin_helper_array_to_heap (array_p, 0, i - 1, compare_func, sort_cb), in ecma_builtin_helper_array_heap_sort_helper()
Decma-builtin-helpers.h239 … ecma_value_t compare_func); /**< compare function */
243 ecma_value_t compare_func,
Decma-builtin-array-prototype.c1006 … ecma_value_t compare_func) /**< compare function */ in ecma_builtin_array_prototype_object_sort_compare_helper() argument
1029 if (ecma_is_value_undefined (compare_func)) in ecma_builtin_array_prototype_object_sort_compare_helper()
1067 JERRY_ASSERT (ecma_op_is_callable (compare_func)); in ecma_builtin_array_prototype_object_sort_compare_helper()
1068 ecma_object_t *comparefn_obj_p = ecma_get_object_from_value (compare_func); in ecma_builtin_array_prototype_object_sort_compare_helper()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex_shadow.c71 enum compare_func *compare_func; member
113 state->compare_func[sampler_binding] : COMPARE_FUNC_ALWAYS, in nir_lower_tex_shadow_impl()
143 enum compare_func *compare_func, in nir_lower_tex_shadow() argument
146 sampler_state state = {n_states, compare_func, tex_swizzles}; in nir_lower_tex_shadow()
Dnir_lower_alpha_test.c39 nir_lower_alpha_test(nir_shader *shader, enum compare_func func, in nir_lower_alpha_test()
/third_party/pulseaudio/src/pulsecore/
Dhashmap.c45 pa_compare_func_t compare_func; member
58 pa_hashmap *pa_hashmap_new_full(pa_hash_func_t hash_func, pa_compare_func_t compare_func, pa_free_c… in pa_hashmap_new_full() argument
64 h->compare_func = compare_func ? compare_func : pa_idxset_trivial_compare_func; in pa_hashmap_new_full()
75 pa_hashmap *pa_hashmap_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func) { in pa_hashmap_new() argument
76 return pa_hashmap_new_full(hash_func, compare_func, NULL, NULL); in pa_hashmap_new()
128 if (h->compare_func(e->key, key) == 0) in hash_scan()
Didxset.c48 pa_compare_func_t compare_func; member
83 pa_idxset* pa_idxset_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func) { in pa_idxset_new() argument
89 s->compare_func = compare_func ? compare_func : pa_idxset_trivial_compare_func; in pa_idxset_new()
154 if (s->compare_func(e->data, p) == 0) in data_scan()
465 copy = pa_idxset_new(s->hash_func, s->compare_func); in pa_idxset_copy()
Dhashmap.h35 pa_hashmap *pa_hashmap_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func);
39 pa_hashmap *pa_hashmap_new_full(pa_hash_func_t hash_func, pa_compare_func_t compare_func, pa_free_c…
Didxset.h55 pa_idxset* pa_idxset_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func);
Ddatabase-simple.c58 static int compare_func(const void *a, const void *b) { in compare_func() function
241 db->map = pa_hashmap_new_full(hash_func, compare_func, NULL, (pa_free_cb_t) free_entry); in pa_database_open_internal()
/third_party/python/Python/
Dhashtable.c141 if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) { in _Py_hashtable_get_entry_generic()
186 if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) { in _Py_hashtable_steal()
317 _Py_hashtable_compare_func compare_func, in _Py_hashtable_new_full() argument
349 ht->compare_func = compare_func; in _Py_hashtable_new_full()
354 && ht->compare_func == _Py_hashtable_compare_direct) in _Py_hashtable_new_full()
364 _Py_hashtable_compare_func compare_func) in _Py_hashtable_new() argument
366 return _Py_hashtable_new_full(hash_func, compare_func, in _Py_hashtable_new()
/third_party/python/Include/internal/
Dpycore_hashtable.h67 _Py_hashtable_compare_func compare_func; member
83 _Py_hashtable_compare_func compare_func);
87 _Py_hashtable_compare_func compare_func,
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dr500_fragprog.c127 rc_compare_func compare_func = RC_COMPARE_FUNC_NEVER; in r500_transform_IF() local
135 compare_func = RC_COMPARE_FUNC_EQUAL; in r500_transform_IF()
138 compare_func = RC_COMPARE_FUNC_NOTEQUAL; in r500_transform_IF()
144 compare_func = RC_COMPARE_FUNC_GEQUAL; in r500_transform_IF()
150 compare_func = RC_COMPARE_FUNC_LESS; in r500_transform_IF()
153 compare_func = RC_COMPARE_FUNC_NOTEQUAL; in r500_transform_IF()
163 writer->Inst->U.I.ALUResultCompare = compare_func; in r500_transform_IF()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_fs.c260 key->tex[i].compare_func = PIPE_FUNC_NEVER; in make_fs_key()
270 else if (sampler->compare_func == PIPE_FUNC_ALWAYS || in make_fs_key()
271 sampler->compare_func == PIPE_FUNC_NEVER) { in make_fs_key()
273 key->tex[i].compare_func = sampler->compare_func; in make_fs_key()
275 else if (sampler->compare_func != PIPE_FUNC_LEQUAL) { in make_fs_key()
Dsvga_pipe_sampler.c166 uint8 compare_func; in define_sampler_state_object() local
181 compare_func = translate_comparison_func(ss->compare_func); in define_sampler_state_object()
218 compare_func, in define_sampler_state_object()
251 cso->compare_func = sampler->compare_func; in svga_create_sampler_state()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c1398 … ecma_value_t compare_func) /**< compare function */ in ecma_builtin_typedarray_prototype_sort_compare_helper() argument
1403 if (ecma_is_value_undefined (compare_func)) in ecma_builtin_typedarray_prototype_sort_compare_helper()
1439 JERRY_ASSERT (ecma_op_is_callable (compare_func)); in ecma_builtin_typedarray_prototype_sort_compare_helper()
1440 ecma_object_t *comparefn_obj_p = ecma_get_object_from_value (compare_func); in ecma_builtin_typedarray_prototype_sort_compare_helper()
1489 ecma_value_t compare_func) /**< comparator fn */ in ecma_builtin_typedarray_prototype_sort() argument
1496 if (!ecma_is_value_undefined (compare_func) && !ecma_op_is_callable (compare_func)) in ecma_builtin_typedarray_prototype_sort()
1538 compare_func, in ecma_builtin_typedarray_prototype_sort()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_translate.h475 translate_texture_compare(enum pipe_compare_func compare_func) in translate_texture_compare() argument
477 switch (compare_func) { in translate_texture_compare()
Detnaviv_shader.h63 enum compare_func tex_compare_func[PIPE_MAX_SHADER_SAMPLER_VIEWS];
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.h111 enum pipe_compare_func compare_func; member
215 enum compare_func tex_compare_func[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS];
Dd3d12_compiler.h154 enum compare_func sampler_compare_funcs[PIPE_MAX_SHADER_SAMPLER_VIEWS];
/third_party/skia/third_party/externals/spirv-cross/tests-other/
Dmsl_constexpr_test.cpp104 samp.compare_func = SPVC_MSL_SAMPLER_COMPARE_FUNC_LESS; in main()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c107 A3XX_TEX_SAMP_0_COMPARE_FUNC(cso->compare_func); /* maps 1:1 */ in fd3_sampler_state_create()
/third_party/node/test/fixtures/wpt/html/webappapis/structured-clone/
Dstructured-clone-battery-of-tests.js56 function enumerate_props(compare_func, test_obj) { argument
59 compare_func(actual[x], input[x], test_obj);
/third_party/curl/lib/
Dhttp_aws_sigv4.c415 static int compare_func(const void *a, const void *b) in compare_func() function
462 qsort(&array[0], entry, sizeof(struct pair), compare_func); in canon_query()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c123 A5XX_TEX_SAMP_1_COMPARE_FUNC(cso->compare_func); /* maps 1:1 */ in fd5_sampler_state_create()

1234