Home
last modified time | relevance | path

Searched refs:BufferType (Results 1 – 25 of 95) sorted by relevance

1234

/external/angle/src/tests/perf_tests/
DBlitFramebufferPerf.cpp19 enum class BufferType enum
27 const char *BufferTypeString(BufferType type) in BufferTypeString()
31 case BufferType::COLOR: in BufferTypeString()
33 case BufferType::DEPTH: in BufferTypeString()
35 case BufferType::STENCIL: in BufferTypeString()
37 case BufferType::DEPTH_STENCIL: in BufferTypeString()
44 GLbitfield BufferTypeMask(BufferType type) in BufferTypeMask()
48 case BufferType::COLOR: in BufferTypeMask()
50 case BufferType::DEPTH: in BufferTypeMask()
52 case BufferType::STENCIL: in BufferTypeMask()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator.h43 template <typename BufferType>
45 template <typename BufferType>
70 template <typename BufferType>
73 absl::flat_hash_map<const BufferType*, Chunk> chunk_map;
79 template <typename BufferType>
82 std::vector<HeapResult<BufferType>> heap_results;
236 template <typename BufferType>
240 using Result = HeapSimulator::Result<BufferType>;
241 using HeapResult = HeapSimulator::HeapResult<BufferType>;
246 virtual void Alloc(const BufferType* buffer, int64 size) = 0;
[all …]
Dheap_simulator.cc452 template <typename BufferType>
453 void NoFragmentationStatsHeap<BufferType>::Alloc(const BufferType* buffer, in Alloc()
461 template <typename BufferType>
462 void NoFragmentationStatsHeap<BufferType>::AccountForSubcomputationMemory( in AccountForSubcomputationMemory()
490 template <typename BufferType>
491 void NoFragmentationStatsHeap<BufferType>::Free(const BufferType* buffer, in Free()
496 template <typename BufferType>
497 HeapSimulator::Result<BufferType>
498 NoFragmentationStatsHeap<BufferType>::Finish() { in Finish()
506 template <typename BufferType>
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/mpi/
DBufferDerefCheck.cpp86 const Type *BufferType = BufferTypes[i]; in checkBuffers() local
91 if (BufferType->isPointerType()) { in checkBuffers()
92 BufferType = BufferType->getPointeeType().getTypePtr(); in checkBuffers()
94 } else if (BufferType->isArrayType()) { in checkBuffers()
95 BufferType = BufferType->getArrayElementTypeNoTypeQual(); in checkBuffers()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dxfeed_queue.h36 template <typename BufferType>
42 void EnqueueDestination(BufferType buffers) { in EnqueueDestination()
50 BufferType BlockingGetNextDestination() { in BlockingGetNextDestination()
56 BufferType current_buffer; in BlockingGetNextDestination()
89 std::deque<BufferType> enqueued_buffers_ ABSL_GUARDED_BY(mu_);
/external/conscrypt/common/src/test/java/org/conscrypt/
DBufferUtilsTest.java26 import org.conscrypt.TestUtils.BufferType;
60 public static BufferType[] data() { in data()
61 return new BufferType[] { BufferType.HEAP, BufferType.DIRECT }; in data()
65 public BufferType bufferType;
119 for (BufferType destinationType : BufferType.values()) { in copyNoConsume()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DBufferUtilsTest.java27 import com.android.org.conscrypt.TestUtils.BufferType;
64 public static BufferType[] data() { in data()
65 return new BufferType[] { BufferType.HEAP, BufferType.DIRECT }; in data()
69 public BufferType bufferType;
123 for (BufferType destinationType : BufferType.values()) { in copyNoConsume()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_bufferreadwriterect.cpp36 typedef unsigned char BufferType; typedef
49 BufferType* verify[TotalImages];
50 BufferType* backing[TotalImages];
53 BufferType* tmp_buffer;
61 static void initialize_image(BufferType* ptr, size_t w, size_t h, size_t d, MTdata mt) in initialize_image()
63 enum { ElementSize = sizeof(BufferType)/sizeof(unsigned char) }; in initialize_image()
74 void print_buffer(BufferType* buf, size_t w, size_t h, size_t d) { in print_buffer()
198 int verify_region(BufferType* device, size_t src, size_t soffset[3], size_t sregion[3], size_t dst,… in verify_region()
273 size_t size_bytes = width[src]*height[src]*depth[src]*sizeof(BufferType); in map_verify_region()
277BufferType* mapped = (BufferType*)clEnqueueMapBuffer(queue,buffer[src],CL_TRUE,CL_MAP_READ,0,size_… in map_verify_region()
[all …]
/external/deqp-deps/amber/src/vulkan/
Dengine_vulkan.cc230 auto type = BufferCommand::BufferType::kSSBO; in CreatePipeline()
231 if (buf_info.type == BufferType::kStorageImage) { in CreatePipeline()
232 type = BufferCommand::BufferType::kStorageImage; in CreatePipeline()
233 } else if (buf_info.type == BufferType::kSampledImage) { in CreatePipeline()
234 type = BufferCommand::BufferType::kSampledImage; in CreatePipeline()
235 } else if (buf_info.type == BufferType::kCombinedImageSampler) { in CreatePipeline()
236 type = BufferCommand::BufferType::kCombinedImageSampler; in CreatePipeline()
237 } else if (buf_info.type == BufferType::kUniformTexelBuffer) { in CreatePipeline()
238 type = BufferCommand::BufferType::kUniformTexelBuffer; in CreatePipeline()
239 } else if (buf_info.type == BufferType::kStorageTexelBuffer) { in CreatePipeline()
[all …]
Dpipeline_test.cc31 auto cmd = MakeUnique<BufferCommand>(BufferCommand::BufferType::kPushConstant, in TEST_F()
43 auto cmd = MakeUnique<BufferCommand>(BufferCommand::BufferType::kUniform, in TEST_F()
/external/curl/lib/vauth/
Ddigest_sspi.c201 chlg_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_md5_message()
209 resp_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_md5_message()
470 chlg_buf[0].BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_http_message()
473 chlg_buf[1].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
476 chlg_buf[2].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
479 chlg_buf[3].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
482 chlg_buf[4].BufferType = SECBUFFER_PADDING; in Curl_auth_create_digest_http_message()
568 chlg_buf[0].BufferType = SECBUFFER_TOKEN; in Curl_auth_create_digest_http_message()
571 chlg_buf[1].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
574 chlg_buf[2].BufferType = SECBUFFER_PKG_PARAMS; in Curl_auth_create_digest_http_message()
[all …]
Dkrb5_sspi.c198 chlg_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_gssapi_user_message()
207 resp_buf.BufferType = SECBUFFER_TOKEN; in Curl_auth_create_gssapi_user_message()
345 input_buf[0].BufferType = SECBUFFER_STREAM; in Curl_auth_create_gssapi_security_message()
348 input_buf[1].BufferType = SECBUFFER_DATA; in Curl_auth_create_gssapi_security_message()
439 wrap_buf[0].BufferType = SECBUFFER_TOKEN; in Curl_auth_create_gssapi_security_message()
442 wrap_buf[1].BufferType = SECBUFFER_DATA; in Curl_auth_create_gssapi_security_message()
445 wrap_buf[2].BufferType = SECBUFFER_PADDING; in Curl_auth_create_gssapi_security_message()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights.h30 enum class BufferType { QUANTIZED_INT8, QUANTIZED_FLOAT16 }; enum
48 BufferType quant_type = BufferType::QUANTIZED_INT8);
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp57 const char* generateShaderBufferString (TestType testType, BufferType bufferType) in generateShaderBufferString()
75 …idatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType) in initBufferValidatorPrograms()
182 vk::VkDescriptorType getDescriptorType (BufferType bufferType) in getDescriptorType()
/external/deqp-deps/amber/src/
Dcommand.h490 enum class BufferType { enum
503 BufferCommand(BufferType type, Pipeline* pipeline);
506 bool IsSSBO() const { return buffer_type_ == BufferType::kSSBO; } in IsSSBO()
508 return buffer_type_ == BufferType::kSSBODynamic; in IsSSBODynamic()
510 bool IsUniform() const { return buffer_type_ == BufferType::kUniform; } in IsUniform()
512 return buffer_type_ == BufferType::kUniformDynamic; in IsUniformDynamic()
515 return buffer_type_ == BufferType::kStorageImage; in IsStorageImage()
518 return buffer_type_ == BufferType::kSampledImage; in IsSampledImage()
521 return buffer_type_ == BufferType::kCombinedImageSampler; in IsCombinedImageSampler()
524 return buffer_type_ == BufferType::kUniformTexelBuffer; in IsUniformTexelBuffer()
[all …]
Dpipeline.cc381 info.type = BufferType::kColor; in AddColorAttachment()
408 depth_stencil_buffer_.type = BufferType::kDepthStencil; in SetDepthStencilBuffer()
437 vertex_buffers_.back().type = BufferType::kVertex; in AddVertexBuffer()
450 push_constant_buffer_.type = BufferType::kPushConstant; in SetPushConstantBuffer()
467 push_constant_buffer_.type = BufferType::kPushConstant; in CreatePushConstantBuffer()
515 BufferType type, in AddBuffer()
532 BufferType type, in AddBuffer()
554 void Pipeline::AddBuffer(Buffer* buf, BufferType type, uint32_t arg_no) { in AddBuffer()
692 if (info.type == BufferType::kUnknown) { in UpdateOpenCLBufferBindings()
697 info.type = BufferType::kUniform; in UpdateOpenCLBufferBindings()
[all …]
/external/skia/src/shaders/gradients/
DSk4fGradientBase.h46 using BufferType = SkSTArray<8, Sk4fGradientInterval, true>; variable
48 const BufferType* operator->() const { return &fIntervals; }
51 BufferType fIntervals;
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.h46 using BufferType = SkSTArray<8, Sk4fGradientInterval, true>; variable
48 const BufferType* operator->() const { return &fIntervals; }
51 BufferType fIntervals;
/external/libcups/cups/
Dtls-sspi.c774 buffers[0].BufferType = SECBUFFER_DATA; in _httpTLSRead()
775 buffers[1].BufferType = SECBUFFER_EMPTY; in _httpTLSRead()
776 buffers[2].BufferType = SECBUFFER_EMPTY; in _httpTLSRead()
777 buffers[3].BufferType = SECBUFFER_EMPTY; in _httpTLSRead()
826 if (buffers[i].BufferType == SECBUFFER_DATA) in _httpTLSRead()
828 else if (!pExtraBuffer && (buffers[i].BufferType == SECBUFFER_EXTRA)) in _httpTLSRead()
1035 buffers[0].BufferType = SECBUFFER_TOKEN; in _httpTLSStop()
1061 buffers[0].BufferType = SECBUFFER_TOKEN; in _httpTLSStop()
1172 buffers[0].BufferType = SECBUFFER_STREAM_HEADER; in _httpTLSWrite()
1175 buffers[1].BufferType = SECBUFFER_DATA; in _httpTLSWrite()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp67 enum BufferType enum
135 const BufferType bufferType);
137 const BufferType m_bufferType;
150 const BufferType bufferType);
155 const BufferType m_bufferType;
176 const BufferType bufferType) in UseAfterFreeTestCase()
302 const BufferType bufferType) in UseAfterFreeTestInstance()
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
DCaliperAlpnBenchmark.java36 public BufferType b_buffer;
57 public BufferType bufferType() { in bufferType()
DCaliperEngineHandshakeBenchmark.java51 public BufferType b_buffer;
78 public BufferType bufferType() { in bufferType()
DCaliperEngineWrapBenchmark.java53 public BufferType b_buffer;
89 public BufferType bufferType() { in bufferType()
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/
DCaliperAlpnBenchmark.java38 public BufferType b_buffer;
58 public BufferType bufferType() { in bufferType()
DCaliperEngineHandshakeBenchmark.java53 public BufferType b_buffer;
79 public BufferType bufferType() { in bufferType()

1234