Home
last modified time | relevance | path

Searched refs:empty_tuple (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Modules/
D_lzmamodule.c64 static PyObject *empty_tuple; variable
226 if (!PyArg_ParseTupleAndKeywords(empty_tuple, spec, in INT_TYPE_CONVERTER_FUNC()
253 if (!PyArg_ParseTupleAndKeywords(empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_delta()
277 if (!PyArg_ParseTupleAndKeywords(empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_bcj()
1445 empty_tuple = PyTuple_New(0); in PyInit__lzma()
1446 if (empty_tuple == NULL) in PyInit__lzma()
D_lsprof.c118 static PyObject *empty_tuple; variable
123 PyObject *o = PyObject_Call(pObj->externalTimer, empty_tuple, NULL); in CallExternalTimer()
885 empty_tuple = PyTuple_New(0); in PyInit__lsprof()
/external/python/cpython2/Lib/test/
Dtest_getargs2.py866 empty_tuple = ()
895 _testcapi.parse_tuple_and_keywords(empty_tuple, dict_b,
910 empty_tuple = ()
921 parse(empty_tuple, dict_b, optional_format, keywords)
925 parse(empty_tuple, dict_b, optional_format, keywords)
931 parse(empty_tuple, dict_b, optional_format, keywords)
935 parse(empty_tuple, dict_b, optional_format, keywords)
/external/python/cpython3/Lib/test/
Dtest_getargs2.py994 empty_tuple = ()
1023 _testcapi.parse_tuple_and_keywords(empty_tuple, dict_b,
1038 empty_tuple = ()
1050 parse(empty_tuple, dict_b, optional_format, keywords)
1054 parse(empty_tuple, dict_b, optional_format, keywords)
1061 parse(empty_tuple, dict_b, optional_format, keywords)
1065 parse(empty_tuple, dict_b, optional_format, keywords)
/external/python/cpython2/Modules/
D_lsprof.c128 static PyObject *empty_tuple; variable
133 PyObject *o = PyObject_Call(pObj->externalTimer, empty_tuple, NULL); in CallExternalTimer()
889 empty_tuple = PyTuple_New(0); in init_lsprof()
DcPickle.c114 static PyObject *empty_tuple; variable
711 if (!( str = PyObject_CallObject(self->readline, empty_tuple))) { in readline_other()
2078 PyObject_Call(getinitargs_func, empty_tuple, NULL))) in save_inst()
2140 state = PyObject_Call(getstate_func, empty_tuple, NULL); in save_inst()
2810 empty_tuple, NULL); in save()
5923 if (!(empty_tuple = PyTuple_New(0))) in init_stuff()
/external/python/cpython3/Objects/
Dexceptions.c618 PyObject *empty_tuple; in ImportError_init() local
626 empty_tuple = PyTuple_New(0); in ImportError_init()
627 if (!empty_tuple) in ImportError_init()
629 if (!PyArg_ParseTupleAndKeywords(empty_tuple, kwds, "|$OO:ImportError", kwlist, in ImportError_init()
631 Py_DECREF(empty_tuple); in ImportError_init()
634 Py_DECREF(empty_tuple); in ImportError_init()
/external/python/cpython2/Python/
DPython-ast.c653 PyObject *empty_tuple, *d; in add_ast_fields() local
657 empty_tuple = PyTuple_New(0); in add_ast_fields()
658 if (!empty_tuple || in add_ast_fields()
659 PyDict_SetItemString(d, "_fields", empty_tuple) < 0 || in add_ast_fields()
660 PyDict_SetItemString(d, "_attributes", empty_tuple) < 0) { in add_ast_fields()
661 Py_XDECREF(empty_tuple); in add_ast_fields()
664 Py_DECREF(empty_tuple); in add_ast_fields()
/external/python/cpython3/Python/
DPython-ast.c822 PyObject *empty_tuple, *d; in add_ast_fields() local
826 empty_tuple = PyTuple_New(0); in add_ast_fields()
827 if (!empty_tuple || in add_ast_fields()
828 _PyDict_SetItemId(d, &PyId__fields, empty_tuple) < 0 || in add_ast_fields()
829 _PyDict_SetItemId(d, &PyId__attributes, empty_tuple) < 0) { in add_ast_fields()
830 Py_XDECREF(empty_tuple); in add_ast_fields()
833 Py_DECREF(empty_tuple); in add_ast_fields()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc1430 XlaOp empty_tuple, in Outfeed()
1432 return empty_tuple; in Outfeed()