/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/python/cpython3/Objects/stringlib/ |
D | join.h | 18 Py_buffer *buffers = NULL; in STRINGLIB() local 43 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB() 44 if (buffers == NULL) { in STRINGLIB() 51 buffers = static_buffers; in STRINGLIB() 64 buffers[i].obj = item; in STRINGLIB() 65 buffers[i].buf = PyBytes_AS_STRING(item); in STRINGLIB() 66 buffers[i].len = PyBytes_GET_SIZE(item); in STRINGLIB() 68 else if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) { in STRINGLIB() 76 itemlen = buffers[i].len; in STRINGLIB() 108 Py_ssize_t n = buffers[i].len; in STRINGLIB() [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/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | CompositeReadableBuffer.java | 36 private final Queue<ReadableBuffer> buffers = new ArrayDeque<ReadableBuffer>(); field in CompositeReadableBuffer 46 buffers.add(buffer); in addBuffer() 52 while (!compositeBuffer.buffers.isEmpty()) { in addBuffer() 53 ReadableBuffer subBuffer = compositeBuffer.buffers.remove(); in addBuffer() 54 buffers.add(subBuffer); in addBuffer() 143 ReadableBuffer buffer = buffers.peek(); in readBytes() 148 newBuffer.addBuffer(buffers.poll()); in readBytes() 157 while (!buffers.isEmpty()) { in close() 158 buffers.remove().close(); in close() 169 if (!buffers.isEmpty()) { in execute() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | buffers.c | 394 const GLenum *buffers, const char *caller, bool no_error) in draw_buffers() argument 427 (n != 1 || (buffers[0] != GL_NONE && buffers[0] != GL_BACK))) { in draw_buffers() 438 destMask[output] = draw_buffer_enum_to_bitmask(ctx, buffers[output]); in draw_buffers() 447 caller, _mesa_enum_to_string(buffers[output])); in draw_buffers() 472 buffers[output] == GL_BACK) { in draw_buffers() 480 caller, _mesa_enum_to_string(buffers[output])); in draw_buffers() 495 buffers[output] != GL_NONE && in draw_buffers() 496 (buffers[output] < GL_COLOR_ATTACHMENT0 || in draw_buffers() 497 buffers[output] >= GL_COLOR_ATTACHMENT0 + ctx->Const.MaxColorAttachments)) { in draw_buffers() 503 if (buffers[output] == GL_NONE) { in draw_buffers() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_assignment_test.cc | 243 const BufferAssignment& buffers, HloInstruction* hlo) { in GetAssignedInputAllocation() argument 246 *buffers.GetUniqueTopLevelSlice(hlo).ConsumeValueOrDie().allocation(); in GetAssignedInputAllocation() 254 const BufferAssignment& buffers, HloInstruction* hlo) { in GetAssignedOutputAllocation() argument 256 const BufferAllocation& buffer = GetTopLevelAllocation(buffers, hlo); in GetAssignedOutputAllocation() 261 const BufferAllocation& GetAllocation(const BufferAssignment& buffers, in GetAllocation() argument 264 return *buffers.GetUniqueSlice(hlo, index).ConsumeValueOrDie().allocation(); in GetAllocation() 266 const BufferAllocation& GetTopLevelAllocation(const BufferAssignment& buffers, in GetTopLevelAllocation() argument 268 return *buffers.GetUniqueTopLevelSlice(hlo) in GetTopLevelAllocation() 278 const BufferAssignment& buffers) { in ValidateBuffers() argument 281 if (!buffers.HasTopLevelAllocation(hlo)) { in ValidateBuffers() [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/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/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/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/glx/ |
D | dri2.c | 409 DRI2Buffer *buffers; in DRI2GetBuffers() local 436 buffers = malloc(rep.count * sizeof buffers[0]); in DRI2GetBuffers() 437 if (buffers == NULL) { in DRI2GetBuffers() 446 buffers[i].attachment = repBuffer.attachment; in DRI2GetBuffers() 447 buffers[i].name = repBuffer.name; in DRI2GetBuffers() 448 buffers[i].pitch = repBuffer.pitch; in DRI2GetBuffers() 449 buffers[i].cpp = repBuffer.cpp; in DRI2GetBuffers() 450 buffers[i].flags = repBuffer.flags; in DRI2GetBuffers() 456 return buffers; in DRI2GetBuffers() 468 DRI2Buffer *buffers; in DRI2GetBuffersWithFormat() local [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/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.c | 68 unsigned i, prims, buffers = 0, restore_buffers = 0; in fd_draw_vbo() local 142 buffers |= FD_BUFFER_DEPTH; in fd_draw_vbo() 150 buffers |= FD_BUFFER_STENCIL; in fd_draw_vbo() 171 buffers |= PIPE_CLEAR_COLOR0 << i; in fd_draw_vbo() 250 batch->resolve |= buffers; in fd_draw_vbo() 252 DBG("%p: %x %ux%u num_draws=%u (%s/%s)", batch, buffers, in fd_draw_vbo() 274 fd_blitter_clear(struct pipe_context *pctx, unsigned buffers, in fd_blitter_clear() argument 284 buffers, NULL, NULL); in fd_blitter_clear() 348 fd_clear(struct pipe_context *pctx, unsigned buffers, in fd_clear() argument 374 cleared_buffers = buffers & (FD_BUFFER_ALL & ~batch->restore); in fd_clear() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/ |
D | tensorrt_test.cc | 110 void* buffers[2]; in Execute() local 111 ASSERT_EQ(0, cudaMalloc(&buffers[input_index], sizeof(float))); in Execute() 112 ASSERT_EQ(0, cudaMalloc(&buffers[output_index], sizeof(float))); in Execute() 121 ASSERT_EQ(0, cudaMemcpyAsync(buffers[input_index], input, sizeof(float), in Execute() 123 context->enqueue(1, buffers, stream, nullptr); in Execute() 124 ASSERT_EQ(0, cudaMemcpyAsync(output, buffers[output_index], sizeof(float), in Execute() 130 ASSERT_EQ(0, cudaFree(buffers[input_index])); in Execute() 131 ASSERT_EQ(0, cudaFree(buffers[output_index])); in Execute()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | import_test.cc | 124 auto buffers = BuildBuffers(); in BuildTestModel() local 133 opcodes, subgraphs, s, buffers)); in BuildTestModel() 186 auto buffers = 0; in TEST_F() local 194 subgraphs, comment, buffers)); in TEST_F() 200 auto buffers = BuildBuffers(); in TEST_F() local 208 subgraphs, comment, buffers)); in TEST_F() 214 auto buffers = BuildBuffers(); in TEST_F() local 222 subgraphs, comment, buffers)); in TEST_F() 228 auto buffers = BuildBuffers(); in TEST_F() local 237 subgraphs, comment, buffers)); in TEST_F() [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/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_video.c | 134 struct pb_buffer** buffers[VL_NUM_COMPONENTS], in si_vid_join_surfaces() 187 if (!buffers[i] || !*buffers[i]) in si_vid_join_surfaces() 190 size = align(size, (*buffers[i])->alignment); in si_vid_join_surfaces() 191 size += (*buffers[i])->size; in si_vid_join_surfaces() 192 alignment = MAX2(alignment, (*buffers[i])->alignment * 1); in si_vid_join_surfaces() 207 if (!buffers[i] || !*buffers[i]) in si_vid_join_surfaces() 210 pb_reference(buffers[i], pb); in si_vid_join_surfaces()
|
/external/libevent/ |
D | buffer_iocp.c | 68 WSABUF buffers[MAX_WSABUFS]; member 116 len = buf->buffers[i].len; in evbuffer_commit_read_() 200 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_write_() 205 WSABUF *b = &buf_o->buffers[i]; in evbuffer_launch_write_() 225 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, in evbuffer_launch_write_() 266 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_read_() 276 &buf_o->buffers[i], in evbuffer_launch_read_() 291 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/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_transfer_manager.cc | 113 std::vector<cpu::runtime::XfeedBuffer*> buffers; in TransferLiteralToInfeed() local 114 buffers.reserve(ShapeUtil::TupleElementCount(shape)); in TransferLiteralToInfeed() 115 auto cleanup = tensorflow::gtl::MakeCleanup([&buffers]() { in TransferLiteralToInfeed() 116 for (cpu::runtime::XfeedBuffer* b : buffers) { in TransferLiteralToInfeed() 128 buffers.push_back(buffer); in TransferLiteralToInfeed() 133 xfeed_manager->infeed()->EnqueueBuffersAtomically(buffers); in TransferLiteralToInfeed() 244 std::vector<std::unique_ptr<CpuOutfeedBuffer>> buffers; in TransferBuffersFromOutfeedInternal() local 261 buffers.emplace_back(absl::make_unique<CpuOutfeedBuffer>(b.first, size_32)); in TransferBuffersFromOutfeedInternal() 265 buffer_pointers.reserve(buffers.size()); in TransferBuffersFromOutfeedInternal() 266 for (auto& b : buffers) { in TransferBuffersFromOutfeedInternal() [all …]
|