Home
last modified time | relevance | path

Searched refs:PyInt_FromSsize_t (Results 1 – 25 of 52) sorted by relevance

123

/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.h75 # define PyInt_FromSsize_t(n) PyInt_FromLong((long)n) macro
150 # define PyInt_FromSsize_t PyLong_FromSsize_t macro
Dconnection.h232 result = PyInt_FromSsize_t(res); in connection_recvbytes_into()
/external/python/cpython2/Objects/
Denumobject.c89 en->en_longindex = PyInt_FromSsize_t(PY_SSIZE_T_MAX); in enum_next_long()
143 next_index = PyInt_FromSsize_t(en->en_index); in enum_next()
335 return PyInt_FromSsize_t((seqsize < position) ? 0 : position); in reversed_len()
Dsliceobject.c87 start = PyInt_FromSsize_t(istart); in _PySlice_FromIndices()
90 end = PyInt_FromSsize_t(istop); in _PySlice_FromIndices()
Diterobject.c89 return PyInt_FromSsize_t(len); in iter_len()
Dbytearrayobject.c1214 return PyInt_FromSsize_t(result); in bytearray_find()
1241 count_obj = PyInt_FromSsize_t( in bytearray_count()
1265 return PyInt_FromSsize_t(result); in bytearray_index()
1284 return PyInt_FromSsize_t(result); in bytearray_rfind()
1304 return PyInt_FromSsize_t(result); in bytearray_rindex()
2602 return PyInt_FromSsize_t(self->ob_alloc); in bytearray_alloc()
2803 return PyInt_FromSsize_t(res); in bytearray_sizeof()
3015 return PyInt_FromSsize_t(len); in bytesarrayiter_length_hint()
Dtupleobject.c531 return PyInt_FromSsize_t(i); in tupleindex()
552 return PyInt_FromSsize_t(count); in tuplecount()
977 return PyInt_FromSsize_t(len); in tupleiter_len()
Dstringobject.c1764 return PyInt_FromSsize_t(result); in string_find()
1784 return PyInt_FromSsize_t(result); in string_index()
1803 return PyInt_FromSsize_t(result); in string_rfind()
1823 return PyInt_FromSsize_t(result); in string_rindex()
2147 return PyInt_FromSsize_t(count); in string_count()
2155 return PyInt_FromSsize_t( in string_count()
3579 return PyInt_FromSsize_t(res); in string_sizeof()
Dlistobject.c2300 return PyInt_FromSsize_t(i); in listindex()
2334 return PyInt_FromSsize_t(count); in listcount()
2473 return PyInt_FromSsize_t(res); in list_sizeof()
2932 return PyInt_FromSsize_t(len); in listiter_len()
/external/python/cpython2/Modules/
D_bisectmodule.c58 return PyInt_FromSsize_t(index); in bisect_right()
164 return PyInt_FromSsize_t(index); in bisect_left()
D_weakref.c57 result = PyInt_FromSsize_t(_PyWeakref_GetWeakrefCount(*list)); in weakref_getweakrefcount()
D_testcapimodule.c1162 return PyInt_FromSsize_t(value); in getargs_n()
2983 PyModule_AddObject(m, "PY_SSIZE_T_MAX", PyInt_FromSsize_t(PY_SSIZE_T_MAX)); in init_testcapi()
2984 PyModule_AddObject(m, "PY_SSIZE_T_MIN", PyInt_FromSsize_t(PY_SSIZE_T_MIN)); in init_testcapi()
2985 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyInt_FromSsize_t(sizeof(PyGC_Head))); in init_testcapi()
Dmmapmodule.c299 return PyInt_FromSsize_t(p - self->data); in mmap_gfind()
411 return PyInt_FromSsize_t(self->size); in mmap_size_method()
D_sre.c3493 return PyInt_FromSsize_t(self->mark[index*2]); in match_start()
3516 return PyInt_FromSsize_t(self->mark[index*2+1]); in match_end()
3529 item = PyInt_FromSsize_t(i1); in _pair()
3534 item = PyInt_FromSsize_t(i2); in _pair()
3706 return PyInt_FromSsize_t(self->lastindex); in match_lastindex_get()
D_json.c10 #define PyInt_FromSsize_t PyInt_FromLong macro
151 return PyInt_FromSsize_t(*size_ptr); in _convertPyInt_FromSsize_t()
416 pyidx = PyInt_FromSsize_t(idx); in _build_rval_index_tuple()
Dthreadmodule.c833 return PyInt_FromSsize_t((Py_ssize_t) old_size); in thread_stack_size()
/external/python/cpython2/Include/
Dintobject.h43 PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t);
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h160 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg) macro
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c1557 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()
Dctypes.h16 #define PyInt_FromSsize_t PyInt_FromLong macro
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h198 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg) macro
/external/python/cpython2/Python/
Dsysmodule.c771 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()
Dstructmember.c92 v = PyInt_FromSsize_t(*(Py_ssize_t*)addr); in PyMember_GetOne()
Dmodsupport.c356 return PyInt_FromSsize_t(va_arg(*p_va, Py_ssize_t)); in do_mkvalue()
/external/python/cpython2/Doc/c-api/
Dint.rst69 .. c:function:: PyObject* PyInt_FromSsize_t(Py_ssize_t ival)

123