/external/parameter-framework/asio-1.10.6/include/asio/ |
D | basic_stream_socket.hpp | 234 std::size_t send(const ConstBufferSequence& buffers) in send() argument 238 this->get_implementation(), buffers, 0, ec); in send() 271 std::size_t send(const ConstBufferSequence& buffers, in send() argument 276 this->get_implementation(), buffers, flags, ec); in send() 300 std::size_t send(const ConstBufferSequence& buffers, in send() argument 304 this->get_implementation(), buffers, flags, ec); in send() 345 async_send(const ConstBufferSequence& buffers, in ASIO_INITFN_RESULT_TYPE() 353 this->get_implementation(), buffers, 0, in ASIO_INITFN_RESULT_TYPE() 397 async_send(const ConstBufferSequence& buffers, in ASIO_INITFN_RESULT_TYPE() 406 this->get_implementation(), buffers, flags, in ASIO_INITFN_RESULT_TYPE() [all …]
|
D | read.hpp | 70 std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers); 109 std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers, 160 std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers, 204 std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers, 281 async_read(AsyncReadStream& s, const MutableBufferSequence& buffers, 351 async_read(AsyncReadStream& s, const MutableBufferSequence& buffers,
|
D | write.hpp | 69 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers); 108 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers, 159 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers, 203 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers, 272 async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers, 346 async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
|
/external/xz-embedded/linux/lib/xz/ |
D | xz_dec_test.c | 52 static struct xz_buf buffers = { variable 75 buffers.in_pos = 0; in xz_dec_test_open() 76 buffers.in_size = 0; in xz_dec_test_open() 77 buffers.out_pos = 0; in xz_dec_test_open() 120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write() 122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write() 123 buffers.in_pos = 0; in xz_dec_test_write() 124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write() 125 if (copy_from_user(buffer_in, buf, buffers.in_size)) in xz_dec_test_write() 128 buf += buffers.in_size; in xz_dec_test_write() [all …]
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
D | BufferPerformanceBench.java | 100 public void threads1hot(HotBuffers buffers) throws IOException { in threads1hot() argument 101 readWriteRecycle(buffers); in threads1hot() 106 public void threads2hot(HotBuffers buffers) throws IOException { in threads2hot() argument 107 readWriteRecycle(buffers); in threads2hot() 112 public void threads4hot(HotBuffers buffers) throws IOException { in threads4hot() argument 113 readWriteRecycle(buffers); in threads4hot() 118 public void threads8hot(HotBuffers buffers) throws IOException { in threads8hot() argument 119 readWriteRecycle(buffers); in threads8hot() 124 public void threads16hot(HotBuffers buffers) throws IOException { in threads16hot() argument 125 readWriteRecycle(buffers); in threads16hot() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | buffers.c | 354 GLsizei n, const GLenum *buffers, const char *caller) in draw_buffers() argument 389 (n != 1 || (buffers[0] != GL_NONE && buffers[0] != GL_BACK))) { in draw_buffers() 396 destMask[output] = draw_buffer_enum_to_bitmask(ctx, buffers[output]); in draw_buffers() 404 caller, _mesa_enum_to_string(buffers[output])); in draw_buffers() 429 buffers[output] == GL_BACK) { in draw_buffers() 437 caller, _mesa_enum_to_string(buffers[output])); in draw_buffers() 452 buffers[output] != GL_NONE && in draw_buffers() 453 (buffers[output] < GL_COLOR_ATTACHMENT0 || in draw_buffers() 454 buffers[output] >= GL_COLOR_ATTACHMENT0 + ctx->Const.MaxColorAttachments)) { in draw_buffers() 459 if (buffers[output] == GL_NONE) { in draw_buffers() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.c | 65 unsigned i, prims, buffers = 0; in fd_draw_vbo() local 107 buffers |= FD_BUFFER_DEPTH; in fd_draw_vbo() 113 buffers |= FD_BUFFER_STENCIL; in fd_draw_vbo() 130 buffers |= PIPE_CLEAR_COLOR0 << i; in fd_draw_vbo() 185 batch->restore |= buffers & (FD_BUFFER_ALL & ~batch->cleared); in fd_draw_vbo() 187 batch->resolve |= buffers; in fd_draw_vbo() 189 DBG("%p: %x %ux%u num_draws=%u (%s/%s)", batch, buffers, in fd_draw_vbo() 208 fd_blitter_clear(struct pipe_context *pctx, unsigned buffers, in fd_blitter_clear() argument 218 buffers, NULL, NULL); in fd_blitter_clear() 280 fd_clear(struct pipe_context *pctx, unsigned buffers, in fd_clear() argument [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | link_atomics.cpp | 100 active_atomic_buffer *const buffers, in process_atomic_variable() argument 115 var, buffers, num_buffers, offset, in process_atomic_variable() 119 active_atomic_buffer *buf = &buffers[var->data.binding]; in process_atomic_variable() 152 active_atomic_buffer *const buffers = in find_active_atomic_counters() local 169 var, buffers, num_buffers, &offset, i); in find_active_atomic_counters() 175 if (buffers[i].size == 0) in find_active_atomic_counters() 178 qsort(buffers[i].uniforms, buffers[i].num_uniforms, in find_active_atomic_counters() 182 for (unsigned j = 1; j < buffers[i].num_uniforms; j++) { in find_active_atomic_counters() 186 if (check_atomic_counters_overlap(buffers[i].uniforms[j-1].var, in find_active_atomic_counters() 187 buffers[i].uniforms[j].var) in find_active_atomic_counters() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 854 static void si_init_buffer_resources(struct si_buffer_resources *buffers, in si_init_buffer_resources() argument 862 buffers->shader_usage = shader_usage; in si_init_buffer_resources() 863 buffers->priority = priority; in si_init_buffer_resources() 864 buffers->buffers = CALLOC(num_buffers, sizeof(struct pipe_resource*)); in si_init_buffer_resources() 870 static void si_release_buffer_resources(struct si_buffer_resources *buffers, in si_release_buffer_resources() argument 876 pipe_resource_reference(&buffers->buffers[i], NULL); in si_release_buffer_resources() 879 FREE(buffers->buffers); in si_release_buffer_resources() 883 struct si_buffer_resources *buffers) in si_buffer_resources_begin_new_cs() argument 885 unsigned mask = buffers->enabled_mask; in si_buffer_resources_begin_new_cs() 892 (struct r600_resource*)buffers->buffers[i], in si_buffer_resources_begin_new_cs() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_clear.c | 43 i915_clear_emit(struct pipe_context *pipe, unsigned buffers, in i915_clear_emit() argument 60 if (buffers & PIPE_CLEAR_COLOR) { in i915_clear_emit() 85 if (buffers & PIPE_CLEAR_DEPTH) { in i915_clear_emit() 94 if (buffers & PIPE_CLEAR_STENCIL in i915_clear_emit() 106 } else if (buffers & PIPE_CLEAR_STENCIL) { in i915_clear_emit() 219 i915_clear_blitter(struct pipe_context *pipe, unsigned buffers, in i915_clear_blitter() argument 228 if (buffers & (PIPE_CLEAR_COLOR0 << i)) { in i915_clear_blitter() 238 if (buffers & PIPE_CLEAR_DEPTHSTENCIL) { in i915_clear_blitter() 240 pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL, in i915_clear_blitter() 247 i915_clear_render(struct pipe_context *pipe, unsigned buffers, in i915_clear_render() argument [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | reactive_socket_service_base.hpp | 171 const ConstBufferSequence& buffers, in send() argument 175 ConstBufferSequence> bufs(buffers); in send() 178 bufs.buffers(), bufs.count(), flags, bufs.all_empty(), ec); in send() 195 const ConstBufferSequence& buffers, in async_send() argument 206 p.p = new (p.v) op(impl.socket_, buffers, flags, handler); in async_send() 213 ConstBufferSequence>::all_empty(buffers))); in async_send() 242 const MutableBufferSequence& buffers, in receive() argument 246 MutableBufferSequence> bufs(buffers); in receive() 249 bufs.buffers(), bufs.count(), flags, bufs.all_empty(), ec); in receive() 266 const MutableBufferSequence& buffers, in async_receive() argument [all …]
|
/external/mesa3d/src/glx/ |
D | dri2.c | 415 DRI2Buffer *buffers; in DRI2GetBuffers() local 442 buffers = malloc(rep.count * sizeof buffers[0]); in DRI2GetBuffers() 443 if (buffers == NULL) { in DRI2GetBuffers() 452 buffers[i].attachment = repBuffer.attachment; in DRI2GetBuffers() 453 buffers[i].name = repBuffer.name; in DRI2GetBuffers() 454 buffers[i].pitch = repBuffer.pitch; in DRI2GetBuffers() 455 buffers[i].cpp = repBuffer.cpp; in DRI2GetBuffers() 456 buffers[i].flags = repBuffer.flags; in DRI2GetBuffers() 462 return buffers; in DRI2GetBuffers() 474 DRI2Buffer *buffers; in DRI2GetBuffersWithFormat() local [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/impl/ |
D | read.hpp | 36 std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers, in read() argument 41 mutable_buffer, MutableBufferSequence> tmp(buffers); in read() 57 inline std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers) in read() argument 60 std::size_t bytes_transferred = read(s, buffers, transfer_all(), ec); in read() 66 inline std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers, in read() argument 69 return read(s, buffers, transfer_all(), ec); in read() 74 inline std::size_t read(SyncReadStream& s, const MutableBufferSequence& buffers, in read() argument 78 std::size_t bytes_transferred = read(s, buffers, completion_condition, ec); in read() 92 read_op(AsyncReadStream& stream, const MutableBufferSequence& buffers, in read_op() argument 97 buffers_(buffers), in read_op() [all …]
|
D | write.hpp | 34 std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers, in write() argument 39 const_buffer, ConstBufferSequence> tmp(buffers); in write() 55 inline std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers) in write() argument 58 std::size_t bytes_transferred = write(s, buffers, transfer_all(), ec); in write() 64 inline std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers, in write() argument 67 return write(s, buffers, transfer_all(), ec); in write() 72 inline std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers, in write() argument 76 std::size_t bytes_transferred = write(s, buffers, completion_condition, ec); in write() 90 write_op(AsyncWriteStream& stream, const ConstBufferSequence& buffers, in write_op() argument 95 buffers_(buffers), in write_op() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common_context.c | 364 __DRIbuffer *buffers = NULL; in radeon_update_renderbuffers() local 421 buffers = screen->dri2.loader->getBuffersWithFormat(drawable, in radeon_update_renderbuffers() 440 buffers = screen->dri2.loader->getBuffers(drawable, in radeon_update_renderbuffers() 448 if (buffers == NULL) in radeon_update_renderbuffers() 452 switch (buffers[i].attachment) { in radeon_update_renderbuffers() 481 buffers[i].attachment); in radeon_update_renderbuffers() 490 if (name == buffers[i].name) in radeon_update_renderbuffers() 497 regname, buffers[i].name, buffers[i].attachment, in radeon_update_renderbuffers() 498 buffers[i].cpp, buffers[i].pitch); in radeon_update_renderbuffers() 500 rb->cpp = buffers[i].cpp; in radeon_update_renderbuffers() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common_context.c | 364 __DRIbuffer *buffers = NULL; in radeon_update_renderbuffers() local 421 buffers = screen->dri2.loader->getBuffersWithFormat(drawable, in radeon_update_renderbuffers() 440 buffers = screen->dri2.loader->getBuffers(drawable, in radeon_update_renderbuffers() 448 if (buffers == NULL) in radeon_update_renderbuffers() 452 switch (buffers[i].attachment) { in radeon_update_renderbuffers() 481 buffers[i].attachment); in radeon_update_renderbuffers() 490 if (name == buffers[i].name) in radeon_update_renderbuffers() 497 regname, buffers[i].name, buffers[i].attachment, in radeon_update_renderbuffers() 498 buffers[i].cpp, buffers[i].pitch); in radeon_update_renderbuffers() 500 rb->cpp = buffers[i].cpp; in radeon_update_renderbuffers() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fIndexedStateQueryTests.cpp | 317 GLuint buffers[2]; in testUniformBuffers() local 318 glGenBuffers(2, buffers); in testUniformBuffers() 322 glBindBuffer(GL_UNIFORM_BUFFER, buffers[ndx]); in testUniformBuffers() 324 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[ndx], buffers[ndx]); in testUniformBuffers() 334 checkIntEquals(m_testCtx, boundBuffer, buffers[ndx]); in testUniformBuffers() 338 glDeleteBuffers(2, buffers); in testUniformBuffers() 370 GLuint buffers[2]; in testUniformBuffers() local 371 glGenBuffers(2, buffers); in testUniformBuffers() 373 glBindBuffer(GL_UNIFORM_BUFFER, buffers[0]); in testUniformBuffers() 375 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[0], buffers[0]); in testUniformBuffers() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_driver.c | 105 nouveau_clear(struct gl_context *ctx, GLbitfield buffers) in nouveau_clear() argument 118 buf = buffers & (1 << i); in nouveau_clear() 141 buffers &= ~buf; in nouveau_clear() 145 (buffers & BUFFER_BIT_DEPTH && in nouveau_clear() 147 (buffers & BUFFER_BIT_STENCIL ? in nouveau_clear() 157 buffers &= ~(BUFFER_BIT_DEPTH | BUFFER_BIT_STENCIL); in nouveau_clear() 161 if (buffers) in nouveau_clear() 162 _mesa_meta_Clear(ctx, buffers); in nouveau_clear()
|
/external/libevent/ |
D | buffer_iocp.c | 67 WSABUF buffers[MAX_WSABUFS]; member 115 len = buf->buffers[i].len; in evbuffer_commit_read() 199 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_write() 204 WSABUF *b = &buf_o->buffers[i]; in evbuffer_launch_write() 224 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, in evbuffer_launch_write() 265 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_read() 275 &buf_o->buffers[i], in evbuffer_launch_read() 290 if (WSARecv(buf_o->fd, buf_o->buffers, nvecs, &bytesRead, &flags, in evbuffer_launch_read()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_clear.c | 203 _swrast_Clear(struct gl_context *ctx, GLbitfield buffers) in _swrast_Clear() argument 218 assert((buffers & (~legalBits)) == 0); in _swrast_Clear() 228 if ((buffers & BUFFER_BITS_COLOR) in _swrast_Clear() 233 if (buffers & BUFFER_BIT_ACCUM) { in _swrast_Clear() 237 if (buffers & BUFFER_DS) { in _swrast_Clear() 243 if ((buffers & BUFFER_DS) == BUFFER_DS && depthRb == stencilRb) { in _swrast_Clear() 249 if (buffers & BUFFER_BIT_DEPTH) { in _swrast_Clear() 252 if (buffers & BUFFER_BIT_STENCIL) { in _swrast_Clear()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_draw.c | 124 fd2_clear(struct fd_context *ctx, unsigned buffers, in fd2_clear() argument 132 if ((buffers & PIPE_CLEAR_COLOR) && fb->nr_cbufs) in fd2_clear() 168 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in fd2_clear() 172 if (buffers & PIPE_CLEAR_DEPTH) in fd2_clear() 174 if (buffers & PIPE_CLEAR_STENCIL) in fd2_clear() 178 if (buffers & PIPE_CLEAR_DEPTH) in fd2_clear() 191 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) { in fd2_clear() 210 if (buffers & PIPE_CLEAR_DEPTH) { in fd2_clear() 216 if (buffers & PIPE_CLEAR_STENCIL) { in fd2_clear() 255 if (buffers & PIPE_CLEAR_COLOR) { in fd2_clear()
|
/external/mesa3d/src/loader/ |
D | loader_dri3_helper.c | 112 if (draw->buffers[i]) in loader_dri3_drawable_fini() 113 dri3_free_render_buffer(draw, draw->buffers[i]); in loader_dri3_drawable_fini() 256 for (b = 0; b < sizeof(draw->buffers) / sizeof(draw->buffers[0]); b++) { in dri3_handle_present_event() 257 struct loader_dri3_buffer *buf = draw->buffers[b]; in dri3_handle_present_event() 263 draw->buffers[b] = NULL; in dri3_handle_present_event() 373 struct loader_dri3_buffer *buffer = draw->buffers[id]; in dri3_find_back() 407 return draw->buffers[LOADER_DRI3_BACK_ID(draw->cur_back)]; in dri3_back_buffer() 413 return draw->buffers[LOADER_DRI3_FRONT_ID]; in dri3_fake_front_buffer() 643 back = draw->buffers[LOADER_DRI3_BACK_ID(draw->cur_back)]; in loader_dri3_swap_buffers_msc() 656 draw->buffers[LOADER_DRI3_FRONT_ID]->image, in loader_dri3_swap_buffers_msc() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | MemoryDeferredOutputStream.java | 16 private final List<byte[]> buffers = Lists.newArrayList(); field in MemoryDeferredOutputStream 29 for (byte[] buffer: buffers) { in writeTo() 35 buffers.clear(); in writeTo() 41 buffers.add(currentBuffer); in write() 63 buffers.add(currentBuffer); in write()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_video.c | 142 struct pb_buffer** buffers[VL_NUM_COMPONENTS], in rvid_join_surfaces() 182 if (!buffers[i] || !*buffers[i]) in rvid_join_surfaces() 185 size = align(size, (*buffers[i])->alignment); in rvid_join_surfaces() 186 size += (*buffers[i])->size; in rvid_join_surfaces() 187 alignment = MAX2(alignment, (*buffers[i])->alignment * 1); in rvid_join_surfaces() 201 if (!buffers[i] || !*buffers[i]) in rvid_join_surfaces() 204 pb_reference(buffers[i], pb); in rvid_join_surfaces()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 1103 RasterizationInternalBuffers& buffers) in rasterizePrimitive() argument 1120 …e.v0->outputs, triangle.v1->outputs, triangle.v2->outputs, &buffers.shaderOutputs[0], buffers.frag… in rasterizePrimitive() 1123 if (buffers.fragmentDepthBuffer && state.fragOps.polygonOffsetEnabled) in rasterizePrimitive() 1134 const int maxFragmentPackets = (int)buffers.fragmentPackets.size(); in rasterizePrimitive() 1139 …rasterizer.rasterize(&buffers.fragmentPackets[0], buffers.fragmentDepthBuffer, maxFragmentPackets,… in rasterizePrimitive() 1147 if (buffers.fragmentDepthBuffer && state.fragOps.polygonOffsetEnabled) in rasterizePrimitive() 1149 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx] + depthO… in rasterizePrimitive() 1153 …program.fragmentShader->shadeFragments(&buffers.fragmentPackets[0], numRasterizedPackets, shadingC… in rasterizePrimitive() 1156 if (buffers.fragmentDepthBuffer && state.fragOps.depthClampEnabled) in rasterizePrimitive() 1158 …buffers.fragmentDepthBuffer[sampleNdx] = de::clamp(buffers.fragmentDepthBuffer[sampleNdx], depthCl… in rasterizePrimitive() [all …]
|