Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dfuncobject.c370 PyFunctionObject *newfunc; in func_new() local
424 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code, in func_new()
426 if (newfunc == NULL) in func_new()
431 Py_SETREF(newfunc->func_name, name); in func_new()
435 newfunc->func_defaults = defaults; in func_new()
439 newfunc->func_closure = closure; in func_new()
442 return (PyObject *)newfunc; in func_new()
/external/python/cpython3/Objects/
Dfuncobject.c503 PyFunctionObject *newfunc; in func_new_impl() local
551 newfunc = (PyFunctionObject *)PyFunction_New((PyObject *)code, in func_new_impl()
553 if (newfunc == NULL) in func_new_impl()
558 Py_SETREF(newfunc->func_name, name); in func_new_impl()
562 newfunc->func_defaults = defaults; in func_new_impl()
566 newfunc->func_closure = closure; in func_new_impl()
569 return (PyObject *)newfunc; in func_new_impl()
Dcellobject.c195 (newfunc)cell_new, /* tp_new */
Dnamespaceobject.c241 (newfunc)namespace_new, /* tp_new */
Dexceptions.c957 type->tp_new == (newfunc) OSError_new) { in oserror_use_init()
/external/python/cpython2/Lib/
Dpstats.py251 newfunc = func_strip_path(func)
252 if len(func_std_string(newfunc)) > max_name_len:
253 max_name_len = len(func_std_string(newfunc))
258 if newfunc in newstats:
259 newstats[newfunc] = add_func_stats(
260 newstats[newfunc],
263 newstats[newfunc] = (cc, nc, tt, ct, newcallers)
/external/python/cpython2/Doc/library/
Dfunctools.rst86 def newfunc(*fargs, **fkeywords):
90 newfunc.func = func
91 newfunc.args = args
92 newfunc.keywords = keywords
93 return newfunc
/external/python/cpython3/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)
Dpyclbr.py85 newfunc = Function(ob.module, func_name, ob.file, lineno, ob)
86 ob._addchild(func_name, newfunc)
89 return newfunc
/external/google-breakpad/src/processor/
Dmodule_comparer.h82 bool CompareFunction(const BasicFunc *oldfunc, const FastFunc *newfunc) const;
/external/python/cpython2/Doc/includes/
Dtypestruct.h67 newfunc tp_new;
/external/python/cpython3/Doc/includes/
Dtypestruct.h65 newfunc tp_new;
/external/python/cpython2/Lib/test/
Dtest_functools.py12 def newfunc(*fargs, **fkeywords): function
16 newfunc.func = func
17 newfunc.args = args
18 newfunc.keywords = keywords
19 return newfunc
/external/python/cffi/cffi/
Dvengine_gen.py228 def newfunc(*args): function
233 def newfunc(*args): function
236 newfunc._cffi_base_type = base_tp
237 return newfunc
/external/python/cpython3/Doc/library/
Dfunctools.rst288 def newfunc(*fargs, **fkeywords):
291 newfunc.func = func
292 newfunc.args = args
293 newfunc.keywords = keywords
294 return newfunc
/external/python/cpython2/Include/
Dobject.h321 typedef PyObject *(*newfunc)(struct _typeobject *, PyObject *, PyObject *); typedef
390 newfunc tp_new;
/external/python/cpython3/Include/cpython/
Dobject.h259 newfunc tp_new;
/external/python/cpython3/Include/
Dobject.h193 typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *); typedef
/external/python/cpython2/Doc/howto/
Ddescriptor.rst436 def newfunc(*args):
438 return newfunc
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst126 …| :c:member:`~PyTypeObject.tp_new` | :c:type:`newfunc` | __new__ …
346 | :c:type:`newfunc` | .. line-block:: | :c:type:`PyObject` * |
1710 .. c:member:: newfunc PyTypeObject.tp_new
2366 .. c:type:: PyObject *(*newfunc)(PyObject *, PyObject *, PyObject *)
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst992 .. c:member:: newfunc PyTypeObject.tp_new
/external/python/cpython2/Modules/
Dposixmodule.c1402 static newfunc structseq_new;
/external/python/cpython3/Modules/
Dposixmodule.c2186 static newfunc structseq_new;
/external/python/cpython3/Tools/c-analyzer/
Dknown.tsv1781 Modules/posixmodule.c - structseq_new variable static newfunc structseq_new
/external/python/cpython3/Misc/
DHISTORY2762 __new__ are always of type newfunc, the type of the tp_new slot.