/external/mesa3d/src/gallium/state_trackers/nine/ |
vertexshader9.c | 30 #include "pipe/p_context.h" 42 struct pipe_context *pipe; local 72 pipe = nine_context_get_pipe_acquire(device); 73 hr = nine_translate_shader(device, &info, pipe); 78 hr = nine_translate_shader(device, &info, pipe); 116 struct pipe_context *pipe = nine_context_get_pipe_multithread(This->base.device); local 123 pipe->bind_vs_state(pipe, NULL); 124 pipe->delete_vs_state(pipe, var->cso) 176 struct pipe_context *pipe = This->base.device->context.pipe; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_pixeltransfer.c | 47 struct pipe_context *pipe = st->pipe; local 57 dest = (uint *) pipe_transfer_map(pipe, 81 pipe_transfer_unmap(pipe, transfer); 97 st_create_texture_sampler_view(st->pipe,
|
/external/python/cpython3/Lib/asyncio/ |
windows_utils.py | 20 __all__ = ['socketpair', 'pipe', 'Popen', 'PIPE', 'PipeHandle'] 27 PIPE = subprocess.PIPE 38 """A socket pair usable as a self-pipe, for Windows. 80 # Replacement for os.pipe() using handles instead of fds 83 def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE): function 84 """Like os.pipe() but with overlapped support and using handles not fds.""" 85 address = tempfile.mktemp(prefix=r'\\.\pipe\python-pipe-%d-%d-' [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
BundleTest.java | 47 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); local 48 pipe[1].close(); 49 source.putParcelable("fd", pipe[0]);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
PipeTest.java | 21 import java.nio.channels.Pipe; 22 import java.nio.channels.Pipe.SinkChannel; 23 import java.nio.channels.Pipe.SourceChannel; 29 * Tests for Pipe and its default implementation 34 * @tests java.nio.channels.Pipe#open() 37 Pipe pipe = Pipe.open(); local 38 assertNotNull(pipe); 42 * @tests java.nio.channels.Pipe#sink( 45 Pipe pipe = Pipe.open(); local 54 Pipe pipe = Pipe.open(); local [all...] |
/prebuilts/go/darwin-x86/src/io/ |
pipe.go | 5 // Pipe adapter to connect code expecting an io.Reader 28 // ErrClosedPipe is the error used for read or write operations on a closed pipe. 29 var ErrClosedPipe = errors.New("io: read/write on closed pipe") 31 // A pipe is the shared pipe structure underlying PipeReader and PipeWriter. 32 type pipe struct { type 43 func (p *pipe) Read(b []byte) (n int, err error) { 60 func (p *pipe) readCloseError() error { 68 func (p *pipe) CloseRead(err error) error { 77 func (p *pipe) Write(b []byte) (n int, err error) [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
zsyscall_plan9_386.go | 28 func pipe(p *[2]int32) (err error) { func
|
zsyscall_plan9_amd64.go | 28 func pipe(p *[2]int32) (err error) { func
|
zsyscall_plan9_arm.go | 28 func pipe(p *[2]int32) (err error) { func
|
/prebuilts/go/linux-x86/src/io/ |
pipe.go | 5 // Pipe adapter to connect code expecting an io.Reader 28 // ErrClosedPipe is the error used for read or write operations on a closed pipe. 29 var ErrClosedPipe = errors.New("io: read/write on closed pipe") 31 // A pipe is the shared pipe structure underlying PipeReader and PipeWriter. 32 type pipe struct { type 43 func (p *pipe) Read(b []byte) (n int, err error) { 60 func (p *pipe) readCloseError() error { 68 func (p *pipe) CloseRead(err error) error { 77 func (p *pipe) Write(b []byte) (n int, err error) [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
zsyscall_plan9_386.go | 28 func pipe(p *[2]int32) (err error) { func
|
zsyscall_plan9_amd64.go | 28 func pipe(p *[2]int32) (err error) { func
|
zsyscall_plan9_arm.go | 28 func pipe(p *[2]int32) (err error) { func
|
/external/fio/engines/ |
splice.c | 19 int pipe[2]; member in struct:spliceio_data 27 * uses splices to move data from the source into a pipe. 46 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len, SPLICE_F_MORE); 57 ret2 = read(sd->pipe[0], p, ret); 71 * a pipe and vmsplicing that into userspace. 108 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len,flags); 122 ret = vmsplice(sd->pipe[0], &iov, 1, SPLICE_F_MOVE); 165 * pipe and then splice that to a file. 174 struct pollfd pfd = { .fd = sd->pipe[1], .events = POLLOUT, }; 183 ret = vmsplice(sd->pipe[1], &iov, 1, SPLICE_F_NONBLOCK) [all...] |
/external/libbrillo/brillo/message_loops/ |
message_loop_unittest.cc | 132 ScopedPipe pipe; local 135 FROM_HERE, pipe.reader, MessageLoop::kWatchRead, true, 147 // include the case when the other end of a pipe is closed or the file is empty. 149 ScopedPipe pipe; local 151 EXPECT_EQ(0, HANDLE_EINTR(close(pipe.writer))); 152 pipe.writer = -1; 154 FROM_HERE, pipe.reader, MessageLoop::kWatchRead, true, 167 ScopedPipe pipe; local 168 EXPECT_EQ(1, HANDLE_EINTR(write(pipe.writer, "a", 1))); 172 FROM_HERE, pipe.reader, MessageLoop::kWatchRead, true 184 ScopedPipe pipe; local 245 ScopedPipe pipe; local 260 ScopedPipe pipe; local [all...] |
/external/libdrm/freedreno/ |
freedreno_ringbuffer.h | 46 struct fd_pipe *pipe; member in struct:fd_ringbuffer 52 struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe,
|
/external/libdrm/freedreno/kgsl/ |
kgsl_pipe.c | 36 static int kgsl_pipe_get_param(struct fd_pipe *pipe, 39 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); 63 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, 66 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); 99 static void kgsl_pipe_destroy(struct fd_pipe *pipe) 101 struct kgsl_pipe *kgsl_pipe = to_kgsl_pipe(pipe); 122 drm_private int is_kgsl_pipe(struct fd_pipe *pipe) 124 return pipe->funcs == &funcs; 131 struct fd_pipe *pipe = &kgsl_pipe->base; local 133 struct list_head *list = &kgsl_bo->list[pipe->id] 145 struct fd_pipe *pipe = &kgsl_pipe->base; local 162 struct fd_pipe *pipe = &kgsl_pipe->base; local 181 struct fd_pipe *pipe = &kgsl_pipe->base; local 223 struct fd_pipe *pipe = NULL; local [all...] |
/external/libdrm/freedreno/msm/ |
msm_priv.h | 55 uint32_t pipe; member in struct:msm_pipe 69 drm_private struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe,
|
/external/libdrm/tests/etnaviv/ |
etnaviv_2d_test.c | 162 struct etna_pipe *pipe; local 196 pipe = etna_pipe_new(gpu, ETNA_PIPE_2D); 197 if (!pipe) { 209 stream = etna_cmd_stream_new(pipe, 0x300, NULL, NULL); 228 etna_pipe_del(pipe);
|
/external/libmojo/mojo/edk/test/ |
mojo_test_base.h | 45 MojoHandle pipe() const { return pipe_.get().value(); } function in class:mojo::edk::test::MojoTestBase::ClientController 76 handler(c.pipe(), &expected_exit_code); 83 ////// Message pipe test utilities /////// 85 // Creates a new pipe, returning endpoint handles in |p0| and |p1|. 88 // Writes a string to the pipe, transferring handles in the process. 94 // Writes a string to the pipe with no handles. 97 // Reads a string from the pipe, expecting to read an exact number of handles 103 // Reads a string from the pipe, expecting either zero or one handles. 108 // Reads a string from the pipe, expecting to read no handles. 112 // Reads a string from the pipe, expecting to read no handles and exactl [all...] |
/external/libmojo/mojo/public/cpp/bindings/ |
binding.h | 28 // Represents the binding of an interface implementation to a message pipe. 29 // When the |Binding| object is destroyed, the binding between the message pipe 30 // and the interface is torn down and the message pipe is closed, leaving the 57 // This class is thread hostile while bound to a message pipe. All calls to this 60 // bound to a message pipe, it may be bound or destroyed on any thread. 62 // When you bind this class to a message pipe, optionally you can specify a 80 // Constructs a completed binding of message pipe |handle| to implementation 90 // Constructs a completed binding of |impl| to a new message pipe, passing the 103 // Constructs a completed binding of |impl| to the message pipe endpoint in 114 // Tears down the binding, closing the message pipe and leaving the interfac 145 MessagePipe pipe; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
multiplex_router_unittest.cc | 34 MessagePipe pipe; variable 35 router0_ = new MultiplexRouter(true, std::move(pipe.handle0), 37 router1_ = new MultiplexRouter(true, std::move(pipe.handle1), 94 // Send a second message on the pipe. 139 // Send a second message on the pipe. 223 // Send a second message on the pipe. 257 // both sides still appear to have a valid message pipe handle bound. 304 // The message pipe handle is valid at both sides.
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_mlaa.c | 41 #include "pipe/p_compiler.h" 53 #include "pipe/p_screen.h" 64 struct pipe_context *pipe = ppq->p->pipe; local 66 pipe->buffer_subdata(pipe, ppq->constbuf, PIPE_TRANSFER_WRITE, 137 p->pipe->clear(p->pipe, PIPE_CLEAR_STENCIL | PIPE_CLEAR_COLOR0, 164 arr[1] = arr[2] = p->pipe->create_sampler_view(p->pipe, [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_upload_mgr.c | 32 #include "pipe/p_defines.h" 34 #include "pipe/p_context.h" 42 struct pipe_context *pipe; member in struct:u_upload_mgr 59 u_upload_create(struct pipe_context *pipe, unsigned default_size, 66 upload->pipe = pipe; 72 pipe->screen->get_param(pipe->screen, 99 pipe_buffer_flush_mapped_range(upload->pipe, upload->transfer, 103 pipe_transfer_unmap(upload->pipe, upload->transfer) [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_idct.h | 31 #include "pipe/p_state.h" 40 struct pipe_context *pipe; member in struct:vl_idct 78 /* upload the idct matrix, which can be shared by all idct instances of a pipe */ 80 vl_idct_upload_matrix(struct pipe_context *pipe, float scale); 92 vl_idct_init(struct vl_idct *idct, struct pipe_context *pipe,
|