Home
last modified time | relevance | path

Searched refs:MICROPY_PYSTACK_ALIGN (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dpystack.c40 n_bytes = (n_bytes + (MICROPY_PYSTACK_ALIGN - 1)) & ~(MICROPY_PYSTACK_ALIGN - 1); in mp_pystack_alloc()
42 n_bytes += MICROPY_PYSTACK_ALIGN; in mp_pystack_alloc()
51 *(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN) = n_bytes; in mp_pystack_alloc()
A Dpystack.h48 size_t n_bytes = *(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN); in mp_pystack_free()
50 n_bytes += *(size_t *)(MP_STATE_THREAD(pystack_cur) - n_bytes - MICROPY_PYSTACK_ALIGN); in mp_pystack_free()
54 (uint)*(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN)); in mp_pystack_free()
A Dmpconfig.h577 #ifndef MICROPY_PYSTACK_ALIGN
578 #define MICROPY_PYSTACK_ALIGN (8) macro

Completed in 11 milliseconds