Lines Matching refs:size
32 the same size and address. Objects that must hold variable-size data
33 can contain pointers to variable-size parts of the object. Not all
34 objects of the same type have the same size; but the size cannot change
37 updating all the pointers, and changing an object's size would require
51 whose size is determined when the object is allocated.
83 #define PyVarObject_HEAD_INIT(type, size) \
84 { PyObject_HEAD_INIT(type) size },
86 /* PyObject_VAR_HEAD defines the initial segment of all variable-size
97 * by hand. Similarly every pointer to a variable-size Python object can,
139 // bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
173 static inline void Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) {
174 ob->ob_size = size;
177 # define Py_SET_SIZE(ob, size) Py_SET_SIZE(_PyVarObject_CAST(ob), size)
456 be proven when the size of the field is the same as the pointer size, so