Searched refs:newview (Results 1 – 2 of 2) sorted by relevance
544 Py_buffer newview; in memory_item() local545 memset(&newview, 0, sizeof(newview)); in memory_item()547 return PyMemoryView_FromBuffer(&newview); in memory_item()593 Py_buffer newview; in memory_subscript() local601 if (PyObject_GetBuffer(view->obj, &newview, newflags) == -1) in memory_subscript()605 newview = *view; in memory_subscript()607 newview.buf = newbuf; in memory_subscript()608 newview.len = slicelength * newview.itemsize; in memory_subscript()609 newview.format = view->format; in memory_subscript()610 newview.shape = &(newview.smalltable[0]); in memory_subscript()[all …]