Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 56) sorted by relevance

123

/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/pytest/
Dtest_magic_addr.py17 dut.write(str.encode('A'))
20 dut.write(str.encode('B'))
/Zephyr-latest/doc/services/serialization/
Dindex.rst6 Zephyr has support for several data serialization subsystems. These can be used to encode/decode
/Zephyr-latest/subsys/bluetooth/services/
DKconfig.cts12 bool "Helper APIs to encode and decode CTS formatted time"
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstool_client.py48 self.sock.sendall(cmd.encode("utf-8"))
70 values = (fsize, fname.encode('utf-8'), md5_tx.encode('utf-8'))
Dremote-fw-service.py117 self.request.sendall("success".encode('utf-8'))
120 self.request.sendall("failed".encode('utf-8'))
/Zephyr-latest/scripts/build/
Dllext_slidlib.py40 m.update(symbol_name.encode("utf-8"))
Dfile2hex.py50 hexdata = codecs.encode(chunk, 'hex').decode("utf-8")
Duf2conv.py152 def encode(self, blockno, numblocks): member in Block
202 resfile += blocks[i].encode(i, numblocks)
/Zephyr-latest/scripts/west_commands/runners/
Dintel_adsp.py93 hash_object = hashlib.md5(self.bin_fw.encode())
94 random_str = f"{random.getrandbits(64)}".encode()
/Zephyr-latest/drivers/gpio/
Dgpio_max149x6.h30 static uint8_t max149x6_crc(uint8_t *data, bool encode) in max149x6_crc() argument
46 for (i = (encode) ? 0 : 2; i < 8; i++) { in max149x6_crc()
/Zephyr-latest/scripts/tracing/
Dtrace_capture_uart.py41 ser.write("enable\r".encode())
Dtrace_capture_usb.py94 file_desc.write(chr(buff[index]).encode('latin1'))
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_blockwise.py86 data = ''.join(random.choice(string.ascii_letters) for i in range(4096)).encode()
117 data = ''.join(random.choice(string.ascii_letters) for i in range(4096)).encode()
Dconftest.py141 logger.debug('Boostrap PSK: %s', binascii.b2a_hex(bs_passwd.encode()).decode())
142 logger.debug('PSK: %s', binascii.b2a_hex(passwd.encode()).decode())
/Zephyr-latest/samples/modules/nanopb/
DREADME.rst12 The structured data to encode/decode is presented as follows:
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/
Dfifo_mock.py72 wf.write(f'{line}\n'.encode('utf-8'))
/Zephyr-latest/boards/microchip/mec172xevb_assy6906/support/
Dmec172x_remote_flasher.py76 sha256.update(now.encode("utf-8"))
/Zephyr-latest/doc/connectivity/networking/api/
Dtls_credentials_shell.rst248 … be used to install credentials of any type, since base64 can be used to encode any concievable bi…
255 …tes (or other raw-binary credentials, such as non-printable PSKs) base64-encode the binary and use…
256 - To install PEM-formatted X.509 certificates or certificate chains, base64 encode the full PEM str…
259 It is possible to use ``BIN`` instead if you manually encode a NULL terminator into the base64.
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py67 self._device.write(command_ext.encode())
/Zephyr-latest/scripts/west_commands/zspdx/
Dscanner.py119 hSHA1.update(filelist.encode('utf-8'))
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/
DKconfig44 Files that have size up to 64KB require 1 to 3 bytes to encode
50 Files that have size up to 4GB require 1 to 5 bytes to encode
147 figure out how to encode map depending on its predicted size.
/Zephyr-latest/scripts/coredump/gdbstubs/
Dgdbstub.py90 pkt += format(checksum, "02X").encode()
129 pkt += format(self.gdb_signal, "02X").encode()
/Zephyr-latest/scripts/tests/twister/
Dtest_handlers.py692 f'line no {idx}'.encode('utf-8') for idx in range(success_count)
738 readline=mock.Mock(return_value='\nline1\nline2\n'.encode('utf-8'))
1780 ('1\n' * 60).encode('utf-8'),
1791 ('1\n' * 60).encode('utf-8'),
1824 '1\n2\n3\n4\n5\n'.encode('utf-8'),
1835 '1\n2\n3\n4\n5\n'.encode('utf-8'),
1846 '1\n2\n3\n4\n5\n'.encode('utf-8'),
1901 contents = str(pid).encode('utf-8')
/Zephyr-latest/lib/utils/
Djson.c957 static int encode(const struct json_obj_descr *descr, const void *val,
1003 ret = encode(elem_descr, (char *)field - elem_descr->offset, in arr_encode()
1133 static int encode(const struct json_obj_descr *descr, const void *val, in encode() function
1192 ret = encode(&descr[i], val, append_bytes, data); in json_obj_encode()
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestinstance.py146 hash_object = hashlib.md5(self.name.encode())
147 random_str = f"{random.getrandbits(64)}".encode()

123