/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));
|
/frameworks/base/libs/hwui/tests/unit/ |
OffscreenBufferPoolTests.cpp | 229 // Create many buffers, with several at each size 230 std::vector<OffscreenBuffer*> buffers; local 233 buffers.push_back(pool.get(renderThread.renderState(), size, size)); 237 for (auto& buffer : buffers) pool.putOrDelete(buffer);
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureGLToGL_test.cpp | 31 // This test requires 3 buffers to avoid deadlock because we're 86 // This test requires 3 buffers to complete run on a single thread. 160 sp<GraphicBuffer> buffers[2]; local 183 buffers[i] = mST->getCurrentBuffer(); 186 // Destroy the GL texture object to release its ref on buffers[2]. 196 EXPECT_EQ(1, buffers[0]->getStrongCount()); 201 EXPECT_EQ(3, buffers[1]->getStrongCount()); 206 sp<GraphicBuffer> buffers[3]; local 230 buffers[i] = mST->getCurrentBuffer(); 234 // on buffers[2] [all...] |
/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/tensorflow/tensorflow/compiler/xla/service/ |
hlo_alias_analysis.h | 69 // Compute the set of buffers at the given instruction and index and return as 70 // a vector. This set is exactly the union of the buffers containing the 78 const std::vector<HloBuffer>& buffers() const { return buffers_; } function in class:xla::HloAliasAnalysis
|
shaped_buffer.h | 33 // Class which encapsulates a buffer or set of buffers containing data of a 78 const ShapeTree<perftools::gputools::DeviceMemoryBase>& buffers() const { function in class:xla::ShapedBuffer 81 ShapeTree<perftools::gputools::DeviceMemoryBase>& buffers() { function in class:xla::ShapedBuffer 109 // The tree of device buffers. Its shape is on_device_shape(). 115 // ShapedBuffer derived class which allocates all internal buffers on 146 // All buffers in the shape are deallocated on destruction.
|
/hardware/interfaces/graphics/allocator/2.0/utils/hal/include/allocator-hal/2.0/ |
Allocator.h | 60 std::vector<const native_handle_t*> buffers; variable 61 Error error = mHal->allocateBuffers(descriptor, count, &stride, &buffers); 67 hidl_vec<hidl_handle> hidlBuffers(buffers.cbegin(), buffers.cend()); 71 mHal->freeBuffers(buffers);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_storagebuf.c | 48 struct pipe_shader_buffer buffers[MAX_SHADER_STORAGE_BUFFERS]; local 59 struct pipe_shader_buffer *sb = &buffers[i]; 83 prog->info.num_ssbos, buffers); 84 /* clear out any stale shader 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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
gpu_transfer_manager.cc | 69 std::vector<gpu::InfeedBuffer*> buffers; local 70 buffers.reserve(ShapeUtil::TupleElementCount(shape)); 71 auto cleanup = tensorflow::gtl::MakeCleanup([buffers]() { 72 for (gpu::InfeedBuffer* b : buffers) { 85 buffers.push_back(buffer); 89 return EnqueueBuffersToInfeed(executor, buffers); 101 se::StreamExecutor* executor, std::vector<gpu::InfeedBuffer*> buffers) { 111 for (gpu::InfeedBuffer* b : buffers) { 118 infeed_manager->EnqueueBuffers(buffers);
|
/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...] |
/hardware/interfaces/graphics/mapper/2.1/utils/vts/ |
MapperVts.cpp | 114 auto buffers = V2_0::vts::Gralloc::allocate(descriptor, 1, import, outStride); local 119 return buffers[0];
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
NativeBuffers.java | 31 * Factory for native buffers. 58 NativeBuffer[] buffers = threadLocal.get(); local 59 if (buffers != null) { 61 NativeBuffer buffer = buffers[i]; 63 buffers[i] = null; 92 NativeBuffer[] buffers = threadLocal.get(); local 93 if (buffers == null) { 94 buffers = new NativeBuffer[TEMP_BUF_POOL_SIZE]; 95 buffers[0] = buffer; 96 threadLocal.set(buffers); [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/drivers/freedreno/ |
freedreno_draw.c | 65 unsigned i, prims, buffers = 0; local 101 * Figure out the buffers/features we need: 107 buffers |= FD_BUFFER_DEPTH; 113 buffers |= FD_BUFFER_STENCIL; 130 buffers |= PIPE_CLEAR_COLOR0 << i; 159 /* Mark streamout buffers as being written.. */ 184 /* any buffers that haven't been cleared yet, we need to restore: */ 185 batch->restore |= buffers & (FD_BUFFER_ALL & ~batch->cleared); 186 /* and any buffers used, need to be resolved: */ 187 batch->resolve |= buffers; [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/xla/service/llvm_ir/ |
alias_analysis.cc | 39 // buffers. 127 // We want to construct a list of buffers which: 141 // buffers (index = {}) not buffers nested within the instruction's 166 buffers; local 168 // Skip buffers which cannot be added to the noalias set. 177 buffers.insert(noalias_slice); 186 if (buffers.size() >= kMaxNoAliasSetSize) { 193 if (buffers.empty()) { 199 for (const BufferAllocation::Slice noalias_slice : buffers) { [all...] |
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/ |
import_test.cc | 55 auto buffers = builder_.CreateVector( local 83 opcodes, subgraphs, s, buffers));
|
/external/tensorflow/tensorflow/contrib/lite/tools/ |
verifier_test.cc | 113 /*description=*/0, /*buffers=*/0); 142 /*subgraphs=*/0, /*description=*/0, /*buffers=*/0); 152 /*subgraphs=*/0, /*description=*/0, /*buffers=*/0); 197 auto buffers = builder.CreateVector(std::vector<Offset<Buffer>>{ local 204 builder.CreateString("SmartReply"), buffers);
|
/external/tensorflow/tensorflow/contrib/tensorrt/ |
tensorrt_test.cc | 107 // Create GPU buffers and a stream 108 void* buffers[2]; local 109 ASSERT_EQ(0, cudaMalloc(&buffers[input_index], sizeof(float))); 110 ASSERT_EQ(0, cudaMalloc(&buffers[output_index], sizeof(float))); 119 ASSERT_EQ(0, cudaMemcpyAsync(buffers[input_index], input, sizeof(float), 121 context.enqueue(1, buffers, stream, nullptr); 122 ASSERT_EQ(0, cudaMemcpyAsync(output, buffers[output_index], sizeof(float), 126 // Release the stream and the buffers 128 ASSERT_EQ(0, cudaFree(buffers[input_index])); 129 ASSERT_EQ(0, cudaFree(buffers[output_index])) [all...] |
/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/libaudioclient/include/media/ |
IAudioFlinger.h | 269 buffers = interface_cast<IMemory>(parcel->readStrongBinder()); 270 if (buffers == 0 || buffers->pointer() == NULL) { 294 if (buffers != 0) { 296 (void)parcel->writeStrongBinder(IInterface::asBinder(buffers)); 315 sp<IMemory> buffers; member in class:android::IAudioFlinger::CreateRecordOutput 507 // Requests media.log to start merging log 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);
|
/frameworks/base/libs/usb/tests/accessorytest/ |
audio.c | 42 static char* buffers[BUFFER_COUNT]; variable 150 if (pcm_read(pcm, buffers[index], BUFFER_SIZE)) { 174 err = pcm_write(pcm, buffers[index], BUFFER_SIZE); 198 buffers[i] = malloc(BUFFER_SIZE);
|