/third_party/openssl/crypto/camellia/asm/ |
H A D | cmll-x86_64.pl | 64 $Tbl="%rbp"; # size optimization 73 # and [2][] - with [3][]. This is done to minimize code size. 137 .size Camellia_EncryptBlock,.-Camellia_EncryptBlock 200 .size Camellia_EncryptBlock_Rounds,.-Camellia_EncryptBlock_Rounds 250 .size _x86_64_Camellia_encrypt,.-_x86_64_Camellia_encrypt 264 .size Camellia_DecryptBlock,.-Camellia_DecryptBlock 327 .size Camellia_DecryptBlock_Rounds,.-Camellia_DecryptBlock_Rounds 378 .size _x86_64_Camellia_decrypt,.-_x86_64_Camellia_decrypt 525 lea 128($out),$out # size optimization 577 lea 128($out),$out # size optimizatio [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawShaderViewportIndexTests.cpp | 87 return vec.size() * sizeof(vec[0]); in sizeInBytes() 90 VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const UVec2& size, VkImageUsageFlags usage) in makeImageCreateInfo() argument 99 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo() 170 DE_ASSERT(numViewports == static_cast<int>(cells.size())); in makeGraphicsPipeline() 432 DE_ASSERT(cells.size() == cellColors.size()); in generateReferenceImage() 437 for (std::size_t i = 0; i < cells.size(); ++i) in generateReferenceImage() 627 std::size_t total = colors.size() * 6; in generateVertices() 877 const auto colorsBufferSize = m_colors.size() * sizeo in drawCommands() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemUtils.cpp | 122 for (size_t idx = 0; idx < properties.size(); ++idx) in chooseProtectedMemQueueFamilyIndex() 162 for (deUint32 ndx = 0; ndx < extensions.size(); ++ndx) in makeProtectedMemDevice() 172 std::vector<const char*> enabledExts (requiredExtensions.size()); in makeProtectedMemDevice() 173 for (size_t idx = 0; idx < requiredExtensions.size(); ++idx) in makeProtectedMemDevice() 278 memReservationInfo.pipelinePoolSizeCount = deUint32(poolSizes.size()); in makeProtectedMemDevice() 293 (deUint32)requiredExtensions.size(), // enabledExtensionCount in makeProtectedMemDevice() 383 deUint32 size, in makeBuffer() 410 (vk::VkDeviceSize)size, // size in makeBuffer() 610 (deUint32)vertexBindings.size(), // deUint3 in makeGraphicsPipeline() 380 makeBuffer(ProtectedContext& context, ProtectionMode protectionMode, const deUint32 queueFamilyIdx, deUint32 size, vk::VkBufferUsageFlags usageFlags, vk::MemoryRequirement memReq) makeBuffer() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolPerformanceTests.cpp | 80 DE_ASSERT(partString.size() > symbolsInPart); in uuidToHex() 82 result += (symbolsInPart >= partString.size()) ? partString : partString.substr(partString.size() - symbolsInPart); in uuidToHex() 89 DE_ASSERT(result.size() == stringSize); in uuidToHex() 121 for (deUint32 queueNdx = 0; queueNdx < queueProperties.size(); queueNdx++) in iterate() 155 for (size_t counterNdx = 0; counterNdx < counters.size(); ++counterNdx) in iterate() 186 for (size_t counterNdx = 0; counterNdx < counterDescriptors.size(); ++counterNdx) in iterate() 259 const deUint32 counterCount = (deUint32)m_counters.size(); in createQueryPool() 295 deUint32 enabledCountersCount = static_cast<deUint32>(enabledCounters.size()); in createQueryPool() 548 const size_t kBufferSize = vertices.size() * sizeo in initStateObjects() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessIndexAccessTests.cpp | 146 const VkBufferCreateInfo vertexBufferInfo = makeBufferCreateInfo(vertices.size() * sizeof(float), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT); in iterate() 148 deMemcpy(vertexBuffer.getAllocation().getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in iterate() 156 const VkBufferCreateInfo indexBufferInfo = makeBufferCreateInfo(index.size() * sizeof(deUint32), VK_BUFFER_USAGE_INDEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT); in iterate() 158 deMemcpy(indexBuffer.getAllocation().getHostPtr(), index.data(), index.size() * sizeof(deUint32)); in iterate() 164 (deUint32)index.size(), // indexCount in iterate() 247 vk.cmdDrawIndexed(*cmdBuffer, (deUint32)index.size(), 1, oobFirstIndex, 0, 0); in iterate() 625 const VkBufferCreateInfo vertexBufferInfo = makeBufferCreateInfo(vertices.size() * sizeof(tcu::Vec4), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT); in iterate() 627 deMemcpy(vertexBuffer.getAllocation().getHostPtr(), vertices.data(), vertices.size() * sizeof(tcu::Vec4)); in iterate() 643 VkDeviceSize allocSize = indices.size() * sizeof(deUint32); in iterate() 657 allocSize = (indices.size() in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationUserDefinedIO.cpp | 85 VERTEX_IO_ARRAY_SIZE_EXPLICIT_SHADER_BUILTIN, //!< Use gl_MaxPatchVertices as size for per-vertex input array. 202 for (int i = 0; i < static_cast<int>(objects.size()); ++i) in numBasicSubobjectsInElementType() 358 for (int i = 0; i < static_cast<int>(m_members.size()); ++i) in declare() 372 for (int i = 0; i < static_cast<int>(m_members.size()); ++i) in declareArray() 388 for (int i = 0; i < static_cast<int>(m_members.size()); ++i) in glslTraverseBasicTypeArray() 396 for (int i = 0; i < static_cast<int>(m_members.size()); ++i) in glslTraverseBasicTypeArray() 405 for (int i = 0; i < static_cast<int>(m_members.size()); ++i) in glslTraverseBasicType() 413 for (int i = 0; i < static_cast<int>(m_members.size()); ++i) in numBasicSubobjectsInElementType() 422 for (int memberNdx = 0; memberNdx < static_cast<int>(m_members.size()); ++memberNdx) in basicSubobjectAtIndex() 551 for (int tcsOutputNdx = 0; tcsOutputNdx < static_cast<int>(m_tcsOutputs.size()); in UserDefinedIOTest() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestPackage.cpp | 521 if (m_testsForSubprocess.size() >= std::size_t(currentSubprocessCount)) in deinit() 543 if (Context::m_faultData.size() != 0) in deinit() 545 for (uint32_t i = 0; i < Context::m_faultData.size(); ++i) in deinit() 618 message.resize(message.size() - 1); in logUnusedShaders() 835 argPos.push_back(originalCmdLine.size()); in runTestsInSubprocess() 838 for (std::size_t i = 0; i < argPos.size()-1; ++i) in runTestsInSubprocess() 848 for (std::size_t i = 0; i < args.size(); ++i) in runTestsInSubprocess() 878 deFile_write(exportFile, subprocessTestList.c_str(), subprocessTestList.size(), &numWritten); in runTestsInSubprocess() 948 std::string subQpaCopy = "\n" + std::string(subQpaText.begin() + beginPos, subQpaText.begin() + endPos + endText.size()) + "\n"; in runTestsInSubprocess() 981 std::string subQpaStat (subQpaText.begin() + beginPos + beginStat.size(), subQpaTex in runTestsInSubprocess() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawShaderViewportIndexTests.cpp | 87 return vec.size() * sizeof(vec[0]); in sizeInBytes() 90 VkImageCreateInfo makeImageCreateInfo (const VkFormat format, const UVec2& size, VkImageUsageFlags usage) in makeImageCreateInfo() argument 99 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo() 170 DE_ASSERT(numViewports == static_cast<int>(cells.size())); in makeGraphicsPipeline() 432 DE_ASSERT(cells.size() == cellColors.size()); in generateReferenceImage() 437 for (std::size_t i = 0; i < cells.size(); ++i) in generateReferenceImage() 623 std::size_t total = colors.size() * 6; in generateVertices() 873 const auto colorsBufferSize = m_colors.size() * sizeo in drawCommands() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | State.h | 311 ASSERT(sampler < mSamplerTextures[type].size()); 325 ASSERT(textureUnit < mSamplers.size()); 441 GLsizeiptr size); 443 size_t getAtomicCounterBufferCount() const { return mAtomicCounterBuffers.size(); } in getAtomicCounterBufferCount() 482 GLint size, in setVertexAttribPointer() 488 mVertexArray->setVertexAttribPointer(context, attribNum, boundBuffer, size, type, in setVertexAttribPointer() 496 GLint size, in setVertexAttribIPointer() 501 mVertexArray->setVertexAttribIPointer(context, attribNum, boundBuffer, size, type, stride, in setVertexAttribIPointer() 509 ASSERT(attribNum < mVertexAttribCurrentValues.size()); in getVertexAttribCurrentValue() 526 GLint size, 479 setVertexAttribPointer(const Context *context, unsigned int attribNum, Buffer *boundBuffer, GLint size, VertexAttribType type, bool normalized, GLsizei stride, const void *pointer) setVertexAttribPointer() argument 493 setVertexAttribIPointer(const Context *context, unsigned int attribNum, Buffer *boundBuffer, GLint size, VertexAttribType type, GLsizei stride, const void *pointer) setVertexAttribIPointer() argument [all...] |
H A D | validationES.h | 688 GLint size, in ValidateVertexFormat() 705 if (size < 1 || size > 4) in ValidateVertexFormat() 712 if (size != 4) in ValidateVertexFormat() 720 if (size != 3 && size != 4) in ValidateVertexFormat() 736 GLint size, in ValidateFloatVertexFormat() 739 return ValidateVertexFormat(context, entryPoint, index, size, in ValidateFloatVertexFormat() 746 GLint size, in ValidateIntegerVertexFormat() 750 context, entryPoint, index, size, in ValidateIntegerVertexFormat() 685 ValidateVertexFormat(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLint size, VertexAttribTypeCase validation) ValidateVertexFormat() argument 733 ValidateFloatVertexFormat(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLint size, VertexAttribType type) ValidateFloatVertexFormat() argument 743 ValidateIntegerVertexFormat(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLint size, VertexAttribType type) ValidateIntegerVertexFormat() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFVerifier.cpp | 155 note() << "The address size is unsupported.\n"; in verifyUnitHeader() 462 if (*SectionOffset >= DObj.getRangesSection().Data.size()) in verifyDebugInfoAttribute() 471 if (*SectionOffset >= DObj.getLineSection().Data.size()) in verifyDebugInfoAttribute() 554 << " is invalid (must be less than CU size of " in verifyDebugInfoForm() 572 if (*RefVal >= DieCU->getInfoSection().Data.size()) { in verifyDebugInfoForm() 588 if (SecOffset && *SecOffset >= DObj.getStrSection().size()) { in verifyDebugInfoForm() 615 if (DObj.getStrOffsetsSection().Data.size() < Offset + ItemSize) { in verifyDebugInfoForm() 624 if (StringOffset >= DObj.getStrSection().size()) { in verifyDebugInfoForm() 671 if (LineTableOffset < DCtx.getDWARFObj().getLineSection().Data.size()) { in verifyDebugLineStmtOffsets() 712 uint32_t MaxDirIndex = LineTable->Prologue.IncludeDirectories.size(); in verifyDebugLineRows() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 127 LLVM_DEBUG(for (int i = 0, e = Sections.size(); i != e; ++i) in resolveRelocations() 139 LLVM_DEBUG(for (int i = 0, e = Sections.size(); i != e; ++i) in resolveRelocations() 161 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { in mapSectionAddress() 188 // Compute the memory size required to load all sections to be loaded in loadObjectImpl() 444 // Computes the memory size required to allocate sections with the given sizes, 450 for (size_t Idx = 0, Cnt = SectionSizes.size(); Idx < Cnt; Idx++) { in computeAllocationSizeForSections() 465 // In PE files, VirtualSize gives the section size, and SizeOfRawData in isRequiredForExecution() 467 // gives the section size, and VirtualSize is always zero. Hence in isRequiredForExecution() 513 // Compute an upper bound of the memory size that is required to load all 522 // Compute the size o in computeTotalAllocSize() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | pipeline.cc | 161 const uint32_t size) { in SetShaderRequiredSubgroupSize() 163 return Result("invalid shader specified for required subgroup size"); in SetShaderRequiredSubgroupSize() 168 info.SetRequiredSubgroupSizeSetting(setting, size); in SetShaderRequiredSubgroupSize() 173 return Result("unknown shader specified for required subgroup size: " + in SetShaderRequiredSubgroupSize() 182 return Result("invalid required subgroup size " + in SetShaderRequiredSubgroupSize() 206 return Result("invalid shader specified for varying subgroup size"); in SetShaderVaryingSubgroupSize() 216 return Result("unknown shader specified for varying subgroup size: " + in SetShaderVaryingSubgroupSize() 279 "shared framebuffer must have same size over all PIPELINES"); in Validate() 285 return Result("shared depth buffer must have same size over all PIPELINES"); in Validate() 347 uint32_t size in UpdateFramebufferSizes() local 158 SetShaderRequiredSubgroupSize( const Shader* shader, const ShaderInfo::RequiredSubgroupSizeSetting setting, const uint32_t size) SetShaderRequiredSubgroupSize() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | CommandProcessor.cpp | 31 ASSERT(waitSemaphores.size() == waitSemaphoreStageMasks.size()); in InitializeSubmitInfo() 35 submitInfo->waitSemaphoreCount = static_cast<uint32_t>(waitSemaphores.size()); in InitializeSubmitInfo() 896 for (; freeIndex < mGarbageQueue.size(); ++freeIndex) in retireFinishedCommands() 986 while (finishedCount < mInFlightCommands.size() && in finishToSerial() 1092 if (mInFlightCommands.size() > kInFlightCommandsLimit) in submitFrame() 1094 size_t numCommandsToFinish = mInFlightCommands.size() - kInFlightCommandsLimit; in submitFrame() 1122 while (batchIndex != mInFlightCommands.size() && mInFlightCommands[batchIndex].serial < serial) in waitForSerialWithUserTimeout() 1128 if (batchIndex >= mInFlightCommands.size()) in waitForSerialWithUserTimeout() 1379 for (uint32_t familyIndex = 0; familyIndex < queueFamilyProperties.size(); in FindIndex() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrDirectContext.cpp | 523 traceMemoryDump->dumpNumericValue("skia/gr_text_blob_cache", "size", "bytes", in dumpMemoryStatistics() 530 traceMemoryDump->dumpNumericValue("skia/gr_text_blob_cache", "size", "bytes", in dumpMemoryStatisticsByTag() 574 void GrDirectContext::initGpuMemoryLimit(MemoryOverflowCalllback callback, uint64_t size) in initGpuMemoryLimit() argument 577 fResourceCache->initGpuMemoryLimit(callback, size); in initGpuMemoryLimit() 956 size_t size) { in create_and_update_compressed_backend_texture() 966 beTex, std::move(finishedCallback), data, size)) { in create_and_update_compressed_backend_texture() 993 size_t size = SkCompressedDataSize(compression, in createCompressedBackendTexture() local 997 auto storage = std::make_unique<char[]>(size); in createCompressedBackendTexture() 1006 size); in createCompressedBackendTexture() 1079 size_t size in updateCompressedBackendTexture() local 948 create_and_update_compressed_backend_texture( GrDirectContext* dContext, SkISize dimensions, const GrBackendFormat& backendFormat, GrMipmapped mipMapped, GrProtected isProtected, sk_sp<GrRefCntedCallback> finishedCallback, const void* data, size_t size) create_and_update_compressed_backend_texture() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | upsampling_msa.c | 572 int size = (len - 1) >> 1; \ 588 while (size >= 16) { \ 610 size -= 16; \ 612 if (size > 0) { \ 626 FUNC##Line(ptop_y, &temp_u[ 0], &temp_v[0], ptop_dst, size * 2); \ 628 FUNC##Line(pbot_y, &temp_u[32], &temp_v[32], pbot_dst, size * 2); \ 630 top_u += size; \ 631 top_v += size; \ 632 cur_u += size; \ 633 cur_v += size; \ [all...] |
/third_party/skia/tests/ |
H A D | SerializationTest.cpp | 181 // Make sure this fails when it should (test with smaller size, but still multiple of 4) in TestObjectSerializationNoAlign() 218 // Make sure this fails when it should (test with smaller size, but still multiple of 4) in TestFlattenableSerialization() 260 // This should have failed, since the provided size was too small in TestArraySerialization() 346 stream.write(data->data(), data->size()); in serialize_typeface_proc() 694 // even when the device fails to initialize, due to its size in DEF_TEST() 708 size_t size = writer.bytesWritten(); in DEF_TEST() local 709 SkAutoTMalloc<unsigned char> data(size); in DEF_TEST() 713 SkReadBuffer reader(static_cast<void*>(data.get()), size); in DEF_TEST() local 858 blob_size = SkAlign4(blob->serialize(procs)->size()); in DEF_TEST() 871 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST() 890 size_t size = writer.bytesWritten(); DEF_TEST() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-glyf-table.hh | 70 * check the size externally, allow Null() object of it by 110 "max_offset %d size %d", in _add_loca_and_head() 273 unsigned int size = min_size; in get_size() local 275 if (flags & ARG_1_AND_2_ARE_WORDS) size += 4; in get_size() 277 else size += 2; in get_size() 280 if (flags & WE_HAVE_A_SCALE) size += 2; in get_size() 282 else if (flags & WE_HAVE_AN_X_AND_Y_SCALE) size += 4; in get_size() 284 else if (flags & WE_HAVE_A_TWO_BY_TWO) size += 8; in get_size() 286 return size; in get_size() 427 unsigned size in set_next() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_ordered_dict.py | 458 # Wimpy test: Just verify the reported size is larger than a regular dict 586 respond to all resizes, even if the current "size" is the same 590 that we will keep the size of the odict the same at each popitem 767 size = support.calcobjsize 770 basicsize = size('nQ2P' + '3PnPn2P') 786 check(od.keys(), size('P')) 787 check(od.items(), size('P')) 788 check(od.values(), size('P')) 790 itersize = size('iP2n2P') 934 def __init__(self, size) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | YAMLTraits.h | 55 /// io.mapRequired("size", s.size); 77 /// io.mapRequired("size", s.size); 234 /// static size_t size(IO &io, MyContainer &seq) { 235 /// return seq.size(); 238 /// if ( index >= seq.size() ) 246 // static size_t size(IO &io, T &seq); 267 // static size_t size(IO &io, T &seq); 455 static char test(SameType<Signature_size, &U::size>*); 1885 static size_t size(IO &io, T &seq) { return seq.size(); } size() function [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
H A D | VPlan.h | 142 assert(Entry.size() == UF && "VectorParts has wrong dimensions."); in hasVectorValue() 158 assert(Entry.size() == UF && "ScalarParts has wrong dimensions."); 159 assert(Entry[Instance.Part].size() == VF && 444 return (Successors.size() == 1 ? *Successors.begin() : nullptr); 450 return (Predecessors.size() == 1 ? *Predecessors.begin() : nullptr); 453 size_t getNumSuccessors() const { return Successors.size(); } 454 size_t getNumPredecessors() const { return Predecessors.size(); } 851 Phi->getNumIncomingValues() == Masks.size()) && 1097 inline size_t size() const { return Recipes.size(); } [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 180 assert(AvailablePtrVals.size() == PN.getNumIncomingValues() && in FoldIntegerTypedPHI() 459 SmallVector<PHINode*, 16> OperandPhis(FixedOperands.size()); in FoldPHIArgGEPIntoPHI() 462 for (unsigned i = 0, e = FixedOperands.size(); i != e; ++i) { in FoldPHIArgGEPIntoPHI() 482 for (unsigned op = 0, e = OperandPhis.size(); op != e; ++op) in FoldPHIArgGEPIntoPHI() 753 // code size and simplifying code. in FoldPHIArgOpIntoPHI() 854 if (PotentiallyDeadPHIs.size() == 16) in DeadPHICycle() 873 if (ValueEqualPHIs.size() == 16) in PHIsEqualValue() 978 for (unsigned PHIId = 0; PHIId != PHIsToSlice.size(); ++PHIId) { in SliceUpIllegalIntegerPHI() 1034 // extracted out of it. First, sort the users by their offset and size. in SliceUpIllegalIntegerPHI() 1038 for (unsigned i = 1, e = PHIsToSlice.size(); in SliceUpIllegalIntegerPHI() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unisetspan.cpp | 12 * tab size: 8 (not used) 226 int32_t stringsLength=strings.size(); in UnicodeSetStringSpan() 411 int32_t stringsLength=strings.size(); in UnicodeSetStringSpan() 653 int32_t i, stringsLength=strings.size(); in span() 817 int32_t i, stringsLength=strings.size(); in spanBack() 983 int32_t i, stringsLength=strings.size(); in spanUTF8() 1160 int32_t i, stringsLength=strings.size(); in spanBackUTF8() 1351 int32_t i, stringsLength=strings.size(); in spanNot() 1394 int32_t i, stringsLength=strings.size(); in spanNotBack() 1437 int32_t i, stringsLength=strings.size(); in spanNotUTF8() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_ring.cc | 209 size_t size = AllocSize(capacity += extra); in New() local 210 void* mem = ::operator new(size); in New() 234 size_t size = AllocSize(rep->capacity_); local 236 ::operator delete(rep, size); 294 Span<char> CordRepRing::GetAppendBuffer(size_t size) { in GetAppendBuffer() argument 304 if (size_t n = (std::min)(capacity - used, size)) { in GetAppendBuffer() 314 Span<char> CordRepRing::GetPrependBuffer(size_t size) { in GetPrependBuffer() argument 319 size_t n = (std::min)(data_offset, size); in GetPrependBuffer() 556 size_t first_size = data.size() - (flats - 1) * kMaxFlatLength; in Prepend() 565 assert(data.size() > in Prepend() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fStencilTexturingTests.cpp | 94 positions.resize(rects.size()*4); in rectsToTriangles() 95 indices.resize(rects.size()*6); in rectsToTriangles() 97 for (int rectNdx = 0; rectNdx < (int)rects.size(); rectNdx++) in rectsToTriangles() 157 const glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[0].getPtr()); in drawTestPattern() 158 glu::draw(renderCtx, program.getProgram(), 1, &posBinding, glu::pr::Triangles((int)indices.size(), &indices[0])); in drawTestPattern() 671 const int size = 64; in iterate() local 678 tcu::TextureCube texData (glu::mapGLInternalFormat(m_format), size); in iterate() local 695 gl.texStorage2D(GL_TEXTURE_CUBE_MAP, 1, m_format, size, size); in iterate() 715 tcu::TextureCube redTex (TextureFormat(TextureFormat::R, TextureFormat::UNORM_INT8), size); in iterate() [all...] |