Searched refs:_Py_IS_ALIGNED (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Include/ |
D | pymacro.h | 90 #define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1))) macro
|
/external/python/cpython3/Objects/stringlib/ |
D | find_max_char.h | 27 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in STRINGLIB()
|
D | codecs.h | 43 if (_Py_IS_ALIGNED(s, SIZEOF_LONG)) { in STRINGLIB() 515 if (_Py_IS_ALIGNED(q, SIZEOF_LONG)) { in STRINGLIB()
|
/external/python/cpython3/Objects/ |
D | bytes_methods.c | 123 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in _Py_bytes_isascii()
|
D | unicodeobject.c | 4934 assert(_Py_IS_ALIGNED(dest, SIZEOF_LONG)); in ascii_decode() 4935 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in ascii_decode() 4962 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in ascii_decode() 5743 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(v), 4)); in _PyUnicode_EncodeUTF32() 6090 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(v), 2)); in _PyUnicode_EncodeUTF16()
|
/external/python/cpython3/Python/ |
D | ceval.c | 1306 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault()
|