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.h43 if (_Py_IS_ALIGNED(s, SIZEOF_LONG)) { in STRINGLIB()
515 if (_Py_IS_ALIGNED(q, SIZEOF_LONG)) { in STRINGLIB()
/external/python/cpython3/Objects/
Dbytes_methods.c123 if (_Py_IS_ALIGNED(p, SIZEOF_LONG)) { in _Py_bytes_isascii()
Dunicodeobject.c4934 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/
Dceval.c1306 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault()