Home
last modified time | relevance | path

Searched refs:MICROPY_QSTR_BYTES_IN_LEN (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dqstr.c64 #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)
66 #if MICROPY_QSTR_BYTES_IN_LEN == 1
69 #elif MICROPY_QSTR_BYTES_IN_LEN == 2
202 if (len >= (1 << (8 * MICROPY_QSTR_BYTES_IN_LEN))) { in qstr_from_strn()
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()
252 q_ptr[MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN + len] = '\0'; in qstr_from_strn()
A Dqstrdefs.h35 QCFG(BYTES_IN_LEN, MICROPY_QSTR_BYTES_IN_LEN)
A Dmpconfig.h246 #ifndef MICROPY_QSTR_BYTES_IN_LEN
247 #define MICROPY_QSTR_BYTES_IN_LEN (1) macro
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py899 config.MICROPY_QSTR_BYTES_IN_LEN, config.MICROPY_QSTR_BYTES_IN_HASH, qstr
1023 config.MICROPY_QSTR_BYTES_IN_LEN = int(qcfgs["BYTES_IN_LEN"])
1026 config.MICROPY_QSTR_BYTES_IN_LEN = 1

Completed in 9 milliseconds