Home
last modified time | relevance | path

Searched refs:copyfunc (Results 1 – 2 of 2) sorted by relevance

/external/libcups/cups/
Darray.c60 cups_acopy_func_t copyfunc; /* Copy function */ member
403 if (a->copyfunc) in cupsArrayDup()
412 da->elements[i] = (a->copyfunc)(a->elements[i], a->data); in cupsArrayDup()
774 a->copyfunc = cf; in cupsArrayNew3()
1166 if (a->copyfunc) in cups_array_add()
1168 if ((a->elements[current] = (a->copyfunc)(e, a->data)) == NULL) in cups_array_add()
/external/python/cpython3/Modules/
Ditertoolsmodule.c813 PyObject *it, *iterable, *copyable, *copyfunc, *result; in tee() local
833 if (_PyObject_LookupAttrId(it, &PyId___copy__, &copyfunc) < 0) { in tee()
838 if (copyfunc != NULL) { in tee()
848 copyfunc = _PyObject_GetAttrId(copyable, &PyId___copy__); in tee()
849 if (copyfunc == NULL) { in tee()
858 copyable = _PyObject_CallNoArg(copyfunc); in tee()
860 Py_DECREF(copyfunc); in tee()
866 Py_DECREF(copyfunc); in tee()