Home
last modified time | relevance | path

Searched refs:MICROPY_QSTR_BYTES_IN_HASH (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dqstr.c53 #if MICROPY_QSTR_BYTES_IN_HASH == 1
57 #elif MICROPY_QSTR_BYTES_IN_HASH == 2
64 #define Q_GET_ALLOC(q) (MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN + Q_GET_LENGTH(q) +…
65 #define Q_GET_DATA(q) ((q) + MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN)
67 #define Q_GET_LENGTH(q) ((q)[MICROPY_QSTR_BYTES_IN_HASH])
68 #define Q_SET_LENGTH(q, len) do { (q)[MICROPY_QSTR_BYTES_IN_HASH] = (len); } while (0)
70 …#define Q_GET_LENGTH(q) ((q)[MICROPY_QSTR_BYTES_IN_HASH] | ((q)[MICROPY_QSTR_BYTES_IN_HASH + 1] <<…
71 …#define Q_SET_LENGTH(q, len) do { (q)[MICROPY_QSTR_BYTES_IN_HASH] = (len); (q)[MICROPY_QSTR_BYTES_…
208 size_t n_bytes = MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN + len + 1; in qstr_from_strn()
251 memcpy(q_ptr + MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN, str, len); in qstr_from_strn()
[all …]
A Dqstrdefs.h36 QCFG(BYTES_IN_HASH, MICROPY_QSTR_BYTES_IN_HASH)
A Dmpconfig.h251 #ifndef MICROPY_QSTR_BYTES_IN_HASH
252 #define MICROPY_QSTR_BYTES_IN_HASH (2) macro
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py301 qstrutil.compute_hash(obj, config.MICROPY_QSTR_BYTES_IN_HASH),
899 config.MICROPY_QSTR_BYTES_IN_LEN, config.MICROPY_QSTR_BYTES_IN_HASH, qstr
1024 config.MICROPY_QSTR_BYTES_IN_HASH = int(qcfgs["BYTES_IN_HASH"])
1027 config.MICROPY_QSTR_BYTES_IN_HASH = 1
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmpconfigport.h211 #define MICROPY_QSTR_BYTES_IN_HASH (1) macro
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmpconfigport.h211 #define MICROPY_QSTR_BYTES_IN_HASH (1) macro
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmpconfigport.h223 #define MICROPY_QSTR_BYTES_IN_HASH (1) macro

Completed in 19 milliseconds