Home
last modified time | relevance | path

Searched refs:newfunc (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Objects/
H A Dfuncobject.c615 PyFunctionObject *newfunc; in func_new_impl() local
662 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code, in func_new_impl()
664 if (newfunc == NULL) { in func_new_impl()
669 Py_SETREF(newfunc->func_name, name); in func_new_impl()
673 newfunc->func_defaults = defaults; in func_new_impl()
677 newfunc->func_closure = closure; in func_new_impl()
680 return (PyObject *)newfunc; in func_new_impl()
H A Dcellobject.c195 (newfunc)cell_new, /* tp_new */
H A Dnamespaceobject.c242 (newfunc)namespace_new, /* tp_new */
H A Dexceptions.c1811 type->tp_new == (newfunc) OSError_new) { in oserror_use_init()
/third_party/python/Lib/
H A Dpstats.py286 newfunc = func_strip_path(func)
287 if len(func_std_string(newfunc)) > max_name_len:
288 max_name_len = len(func_std_string(newfunc))
293 if newfunc in newstats:
294 newstats[newfunc] = add_func_stats(
295 newstats[newfunc],
298 newstats[newfunc] = (cc, nc, tt, ct, newcallers)
/third_party/python/Doc/includes/
H A Dtypestruct.h68 newfunc tp_new;
/third_party/python/Include/cpython/
H A Dobject.h215 newfunc tp_new;
/third_party/python/Include/
H A Dobject.h226 typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *); typedef
/third_party/ltp/scripts/
H A Dcheckpatch.pl7006 my $newfunc = "kmalloc_array";
7007 $newfunc = "kcalloc" if ($oldfunc eq "kzalloc");
7020 "Prefer $newfunc over $oldfunc with multiply\n" . $herectx) &&
7023 $fixed[$fixlinenr] =~ s/\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)/$1 . ' = ' . "$newfunc(" . trim($r1) . ', ' . trim($r2)/e;
/third_party/python/Modules/
H A D_testcapimodule.c1094 newfunc tp_new = PyType_GetSlot(&PyLong_Type, Py_tp_new); in test_get_statictype_slots()
H A Dposixmodule.c2291 static newfunc structseq_new;

Completed in 43 milliseconds