/external/mesa3d/src/gallium/drivers/i915/ |
i915_blit.c | 104 struct i915_winsys_buffer *buffers[2] = {src_buffer, dst_buffer}; local 113 if(!i915_winsys_validate_buffers(i915->batch, buffers, 2)) { 115 assert(i915_winsys_validate_buffers(i915->batch, buffers, 2));
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
MemoryDeferredOutputStream.java | 16 private final List<byte[]> buffers = Lists.newArrayList(); field in class:MemoryDeferredOutputStream 29 for (byte[] buffer: buffers) { 35 buffers.clear(); 41 buffers.add(currentBuffer); 63 buffers.add(currentBuffer);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_atomicbuf.c | 139 struct pipe_shader_buffer buffers[PIPE_MAX_HW_ATOMIC_BUFFERS]; local 148 struct pipe_shader_buffer *sb = &buffers[i]; 167 st->pipe->set_hw_atomic_buffers(st->pipe, 0, st->ctx->Const.MaxAtomicBufferBindings, buffers);
|
st_atom_storagebuf.c | 48 struct pipe_shader_buffer buffers[MAX_SHADER_STORAGE_BUFFERS]; local 61 struct pipe_shader_buffer *sb = &buffers[i]; 85 prog->info.num_ssbos, buffers); 86 /* clear out any stale shader buffers */
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_alias_analysis.h | 73 // Compute the set of buffers at the given instruction and index and return as 74 // a vector. This set is exactly the union of the buffers containing the 82 const std::vector<HloBuffer>& buffers() const { return buffers_; } function in class:xla::HloAliasAnalysis
|
shaped_buffer_test.cc | 120 sb.buffers().ForEachMutableElement( 127 ShapeTree<se::DeviceMemoryBase> buffers = sb.buffers(); local 129 // Takes a subtree out of 'sb', and verifies the buffers are as expected. 133 output.buffers().ForEachElement([&](const xla::ShapeIndex& sub_index, 139 EXPECT_TRUE(buffers.find(orig_index)->second.IsSameAs(buffer)); 141 sb.buffers().ForEachElement( 146 EXPECT_TRUE(buffers.find(index)->second.IsSameAs(buffer));
|
shaped_buffer.h | 35 // Class which encapsulates a buffer or set of buffers containing data of a 87 // Sets all buffers. 89 // Precondition: buffers.shape == on_device_shape_ 90 void set_buffers(ShapeTree<se::DeviceMemoryBase> buffers) { 91 CHECK(ShapeUtil::Equal(buffers.shape(), on_device_shape_)); 92 buffers_ = std::move(buffers); 97 const ShapeTree<se::DeviceMemoryBase>& buffers() const { return buffers_; } function in class:xla::ShapedBuffer 98 ShapeTree<se::DeviceMemoryBase>& buffers() { return buffers_; } function in class:xla::ShapedBuffer 118 // The tree of device buffers. Its shape is on_device_shape(). 124 // ShapedBuffer derived class which allocates all internal buffers o [all...] |
/frameworks/av/media/codec2/sfplugin/ |
PipelineWatcher.h | 71 * \param buffers input buffers of the queued work item 76 std::vector<std::shared_ptr<C2Buffer>> &&buffers, 80 * The component released input buffers from a work item. 83 * \param arrayIndex index of the buffer at the original |buffers| in 85 * \return buffers[arrayIndex] 129 : buffers(b), 131 std::vector<std::shared_ptr<C2Buffer>> buffers; member in struct:android::PipelineWatcher::Frame
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
CompositeReadableBuffer.java | 27 * facade that allows multiple buffers to be treated as one. 36 private final Queue<ReadableBuffer> buffers = new ArrayDeque<ReadableBuffer>(); field in class:CompositeReadableBuffer 46 buffers.add(buffer); 52 while (!compositeBuffer.buffers.isEmpty()) { 53 ReadableBuffer subBuffer = compositeBuffer.buffers.remove(); 54 buffers.add(subBuffer); 143 ReadableBuffer buffer = buffers.peek(); 148 newBuffer.addBuffer(buffers.poll()); 157 while (!buffers.isEmpty()) { 158 buffers.remove().close() [all...] |
/external/harfbuzz_ng/test/api/ |
test-multithread.c | 57 fprintf (stderr, "One of the buffers was different from the reference.\n"); 100 hb_buffer_t **buffers = calloc (num_threads, sizeof (hb_buffer_t *)); local 107 buffers[i] = buffer; 117 hb_buffer_destroy (buffers[i]); 120 free (buffers);
|
/external/python/cpython3/Objects/stringlib/ |
join.h | 18 Py_buffer *buffers = NULL; local 43 buffers = PyMem_NEW(Py_buffer, seqlen); 44 if (buffers == NULL) { 51 buffers = static_buffers; 64 buffers[i].obj = item; 65 buffers[i].buf = PyBytes_AS_STRING(item); 66 buffers[i].len = PyBytes_GET_SIZE(item); 68 else if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) { 76 itemlen = buffers[i].len; 108 Py_ssize_t n = buffers[i].len [all...] |
/external/xz-embedded/linux/lib/xz/ |
xz_dec_test.c | 42 * Input and output buffers. The input buffer is used as a temporary safe 49 * Structure to pass the input and output buffers to the XZ decoder. 52 static struct xz_buf buffers = { variable in typeref:struct:xz_buf 75 buffers.in_pos = 0; 76 buffers.in_size = 0; 77 buffers.out_pos = 0; 120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) 122 if (buffers.in_pos == buffers.in_size) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
RefocusFilterF32.java | 53 ImageBuffersForRenderScriptF32 buffers; field in class:RefocusFilterF32 60 buffers.destroy(); 69 // Allocates, binds, and initializes buffers that interface between Java 74 buffers = new ImageBuffersForRenderScriptF32(inputImage, margin, 76 buffers.initializeRenderScript(focalLayer, scriptC); 81 // Extracts the result from .rs file to {@code buffers.outputImage} in Java. 85 scriptC.forEach_PackOutputImage(buffers.outAllocation); 89 buffers.outAllocation.copyTo(buffers.outputImage); 90 return buffers.outputImage [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/ |
RefocusFilterd1new.java | 50 ImageBuffersForRenderScriptd1new buffers; field in class:RefocusFilterd1new 58 buffers.destroy(); 69 // Allocates, binds, and initializes buffers that interface between Java 74 buffers = new ImageBuffersForRenderScriptd1new(inputImage, margin, 76 buffers.initializeRenderScript(focalLayer, scriptC); 81 // Extracts the result from .rs file to {@code buffers.outputImage} in Java. 85 scriptC.forEach_PackOutputImage(buffers.outAllocation); 89 buffers.outAllocation.copyTo(buffers.outputImage); 90 return buffers.outputImage [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
swapchain9.h | 57 struct NineSurface9 *buffers[D3DPRESENT_BACK_BUFFERS_MAX_EX + 1]; /* 0 to BackBufferCount-1 : the back buffers. BackBufferCount : additional buffer */ member in struct:NineSwapChain9
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/ |
tensorrt_test.cc | 109 // Create GPU buffers and a stream 110 void* buffers[2]; local 111 ASSERT_EQ(0, cudaMalloc(&buffers[input_index], sizeof(float))); 112 ASSERT_EQ(0, cudaMalloc(&buffers[output_index], sizeof(float))); 121 ASSERT_EQ(0, cudaMemcpyAsync(buffers[input_index], input, sizeof(float), 123 context->enqueue(1, buffers, stream, nullptr); 124 ASSERT_EQ(0, cudaMemcpyAsync(output, buffers[output_index], sizeof(float), 128 // Release the stream and the buffers 130 ASSERT_EQ(0, cudaFree(buffers[input_index])); 131 ASSERT_EQ(0, cudaFree(buffers[output_index])) [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
alias_analysis.cc | 40 // with our temporary buffers. 126 // We want to construct a list of buffers which: 165 std::set<BufferAllocation::Slice> buffers; local 167 // Skip buffers which cannot be added to the noalias set. 176 buffers.insert(noalias_slice); 185 if (buffers.size() >= kMaxNoAliasSetSize) { 192 if (buffers.empty()) { 198 for (const BufferAllocation::Slice noalias_slice : buffers) {
|
/external/tensorflow/tensorflow/lite/experimental/micro/ |
simple_tensor_allocator_test.cc | 80 const Offset<Buffer> buffers[buffers_size] = { local 84 buffers_offset = builder->CreateVector(buffers, buffers_size); 104 const flatbuffers::Vector<flatbuffers::Offset<tflite::Buffer>>* buffers = local 110 allocator.AllocateTensor(*tensor, 0, 1, buffers, micro_test::reporter, 125 const flatbuffers::Vector<flatbuffers::Offset<tflite::Buffer>>* buffers = local 131 allocator.AllocateTensor(*tensor, 0, 1, buffers, micro_test::reporter,
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
packet_loss_stats.cc | 77 std::vector<const std::set<uint16_t>*> buffers; local 78 buffers.push_back(&lost_packets_buffer_); 79 buffers.push_back(&lost_packets_wrapped_buffer_); 80 for (auto buffer : buffers) {
|
/frameworks/av/media/libmedia/ |
IStreamSource.cpp | 54 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { 57 data.writeInt64(static_cast<int64_t>(buffers.size())); 58 for (size_t i = 0; i < buffers.size(); ++i) { 59 data.writeStrongBinder(IInterface::asBinder(buffers.itemAt(i))); 98 Vector<sp<IMemory> > buffers; local 104 buffers.push(mem); 109 setBuffers(buffers);
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cMapBufferAlignmentTests.cpp | 184 static const BufferEnums buffers[] = { local 200 static const size_t n_buffers = sizeof(buffers) / sizeof(buffers[0]); 231 const BufferEnums& buffer = buffers[buffer_idx];
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryBasicClass.cpp | 160 const VkBuffer buffers[] = { vertexBuffer.get()}; local 162 vk.cmdBindVertexBuffers(*cmdBuffer, 0u, DE_LENGTH_OF_ARRAY(buffers), buffers, offsets);
|
/external/libaom/libaom/third_party/libyuv/include/libyuv/ |
mjpeg_decoder.h | 53 Buffer* buffers; member in struct:libyuv::BufferVector 139 // GetNumComponents() and they must point to non-overlapping buffers of size 185 // output buffers. Large enough for just one iMCU row.
|
/external/libchrome/mojo/core/ |
message_pipe_unittest.cc | 100 // - also verify that buffers aren't modified when/where they shouldn't be 374 MojoHandle buffers[kPingPongHandlesPerIteration]; local 376 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateSharedBuffer(1, nullptr, &buffers[i])); 380 WriteMessageWithHandles(h, "", buffers, kPingPongHandlesPerIteration); 381 ReadMessageWithHandles(h, buffers, kPingPongHandlesPerIteration); 386 MojoClose(buffers[i]);
|
/external/libevent/ |
buffer_iocp.c | 65 /** How many chains are pinned; how many of the fields in buffers 68 WSABUF buffers[MAX_WSABUFS]; member in struct:evbuffer_overlapped 116 len = buf->buffers[i].len; 200 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); 205 WSABUF *b = &buf_o->buffers[i]; 225 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, 266 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); 276 &buf_o->buffers[i] [all...] |