/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.h | 75 # define PyInt_FromSsize_t(n) PyInt_FromLong((long)n) macro 150 # define PyInt_FromSsize_t PyLong_FromSsize_t macro
|
D | connection.h | 232 result = PyInt_FromSsize_t(res); in connection_recvbytes_into()
|
/external/python/cpython2/Objects/ |
D | enumobject.c | 89 en->en_longindex = PyInt_FromSsize_t(PY_SSIZE_T_MAX); in enum_next_long() 137 next_index = PyInt_FromSsize_t(en->en_index); in enum_next() 329 return PyInt_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()
|
D | sliceobject.c | 87 start = PyInt_FromSsize_t(istart); in _PySlice_FromIndices() 90 end = PyInt_FromSsize_t(istop); in _PySlice_FromIndices()
|
D | iterobject.c | 89 return PyInt_FromSsize_t(len); in iter_len()
|
D | bytearrayobject.c | 1193 return PyInt_FromSsize_t(result); in bytearray_find() 1220 count_obj = PyInt_FromSsize_t( in bytearray_count() 1244 return PyInt_FromSsize_t(result); in bytearray_index() 1263 return PyInt_FromSsize_t(result); in bytearray_rfind() 1283 return PyInt_FromSsize_t(result); in bytearray_rindex() 2590 return PyInt_FromSsize_t(self->ob_alloc); in bytearray_alloc() 2791 return PyInt_FromSsize_t(res); in bytearray_sizeof() 3003 return PyInt_FromSsize_t(len); in bytesarrayiter_length_hint()
|
D | tupleobject.c | 534 return PyInt_FromSsize_t(i); in tupleindex() 555 return PyInt_FromSsize_t(count); in tuplecount() 980 return PyInt_FromSsize_t(len); in tupleiter_len()
|
D | stringobject.c | 1758 return PyInt_FromSsize_t(result); in string_find() 1778 return PyInt_FromSsize_t(result); in string_index() 1797 return PyInt_FromSsize_t(result); in string_rfind() 1817 return PyInt_FromSsize_t(result); in string_rindex() 2141 return PyInt_FromSsize_t(count); in string_count() 2149 return PyInt_FromSsize_t( in string_count() 3582 return PyInt_FromSsize_t(res); in string_sizeof()
|
D | listobject.c | 2303 return PyInt_FromSsize_t(i); in listindex() 2337 return PyInt_FromSsize_t(count); in listcount() 2476 return PyInt_FromSsize_t(res); in list_sizeof() 2933 return PyInt_FromSsize_t(len); in listiter_len()
|
/external/python/cpython2/Modules/ |
D | _bisectmodule.c | 58 return PyInt_FromSsize_t(index); in bisect_right() 164 return PyInt_FromSsize_t(index); in bisect_left()
|
D | _weakref.c | 20 result = PyInt_FromSsize_t(_PyWeakref_GetWeakrefCount(*list)); in weakref_getweakrefcount()
|
D | _testcapimodule.c | 1154 return PyInt_FromSsize_t(value); in getargs_n() 2788 PyModule_AddObject(m, "PY_SSIZE_T_MAX", PyInt_FromSsize_t(PY_SSIZE_T_MAX)); in init_testcapi() 2789 PyModule_AddObject(m, "PY_SSIZE_T_MIN", PyInt_FromSsize_t(PY_SSIZE_T_MIN)); in init_testcapi() 2790 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyInt_FromSsize_t(sizeof(PyGC_Head))); in init_testcapi()
|
D | mmapmodule.c | 299 return PyInt_FromSsize_t(p - self->data); in mmap_gfind() 411 return PyInt_FromSsize_t(self->size); in mmap_size_method()
|
D | _sre.c | 3479 return PyInt_FromSsize_t(self->mark[index*2]); in match_start() 3502 return PyInt_FromSsize_t(self->mark[index*2+1]); in match_end() 3515 item = PyInt_FromSsize_t(i1); in _pair() 3520 item = PyInt_FromSsize_t(i2); in _pair() 3692 return PyInt_FromSsize_t(self->lastindex); in match_lastindex_get()
|
D | _json.c | 10 #define PyInt_FromSsize_t PyInt_FromLong macro 155 return PyInt_FromSsize_t(*size_ptr); in _convertPyInt_FromSsize_t() 420 pyidx = PyInt_FromSsize_t(idx); in _build_rval_index_tuple()
|
D | threadmodule.c | 833 return PyInt_FromSsize_t((Py_ssize_t) old_size); in thread_stack_size()
|
D | cStringIO.c | 302 return PyInt_FromSsize_t(self->pos); in IO_tell()
|
/external/python/cpython2/Include/ |
D | intobject.h | 40 PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t);
|
/external/python/cpython2/Modules/_ctypes/ |
D | callproc.c | 1557 return PyInt_FromSsize_t(dict->size); in sizeof_func() 1560 return PyInt_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func() 1578 return PyInt_FromSsize_t(dict->align); in align_func() 1582 return PyInt_FromSsize_t(dict->align); in align_func()
|
D | ctypes.h | 16 #define PyInt_FromSsize_t PyInt_FromLong macro
|
/external/python/cpython2/Python/ |
D | structmember.c | 92 v = PyInt_FromSsize_t(*(Py_ssize_t*)addr); in PyMember_GetOne()
|
D | sysmodule.c | 771 return PyInt_FromSsize_t(arg->ob_refcnt); in sys_getrefcount() 778 return PyInt_FromSsize_t(_Py_GetRefTotal()); in sys_gettotalrefcount() 1447 PyInt_FromSsize_t(PY_SSIZE_T_MAX)); in _PySys_Init()
|
D | modsupport.c | 356 return PyInt_FromSsize_t(va_arg(*p_va, Py_ssize_t)); in do_mkvalue()
|
/external/python/cpython2/Doc/c-api/ |
D | int.rst | 69 .. c:function:: PyObject* PyInt_FromSsize_t(Py_ssize_t ival)
|
/external/python/cpython2/RISCOS/Modules/ |
D | swimodule.c | 242 for(k=0;k<n;k++) PyList_SetItem(result,k,PyInt_FromSsize_t(p[i+k])); in block_slice()
|