Home
last modified time | relevance | path

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

/edtt-3.6.0-3.5.0-3.4.0/src/components/
Dutils.py233 fmt = '%2i %s';
237 trace.trace(8, fmt % CommandTexts[n][i] + ' ' + txt);
239 trace.trace(8, fmt % (n, CommandTexts[n][i] + ' ' + txt));
240 fmt = ' %s';
255 fmt = '%2i %s';
259 trace.trace(8, fmt % FeatureTexts[n][i] + ' ' + txt);
261 trace.trace(8, fmt % (n, FeatureTexts[n][i] + ' ' + txt));
262 fmt = ' %s';
272 fmt = '%2i %s';
276 trace.trace(8, fmt % LEFeatureTexts[n][i] + ' ' + txt);
[all …]
Ddump.py120 def unpack_bitfield(fmt, value): argument
122 for length in fmt.split(","):
/edtt-3.6.0-3.5.0-3.4.0/src/tests/
Dtest_utils.py549 fmt = '<I'
550 (time_stamp,) = struct.unpack_from(fmt, rx_iso_data_load)
551 rx_offset += struct.calcsize(fmt)
557 fmt = '<HH'
558 …rx_packet_sequence_number, rx_iso_sdu_length = struct.unpack_from(fmt, rx_iso_data_load, rx_offset)
559 rx_offset += struct.calcsize(fmt)
589 fmt = '<HH{ISO_SDU_Length}B'.format(ISO_SDU_Length=len(tx_iso_sdu))
590 tx_iso_data_load = struct.pack(fmt, pkt_seq_num, len(tx_iso_sdu), *tx_iso_sdu)
619 fmt = '<HH{ISO_SDU_Length}B'.format(ISO_SDU_Length=len(tx_iso_sdu))
620 tx_iso_data_load = struct.pack(fmt, pkt_seq_num, len(tx_iso_sdu), *tx_iso_sdu)