Searched defs:Py_ssize_t (Results 1 - 19 of 19) sorted by relevance

/external/python/cpython2/Modules/_sqlite/
H A Dsqlitecompat.h29 /* define Py_ssize_t for pre-2.5 versions of Python */
32 typedef int Py_ssize_t; typedef
/external/python/cpython2/Include/
H A Dintobject.h36 PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
40 PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t); variable
42 PyAPI_FUNC(Py_ssize_t) PyInt_AsSsize_t(PyObject *);
76 Py_ssize_t format_spec_len);
H A Dlongobject.h22 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t); variable
27 PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
41 possible if the number of bits doesn't fit into a Py_ssize_t, sets
43 PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e);
60 PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
130 Py_ssize_t format_spec_len);
H A Dlongintrepr.h31 - the long <-> size_t/Py_ssize_t conversion functions expect that
95 PyAPI_FUNC(PyLongObject *) _PyLong_New(Py_ssize_t); variable
H A Dpyport.h178 /* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==
183 typedef ssize_t Py_ssize_t; typedef
185 typedef Py_intptr_t Py_ssize_t; typedef
187 # error "Python needs a typedef for Py_ssize_t in pyport.h."
201 /* Largest positive value of type Py_ssize_t. */
202 #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
203 /* Smallest negative value of type Py_ssize_t. */
211 * format to convert an argument with the width of a size_t or Py_ssize_t.
217 * the platform C requires to convert a size_t/Py_ssize_t argumen
[all...]
/external/clang/test/CodeGen/
H A Dunion-init.c4 typedef int Py_ssize_t; typedef
10 Py_ssize_t gc_refs;
/external/python/cpython3/Include/
H A Dlongintrepr.h32 - the Python int <-> size_t/Py_ssize_t conversion functions expect that
90 PyAPI_FUNC(PyLongObject *) _PyLong_New(Py_ssize_t); variable
H A Dlongobject.h21 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t); variable
25 PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
78 possible if the number of bits doesn't fit into a Py_ssize_t, sets
81 PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e);
97 PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
99 PyAPI_FUNC(PyObject *) _PyLong_FromBytes(const char *, Py_ssize_t, int);
197 Py_ssize_t start,
198 Py_ssize_t end);
H A Dpyport.h79 /* Py_ssize_t is a signed integral type such that sizeof(Py_ssize_t) ==
84 typedef ssize_t Py_ssize_t; typedef
86 typedef Py_intptr_t Py_ssize_t; typedef
88 # error "Python needs a typedef for Py_ssize_t in pyport.h."
93 typedef Py_ssize_t Py_hash_t;
100 typedef Py_ssize_t Py_ssize_clean_t;
108 /* Largest positive value of type Py_ssize_t. */
109 #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
110 /* Smallest negative value of type Py_ssize_t
[all...]
/external/libmojo/third_party/markupsafe/
H A D_speedups.c18 typedef int Py_ssize_t; typedef
25 static Py_ssize_t escaped_chars_delta_len[ESCAPED_CHARS_TABLE_SIZE];
63 Py_ssize_t delta=0, erepl=0, delta_len=0;
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
H A Dcext.h159 typedef int Py_ssize_t; typedef
162 #define PY_SSIZE_T_MAX ((Py_ssize_t)INT_MAX)
228 ((void *)((PyTypeObject *)type)->tp_alloc(type, (Py_ssize_t)0))
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
H A Dcext.h197 typedef int Py_ssize_t; typedef
200 #define PY_SSIZE_T_MAX ((Py_ssize_t)INT_MAX)
266 ((void *)((PyTypeObject *)type)->tp_alloc(type, (Py_ssize_t)0))
/external/python/cpython2/Modules/_multiprocessing/
H A Dmultiprocessing.h67 * Make sure Py_ssize_t available
71 typedef int Py_ssize_t; typedef
/external/python/cpython3/Misc/
H A Dcoverity_model.c24 typedef long Py_ssize_t; typedef
70 PyObject *PyLong_FromSsize_t(Py_ssize_t ival)
105 static Py_ssize_t r_string(char *s, Py_ssize_t n, RFILE *p)
/external/python/cpython2/Modules/_ctypes/
H A Dctypes.h15 typedef int Py_ssize_t; typedef
19 typedef Py_ssize_t (*readbufferproc)(PyObject *, Py_ssize_t, void **);
20 typedef Py_ssize_t (*writebufferproc)(PyObject *, Py_ssize_t, void **);
21 typedef Py_ssize_t (*segcountproc)(PyObject *, Py_ssize_t *);
22 typedef Py_ssize_t (*charbufferproc)(PyObject *, Py_ssize_t, char **);
54 typedef PyObject *(* GETFUNC)(void *, Py_ssize_t siz
[all...]
/external/python/cpython2/Modules/
H A D_elementtree.c104 typedef int Py_ssize_t; typedef
340 element_resize(ElementObject* self, Py_ssize_t extra)
342 Py_ssize_t size;
724 Py_ssize_t i;
766 Py_ssize_t i;
1042 element_getitem(PyObject* self_, Py_ssize_t index)
1118 static Py_ssize_t
1274 element_setitem(PyObject* self_, Py_ssize_t index_, PyObject* item)
1314 Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
1325 Py_ssize_t star
[all...]
H A D_json.c7 typedef int Py_ssize_t; typedef
81 static Py_ssize_t
82 ascii_escape_char(Py_UNICODE c, char *output, Py_ssize_t chars);
91 scan_once_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
93 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
95 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
113 encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level);
115 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_leve
[all...]
H A D_struct.c17 typedef int Py_ssize_t; typedef
29 Py_ssize_t size;
30 Py_ssize_t alignment;
39 Py_ssize_t offset;
40 Py_ssize_t size;
47 Py_ssize_t s_size;
48 Py_ssize_t s_len;
318 const Py_ssize_t largest = (Py_ssize_t)(ulargest >> 1);
722 Py_ssize_t
[all...]
H A D_bsddb.c109 typedef int Py_ssize_t; typedef
1483 Py_ssize_t size;
1504 Py_ssize_t size;
3535 Py_ssize_t DB_length(PyObject* _self)
3538 Py_ssize_t size = 0;

Completed in 2330 milliseconds