Searched refs:newfunc (Results 1 – 16 of 16) sorted by relevance
/third_party/python/Objects/ |
D | funcobject.c | 551 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()
|
D | cellobject.c | 195 (newfunc)cell_new, /* tp_new */
|
D | namespaceobject.c | 241 (newfunc)namespace_new, /* tp_new */
|
D | exceptions.c | 960 type->tp_new == (newfunc) OSError_new) { in oserror_use_init()
|
/third_party/python/Lib/ |
D | pstats.py | 285 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/ |
D | typestruct.h | 68 newfunc tp_new;
|
/third_party/python/Doc/library/ |
D | functools.rst | 314 def newfunc(*fargs, **fkeywords): 317 newfunc.func = func 318 newfunc.args = args 319 newfunc.keywords = keywords 320 return newfunc
|
/third_party/python/Include/cpython/ |
D | object.h | 258 newfunc tp_new;
|
/third_party/python/Include/ |
D | object.h | 214 typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *); typedef
|
/third_party/ltp/scripts/ |
D | checkpatch.pl | 7006 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/ |
D | stable_abi.dat | 847 type,newfunc,3.2,
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 126 …| :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/ |
D | stable_abi.txt | 258 typedef newfunc
|
D | HISTORY | 2762 __new__ are always of type newfunc, the type of the tp_new slot.
|
/third_party/python/Modules/ |
D | _testcapimodule.c | 1097 newfunc tp_new = PyType_GetSlot(&PyLong_Type, Py_tp_new); in test_get_statictype_slots()
|
D | posixmodule.c | 2270 static newfunc structseq_new;
|