Home
last modified time | relevance | path

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

/third_party/python/Include/
Dpymacro.h90 #define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1))) macro
/third_party/python/Objects/stringlib/
Dfind_max_char.h25 if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) { in STRINGLIB()
Dcodecs.h42 if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) { in STRINGLIB()
512 if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) { in STRINGLIB()
/third_party/python/Objects/
Dbytes_methods.c122 if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) { in _Py_bytes_isascii()
Dunicodeobject.c5132 assert(_Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T)); in ascii_decode()
5133 if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) { in ascii_decode()
5159 if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) { in ascii_decode()
5941 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(v), 4)); in _PyUnicode_EncodeUTF32()
6288 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(v), 2)); in _PyUnicode_EncodeUTF16()
/third_party/python/Python/
Dceval.c1674 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault()