Searched refs:cmp_func (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/ctypes/test/ |
D | test_callbacks.py | 187 def cmp_func(a, b): function 192 libc.qsort(array, len(array), sizeof(c_int), cmp_func)
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_callbacks.py | 193 def cmp_func(a, b): function 198 libc.qsort(array, len(array), sizeof(c_int), cmp_func)
|
/external/boringssl/src/include/openssl/ |
D | stack.h | 297 stack_cmp_func cmp_func, const void **a, const void **b) { \ 300 return ((stack_##name##_cmp_func)cmp_func)(&a_ptr, &b_ptr); \
|
/external/mesa3d/src/compiler/nir/ |
D | nir_instr_set.c | 488 cmp_func(const void *data1, const void *data2) in cmp_func() function 496 return _mesa_set_create(mem_ctx, hash_instr, cmp_func); in nir_instr_set_create()
|
/external/python/cpython2/Objects/ |
D | classobject.c | 1673 PyObject *cmp_func; in half_cmp() local 1685 cmp_func = PyObject_GetAttr(v, cmp_obj); in half_cmp() 1686 if (cmp_func == NULL) { in half_cmp() 1695 Py_DECREF(cmp_func); in half_cmp() 1699 result = PyEval_CallObject(cmp_func, args); in half_cmp() 1701 Py_DECREF(cmp_func); in half_cmp()
|
/external/libexif/libexif/ |
D | exif-data.c | 490 cmp_func (const unsigned char *p1, const unsigned char *p2, ExifByteOrder o) in cmp_func() function 501 return cmp_func ((const unsigned char *) elem1, in cmp_func_intel() 508 return cmp_func ((const unsigned char *) elem1, in cmp_func_motorola()
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 986 >>> cmp_func = CMPFUNC(py_cmp_func) 991 >>> qsort(ia, len(ia), sizeof(c_int), cmp_func) # doctest: +WINDOWS 1010 >>> cmp_func = CMPFUNC(py_cmp_func) 1015 >>> qsort(ia, len(ia), sizeof(c_int), cmp_func) # doctest: +WINDOWS 1031 >>> qsort(ia, len(ia), sizeof(c_int), cmp_func) # doctest: +LINUX
|
/external/python/cpython3/Doc/library/ |
D | ctypes.rst | 993 >>> cmp_func = CMPFUNC(py_cmp_func) 998 >>> qsort(ia, len(ia), sizeof(c_int), cmp_func) # doctest: +LINUX
|