Searched refs:Py_SIZE (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Darray.pxd20 Fast C-level new_array(_zeros), resize_array, copy_array, Py_SIZE(obj),
24 cdef array.array[double] n = array.array(d, Py_SIZE(d) * 2 )
52 from cpython.object cimport Py_SIZE namespace
96 item_count = Py_SIZE(self)
139 op = newarrayobject(Py_TYPE(self), Py_SIZE(self), self.ob_descr)
140 memcpy(op.data.as_chars, self.data.as_chars, Py_SIZE(op) * op.ob_descr.itemsize)
148 cdef Py_ssize_t origsize = Py_SIZE(self)
157 return extend_buffer(self, other.data.as_chars, Py_SIZE(other))
161 memset(self.data.as_chars, 0, Py_SIZE(self) * self.ob_descr.itemsize)
H A Dobject.pxd287 Py_ssize_t Py_SIZE(object o)
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DOptimize.c34 Py_ssize_t len = Py_SIZE(list);
38 Py_SIZE(list) = len+1;
52 Py_ssize_t len = Py_SIZE(list);
56 Py_SIZE(list) = len+1;
103 Py_SIZE(L) -= 1;
141 Py_SIZE(L) -= 1;
H A DTypeConversion.c299 switch (Py_SIZE(b)) {
558 switch (Py_SIZE(x)) {
565 if (unlikely(Py_SIZE(x) < 0)) {
579 switch (Py_SIZE(x)) {
H A DModuleSetupCode.c73 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) macro
H A DStringTools.c765 Py_ssize_t n = Py_SIZE(bytearray);
/external/chromium_org/third_party/bintrees/bintrees/
H A Dcwalker.c69 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) macro
3267 if (unlikely(Py_SIZE(x) < 0)) {
3302 if (unlikely(Py_SIZE(x) < 0)) {
3337 if (unlikely(Py_SIZE(x) < 0)) {
3372 if (unlikely(Py_SIZE(x) < 0)) {
3407 if (unlikely(Py_SIZE(x) < 0)) {
3442 if (unlikely(Py_SIZE(x) < 0)) {
H A Dqavltree.c69 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) macro
2818 if (unlikely(Py_SIZE(x) < 0)) {
2853 if (unlikely(Py_SIZE(x) < 0)) {
2888 if (unlikely(Py_SIZE(x) < 0)) {
2923 if (unlikely(Py_SIZE(x) < 0)) {
2958 if (unlikely(Py_SIZE(x) < 0)) {
2993 if (unlikely(Py_SIZE(x) < 0)) {
H A Dqbintree.c69 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) macro
2813 if (unlikely(Py_SIZE(x) < 0)) {
2848 if (unlikely(Py_SIZE(x) < 0)) {
2883 if (unlikely(Py_SIZE(x) < 0)) {
2918 if (unlikely(Py_SIZE(x) < 0)) {
2953 if (unlikely(Py_SIZE(x) < 0)) {
2988 if (unlikely(Py_SIZE(x) < 0)) {
H A Dqrbtree.c69 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) macro
2815 if (unlikely(Py_SIZE(x) < 0)) {
2850 if (unlikely(Py_SIZE(x) < 0)) {
2885 if (unlikely(Py_SIZE(x) < 0)) {
2920 if (unlikely(Py_SIZE(x) < 0)) {
2955 if (unlikely(Py_SIZE(x) < 0)) {
2990 if (unlikely(Py_SIZE(x) < 0)) {
/external/chromium_org/third_party/simplejson/
H A D_speedups.c21 #if PY_VERSION_HEX < 0x02060000 && !defined(Py_SIZE)
22 #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size) macro
2426 if (!PyTuple_Check(item) || Py_SIZE(item) != 2) {

Completed in 620 milliseconds