Home
last modified time | relevance | path

Searched refs:cfg_bytes_len (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dmakeqstrdata.py320 def make_bytes(cfg_bytes_len, cfg_bytes_hash, qstr): argument
330 if qlen >= (1 << (8 * cfg_bytes_len)):
333 qlen_str = ("\\x%02x" * cfg_bytes_len) % tuple(
334 ((qlen >> (8 * i)) & 0xFF) for i in range(cfg_bytes_len)
344 cfg_bytes_len = int(qcfgs["BYTES_IN_LEN"])
354 % ("\\x00" * cfg_bytes_hash, "\\x00" * cfg_bytes_len)
359 qbytes = make_bytes(cfg_bytes_len, cfg_bytes_hash, qstr)
/AliOS-Things-master/components/py_engine/engine/genhdr/
A Dgen_qstr.py23 def make_bytes(cfg_bytes_len, cfg_bytes_hash, qstr): argument
46 if qlen >= (1 << (8 * cfg_bytes_len)):
49 …qlen_str = ('\\x%02x' * cfg_bytes_len) % tuple(((qlen >> (8 * i)) & 0xff) for i in range(cfg_bytes…

Completed in 7 milliseconds