Searched refs:m_renew_maybe (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | qstr.c | 212 …byte *new_p = m_renew_maybe(byte, MP_STATE_VM(qstr_last_chunk), MP_STATE_VM(qstr_last_alloc), MP_S… in qstr_from_strn() 215 …(void)m_renew_maybe(byte, MP_STATE_VM(qstr_last_chunk), MP_STATE_VM(qstr_last_alloc), MP_STATE_VM(… in qstr_from_strn()
|
A D | misc.h | 80 #define m_renew_maybe(type, ptr, old_num, new_num, allow_move) ((type *)(m_realloc_maybe((ptr), siz… macro 85 #define m_renew_maybe(type, ptr, old_num, new_num, allow_move) ((type *)(m_realloc_maybe((ptr), siz… macro
|
A D | objexcept.c | 441 byte *new_buf = m_renew_maybe(byte, pr->buf, pr->alloc, new_alloc, true); in exc_add_strn() 609 size_t *tb_data = m_renew_maybe(size_t, self->traceback_data, self->traceback_alloc, in mp_obj_exception_add_traceback()
|
A D | parse.c | 260 mp_parse_chunk_t *new_data = (mp_parse_chunk_t *)m_renew_maybe(byte, chunk, in parser_alloc() 265 (void)m_renew_maybe(byte, chunk, sizeof(mp_parse_chunk_t) + chunk->alloc, in parser_alloc() 1134 (void)m_renew_maybe(byte, parser.cur_chunk, in mp_parse()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modbluetooth.c | 1641 uint8_t *data = m_renew_maybe(uint8_t, entry->data, entry->data_alloc, len, true); in mp_bluetooth_gatts_db_resize()
|
Completed in 19 milliseconds