Home
last modified time | relevance | path

Searched refs:newview (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dmemoryobject.c544 Py_buffer newview; in memory_item() local
545 memset(&newview, 0, sizeof(newview)); in memory_item()
547 return PyMemoryView_FromBuffer(&newview); in memory_item()
593 Py_buffer newview; in memory_subscript() local
601 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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dmemoryobject.c544 Py_buffer newview; in memory_item() local
545 memset(&newview, 0, sizeof(newview)); in memory_item()
547 return PyMemoryView_FromBuffer(&newview); in memory_item()
593 Py_buffer newview; in memory_subscript() local
601 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 …]