Home
last modified time | relevance | path

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

/external/python/cpython3/Include/
Dpymacro.h90 #define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1))) macro
/external/python/cpython3/Objects/stringlib/
Dfind_max_char.h27 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in STRINGLIB()
Dcodecs.h41 if (_Py_IS_ALIGNED(s, SIZEOF_LONG)) { in STRINGLIB()
514 if (_Py_IS_ALIGNED(q, SIZEOF_LONG)) { in STRINGLIB()
/external/python/cpython3/Objects/
Dbytes_methods.c122 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in _Py_bytes_isascii()
Dunicodeobject.c4775 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/
Dceval.c885 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault()