/external/python/cpython3/Lib/test/ |
D | test_struct.py | 427 s.pack_into(writable_buf, 0, test_string) 432 s.pack_into(writable_buf, 10, test_string) 438 self.assertRaises((ValueError, struct.error), s.pack_into, small_buf, 0, 440 self.assertRaises((ValueError, struct.error), s.pack_into, small_buf, 2, 445 self.assertRaises((TypeError, struct.error), struct.pack_into, b'', sb, 452 pack_into = lambda *args: struct.pack_into(fmt, *args) function 455 pack_into(writable_buf, 0, test_string) 460 pack_into(writable_buf, 10, test_string) 466 self.assertRaises((ValueError, struct.error), pack_into, small_buf, 0, 468 self.assertRaises((ValueError, struct.error), pack_into, small_buf, 2, [all …]
|
D | test_call.py | 97 self.assertRaisesRegex(TypeError, msg, struct.pack_into, x=2)
|
D | test_buffer.py | 635 struct.pack_into(fmt, buf, j*itemsize, v) 2541 struct.pack_into(fmt, nd, 0, item) 2552 struct.pack_into(fmt, nd, itemsize, v)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | shared_memory.py | 333 struct.pack_into( 340 struct.pack_into( 346 struct.pack_into( 352 struct.pack_into( 407 struct.pack_into( 415 struct.pack_into( 470 struct.pack_into(new_format, self.shm.buf, offset, encoded_value)
|
/external/python/cpython2/Lib/test/ |
D | test_struct.py | 443 s.pack_into(writable_buf, 0, test_string) 448 s.pack_into(writable_buf, 10, test_string) 454 self.assertRaises((ValueError, struct.error), s.pack_into, small_buf, 0, 456 self.assertRaises((ValueError, struct.error), s.pack_into, small_buf, 2, 461 self.assertRaises((TypeError, struct.error), struct.pack_into, b'', sb, 477 pack_into = lambda *args: struct.pack_into(fmt, *args) function 480 pack_into(writable_buf, 0, test_string) 485 pack_into(writable_buf, 10, test_string) 491 self.assertRaises((ValueError, struct.error), pack_into, small_buf, 0, 493 self.assertRaises((ValueError, struct.error), pack_into, small_buf, 2,
|
/external/flatbuffers/python/flatbuffers/ |
D | encode.py | 42 packer_type.pack_into(buf, head, n)
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 304 PyObject *structobj, *pack_into; in pack_from_list() local 323 pack_into = PyObject_GetAttrString(structobj, "pack_into"); in pack_from_list() 324 if (pack_into == NULL) { in pack_from_list() 332 Py_DECREF(pack_into); in pack_from_list() 371 tmp = PyObject_CallObject(pack_into, args); in pack_from_list() 387 Py_DECREF(pack_into); in pack_from_list() 397 PyObject *structobj = NULL, *pack_into = NULL, *args = NULL; in pack_single() local 424 pack_into = PyObject_GetAttrString(structobj, "pack_into"); in pack_single() 425 if (pack_into == NULL) in pack_single() 452 x = PyObject_CallObject(pack_into, args); in pack_single() [all …]
|
D | _struct.c | 2191 pack_into(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in pack_into() function 2282 {"pack_into", (PyCFunction)(void(*)(void))pack_into, METH_FASTCALL, pack_into_doc},
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_channel_unittest.py | 347 struct.pack_into(packet_format, 361 struct.pack_into(fragment_header_format,
|
/external/python/cpython2/Doc/library/ |
D | struct.rst | 47 .. function:: pack_into(fmt, buffer, offset, v1, v2, ...) 378 .. method:: pack_into(buffer, offset, v1, v2, ...) 380 Identical to the :func:`pack_into` function, using the compiled format.
|
D | functions.rst | 340 '__package__', '_clearcache', 'calcsize', 'error', 'pack', 'pack_into',
|
/external/python/cpython3/Doc/library/ |
D | struct.rst | 58 .. function:: pack_into(format, buffer, offset, v1, v2, ...) 429 .. method:: pack_into(buffer, offset, v1, v2, ...) 431 Identical to the :func:`pack_into` function, using the compiled format.
|
D | functions.rst | 402 '_clearcache', 'calcsize', 'error', 'pack', 'pack_into',
|
/external/python/cpython2/Modules/ |
D | _struct.c | 1904 pack_into(PyObject *self, PyObject *args) in pack_into() function 1983 {"pack_into", pack_into, METH_VARARGS, pack_into_doc},
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 388 struct.pack_into() now supports new buffer protocol (in particular accepts
|
D | 2.7.4rc1.rst | 1462 Enhance error messages of struct.pack and struct.pack_into. Patch by Matti
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a1.rst | 2556 Fix possible overflow when organize struct.pack_into error message. Patch 3010 Improve struct.pack_into() exception messages for problems with the buffer
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 1560 ``pack_into(buffer, offset, v1, v2, ...)`` and ``unpack_from(buffer,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.5.rst | 1561 ``pack_into(buffer, offset, v1, v2, ...)`` and ``unpack_from(buffer,
|
/external/python/cpython3/Misc/ |
D | HISTORY | 5718 struct.pack_into. Patch by Matti Mäki.
|