Searched refs:_Py_IS_ALIGNED (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Include/ |
D | pymacro.h | 90 #define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1))) macro
|
/third_party/python/Objects/stringlib/ |
D | find_max_char.h | 25 if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) { in STRINGLIB()
|
D | codecs.h | 42 if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) { in STRINGLIB() 512 if (_Py_IS_ALIGNED(q, ALIGNOF_LONG)) { in STRINGLIB()
|
/third_party/python/Objects/ |
D | bytes_methods.c | 122 if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) { in _Py_bytes_isascii()
|
D | unicodeobject.c | 5132 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/ |
D | ceval.c | 1674 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(co->co_code), sizeof(_Py_CODEUNIT))); in _PyEval_EvalFrameDefault()
|