Searched refs:MP_ALIGN (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | binary.c | 226 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 D | emitbc.c | 254 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 D | showbc.c | 65 ip = (byte *)MP_ALIGN(ip, sizeof(void *)); \ 70 ip = (byte *)MP_ALIGN(ip, sizeof(mp_obj_t)); \
|
A D | bc.c | 292 ip = MP_ALIGN(ip, sizeof(mp_uint_t)); in mp_setup_code_state()
|
A D | vm.c | 86 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 D | misc.h | 118 #define MP_ALIGN(ptr, alignment) (void *)(((uintptr_t)(ptr) + ((alignment) - 1)) & ~((alignment) - … macro
|
Completed in 11 milliseconds