Home
last modified time | relevance | path

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

/third_party/python/Modules/clinic/
Darraymodule.c.h501 enum machine_format_code mformat_code,
510 enum machine_format_code mformat_code; in array__array_reconstructor() local
529 mformat_code = _PyLong_AsInt(args[2]); in array__array_reconstructor()
530 if (mformat_code == -1 && PyErr_Occurred()) { in array__array_reconstructor()
534 … return_value = array__array_reconstructor_impl(module, arraytype, typecode, mformat_code, items); in array__array_reconstructor()
/third_party/python/Modules/
Darraymodule.c1980 enum machine_format_code mformat_code, in array__array_reconstructor_impl() argument
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()
2065 int le = (mformat_code == IEEE_754_DOUBLE_LE) ? 1 : 0; in array__array_reconstructor_impl()
2086 int byteorder = (mformat_code == UTF16_LE) ? -1 : 1; in array__array_reconstructor_impl()
[all …]
/third_party/python/Lib/test/
Dtest_array.py166 valid_typecodes, mformat_code, struct_fmt, values = testcase
174 array.array, typecode, mformat_code, arraystr)
187 mformat_code, encoding = testcase
190 array.array, 'u', mformat_code, teststr.encode(encoding))