Home
last modified time | relevance | path

Searched refs:Q_GET_LENGTH (Results 1 – 1 of 1) 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) +…
67 #define Q_GET_LENGTH(q) ((q)[MICROPY_QSTR_BYTES_IN_HASH]) macro
70 …#define Q_GET_LENGTH(q) ((q)[MICROPY_QSTR_BYTES_IN_HASH] | ((q)[MICROPY_QSTR_BYTES_IN_HASH + 1] <<… macro
145 …("QSTR: add hash=%d len=%d data=%.*s\n", Q_GET_HASH(q_ptr), Q_GET_LENGTH(q_ptr), Q_GET_LENGTH(q_pt… in qstr_add()
181 …if (Q_GET_HASH(*q) == str_hash && Q_GET_LENGTH(*q) == str_len && memcmp(Q_GET_DATA(*q), str, str_l… in qstr_find_strn()
266 return Q_GET_LENGTH(qd); in qstr_len()
276 *len = Q_GET_LENGTH(qd); in qstr_data()

Completed in 3 milliseconds