Home
last modified time | relevance | path

Searched refs:Py_uintptr_t (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Include/
Dpyport.h159 typedef uintptr_t Py_uintptr_t; typedef
163 typedef unsigned int Py_uintptr_t; typedef
167 typedef unsigned long Py_uintptr_t; typedef
171 typedef unsigned PY_LONG_LONG Py_uintptr_t; typedef
/external/python/cpython2/Python/
Dpyarena.c89 b->ab_offset = ROUNDUP((Py_uintptr_t)(b->ab_mem)) - in block_new()
90 (Py_uintptr_t)(b->ab_mem); in block_new()
/external/python/cpython2/Objects/
Dobject.c779 Py_uintptr_t vv = (Py_uintptr_t)v; in default_3way_compare()
780 Py_uintptr_t ww = (Py_uintptr_t)w; in default_3way_compare()
805 return ((Py_uintptr_t)(v->ob_type) < ( in default_3way_compare()
806 Py_uintptr_t)(w->ob_type)) ? -1 : 1; in default_3way_compare()
Dobmalloc.c274 #define uptr Py_uintptr_t
Dtypeobject.c656 Py_uintptr_t vv, ww; in type_richcompare()
678 vv = (Py_uintptr_t)v; in type_richcompare()
679 ww = (Py_uintptr_t)w; in type_richcompare()
/external/python/cpython2/Modules/
D_sre.c838 if (ctx->pattern[3] && (Py_uintptr_t)(end - ctx->ptr) < ctx->pattern[3]) { in SRE_MATCH()
2885 if (skip-adj > (Py_uintptr_t)(end - code)) \
2918 if (offset > (Py_uintptr_t)(end - code)) in _validate_charset()
2926 if (offset > (Py_uintptr_t)(end - code)) in _validate_charset()
2935 if (offset > (Py_uintptr_t)(end - code)) in _validate_charset()
3086 if (prefix_len > (Py_uintptr_t)(newcode - code)) in _validate_inner()
3090 if (prefix_len > (Py_uintptr_t)(newcode - code)) in _validate_inner()
3219 if (skip >= 3 && skip-3 < (Py_uintptr_t)(end - code) && in _validate_inner()
D_elementtree.c120 #define JOIN_GET(p) ((Py_uintptr_t) (p) & 1)
121 #define JOIN_SET(p, flag) ((void*) ((Py_uintptr_t) (JOIN_OBJ(p)) | (flag)))
122 #define JOIN_OBJ(p) ((PyObject*) ((Py_uintptr_t) (p) & ~1))
712 id = PyInt_FromLong((Py_uintptr_t) self); in element_deepcopy()
/external/python/cpython3/Include/
Dpyport.h97 typedef uintptr_t Py_uintptr_t; typedef
/external/python/cpython3/Misc/
DHISTORY4688 values, by using `Py_uintptr_t` instead of `size_t`. Patch by Serhiy