/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_socket.py | 306 (event, index, length) = struct.unpack_from('<HHH', buffer(hdr)) 346 (code, status) = struct.unpack_from('<HB', buffer(data, 0, 3)) 375 (code, status) = struct.unpack_from('<HB', buffer(data, 0, 3)) 392 (error_code) = struct.unpack_from('<B', buffer(data, 0, 1)) 431 (code, status) = struct.unpack_from('<HB', buffer(data, 0, 3)) 441 (code, status) = struct.unpack_from('<HB', buffer(data, 0, 3)) 451 (error_code) = struct.unpack_from('<B', buffer(data, 0, 1)) 494 (version, revision) = struct.unpack_from('<BH', buffer(data)) 514 (ncommands, nevents) = struct.unpack_from('<HH', buffer(data, 0, 4)) 524 commands.extend(struct.unpack_from('<H', buffer(data, offset, 2))) [all …]
|
D | bluetooth_sdp_socket.py | 158 code, tid, length = struct.unpack_from(SDP_HDR_FORMAT, response) 266 total_cnt, cur_cnt = struct.unpack_from(SDP_BODY_CNT_FORMAT, response) 270 uuid, = struct.unpack_from('>I', response, scanned) 286 error_code, = struct.unpack_from('>H', response) 395 header, = struct.unpack_from('>B', data) 499 response_byte_count, = struct.unpack_from('>H', response) 568 response_byte_count, = struct.unpack_from('>H', response)
|
/external/autotest/client/cros/faft/utils/ |
D | os_interface.py | 310 magic, _, kb_size = struct.unpack_from(header_format, blob) 315 _, version = struct.unpack_from(preamble_format, blob, kb_size) 325 magic, _, version = struct.unpack_from(header_format, blob) 338 magic, _, kb_size = struct.unpack_from(header_format, blob) 343 _, version = struct.unpack_from(preamble_format, blob, kb_size) 354 magic, _, kb_size = struct.unpack_from(header_format, blob) 359 _, ver, subver, _, flags = struct.unpack_from(preamble_format, blob,
|
D | flashrom_handler.py | 217 sig, _, rootk_offs, rootk_size = struct.unpack_from( 225 key_body_offset, key_body_size = struct.unpack_from( 450 _, gbb_flags = struct.unpack_from(gbb_header_format, gbb_section)
|
/external/python/cpython3/Lib/test/ |
D | test_struct.py | 398 self.assertEqual(s.unpack_from(data), (b'abcd',)) 399 self.assertEqual(s.unpack_from(data, 2), (b'cd01',)) 400 self.assertEqual(s.unpack_from(data, 4), (b'0123',)) 402 self.assertEqual(s.unpack_from(data, i), (data[i:i+4],)) 404 self.assertRaises(struct.error, s.unpack_from, data, i) 407 self.assertEqual(struct.unpack_from(fmt, data), (b'abcd',)) 408 self.assertEqual(struct.unpack_from(fmt, data, 2), (b'cd01',)) 409 self.assertEqual(struct.unpack_from(fmt, data, 4), (b'0123',)) 411 self.assertEqual(struct.unpack_from(fmt, data, i), (data[i:i+4],)) 413 self.assertRaises(struct.error, struct.unpack_from, fmt, data, i) [all …]
|
/external/libkmsxx/py/pykms/ |
D | __init__.py | 122 ev_tuple = _drm_ev.unpack_from(buf, idx) 129 vbl_tuple = _drm_ev_vbl.unpack_from(buf, idx + _drm_ev.size)
|
/external/python/cpython2/Lib/test/ |
D | test_struct.py | 427 self.assertEqual(s.unpack_from(data), ('abcd',)) 428 self.assertEqual(struct.unpack_from(fmt, data), ('abcd',)) 430 self.assertEqual(s.unpack_from(data, i), (data[i:i+4],)) 431 self.assertEqual(struct.unpack_from(fmt, data, i), (data[i:i+4],)) 433 self.assertRaises(struct.error, s.unpack_from, data, i) 434 self.assertRaises(struct.error, struct.unpack_from, fmt, data, i)
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 574 PyObject *x, *unpack_from, *mview; in unpack_single() local 581 unpack_from = PyObject_GetAttrString(structmodule, "unpack_from"); in unpack_single() 582 if (unpack_from == NULL) in unpack_single() 587 Py_DECREF(unpack_from); in unpack_single() 591 x = PyObject_CallFunction(unpack_from, "sO", fmt, mview); in unpack_single() 592 Py_DECREF(unpack_from); in unpack_single() 610 unpack_rec(PyObject *unpack_from, char *ptr, PyObject *mview, char *item, in unpack_rec() argument 623 x = PyObject_CallFunctionObjArgs(unpack_from, mview, NULL); in unpack_rec() 642 x = unpack_rec(unpack_from, nextptr, mview, item, in unpack_rec() 660 PyObject *structobj = NULL, *unpack_from = NULL; in ndarray_as_list() local [all …]
|
/external/capstone/suite/ |
D | patch_major_os_version.py | 23 e_lfanew = struct.unpack_from("<I", b, 0x3C)[0]
|
/external/flatbuffers/python/flatbuffers/ |
D | encode.py | 24 return packer_type.unpack_from(memoryview_type(buf), head)[0]
|
/external/python/cpython3/Modules/clinic/ |
D | _struct.c.h | 235 {"unpack_from", (PyCFunction)unpack_from, METH_FASTCALL|METH_KEYWORDS, unpack_from__doc__}, 242 unpack_from(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unpack_from() function
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_channel.py | 353 message_type, _, transaction_id = struct.unpack_from( 366 total_fragments, current_fragment = struct.unpack_from(
|
D | usb_descriptors.py | 127 obj = super(cls, cls).__new__(cls, *struct.unpack_from(data_format,
|
D | mbim_message.py | 91 obj = super(cls, cls).__new__(cls, *struct.unpack_from(data_format,
|
/external/mesa3d/src/gallium/tools/trace/ |
D | dump_state.py | 42 from struct import unpack_from 44 def unpack_from(fmt, buf, offset=0): function 372 x, y, z, w = unpack_from(format, data, offset) 480 index, = unpack_from(format, data, offset) 527 attribute = unpack_from(format, data, offset)
|
/external/skia/third_party/icu/ |
D | make_data_cpp.py | 25 yield s.unpack_from(mm, offset)[0]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | S__i_l_f.py | 217 parms = struct.unpack_from(fmt, aCode[pc:]) 324 silfoffsets = struct.unpack_from(('>%dL' % self.numSilf), data[base:]) 394 self.critFeatures = struct.unpack_from(('>%dH' % self.numCritFeatures), data) 396 (numScriptTag,) = struct.unpack_from('B', data) 698 oRuleMap = struct.unpack_from((">%dH" % (self.numSuccess + 1)), data) 700 rules = struct.unpack_from((">%dH" % oRuleMap[-1]), data)
|
D | G__l_a_t.py | 95 vals = struct.unpack_from(('>%dh' % e.num), data)
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | sancov.py | 71 s = struct.unpack_from(TypeCodeForStruct(bits) * (size * 8 / bits), f.read(size)) 155 pcs = struct.unpack_from(TypeCodeForStruct(bits) * (size * 8 / bits), f.read(size))
|
/external/python/cpython3/Lib/ |
D | chunk.py | 65 self.chunksize = struct.unpack_from(strflag+'L', file.read(4))[0]
|
D | wave.py | 257 …lf._nchannels, self._framerate, dwAvgBytesPerSec, wBlockAlign = struct.unpack_from('<HHLLH', chunk… 262 sampwidth = struct.unpack_from('<H', chunk.read(2))[0]
|
/external/autotest/client/cros/cellular/mbim_compliance/sequences/ |
D | open_sequence.py | 111 *struct.unpack_from('<' + format_string, ntb_parameters))
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 1882 PyObject *unpack_from; /* Struct.unpack_from(format) */ member 1898 x->unpack_from = NULL; in unpacker_new() 1910 Py_XDECREF(x->unpack_from); in unpacker_free() 1948 x->unpack_from = PyObject_GetAttrString(structobj, "unpack_from"); in struct_get_unpacker() 1949 if (x->unpack_from == NULL) in struct_get_unpacker() 1983 v = PyObject_CallFunctionObjArgs(x->unpack_from, x->mview, NULL); in struct_unpack_single()
|
/external/python/cpython2/Doc/library/ |
D | struct.rst | 64 .. function:: unpack_from(fmt, buffer[,offset=0]) 389 .. method:: unpack_from(buffer, offset=0) 391 Identical to the :func:`unpack_from` function, using the compiled format.
|
/external/python/cpython3/Doc/library/ |
D | struct.rst | 73 .. function:: unpack_from(format, buffer, offset=0) 445 .. method:: unpack_from(buffer, offset=0) 447 Identical to the :func:`unpack_from` function, using the compiled format.
|