Searched refs:o_str_buf (Results 1 – 2 of 2) sorted by relevance
96 byte *o_str_buf = m_new_maybe(byte, ERR_STR_MAX); in mbedtls_raise_error() local97 if (o_str == NULL || o_str_buf == NULL) { in mbedtls_raise_error()102 mbedtls_strerror(err, (char *)o_str_buf, ERR_STR_MAX); in mbedtls_raise_error()103 size_t len = strlen((char *)o_str_buf); in mbedtls_raise_error()107 o_str->data = o_str_buf; in mbedtls_raise_error()
474 byte *o_str_buf = m_new_maybe(byte, o_str_alloc); in mp_obj_new_exception_msg_vlist() local481 if ((o_str == NULL || o_str_buf == NULL) in mp_obj_new_exception_msg_vlist()485 … o_str_buf = (byte *)((uint8_t *)MP_STATE_VM(mp_emergency_exception_buf) + EMG_BUF_STR_BUF_OFFSET); in mp_obj_new_exception_msg_vlist()486 …= (uint8_t *)MP_STATE_VM(mp_emergency_exception_buf) + mp_emergency_exception_buf_size - o_str_buf; in mp_obj_new_exception_msg_vlist()496 if (o_str_buf == NULL) { in mp_obj_new_exception_msg_vlist()506 struct _exc_printer_t exc_pr = {!used_emg_buf, o_str_alloc, 0, o_str_buf}; in mp_obj_new_exception_msg_vlist()
Completed in 5 milliseconds