Searched refs:mp_obj_str_t (Results 1 – 12 of 12) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objstr.h | 37 } mp_obj_str_t; typedef 39 #define MP_DEFINE_STR_OBJ(obj_name, str) mp_obj_str_t obj_name = {{&mp_type_str}, 0, sizeof(str) - … 45 …{ str_hash = qstr_hash(MP_OBJ_QSTR_VALUE(str_obj_in)); } else { str_hash = ((mp_obj_str_t *)MP_OBJ… 50 …{ str_len = qstr_len(MP_OBJ_QSTR_VALUE(str_obj_in)); } else { str_len = ((mp_obj_str_t *)MP_OBJ_TO… 61 …else { str_len = ((mp_obj_str_t *)MP_OBJ_TO_PTR(str_obj_in))->len; str_data = ((mp_obj_str_t *)MP_…
|
A D | objexcept.c | 70 #define EMG_BUF_STR_BUF_OFFSET (EMG_BUF_STR_OFFSET + sizeof(mp_obj_str_t)) 126 mp_obj_str_t *o_str = MP_OBJ_TO_PTR(o->args->items[0]); in decompress_error_text_maybe() 393 mp_obj_str_t *o_str = m_new_obj_maybe(mp_obj_str_t); in mp_obj_new_exception_msg() 400 … && mp_emergency_exception_buf_size >= (mp_int_t)(EMG_BUF_STR_OFFSET + sizeof(mp_obj_str_t))) { in mp_obj_new_exception_msg() 401 o_str = (mp_obj_str_t *)((uint8_t *)MP_STATE_VM(mp_emergency_exception_buf) in mp_obj_new_exception_msg() 472 mp_obj_str_t *o_str = m_new_obj_maybe(mp_obj_str_t); in mp_obj_new_exception_msg_vlist() 482 …&& mp_emergency_exception_buf_size >= (mp_int_t)(EMG_BUF_STR_OFFSET + sizeof(mp_obj_str_t) + 16)) { in mp_obj_new_exception_msg_vlist() 484 … o_str = (mp_obj_str_t *)((uint8_t *)MP_STATE_VM(mp_emergency_exception_buf) + EMG_BUF_STR_OFFSET); in mp_obj_new_exception_msg_vlist()
|
A D | objstr.c | 176 mp_obj_str_t *o = MP_OBJ_TO_PTR(mp_obj_new_str_copy(type, NULL, str_len)); in mp_obj_str_make_new() 221 mp_obj_str_t *o = MP_OBJ_TO_PTR(mp_obj_new_str_copy(&mp_type_bytes, NULL, str_len)); in bytes_make_new() 2023 const mp_obj_str_t mp_const_empty_bytes_obj = {{&mp_type_bytes}, 0, 0, (const byte *)""}; 2029 mp_obj_str_t *o = m_new_obj(mp_obj_str_t); in mp_obj_new_str_copy() 2073 mp_obj_str_t *o = m_new_obj(mp_obj_str_t); in mp_obj_new_str_from_vstr() 2150 mp_obj_str_t *self = MP_OBJ_TO_PTR(self_in); in mp_obj_str_get_qstr() 2184 *len = ((mp_obj_str_t *)MP_OBJ_TO_PTR(self_in))->len; in mp_obj_str_get_data_no_check() 2185 return ((mp_obj_str_t *)MP_OBJ_TO_PTR(self_in))->data; in mp_obj_str_get_data_no_check()
|
A D | objgenerator.c | 98 mp_obj_str_t *prelude_bytes = MP_OBJ_TO_PTR(self_fun->const_table[prelude_offset]); in native_gen_wrap_call()
|
A D | emitnative.c | 569 …ASM_LOAD_REG_REG_OFFSET(emit->as, REG_LOCAL_3, REG_LOCAL_3, offsetof(mp_obj_str_t, data) / sizeof(… in emit_native_start_pass()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | _frozen_mpy.c | 142 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__0 = { 150 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__1 = { 158 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__2 = {
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | _frozen_mpy.c | 88 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__0 = {{&mp_type_str}, 246, 34, (const … 89 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__1 = {{&mp_type_str}, 200, 38, (const … 90 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__2 = {{&mp_type_bytes}, 57, 11, (const…
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | _frozen_mpy.c | 88 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__0 = {{&mp_type_str}, 246, 34, (const … 89 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__1 = {{&mp_type_str}, 200, 38, (const … 90 STATIC const mp_obj_str_t const_obj_frozentest__lt_module_gt__2 = {{&mp_type_bytes}, 57, 11, (const…
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modussl_axtls.c | 105 mp_obj_str_t *o_str = m_new_obj_maybe(mp_obj_str_t); in ussl_raise_error()
|
A D | modussl_mbedtls.c | 95 mp_obj_str_t *o_str = m_new_obj_maybe(mp_obj_str_t); in mbedtls_raise_error()
|
A D | network_cyw43.c | 138 …if (memcmp(res->bssid, ((mp_obj_str_t *)MP_OBJ_TO_PTR(t->items[1]))->data, sizeof(res->bssid)) == … in network_cyw43_scan_cb()
|
A D | vfs_lfsx.c | 468 mp_obj_str_t path_obj = { { &mp_type_str }, 0, 0, (const byte *)path }; in MP_VFS_LFSx()
|
Completed in 28 milliseconds