Home
last modified time | relevance | path

Searched refs:newfunc (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Objects/
Dfuncobject.c551 PyFunctionObject *newfunc; in func_new_impl() local
599 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code, in func_new_impl()
601 if (newfunc == NULL) { in func_new_impl()
606 Py_SETREF(newfunc->func_name, name); in func_new_impl()
610 newfunc->func_defaults = defaults; in func_new_impl()
614 newfunc->func_closure = closure; in func_new_impl()
617 return (PyObject *)newfunc; in func_new_impl()
Dcellobject.c195 (newfunc)cell_new, /* tp_new */
Dnamespaceobject.c241 (newfunc)namespace_new, /* tp_new */
Dexceptions.c960 type->tp_new == (newfunc) OSError_new) { in oserror_use_init()
/third_party/python/Lib/
Dpstats.py285 newfunc = func_strip_path(func)
286 if len(func_std_string(newfunc)) > max_name_len:
287 max_name_len = len(func_std_string(newfunc))
292 if newfunc in newstats:
293 newstats[newfunc] = add_func_stats(
294 newstats[newfunc],
297 newstats[newfunc] = (cc, nc, tt, ct, newcallers)
/third_party/python/Doc/includes/
Dtypestruct.h68 newfunc tp_new;
/third_party/python/Doc/library/
Dfunctools.rst314 def newfunc(*fargs, **fkeywords):
317 newfunc.func = func
318 newfunc.args = args
319 newfunc.keywords = keywords
320 return newfunc
/third_party/python/Include/cpython/
Dobject.h258 newfunc tp_new;
/third_party/python/Include/
Dobject.h214 typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *); typedef
/third_party/ltp/scripts/
Dcheckpatch.pl7006 my $newfunc = "kmalloc_array";
7007 $newfunc = "kcalloc" if ($oldfunc eq "kzalloc");
7020 "Prefer $newfunc over $oldfunc with multiply\n" . $herectx) &&
7023 …rens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)/$1 . ' = ' . "$newfunc(" . trim($r1) . '…
/third_party/python/Doc/data/
Dstable_abi.dat847 type,newfunc,3.2,
/third_party/python/Doc/c-api/
Dtypeobj.rst126 …| :c:member:`~PyTypeObject.tp_new` | :c:type:`newfunc` | __new__ …
348 | :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * |
1814 .. c:member:: newfunc PyTypeObject.tp_new
2494 .. c:type:: PyObject *(*newfunc)(PyObject *, PyObject *, PyObject *)
/third_party/python/Misc/
Dstable_abi.txt258 typedef newfunc
DHISTORY2762 __new__ are always of type newfunc, the type of the tp_new slot.
/third_party/python/Modules/
D_testcapimodule.c1097 newfunc tp_new = PyType_GetSlot(&PyLong_Type, Py_tp_new); in test_get_statictype_slots()
Dposixmodule.c2270 static newfunc structseq_new;