/third_party/python/Lib/test/ |
D | test_array.py | 24 def __init__(self, typecode, newarg=None): argument 149 for typecode in valid_typecodes: 151 a = array.array(typecode, values) 155 array.array, typecode, mformat_code, arraystr) 190 return typecodes[(typecodes.index(self.typecode)+1) % len(typecodes)] 193 a = array.array(self.typecode) 194 self.assertEqual(a.typecode, self.typecode) 196 self.assertRaises(TypeError, array.array, self.typecode, None) 199 a = array.array(self.typecode) 203 a = array.array(self.typecode, self.example) [all …]
|
D | test_re.py | 1393 for typecode in 'bBuhHiIlLfd': 1394 a = array.array(typecode)
|
/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/Modules/ |
D | arraymodule.c | 30 char typecode; member 1684 if (self->ob_descr->typecode != 'u') { in array_array_fromunicode_impl() 1722 if (self->ob_descr->typecode != 'u') { in array_array_tounicode_impl() 1784 typecode_to_mformat_code(char typecode) in typecode_to_mformat_code() argument 1791 switch (typecode) { in typecode_to_mformat_code() 1889 make_array(PyTypeObject *arraytype, char typecode, PyObject *items) in make_array() argument 1898 typecode_obj = PyUnicode_FromOrdinal(typecode); in make_array() 1937 int typecode, in array__array_reconstructor_impl() argument 1958 for (descr = descriptors; descr->typecode != '\0'; descr++) { in array__array_reconstructor_impl() 1959 if ((int)descr->typecode == typecode) in array__array_reconstructor_impl() [all …]
|
/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/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. 238 ``array(typecode, initializer)``. The *initializer* is omitted if the array is 239 empty, otherwise it is a string if the *typecode* is ``'u'``, otherwise it is a
|
D | types.rst | 288 as ``FrameType.f_locals`` or ``array.array.typecode``. This type is used as
|
D | multiprocessing.rst | 1411 ctypes type or a one character typecode of the kind used by the :mod:`array` 1441 it is either a ctypes type or a one character typecode of the kind used by 1483 it is either a ctypes type or a one character typecode of the kind used by 1498 ctypes type or a one character typecode of the kind used by the :mod:`array` 1567 ctypes sharedctypes using type sharedctypes using typecode 1808 .. method:: Array(typecode, sequence) 1812 .. method:: Value(typecode, value)
|
/third_party/python/Modules/clinic/ |
D | arraymodule.c.h | 457 int typecode, 466 int typecode; in array__array_reconstructor() local 485 typecode = PyUnicode_READ_CHAR(args[1], 0); in array__array_reconstructor() 496 … 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 | 47 return array.array, (a.typecode, a.tobytes()) 1003 def __init__(self, typecode, value, lock=True): argument 1004 self._typecode = typecode 1014 def Array(typecode, sequence, lock=True): argument 1015 return array.array(typecode, sequence)
|
/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/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/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/gptfdisk/ |
D | NEWS | 286 -t/--typecode, and -u/--partition-guid commands: If a -n/--new option
|
/third_party/python/Misc/ |
D | HISTORY | 3076 constructor is given a str. Move the array module typecode documentation to
|