Home
last modified time | relevance | path

Searched refs:c_default (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Tools/clinic/
Dclinic.py2418 c_default = None variable in CConverter
2488 …def __init__(self, name, py_name, function, default=unspecified, *, c_default=None, py_default=Non… argument
2502 if c_default:
2503 self.c_default = c_default
2635 default = self.c_default
2747 self.c_default = str(int(self.default))
2798 self.c_default = repr(bytes(self.default))[1:]
2799 if self.c_default == '"\'"':
2800 self.c_default = r"'\''"
3252 self.c_default = "NULL"
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/io_ops/
Dparse_single_example_op_test.py129 c_default = np.random.rand(2).astype(np.float32)
140 c_name: np.array(c_default),
156 (2,), dtypes.float32, default_value=c_default),
Dparsing_ops_test.py120 c_default = np.random.rand(2).astype(np.float32)
131 c_name: np.array(2 * [c_default]),
149 (2,), dtypes.float32, default_value=c_default),
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py118 c_default = np.random.rand(2).astype(np.float32)
129 c_name: np.array(2 * [c_default]),
144 (2,), dtypes.float32, default_value=c_default),
/external/python/cpython3/Lib/test/
Dtest_clinic.py324 self.assertEqual("MAXSIZE", p.converter.c_default)
Dclinic.test3159 co_lnotab: PyBytesObject(c_default="(PyBytesObject *)self->co_lnotab") = None
/external/python/cpython3/Doc/howto/
Dclinic.rst759 ``c_default``
1003 in C, using the ``c_default`` parameter to the converter:
1007 foo: Py_ssize_t(c_default="PY_SSIZE_T_MAX - 1") = sys.maxsize - 1
1311 ``c_default``
/external/python/cpython3/Misc/
DHISTORY2758 c_default is also specified, providing a nice failure message for
2776 value of c_default and py_default with a class member.