Lines Matching defs:q
55 #define Q_GET_HASH(q) ((mp_uint_t)(q)[0]) argument
56 #define Q_SET_HASH(q, hash) do { (q)[0] = (hash); } while (0) argument
59 #define Q_GET_HASH(q) ((mp_uint_t)(q)[0] | ((mp_uint_t)(q)[1] << 8)) argument
60 #define Q_SET_HASH(q, hash) do { (q)[0] = (hash); (q)[1] = (hash) >> 8; } while (0) argument
64 #define Q_GET_ALLOC(q) (MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN + Q_GET_LENGTH(q) +… argument
65 #define Q_GET_DATA(q) ((q) + MICROPY_QSTR_BYTES_IN_HASH + MICROPY_QSTR_BYTES_IN_LEN) argument
67 #define Q_GET_LENGTH(q) ((q)[MICROPY_QSTR_BYTES_IN_HASH]) argument
68 #define Q_SET_LENGTH(q, len) do { (q)[MICROPY_QSTR_BYTES_IN_HASH] = (len); } while (0) argument
70 …#define Q_GET_LENGTH(q) ((q)[MICROPY_QSTR_BYTES_IN_HASH] | ((q)[MICROPY_QSTR_BYTES_IN_HASH + 1] <<… argument
71 …#define Q_SET_LENGTH(q, len) do { (q)[MICROPY_QSTR_BYTES_IN_HASH] = (len); (q)[MICROPY_QSTR_BYTES_… argument
133 STATIC const byte *find_qstr(qstr q) { in find_qstr()
180 for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) { in qstr_find_strn() local
197 qstr q = qstr_find_strn(str, len); in qstr_from_strn() local
259 mp_uint_t qstr_hash(qstr q) { in qstr_hash()
264 size_t qstr_len(qstr q) { in qstr_len()
269 const char *qstr_str(qstr q) { in qstr_str()
274 const byte *qstr_data(qstr q, size_t *len) { in qstr_data()
289 for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) { in qstr_pool_info() local
306 for (const byte **q = pool->qstrs, **q_top = pool->qstrs + pool->len; q < q_top; q++) { in qstr_dump_data() local