Home
last modified time | relevance | path

Searched refs:size (Results 11876 - 11900 of 21438) sorted by relevance

1...<<471472473474475476477478479480>>...858

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp184 assert(BBColors.size() == 1 && "multi-color BB not removed by preparation"); in calculateStateNumbersForInvokes()
325 return FuncInfo.SEHUnwindMap.size() - 1; in addSEHExcept()
336 return FuncInfo.SEHUnwindMap.size() - 1; in addSEHFinally()
475 return FuncInfo.ClrEHUnwindMap.size() - 1; in addClrEHHandler()
742 size_t NumColorsForBB = ColorsForBB.size(); in cloneCommonBlocks()
836 assert((IncomingColors.size() == 1 || in cloneCommonBlocks()
909 if (ColorsForUserBB.size() > 1 || in cloneCommonBlocks()
1025 size_t NumColors = BlockColors[&BB].size(); in verifyPreparedFunclets()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp155 if (Candidate.size() == 1) in startsWithLocalScopePattern()
248 char *Stable = Arena.allocUnalignedBuffer(Borrowed.size() + 1); in copyString()
251 return {Stable, Borrowed.size()}; in copyString()
903 for (size_t i = 0; i < MangledName.size(); ++i) { in demangleNumber()
1044 if (MangledName.size() < 2) in demangleCharLiteral()
1328 if (MangledName.size() < 2) in demangleStringLiteral()
1345 if (MangledName.size() < 1 || BytesDecoded >= MaxStringByteLength) in demangleStringLiteral()
1395 for (size_t i = 0; i < MangledName.size(); ++i) { in demangleSimpleString()
2142 size_t OldSize = MangledName.size(); in demangleFunctionParameterList()
2151 size_t CharsConsumed = OldSize - MangledName.size(); in demangleFunctionParameterList()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
H A Dparser_run_test.cc44 ASSERT_EQ(1U, commands.size()); in TEST_F()
211 ASSERT_EQ(1U, commands.size()); in TEST_F()
512 ASSERT_EQ(1U, commands.size()); in TEST_F()
879 ASSERT_EQ(1U, commands.size()); in TEST_F()
918 ASSERT_EQ(1U, commands.size()); in TEST_F()
957 ASSERT_EQ(1U, commands.size()); in TEST_F()
997 ASSERT_EQ(1U, commands.size()); in TEST_F()
1043 ASSERT_EQ(1U, commands.size()); in TEST_F()
1521 EXPECT_EQ("18: START_IDX plus COUNT exceeds vertex buffer data size", in TEST_F()
1548 EXPECT_EQ("18: START_IDX plus COUNT exceeds vertex buffer data size", in TEST_F()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLIOSurfaceClientBufferTest.cpp83 EXPECT_GT(planes.size(), 0u); in CreateIOSurface()
91 if (planes.size() > 1) in CreateIOSurface()
94 CFArrayCreateMutable(kCFAllocatorDefault, planes.size(), &kCFTypeArrayCallBacks); in CreateIOSurface()
268 sizeof(T) * data.size()); in doClearTest()
643 colors.data(), sizeof(GLubyte) * colors.size(), R); in TEST_P()
649 colors.data(), sizeof(GLubyte) * colors.size(), R | G); in TEST_P()
685 colors.data(), sizeof(GLushort) * colors.size(), R); in TEST_P()
691 colors.data(), sizeof(GLushort) * colors.size(), R | G); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkImage.cpp224 memoryRequirements.size = getStorageSize(format.getAspects()) + in getMemoryRequirements()
231 size_t size = 0; in getSizeInBytes() local
241 if(mipLevelCount < mipLevels) // Compute size for all layers except the last one, then add relevant mip level sizes only for last layer in getSizeInBytes()
243 size = (layerCount - 1) * getLayerSize(aspect); in getSizeInBytes()
246 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes()
251 size = layerCount * getLayerSize(aspect); in getSizeInBytes()
258 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes()
262 return size; in getSizeInBytes()
352 pLayout->size = getMultiSampledLevelSize(aspect, pSubresource->mipLevel); in getSubresourceLayout()
451 // both source and destination rows have the same size i in copySingleAspectTo()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dtype_manager.cpp352 size_t size = opaque->name().size(); in GetTypeInstruction() local
354 std::vector<uint32_t> words(size / 4 + 1, 0); in GetTypeInstruction()
356 strncpy(dst, opaque->name().c_str(), size); in GetTypeInstruction()
495 for (size_t i = 1; i < decoration.size(); ++i) { in CreateDecoration()
578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()
605 param_types.reserve(function_ty->param_types().size()); in RebuildType()
746 assert(extra_words.size() >= 2); in RecordIfTypeDefinition()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dtype_manager.cpp352 size_t size = opaque->name().size(); in GetTypeInstruction() local
354 std::vector<uint32_t> words(size / 4 + 1, 0); in GetTypeInstruction()
356 strncpy(dst, opaque->name().c_str(), size); in GetTypeInstruction()
495 for (size_t i = 1; i < decoration.size(); ++i) { in CreateDecoration()
578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()
605 param_types.reserve(function_ty->param_types().size()); in RebuildType()
746 assert(extra_words.size() >= 2); in RecordIfTypeDefinition()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-buffer.cc94 * the same allocated size, but different lengths.
115 hb_buffer_t::enlarge (unsigned int size) in enlarge() argument
119 if (unlikely (size > max_len)) in enlarge()
130 if (unlikely (hb_unsigned_mul_overflows (size, sizeof (info[0])))) in enlarge()
133 while (size >= new_allocated) in enlarge()
202 hb_buffer_t::get_scratch_buffer (unsigned int *size) in get_scratch_buffer() argument
211 *size = allocated * sizeof (pos[0]) / sizeof (scratch_buffer_t); in get_scratch_buffer()
1243 * @size: Number of items to pre allocate.
1245 * Pre allocates memory for @buffer to fit at least @size number of items.
1253 hb_buffer_pre_allocate (hb_buffer_t *buffer, unsigned int size) in hb_buffer_pre_allocate() argument
[all...]
H A Dhb-font.cc48 * A font object represents a font face at a specific size and with
463 unsigned int size, in hb_font_get_glyph_name_nil()
466 if (size) *name = '\0'; in hb_font_get_glyph_name_nil()
475 unsigned int size, in hb_font_get_glyph_name_default()
478 return font->parent->get_glyph_name (glyph, name, size); in hb_font_get_glyph_name_default()
1129 * @name: (out) (array length=size): Name string retrieved for the glyph ID
1130 * @size: Length of the glyph-name string retrieved
1142 unsigned int size) in hb_font_get_glyph_name()
1144 return font->get_glyph_name (glyph, name, size); in hb_font_get_glyph_name()
1421 * @s: (out) (array length=size)
459 hb_font_get_glyph_name_nil(hb_font_t *font HB_UNUSED, void *font_data HB_UNUSED, hb_codepoint_t glyph HB_UNUSED, char *name, unsigned int size, void *user_data HB_UNUSED) hb_font_get_glyph_name_nil() argument
471 hb_font_get_glyph_name_default(hb_font_t *font, void *font_data HB_UNUSED, hb_codepoint_t glyph, char *name, unsigned int size, void *user_data HB_UNUSED) hb_font_get_glyph_name_default() argument
1139 hb_font_get_glyph_name(hb_font_t *font, hb_codepoint_t glyph, char *name, unsigned int size) hb_font_get_glyph_name() argument
1433 hb_font_glyph_to_string(hb_font_t *font, hb_codepoint_t glyph, char *s, unsigned int size) hb_font_glyph_to_string() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h63 // The size of the bit-field might need to be adjusted if more values are
157 /// likely incur less overhead, as the value type is not very small and the size
812 /// Range of size-1 expressed as a bit width. For example, if the size is in
1011 size_t size() const { return GlobalValueMap.size(); } in size() function in llvm::CalleeInfo::ModuleSummaryIndex
1017 if (!V.getSummaryList().size()) in discoverNodes()
1055 if (!S.second.SummaryList.size() || in calculateCallGraphRoot()
1412 if (!N.getSummaryList().size()) // handle external function in child_begin()
1422 if (!N.getSummaryList().size()) // handl in child_end()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DVectorUtils.cpp140 // If it's a type with the same allocation size as the result of the GEP we in getGEPInductionOperand()
196 // The size of the pointer access. in getStrideFromPointer()
215 // Strip off the size of access multiplication if we are still analyzing the in getStrideFromPointer()
539 if (Union.size() == 0) in uniteAccessGroups()
541 if (Union.size() == 1) in uniteAccessGroups()
585 if (Intersection.size() == 0) in intersectAccessGroups()
587 if (Intersection.size() == 1) in intersectAccessGroups()
606 for (int J = 1, E = VL.size(); MD && J != E; ++J) { in propagateMetadata()
727 unsigned NumVecs = Vecs.size(); in concatenateVectors()
747 NumVecs = ResList.size(); in concatenateVectors()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp81 assert(BB->getInstList().size() == 1 && in DetatchDeadBlocks()
98 assert(Dead.size() == BBs.size() && "Duplicating blocks?"); in DeleteDeadBlocks()
164 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in DeleteDeadPHIs()
304 assert(BB->getInstList().size() == 1 && in MergeBlockIntoPredecessor()
691 PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI); in UpdatePHINodes()
744 for (unsigned i = 0, e = Preds.size(); i != e; ++i) { in SplitBlockPredecessors()
799 for (unsigned i = 0, e = Preds.size(); i != e; ++i) { in SplitLandingPadPredecessors()
H A DValueMapper.cpp137 return MCs.size() - 1; in registerAlternateMappingContext()
648 D.ID = G.POT.size(); in createPOT()
824 unsigned PrefixSize = AppendingInits.size() - E.AppendingGVNumNewMembers; in flush()
998 assert(MCID < MCs.size() && "Invalid mapping context"); in scheduleMapGlobalInitializer()
1014 assert(MCID < MCs.size() && "Invalid mapping context");
1022 WE.AppendingGVNumNewMembers = NewMembers.size();
1030 assert(MCID < MCs.size() && "Invalid mapping context");
1042 assert(MCID < MCs.size() && "Invalid mapping context");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp586 Op->Tok.Length = Str.size(); in CreateToken()
670 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
1043 Mnemonic = Name.substr(0, Name.size() - 2); in splitMnemonic()
1075 size_t Next = Mnemonic.rfind('.', Name.size()); in splitMnemonic()
1111 if (Operands.size() < 5) in IsMemoryAssignmentError()
1143 if (Operands.size() < 4 || !IsRegister(*Operands[1]) || in MaybePredicatedInst()
1176 Operands.size() == 2) { in ParseInstruction()
1189 Operands.size() == 3) { in ParseInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp118 "min-region-size-ratio", cl::init(0.1), cl::Hidden,
163 unsigned GetNumInlinedBlocks() const { return Entries.size() + 1; } in GetNumInlinedBlocks()
217 // outline function due to code size.
333 // - The second value is the estimated size of the new call sequence in
338 // approximate both the size and runtime cost (Note that in the current
417 return BlockList.size() > 1 && Dom->hasNPredecessors(1); in computeOutliningColdRegionsInfo()
848 // to esimate the size cost as well as runtime cost of the BB.
912 2 * InlineConstants::InstrCost * Cloner.OutlinedFunctions.size(); in computeOutliningCosts()
1051 unsigned NumPredsFromEntries = ClonedOI->ReturnBlockPreds.size(); in NormalizeReturnBlock()
1143 dbgs() << "inputs: " << Inputs.size() << "\ in doMultiRegionFunctionOutlining()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h183 /// by \p Other (The alignment is sufficient for the size and result type).
229 /// size.
233 /// size.
237 /// that's narrower than the given size.
241 /// type that's wider than the given size.
244 /// True iff the specified type index is a scalar whose size is not a power of
248 /// True iff the specified type index is a scalar or vector whose element size
252 /// True iff the specified type indices are both the same bit size.
254 /// True iff the specified MMO index has a size that is not a power of 2
500 /// size an
[all...]
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_containers.cc235 return PyString_FromStringAndSize(name.c_str(), name.size()); in _NewKey_ByIndex()
241 return PyString_FromStringAndSize(name.c_str(), name.size()); in _NewKey_ByIndex()
349 int size = Length(self); in DescriptorSequence_Equal() local
350 if (size != PyList_Size(other)) { in DescriptorSequence_Equal()
353 for (int index = 0; index < size; index++) { in DescriptorSequence_Equal()
393 int size = Length(self); in DescriptorMapping_Equal() local
394 if (size != PyDict_Size(other)) { in DescriptorMapping_Equal()
397 for (int index = 0; index < size; index++) { in DescriptorMapping_Equal()
/third_party/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface_unittest.cc303 for (int i = 0; i < mock_generators_to_delete_.size(); i++) { in TearDown()
356 std::unique_ptr<const char*[]> argv(new const char*[args.size()]); in RunWithArgs()
358 for (int i = 0; i < args.size(); i++) { in RunWithArgs()
371 return_code_ = cli_.Run(args.size(), argv.get()); in RunWithArgs()
2555 for (int i = 0; i < text.size(); i++) { in StripCR()
2583 std::unique_ptr<const char*[]> argv(new const char*[args.size()]); in Run()
2584 for (int i = 0; i < args.size(); i++) { in Run()
2593 int result = cli.Run(args.size(), argv.get()); in Run()
/third_party/protobuf/src/google/protobuf/
H A Dstruct.pb.cc234 void Struct::SetCachedSize(int size) const { in SetCachedSize()
235 _cached_size_.Set(size); in SetCachedSize()
317 this->_internal_fields().size() > 1) { in _InternalSerialize()
319 new SortItem[this->_internal_fields().size()]); in _InternalSerialize()
553 void Value::SetCachedSize(int size) const { in SetCachedSize()
554 _cached_size_.Set(size); in SetCachedSize()
929 void ListValue::SetCachedSize(int size) const { in SetCachedSize()
930 _cached_size_.Set(size); in SetCachedSize()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_split_test.cc205 EXPECT_EQ(2, m.size()); in TEST()
214 EXPECT_EQ(3, m.size()); in TEST()
270 std::string(it->data(), it->size())); // tests dereference as ptr in TEST()
295 std::string(it->data(), it->size())); // tests dereference as ptr in TEST()
581 EXPECT_EQ(2, m.size()); in TEST()
584 EXPECT_EQ(2, hm.size()); in TEST()
806 return found.data() != text.data() + text.size() && in IsFoundAtStartingPos()
950 EXPECT_EQ(2, v.size()); in TEST()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fVertexArrayTest.cpp724 << spec.arrays.size(); in getTestName()
794 << spec.arrays.size(); in getTestName()
796 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
812 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases()
897 << spec.arrays.size(); in getTestName()
899 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
988 << spec.arrays.size(); in getTestName()
990 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/
H A DvktRayQueryMiscTests.cpp174 deUint32 getRndIndex (de::Random& rng, deUint32 size) in getRndIndex() argument
176 DE_ASSERT(size > 0u); in getRndIndex()
177 DE_ASSERT(size <= static_cast<deUint32>(std::numeric_limits<int>::max())); in getRndIndex()
180 const int iMax = static_cast<int>(size) - 1; in getRndIndex()
849 const deUint32 count = deUint32(vertices.size()); in makeAttribBuff()
850 DE_ASSERT( count && (count == coords.size()) && (count == centers.size()) ); in makeAttribBuff()
988 vk.cmdDraw(*cmdBuffer, uint32_t(vertices.size()), 1u, 0u, 0u); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp450 getNumUsedChannels(mapVkFormat(inputFormat).order) * (deUint32)s_indexConfigs[indexConfig].size() * 2, // numVertexValues in DrawIndexedAccessTest()
452 (deUint32)s_indexConfigs[indexConfig].size(), // numVertices in DrawIndexedAccessTest()
592 m_vertexRateBufferSize, // VkDeviceSize size; in VertexAccessInstance()
601 m_vertexRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance()
620 m_instanceRateBufferSize, // VkDeviceSize size; in VertexAccessInstance()
629 m_instanceRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance()
646 m_vertexNumBufferSize, // VkDeviceSize size; in VertexAccessInstance()
662 m_indexBufferSize = sizeof(deUint32) * indices.size(); in VertexAccessInstance()
669 m_indexBufferSize, // VkDeviceSize size; in VertexAccessInstance()
695 m_outBufferSize, // VkDeviceSize size; in VertexAccessInstance()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
H A DvktSubgroupsSizeControlTests.cpp114 default: TCU_THROW(NotSupportedError, "Unsupported Subgroup size"); in getRequiredSubgroupSizeFromMode()
146 log << TestLog::Message << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkVertexPipelineStages()
188 log << TestLog::Message << "gl_SubgroupSize (" << data[ndx] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkFragmentPipelineStages()
232 << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkCompute()
437 result.reserve(result.size() + 1); in getPerStageHeadDeclarations()
439 for (size_t i = 0; i < result.size(); ++i) in getPerStageHeadDeclarations()
499 << " result[offset].x = gl_SubgroupSize;" // save the subgroup size value in initProgramsRequireFull()
548 TCU_THROW(NotSupportedError, "Device does not support varying subgroup sizes nor required subgroup size"); in supportedCheckFeatures()
559 TCU_THROW(NotSupportedError, "Device does not support setting required subgroup size for the stages selected"); in supportedCheckFeatures()
805 // For full subgroups and allow varying subgroup size, localsiz in testRequireFullSubgroups()
1015 const deUint32& size = requiredSubgroupSize; noSSBOtestRequireSubgroupSize() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationNoneStageTests.cpp125 void create (Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage);
132 void BufferWrapper::create(Context& context, SimpleAllocator& alloc, VkDeviceSize size, VkBufferUsageFlags usage) in create() argument
136 const VkBufferCreateInfo bufferCreateInfo = makeBufferCreateInfo(size, usage); in create()
465 m_vertexBuffer.create(m_context, m_alloc, sizeof(float) * vertices.size(), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in buildVertexBuffer()
467 deMemcpy(m_vertexBuffer.memory->getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in buildVertexBuffer()
606 (deUint32)attachmentDescriptions.size(), // deUint32 attachmentCount in buildComplexRenderPass()
608 (deUint32)subpassDescriptions.size(), // deUint32 subpassCount in buildComplexRenderPass()
654 (deUint32)imageViews.size(), // deUint32 attachmentCount in buildFramebuffer()
937 imageSizeInBytes // VkDeviceSize size in iterate()
1073 imageSizeInBytes // VkDeviceSize size in iterate()
[all...]

Completed in 54 milliseconds

1...<<471472473474475476477478479480>>...858