Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/py/
A Dobjboundmeth.c60 args2 = m_new_maybe(mp_obj_t, 1 + n_total); in mp_call_method_self_n_kw()
A Dobjexcept.c128 byte *buf = m_new_maybe(byte, MP_MAX_UNCOMPRESSED_TEXT_LEN + 1); in decompress_error_text_maybe()
474 byte *o_str_buf = m_new_maybe(byte, o_str_alloc); in mp_obj_new_exception_msg_vlist()
579 self->traceback_data = m_new_maybe(size_t, TRACEBACK_ENTRY_LEN); in mp_obj_exception_add_traceback()
A Dqstr.c229 MP_STATE_VM(qstr_last_chunk) = m_new_maybe(byte, al); in qstr_from_strn()
232 MP_STATE_VM(qstr_last_chunk) = m_new_maybe(byte, n_bytes); in qstr_from_strn()
A Dmisc.h65 #define m_new_maybe(type, num) ((type *)(m_malloc_maybe(sizeof(type) * (num)))) macro
68 #define m_new_obj_maybe(type) (m_new_maybe(type, 1))
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodussl_mbedtls.c96 byte *o_str_buf = m_new_maybe(byte, ERR_STR_MAX); in mbedtls_raise_error()
A Dmodbluetooth.c1620 uint8_t *data = m_new_maybe(uint8_t, value_len); in mp_bluetooth_gatts_db_write()
/AliOS-Things-master/components/py_engine/engine/shared/readline/
A Dreadline.c53 char *s2 = m_new_maybe(char, len + 1); in str_dup_maybe()

Completed in 19 milliseconds