Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/cpython3/Modules/clinic/
Darraymodule.c.h531 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()
/aosp_15_r20/external/python/cpython3/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()
2064 int le = (mformat_code == IEEE_754_DOUBLE_LE) ? 1 : 0; in array__array_reconstructor_impl()
2084 int byteorder = (mformat_code == UTF16_LE) ? -1 : 1; in array__array_reconstructor_impl()
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
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))