Home
last modified time | relevance | path

Searched refs:PY_SIZE_MAX (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Python/
Dasdl.c12 (size && ((size - 1) > (PY_SIZE_MAX / sizeof(void *))))) { in asdl_seq_new()
18 if (n > PY_SIZE_MAX - sizeof(asdl_seq)) { in asdl_seq_new()
43 (size && ((size - 1) > (PY_SIZE_MAX / sizeof(void *))))) { in asdl_int_seq_new()
49 if (n > PY_SIZE_MAX - sizeof(asdl_seq)) { in asdl_int_seq_new()
Dcompile.c640 if (oldsize > (PY_SIZE_MAX >> 1)) { in compiler_next_instr()
3500 if (nblocks > PY_SIZE_MAX / sizeof(basicblock *)) { in assemble_init()
Dast.c3400 if (len > PY_SIZE_MAX / 6) in decode_unicode()
/external/python/cpython2/Parser/
Dnode.c94 if (required_capacity > PY_SIZE_MAX / sizeof(node)) { in PyNode_AddChild()
/external/python/cpython2/Include/
Dpyport.h196 #define PY_SIZE_MAX SIZE_MAX macro
198 #define PY_SIZE_MAX ((size_t)-1) macro
/external/python/cpython2/Objects/
Dlistobject.c51 if (new_allocated > PY_SIZE_MAX - newsize) { in list_resize()
61 if (new_allocated <= (PY_SIZE_MAX / sizeof(PyObject *))) in list_resize()
131 if ((size_t)size > PY_SIZE_MAX / sizeof(PyObject *)) in PyList_New()
2644 PY_SIZE_MAX / sizeof(PyObject*)); in list_ass_subscript()
Dbufferobject.c416 assert(count <= PY_SIZE_MAX - size); in buffer_concat()
Dobmalloc.c580 if (numarenas > PY_SIZE_MAX / sizeof(*arenas)) in new_arena()
/external/python/cpython2/Modules/
Daudioop.c1135 if ((size_t)nchannels > PY_SIZE_MAX/sizeof(int)) { in audioop_ratecv()
D_tkinter.c1038 #if PY_SIZE_MAX > INT_MAX