Home
last modified time | relevance | path

Searched refs:mformat_code (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Modules/clinic/
H A Darraymodule.c.h519 "_array_reconstructor($module, arraytype, typecode, mformat_code, items,\n"
531 enum machine_format_code mformat_code,
540 enum machine_format_code mformat_code; in array__array_reconstructor() local
559 mformat_code = _PyLong_AsInt(args[2]); in array__array_reconstructor()
560 if (mformat_code == -1 && PyErr_Occurred()) { in array__array_reconstructor()
564 return_value = array__array_reconstructor_impl(module, arraytype, typecode, mformat_code, items); in array__array_reconstructor()
/third_party/python/Modules/
H A Darraymodule.c1970 mformat_code: int(type="enum machine_format_code")
1980 enum machine_format_code mformat_code, in array__array_reconstructor_impl()
2010 if (mformat_code < MACHINE_FORMAT_CODE_MIN || in array__array_reconstructor_impl()
2011 mformat_code > MACHINE_FORMAT_CODE_MAX) { in array__array_reconstructor_impl()
2024 if (mformat_code == typecode_to_mformat_code((char)typecode) || in array__array_reconstructor_impl()
2025 mformat_code == UNKNOWN_FORMAT) { in array__array_reconstructor_impl()
2034 if (Py_SIZE(items) % mformat_descriptors[mformat_code].size != 0) { in array__array_reconstructor_impl()
2039 switch (mformat_code) { in array__array_reconstructor_impl()
2043 int le = (mformat_code == IEEE_754_FLOAT_LE) ? 1 : 0; in array__array_reconstructor_impl()
2064 int le = (mformat_code in array__array_reconstructor_impl()
1978 array__array_reconstructor_impl(PyObject *module, PyTypeObject *arraytype, int typecode, enum machine_format_code mformat_code, PyObject *items) array__array_reconstructor_impl() argument
2194 int mformat_code; array_array___reduce_ex___impl() local
[all...]
/third_party/python/Lib/test/
H A Dtest_array.py167 valid_typecodes, mformat_code, struct_fmt, values = testcase
175 array.array, typecode, mformat_code, arraystr)
188 mformat_code, encoding = testcase
191 array.array, 'u', mformat_code, teststr.encode(encoding))

Completed in 7 milliseconds