Searched refs:ob_bytes (Results 1 – 2 of 2) sorted by relevance
184 new->ob_bytes = NULL; in PyByteArray_FromStringAndSize()189 new->ob_bytes = PyMem_Malloc(alloc); in PyByteArray_FromStringAndSize()190 if (new->ob_bytes == NULL) { in PyByteArray_FromStringAndSize()195 memcpy(new->ob_bytes, bytes, size); in PyByteArray_FromStringAndSize()196 new->ob_bytes[size] = '\0'; /* Trailing null byte */ in PyByteArray_FromStringAndSize()247 ((PyByteArrayObject *)self)->ob_bytes[size] = '\0'; /* Trailing null */ in PyByteArray_Resize()259 sval = PyMem_Realloc(((PyByteArrayObject *)self)->ob_bytes, alloc); in PyByteArray_Resize()265 ((PyByteArrayObject *)self)->ob_bytes = sval; in PyByteArray_Resize()268 ((PyByteArrayObject *)self)->ob_bytes[size] = '\0'; /* Trailing null byte */ in PyByteArray_Resize()296 memcpy(result->ob_bytes, va.buf, va.len); in PyByteArray_Concat()[all …]
27 char *ob_bytes; member49 Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string)