Searched refs:m_new_maybe (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objboundmeth.c | 60 args2 = m_new_maybe(mp_obj_t, 1 + n_total); in mp_call_method_self_n_kw()
|
A D | objexcept.c | 128 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 D | qstr.c | 229 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 D | misc.h | 65 #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 D | modussl_mbedtls.c | 96 byte *o_str_buf = m_new_maybe(byte, ERR_STR_MAX); in mbedtls_raise_error()
|
A D | modbluetooth.c | 1620 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 D | readline.c | 53 char *s2 = m_new_maybe(char, len + 1); in str_dup_maybe()
|
Completed in 19 milliseconds