| /third_party/python/Lib/test/ |
| D | test_array.py | 26 def __init__(self, typecode, newarg=None): argument 168 for typecode in valid_typecodes: 170 a = array.array(typecode, values) 174 array.array, typecode, mformat_code, arraystr) 209 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 212 a = array.array(self.typecode) 213 self.assertEqual(a.typecode, self.typecode) 215 self.assertRaises(TypeError, array.array, self.typecode, None) 218 a = array.array(self.typecode) 222 a = array.array(self.typecode, self.example) [all …]
|
| D | test_re.py | 1394 for typecode in 'bBuhHiIlLfd': 1395 a = array.array(typecode)
|
| /third_party/python/Modules/ |
| D | arraymodule.c | 33 char typecode; member 1726 if (self->ob_descr->typecode != 'u') { in array_array_fromunicode_impl() 1764 if (self->ob_descr->typecode != 'u') { in array_array_tounicode_impl() 1826 typecode_to_mformat_code(char typecode) in typecode_to_mformat_code() argument 1833 switch (typecode) { in typecode_to_mformat_code() 1931 make_array(PyTypeObject *arraytype, char typecode, PyObject *items) in make_array() argument 1940 typecode_obj = PyUnicode_FromOrdinal(typecode); in make_array() 1979 int typecode, in array__array_reconstructor_impl() argument 2001 for (descr = descriptors; descr->typecode != '\0'; descr++) { in array__array_reconstructor_impl() 2002 if ((int)descr->typecode == typecode) in array__array_reconstructor_impl() [all …]
|
| /third_party/python/Lib/multiprocessing/dummy/ |
| D | __init__.py | 97 def Array(typecode, sequence, lock=True): argument 98 return array.array(typecode, sequence) 101 def __init__(self, typecode, value, lock=True): argument 102 self._typecode = typecode
|
| /third_party/python/Doc/library/ |
| D | array.rst | 68 .. class:: array(typecode[, initializer]) 70 A new array whose items are restricted by *typecode*, and initialized 80 .. audit-event:: array.__new__ typecode,initializer array.array 94 .. attribute:: array.typecode 96 The typecode character used to create the array. 241 ``array(typecode, initializer)``. The *initializer* is omitted if the array is 242 empty, otherwise it is a string if the *typecode* is ``'u'``, otherwise it is a
|
| D | multiprocessing.rst | 1419 ctypes type or a one character typecode of the kind used by the :mod:`array` 1449 it is either a ctypes type or a one character typecode of the kind used by 1491 it is either a ctypes type or a one character typecode of the kind used by 1506 ctypes type or a one character typecode of the kind used by the :mod:`array` 1575 ctypes sharedctypes using type sharedctypes using typecode 1816 .. method:: Array(typecode, sequence) 1820 .. method:: Value(typecode, value)
|
| D | types.rst | 342 as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as
|
| /third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/ |
| D | gstmpegvideoparser.h | 77 #define GST_MPEG_VIDEO_PACKET_IS_SLICE(typecode) ((typecode) >= GST_MPEG_VIDEO_PACKET_SLICE_MIN && \ argument 78 (typecode) <= GST_MPEG_VIDEO_PACKET_SLICE_MAX)
|
| /third_party/python/Modules/clinic/ |
| D | arraymodule.c.h | 500 int typecode, 509 int typecode; in array__array_reconstructor() local 528 typecode = PyUnicode_READ_CHAR(args[1], 0); in array__array_reconstructor() 534 … return_value = array__array_reconstructor_impl(module, arraytype, typecode, mformat_code, items); in array__array_reconstructor()
|
| /third_party/python/Lib/ctypes/ |
| D | __init__.py | 142 def _check_size(typ, typecode=None): argument 146 if typecode is None: 148 typecode = typ._type_ 149 actual, required = sizeof(typ), calcsize(typecode)
|
| /third_party/python/Lib/ |
| D | reprlib.py | 85 return "array('%s')" % x.typecode 86 header = "array('%s', [" % x.typecode
|
| /third_party/python/Lib/multiprocessing/ |
| D | managers.py | 48 return array.array, (a.typecode, a.tobytes()) 1012 def __init__(self, typecode, value, lock=True): argument 1013 self._typecode = typecode 1023 def Array(typecode, sequence, lock=True): argument 1024 return array.array(typecode, sequence)
|
| /third_party/skia/third_party/externals/brotli/c/enc/ |
| D | brotli_bit_stream.c | 739 size_t typecode = NextBlockTypeCode(&code->type_code_calculator, block_type); in StoreBlockSwitch() local 744 BrotliWriteBits(code->type_depths[typecode], code->type_bits[typecode], in StoreBlockSwitch()
|
| /third_party/node/deps/brotli/c/enc/ |
| D | brotli_bit_stream.c | 739 size_t typecode = NextBlockTypeCode(&code->type_code_calculator, block_type); in StoreBlockSwitch() local 744 BrotliWriteBits(code->type_depths[typecode], code->type_bits[typecode], in StoreBlockSwitch()
|
| /third_party/python/Doc/tutorial/ |
| D | stdlib2.rst | 298 numbers (typecode ``"H"``) rather than the usual 16 bytes per entry for regular
|
| /third_party/python/Doc/whatsnew/ |
| D | 3.0.rst | 638 :meth:`tofile` instead. Also, the ``'c'`` typecode for array is
|
| /third_party/libabigail/tests/data/test-read-dwarf/ |
| D | test13-pr18894.so.abi | 2229 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9… 2233 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9… 2237 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9… 2241 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9…
|
| /third_party/gptfdisk/ |
| D | NEWS | 382 -t/--typecode, and -u/--partition-guid commands: If a -n/--new option
|
| /third_party/libabigail/tests/data/test-annotate/ |
| D | test13-pr18894.so.abi | 3734 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9… 3741 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9… 3748 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9… 3755 …<parameter type-id='type-id-2' name='typecode' filepath='/tmp/legendre/spack-stage/spack-stage-hI9…
|
| /third_party/python/Misc/ |
| D | HISTORY | 3076 constructor is given a str. Move the array module typecode documentation to
|