Searched refs:c_default (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 2419 c_default = None variable in CConverter 2489 …def __init__(self, name, py_name, function, default=unspecified, *, c_default=None, py_default=Non… argument 2503 if c_default: 2504 self.c_default = c_default 2636 default = self.c_default 2748 self.c_default = str(int(self.default)) 2804 self.c_default = repr(bytes(self.default))[1:] 2805 if self.c_default == '"\'"': 2806 self.c_default = r"'\''" 3290 self.c_default = "NULL" [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | parse_single_example_op_test.py | 133 c_default = np.random.rand(2).astype(np.float32) 144 c_name: np.array(c_default), 160 (2,), dtypes.float32, default_value=c_default),
|
D | parsing_ops_test.py | 124 c_default = np.random.rand(2).astype(np.float32) 135 c_name: np.array(2 * [c_default]), 153 (2,), dtypes.float32, default_value=c_default),
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | parse_example_dataset_test.py | 119 c_default = np.random.rand(2).astype(np.float32) 130 c_name: np.array(2 * [c_default]), 145 (2,), dtypes.float32, default_value=c_default),
|
/external/python/cpython3/Lib/test/ |
D | test_clinic.py | 323 self.assertEqual("MAXSIZE", p.converter.c_default)
|
D | clinic.test | 3216 co_lnotab: PyBytesObject(c_default="(PyBytesObject *)self->co_lnotab") = None
|
/external/python/cpython3/Doc/howto/ |
D | clinic.rst | 759 ``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 1249 ``c_default``
|
/external/python/cpython3/Misc/ |
D | HISTORY | 2758 c_default is also specified, providing a nice failure message for 2776 value of c_default and py_default with a class member.
|