HomeSort by relevance Sort by last modified time
    Searched refs:Py_ssize_t (Results 1 - 25 of 48) sorted by null

1 2

  /external/clang/test/CodeGen/
union-init.c 4 typedef int Py_ssize_t;
10 Py_ssize_t gc_refs;
  /external/chromium_org/third_party/cython/src/Cython/Plex/
Scanners.pxd 11 cdef public Py_ssize_t buf_start_pos
12 cdef public Py_ssize_t next_pos
13 cdef public Py_ssize_t cur_pos
14 cdef public Py_ssize_t cur_line
15 cdef public Py_ssize_t cur_line_start
16 cdef public Py_ssize_t start_pos
17 cdef public Py_ssize_t start_line
18 cdef public Py_ssize_t start_col
  /external/chromium_org/third_party/cython/src/Cython/Utility/
arrayarray.h 28 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t);
29 int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *);
38 Py_ssize_t ob_size;
55 Py_ssize_t allocated;
65 static CYTHON_INLINE PyObject * newarrayobject(PyTypeObject *type, Py_ssize_t size,
101 PyObject* newarrayobject(PyTypeObject *type, Py_ssize_t size,
107 static CYTHON_INLINE int resize(arrayobject *self, Py_ssize_t n) {
122 static CYTHON_INLINE int resize_smart(arrayobject *self, Py_ssize_t n) {
124 Py_ssize_t newsize;
StringTools.c 53 const Py_ssize_t length = PyBytes_GET_SIZE(bytes);
66 static CYTHON_INLINE int __Pyx_PyUnicodeBufferContainsUCS4(Py_UNICODE* buffer, Py_ssize_t length, Py_UCS4 character); /*proto*/
74 Py_ssize_t i;
76 const Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
89 static CYTHON_INLINE int __Pyx_PyUnicodeBufferContainsUCS4(Py_UNICODE* buffer, Py_ssize_t length, Py_UCS4 character) {
170 Py_ssize_t length;
242 Py_ssize_t length = PyBytes_GET_SIZE(s1);
276 __Pyx_GetItemInt_ByteArray_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) : \
279 static CYTHON_INLINE int __Pyx_GetItemInt_ByteArray_Fast(PyObject* string, Py_ssize_t i,
284 static CYTHON_INLINE int __Pyx_GetItemInt_ByteArray_Fast(PyObject* string, Py_ssize_t i
    [all...]
FunctionArguments.c 38 Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*/
44 // Py_ssize_t formatting correctly.
49 Py_ssize_t num_min,
50 Py_ssize_t num_max,
51 Py_ssize_t num_found)
53 Py_ssize_t num_expected;
129 Py_ssize_t pos = 0;
167 PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,
    [all...]
Optimize.c 34 Py_ssize_t len = Py_SIZE(list);
52 Py_ssize_t len = Py_SIZE(list);
116 static PyObject* __Pyx_PyList_PopIndex(PyObject* L, Py_ssize_t ix); /*proto*/
117 static PyObject* __Pyx__PyObject_PopIndex(PyObject* L, Py_ssize_t ix); /*proto*/
122 static PyObject* __Pyx__PyObject_PopIndex(PyObject* L, Py_ssize_t ix) {
131 static PyObject* __Pyx_PyList_PopIndex(PyObject* L, Py_ssize_t ix) {
133 Py_ssize_t size = PyList_GET_SIZE(L);
135 Py_ssize_t cix = ix;
242 Py_ssize_t* p_orig_length, int* p_is_dict);
243 static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos
    [all...]
ObjectHandling.c 22 static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);
26 static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
33 static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);
37 static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
45 static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index); /*proto*/
52 static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
64 static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); /*proto*/
70 static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
93 Py_ssize_t index;
252 __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :
    [all...]
MemoryView_C.c 9 Py_ssize_t shape[{{max_dims}}];
10 Py_ssize_t strides[{{max_dims}}];
11 Py_ssize_t suboffsets[{{max_dims}}];
118 const char *bufp, Py_ssize_t idx, Py_ssize_t stride, Py_ssize_t suboffset);
191 Py_ssize_t stride = buf->strides[dim];
258 Py_ssize_t stride = 1;
270 Py_ssize_t stride = 1;
404 Py_ssize_t stride = buf->itemsize
    [all...]
MemoryView.pyx 28 ctypedef Py_ssize_t Py_intptr_t
43 Py_ssize_t shape[{{max_dims}}]
44 Py_ssize_t strides[{{max_dims}}]
45 Py_ssize_t suboffsets[{{max_dims}}]
103 Py_ssize_t len
106 Py_ssize_t *_shape
107 Py_ssize_t *_strides
108 Py_ssize_t itemsize
116 def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,
120 cdef Py_ssize_t i, di
    [all...]
TypeConversion.c 6 (sizeof(type) < sizeof(Py_ssize_t)) || \
7 (sizeof(type) > sizeof(Py_ssize_t) && \
12 (sizeof(type) == sizeof(Py_ssize_t) && \
17 static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
61 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
157 return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
161 Py_ssize_t ignore;
165 static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
289 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
290 Py_ssize_t ival
    [all...]
Printing.c 49 Py_ssize_t len = PyString_Size(v);
  /external/chromium_org/third_party/markupsafe/
_speedups.c 18 typedef int Py_ssize_t;
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_org/third_party/cython/src/Cython/Includes/cpython/
tuple.pxd 16 tuple PyTuple_New(Py_ssize_t len)
20 tuple PyTuple_Pack(Py_ssize_t n, ...)
27 Py_ssize_t PyTuple_Size(object p) except -1
30 Py_ssize_t PyTuple_GET_SIZE(object p)
34 PyObject* PyTuple_GetItem(object p, Py_ssize_t pos) except NULL
40 PyObject* PyTuple_GET_ITEM(object p, Py_ssize_t pos)
44 tuple PyTuple_GetSlice(object p, Py_ssize_t low, Py_ssize_t high)
48 int PyTuple_SetItem(object p, Py_ssize_t pos, object o)
53 void PyTuple_SET_ITEM(object p, Py_ssize_t pos, object o
    [all...]
getargs.pxd 13 int PyArg_UnpackTuple(object args, char *name, Py_ssize_t min, Py_ssize_t max, ...) except 0
list.pxd 8 object PyList_New(Py_ssize_t len)
25 Py_ssize_t PyList_Size(object list) except -1
29 Py_ssize_t PyList_GET_SIZE(object list)
32 PyObject* PyList_GetItem(object list, Py_ssize_t index) except NULL
39 PyObject* PyList_GET_ITEM(object list, Py_ssize_t i)
43 int PyList_SetItem(object list, Py_ssize_t index, object item) except -1
49 void PyList_SET_ITEM(object list, Py_ssize_t i, object o)
57 int PyList_Insert(object list, Py_ssize_t index, object item) except -1
67 object PyList_GetSlice(object list, Py_ssize_t low, Py_ssize_t high
    [all...]
sequence.pxd 13 Py_ssize_t PySequence_Size(object o) except -1
18 Py_ssize_t PySequence_Length(object o) except -1
27 object PySequence_Repeat(object o, Py_ssize_t count)
39 object PySequence_InPlaceRepeat(object o, Py_ssize_t count)
46 object PySequence_GetItem(object o, Py_ssize_t i)
51 object PySequence_GetSlice(object o, Py_ssize_t i1, Py_ssize_t i2)
57 int PySequence_SetItem(object o, Py_ssize_t i, object v) except -1
62 int PySequence_DelItem(object o, Py_ssize_t i) except -1
66 int PySequence_SetSlice(object o, Py_ssize_t i1, Py_ssize_t i2, object v) except -
    [all...]
array.pxd 59 ctypedef object GETF(array a, Py_ssize_t ix)
60 ctypedef object SETF(array a, Py_ssize_t ix, object o)
64 GETF getitem # PyObject * (*getitem)(struct arrayobject *, Py_ssize_t);
65 SETF setitem # int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *);
87 Py_ssize_t ob_size
105 info.shape = <Py_ssize_t*> PyMem_Malloc(sizeof(Py_ssize_t) + 2)
119 array newarrayobject(PyTypeObject* type, Py_ssize_t size, arraydescr *descr)
123 int resize(array self, Py_ssize_t n) except -1
125 int resize_smart(array self, Py_ssize_t n) except -
    [all...]
bytes.pxd 32 bytes PyBytes_FromStringAndSize(char *v, Py_ssize_t len)
53 # %zd Py_ssize_t Exactly equivalent to printf("%zd").
71 Py_ssize_t PyBytes_Size(object string) except -1
74 Py_ssize_t PyBytes_GET_SIZE(object string)
92 int PyBytes_AsStringAndSize(object obj, char **buffer, Py_ssize_t *length) except -1
123 int _PyBytes_Resize(PyObject **string, Py_ssize_t newsize) except -1
162 object PyBytes_Decode(char *s, Py_ssize_t size, char *encoding, char *errors)
180 object PyBytes_Encode(char *s, Py_ssize_t size, char *encoding, char *errors)
string.pxd 32 object PyString_FromStringAndSize(char *v, Py_ssize_t len)
53 # %zd Py_ssize_t Exactly equivalent to printf("%zd").
71 Py_ssize_t PyString_Size(object string) except -1
74 Py_ssize_t PyString_GET_SIZE(object string)
92 int PyString_AsStringAndSize(object obj, char **buffer, Py_ssize_t *length) except -1
123 int _PyString_Resize(PyObject **string, Py_ssize_t newsize) except -1
162 object PyString_Decode(char *s, Py_ssize_t size, char *encoding, char *errors)
180 object PyString_Encode(char *s, Py_ssize_t size, char *encoding, char *errors)
  /external/chromium_org/third_party/simplejson/
_speedups.c 25 typedef int Py_ssize_t;
112 static Py_ssize_t
113 ascii_escape_char(Py_UNICODE c, char *output, Py_ssize_t chars);
122 scan_once_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
124 scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr);
126 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
144 encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level);
146 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level)
    [all...]
  /external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
python_descriptor.h 42 typedef int Py_ssize_t;
  /external/chromium_org/third_party/cython/src/Cython/Compiler/
ParseTreeTransforms.pxd 28 @cython.locals(starred_targets=Py_ssize_t, lhs_size=Py_ssize_t, rhs_size=Py_ssize_t)
  /external/chromium_org/third_party/bintrees/bintrees/
qavltree.c 45 typedef int Py_ssize_t;
76 Py_ssize_t len;
77 Py_ssize_t itemsize;
81 Py_ssize_t *shape;
82 Py_ssize_t *strides;
83 Py_ssize_t *suboffsets;
306 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
455 PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
459 Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*
    [all...]
qbintree.c 45 typedef int Py_ssize_t;
76 Py_ssize_t len;
77 Py_ssize_t itemsize;
81 Py_ssize_t *shape;
82 Py_ssize_t *strides;
83 Py_ssize_t *suboffsets;
306 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
455 PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
459 Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*
    [all...]
qrbtree.c 45 typedef int Py_ssize_t;
76 Py_ssize_t len;
77 Py_ssize_t itemsize;
81 Py_ssize_t *shape;
82 Py_ssize_t *strides;
83 Py_ssize_t *suboffsets;
306 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
455 PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, \
459 Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*
    [all...]

Completed in 257 milliseconds

1 2