Home
last modified time | relevance | path

Searched refs:ob_size (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Include/
H A Dobject.h89 * has room for ob_size elements. Note that ob_size is an element count,
111 Py_ssize_t ob_size; /* Number of items in variable part */ member
142 return var_ob->ob_size; in Py_SIZE()
174 ob->ob_size = size; in Py_SET_SIZE()
/third_party/python/Include/internal/
H A Dpycore_object.h25 .ob_size = size, \
/third_party/python/Tools/gdb/
H A Dlibpython.py182 object) "ob_size" are fields of the type in question.
186 so that the "ob_size" field is located insize the "ob_base" field, and
196 if name == 'ob_size':
482 tsize = int_from_int(self._gdbval.cast(type_PyVarObject_ptr)['ob_size'])
850 for i in safe_range(int_from_int(self.field('ob_size')))]
861 for i in safe_range(int_from_int(self.field('ob_size'))):
881 SUM(for i=0 through abs(ob_size)-1) ob_digit[i] * 2**(SHIFT*i)
882 Negative numbers are represented with ob_size < 0;
883 zero is represented by ob_size == 0.
889 ob_size
[all...]
/third_party/python/Modules/_decimal/
H A D_decimal.c2158 Py_ssize_t ob_size; in dec_from_long() local
2167 ob_size = Py_SIZE(l); in dec_from_long()
2168 if (ob_size == 0) { in dec_from_long()
2173 if (ob_size < 0) { in dec_from_long()
2174 len = -ob_size; in dec_from_long()
2178 len = ob_size; in dec_from_long()
/third_party/python/Modules/
H A Darraymodule.c2587 view->shape = &((PyVarObject*)self)->ob_size; in array_buffer_getbuf()

Completed in 16 milliseconds