Home
last modified time | relevance | path

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

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Denumobject.c89 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()
Dsliceobject.c86 start = PyInt_FromSsize_t(istart); in _PySlice_FromIndices()
89 end = PyInt_FromSsize_t(istop); in _PySlice_FromIndices()
Diterobject.c84 return PyInt_FromSsize_t(len); in iter_len()
Dtupleobject.c532 return PyInt_FromSsize_t(i); in tupleindex()
553 return PyInt_FromSsize_t(count); in tuplecount()
768 return PyInt_FromSsize_t(res); in tuple_sizeof()
992 return PyInt_FromSsize_t(len); in tupleiter_len()
Dbytearrayobject.c1184 return PyInt_FromSsize_t(result); in bytearray_find()
1211 count_obj = PyInt_FromSsize_t( in bytearray_count()
1235 return PyInt_FromSsize_t(result); in bytearray_index()
1254 return PyInt_FromSsize_t(result); in bytearray_rfind()
1274 return PyInt_FromSsize_t(result); in bytearray_rindex()
2569 return PyInt_FromSsize_t(self->ob_alloc); in bytearray_alloc()
2770 return PyInt_FromSsize_t(res); in bytearray_sizeof()
2982 return PyInt_FromSsize_t(len); in bytesarrayiter_length_hint()
Dstringobject.c1741 return PyInt_FromSsize_t(result); in string_find()
1761 return PyInt_FromSsize_t(result); in string_index()
1780 return PyInt_FromSsize_t(result); in string_rfind()
1800 return PyInt_FromSsize_t(result); in string_rindex()
2124 return PyInt_FromSsize_t(count); in string_count()
2132 return PyInt_FromSsize_t( in string_count()
3561 return PyInt_FromSsize_t(res); in string_sizeof()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Denumobject.c89 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()
Dsliceobject.c86 start = PyInt_FromSsize_t(istart); in _PySlice_FromIndices()
89 end = PyInt_FromSsize_t(istop); in _PySlice_FromIndices()
Diterobject.c84 return PyInt_FromSsize_t(len); in iter_len()
Dtupleobject.c534 return PyInt_FromSsize_t(i); in tupleindex()
555 return PyInt_FromSsize_t(count); in tuplecount()
980 return PyInt_FromSsize_t(len); in tupleiter_len()
Dbytearrayobject.c1188 return PyInt_FromSsize_t(result); in bytearray_find()
1215 count_obj = PyInt_FromSsize_t( in bytearray_count()
1239 return PyInt_FromSsize_t(result); in bytearray_index()
1258 return PyInt_FromSsize_t(result); in bytearray_rfind()
1278 return PyInt_FromSsize_t(result); in bytearray_rindex()
2577 return PyInt_FromSsize_t(self->ob_alloc); in bytearray_alloc()
2778 return PyInt_FromSsize_t(res); in bytearray_sizeof()
2990 return PyInt_FromSsize_t(len); in bytesarrayiter_length_hint()
Dstringobject.c1758 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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dintobject.h40 PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dintobject.h40 PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_bisectmodule.c55 return PyInt_FromSsize_t(index); in bisect_right()
156 return PyInt_FromSsize_t(index); in bisect_left()
D_weakref.c20 result = PyInt_FromSsize_t(_PyWeakref_GetWeakrefCount(*list)); in weakref_getweakrefcount()
D_testcapimodule.c940 return PyInt_FromSsize_t(value); in getargs_n()
1890 PyModule_AddObject(m, "PY_SSIZE_T_MAX", PyInt_FromSsize_t(PY_SSIZE_T_MAX)); in init_testcapi()
1891 PyModule_AddObject(m, "PY_SSIZE_T_MIN", PyInt_FromSsize_t(PY_SSIZE_T_MIN)); in init_testcapi()
1892 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyInt_FromSsize_t(sizeof(PyGC_Head))); in init_testcapi()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_bisectmodule.c58 return PyInt_FromSsize_t(index); in bisect_right()
164 return PyInt_FromSsize_t(index); in bisect_left()
D_weakref.c20 result = PyInt_FromSsize_t(_PyWeakref_GetWeakrefCount(*list)); in weakref_getweakrefcount()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dsysmodule.c697 gc_head_size = PyInt_FromSsize_t(sizeof(PyGC_Head)); in sys_getsizeof()
708 res = PyInt_FromSsize_t(PyInstance_Type.tp_basicsize); in sys_getsizeof()
753 return PyInt_FromSsize_t(arg->ob_refcnt); in sys_getrefcount()
760 return PyInt_FromSsize_t(_Py_GetRefTotal()); in sys_gettotalrefcount()
1426 PyInt_FromSsize_t(PY_SSIZE_T_MAX)); in _PySys_Init()
Dstructmember.c92 v = PyInt_FromSsize_t(*(Py_ssize_t*)addr); in PyMember_GetOne()
Dmodsupport.c330 return PyInt_FromSsize_t(va_arg(*p_va, Py_ssize_t)); in do_mkvalue()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dstructmember.c92 v = PyInt_FromSsize_t(*(Py_ssize_t*)addr); in PyMember_GetOne()
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()
Dmodsupport.c330 return PyInt_FromSsize_t(va_arg(*p_va, Py_ssize_t)); in do_mkvalue()

1234