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 | 41 if (_Py_IS_ALIGNED(s, SIZEOF_LONG)) { in STRINGLIB() 514 if (_Py_IS_ALIGNED(q, SIZEOF_LONG)) { in STRINGLIB()
|
/external/python/cpython3/Objects/ |
D | bytes_methods.c | 122 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in _Py_bytes_isascii()
|
D | unicodeobject.c | 4775 assert(_Py_IS_ALIGNED(dest, SIZEOF_LONG)); in ascii_decode() 4776 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in ascii_decode() 4803 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in ascii_decode() 5427 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(v), 4)); in _PyUnicode_EncodeUTF32() 5774 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(v), 2)); in _PyUnicode_EncodeUTF16()
|
/external/python/cpython3/Python/ |
D | ceval.c | 885 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault()
|