Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 51) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dmemoryobject.c34 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) in memory_getbuf() argument
37 if (self->view.obj != NULL) in memory_getbuf()
38 res = PyObject_GetBuffer(self->view.obj, view, flags); in memory_getbuf()
39 if (view) in memory_getbuf()
40 dup_buffer(view, &self->view); in memory_getbuf()
45 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) in memory_releasebuf() argument
47 PyBuffer_Release(view); in memory_releasebuf()
65 dup_buffer(&mview->view, info); in PyMemoryView_FromBuffer()
76 Py_buffer view; in PyMemoryView_FromObject() local
85 if (PyObject_GetBuffer(base, &view, PyBUF_FULL_RO) < 0) in PyMemoryView_FromObject()
[all …]
Dabstract.c360 PyObject_GetBuffer(PyObject *obj, Py_buffer *view, int flags) in PyObject_GetBuffer() argument
368 return (*(obj->ob_type->tp_as_buffer->bf_getbuffer))(obj, view, flags); in PyObject_GetBuffer()
372 _IsFortranContiguous(Py_buffer *view) in _IsFortranContiguous() argument
377 if (view->ndim == 0) return 1; in _IsFortranContiguous()
378 if (view->strides == NULL) return (view->ndim == 1); in _IsFortranContiguous()
380 sd = view->itemsize; in _IsFortranContiguous()
381 if (view->ndim == 1) return (view->shape[0] == 1 || in _IsFortranContiguous()
382 sd == view->strides[0]); in _IsFortranContiguous()
383 for (i=0; i<view->ndim; i++) { in _IsFortranContiguous()
384 dim = view->shape[i]; in _IsFortranContiguous()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dmemoryobject.c34 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) in memory_getbuf() argument
37 if (self->view.obj != NULL) in memory_getbuf()
38 res = PyObject_GetBuffer(self->view.obj, view, flags); in memory_getbuf()
39 if (view) in memory_getbuf()
40 dup_buffer(view, &self->view); in memory_getbuf()
45 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) in memory_releasebuf() argument
47 PyBuffer_Release(view); in memory_releasebuf()
65 dup_buffer(&mview->view, info); in PyMemoryView_FromBuffer()
76 Py_buffer view; in PyMemoryView_FromObject() local
85 if (PyObject_GetBuffer(base, &view, PyBUF_FULL_RO) < 0) in PyMemoryView_FromObject()
[all …]
Dabstract.c360 PyObject_GetBuffer(PyObject *obj, Py_buffer *view, int flags) in PyObject_GetBuffer() argument
368 return (*(obj->ob_type->tp_as_buffer->bf_getbuffer))(obj, view, flags); in PyObject_GetBuffer()
372 _IsFortranContiguous(Py_buffer *view) in _IsFortranContiguous() argument
377 if (view->ndim == 0) return 1; in _IsFortranContiguous()
378 if (view->strides == NULL) return (view->ndim == 1); in _IsFortranContiguous()
380 sd = view->itemsize; in _IsFortranContiguous()
381 if (view->ndim == 1) return (view->shape[0] == 1 || in _IsFortranContiguous()
382 sd == view->strides[0]); in _IsFortranContiguous()
383 for (i=0; i<view->ndim; i++) { in _IsFortranContiguous()
384 dim = view->shape[i]; in _IsFortranContiguous()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_hashopenssl.c226 Py_buffer view; in EVP_update() local
228 if (!PyArg_ParseTuple(args, "s*:update", &view)) in EVP_update()
232 if (self->lock == NULL && view.len >= HASHLIB_GIL_MINSIZE) { in EVP_update()
240 EVP_hash(self, view.buf, view.len); in EVP_update()
247 EVP_hash(self, view.buf, view.len); in EVP_update()
250 PyBuffer_Release(&view); in EVP_update()
318 Py_buffer view = { 0 }; in EVP_tp_init() local
323 &name_obj, &view)) { in EVP_tp_init()
329 PyBuffer_Release(&view); in EVP_tp_init()
336 PyBuffer_Release(&view); in EVP_tp_init()
[all …]
Dmd5module.c53 Py_buffer view; in md5_update() local
55 if (!PyArg_ParseTuple(args, "s*:update", &view)) in md5_update()
58 md5_append(&self->md5, (unsigned char*)view.buf, in md5_update()
59 Py_SAFE_DOWNCAST(view.len, Py_ssize_t, unsigned int)); in md5_update()
61 PyBuffer_Release(&view); in md5_update()
264 Py_buffer view = { 0 }; in MD5_new() local
266 if (!PyArg_ParseTuple(args, "|s*:new", &view)) in MD5_new()
270 PyBuffer_Release(&view); in MD5_new()
274 if (view.len > 0) { in MD5_new()
275 md5_append(&md5p->md5, (unsigned char*)view.buf, in MD5_new()
[all …]
Dshamodule.c431 Py_buffer view; in SHA_update() local
433 if (!PyArg_ParseTuple(args, "s*:update", &view)) in SHA_update()
436 sha_update(self, (unsigned char*)view.buf, in SHA_update()
437 Py_SAFE_DOWNCAST(view.len, Py_ssize_t, unsigned int)); in SHA_update()
439 PyBuffer_Release(&view); in SHA_update()
538 Py_buffer view = { 0 }; in SHA_new() local
541 &view)) { in SHA_new()
546 PyBuffer_Release(&view); in SHA_new()
554 PyBuffer_Release(&view); in SHA_new()
557 if (view.len > 0) { in SHA_new()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dmd5module.c53 Py_buffer view; in md5_update() local
57 if (!PyArg_ParseTuple(args, "s*:update", &view)) in md5_update()
60 n = view.len; in md5_update()
61 buf = (unsigned char *) view.buf; in md5_update()
74 PyBuffer_Release(&view); in md5_update()
277 Py_buffer view = { 0 }; in MD5_new() local
281 if (!PyArg_ParseTuple(args, "|s*:new", &view)) in MD5_new()
285 PyBuffer_Release(&view); in MD5_new()
289 n = view.len; in MD5_new()
290 buf = (unsigned char *) view.buf; in MD5_new()
[all …]
Dshamodule.c431 Py_buffer view; in SHA_update() local
435 if (!PyArg_ParseTuple(args, "s*:update", &view)) in SHA_update()
438 n = view.len; in SHA_update()
439 buf = (unsigned char *) view.buf; in SHA_update()
452 PyBuffer_Release(&view); in SHA_update()
551 Py_buffer view = { 0 }; in SHA_new() local
556 &view)) { in SHA_new()
561 PyBuffer_Release(&view); in SHA_new()
569 PyBuffer_Release(&view); in SHA_new()
573 n = view.len; in SHA_new()
[all …]
/device/google/cuttlefish_common/common/vsoc/lib/
Dsocket_forward_region_view.h192 Receiver(ShmConnectionView* view) in Receiver() argument
193 : view_{view} in Receiver()
244 explicit ShmSender(ShmConnectionView* view) : view_{view} {} in ShmSender() argument
258 void operator()(ShmConnectionView* view) const { in operator()
259 if (view) { in operator()
260 view->Send(Packet::MakeEnd()); in operator()
272 explicit ShmReceiver(ShmConnectionView* view) : view_{view} {} in ShmReceiver() argument
284 void operator()(ShmConnectionView* view) const { in operator()
285 if (view) { in operator()
286 view->Send(Packet::MakeRecvClosed()); in operator()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dmemoryobject.h14 #define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view)
16 #define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj)
67 Py_buffer view; member
Dabstract.h542 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
552 PyAPI_FUNC(void *) PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices);
565 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
568 PyAPI_FUNC(int) PyBuffer_FromContiguous(Py_buffer *view, void *buf,
593 PyAPI_FUNC(int) PyBuffer_IsContiguous(Py_buffer *view, char fort);
608 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
618 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dmemoryobject.h14 #define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view)
16 #define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj)
67 Py_buffer view; member
Dabstract.h542 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
552 PyAPI_FUNC(void *) PyBuffer_GetPointer(Py_buffer *view, Py_ssize_t *indices);
565 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
568 PyAPI_FUNC(int) PyBuffer_FromContiguous(Py_buffer *view, void *buf,
593 PyAPI_FUNC(int) PyBuffer_IsContiguous(Py_buffer *view, char fort);
608 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
618 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view);
/device/google/cuttlefish_common/common/frontend/socket_forward_proxy/
Dmain.cpp195 [[noreturn]] void host_thread(SocketForwardRegionView::ShmConnectionView view, in host_thread() argument
204 << " with connection_id: " << view.connection_id(); in host_thread()
205 HandleConnection(view.EstablishConnection(guest_port), std::move(socket)); in host_thread()
207 << " closed. Marking queue " << view.connection_id() in host_thread()
315 SocketForwardRegionView::ShmConnectionView view) { in guest_thread() argument
318 auto shm_sender_and_receiver = view.WaitForNewConnection(); in guest_thread()
319 LOG(INFO) << "new connection for port " << view.port(); in guest_thread()
320 HandleConnection(std::move(shm_sender_and_receiver), OpenSocketConnection(view.port())); in guest_thread()
321 LOG(INFO) << "connection closed on port " << view.port(); in guest_thread()
/device/sample/apps/tv/SetupValidation/app/src/main/java/com/google/android/tv/setup/customizationsample/
DHookPostNetworkFollowupActivity.java4 import android.view.KeyEvent;
DHookPostNetworkActivity.java5 import android.view.KeyEvent;
DNetworkDelegationActivity.java4 import android.view.KeyEvent;
DHookBegin2Activity.java4 import android.view.KeyEvent;
DHookPostWelcomeActivity.java4 import android.view.KeyEvent;
/device/sample/apps/tv/SetupCustomizationSample/app/src/main/java/com/google/android/tv/setup/customizationsample/
DHookPostNetworkFollowupActivity.java4 import android.view.KeyEvent;
DHookPostNetworkActivity.java5 import android.view.KeyEvent;
DNetworkDelegationActivity.java4 import android.view.KeyEvent;
DHookBegin2Activity.java4 import android.view.KeyEvent;
/device/google/marlin/self-extractors/
DPART18 echo -n Press Enter to view the license

123