Home
last modified time | relevance | path

Searched refs:MP_ALIGN (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dbinary.c226 p = p_base + (uintptr_t)MP_ALIGN(p - p_base, align); in mp_binary_get_val()
295 p = p_base + (uintptr_t)MP_ALIGN(p - p_base, align); in mp_binary_set_val()
A Demitbc.c254 emit->bytecode_offset = (size_t)MP_ALIGN(emit->bytecode_offset, sizeof(mp_obj_t)); in emit_write_bytecode_byte_obj()
257 assert(c == MP_ALIGN(c, sizeof(mp_obj_t))); in emit_write_bytecode_byte_obj()
270 emit->bytecode_offset = (size_t)MP_ALIGN(emit->bytecode_offset, sizeof(void *)); in emit_write_bytecode_byte_raw_code()
273 assert(c == MP_ALIGN(c, sizeof(void *))); in emit_write_bytecode_byte_raw_code()
423 emit->code_info_offset = (size_t)MP_ALIGN(emit->code_info_offset, sizeof(mp_uint_t)); in mp_emit_bc_end_pass()
A Dshowbc.c65 ip = (byte *)MP_ALIGN(ip, sizeof(void *)); \
70 ip = (byte *)MP_ALIGN(ip, sizeof(mp_obj_t)); \
A Dbc.c292 ip = MP_ALIGN(ip, sizeof(mp_uint_t)); in mp_setup_code_state()
A Dvm.c86 ip = (byte*)MP_ALIGN(ip, sizeof(void*)); \
90 ip = (byte*)MP_ALIGN(ip, sizeof(mp_obj_t)); \
1472 bytecode_start = MP_ALIGN(bytecode_start, sizeof(mp_uint_t)); in mp_execute_bytecode()
A Dmisc.h118 #define MP_ALIGN(ptr, alignment) (void *)(((uintptr_t)(ptr) + ((alignment) - 1)) & ~((alignment) - … macro

Completed in 11 milliseconds