/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | comp.rs | 254 <td>unit.size</td><td>{}</td> in dot_attributes() 260 layout.size, layout.align in dot_attributes() 589 let size = align_to(unit_size_in_bits, 8) / 8; in bitfields_to_allocation_units() 590 let layout = Layout::new(size, align); in bitfields_to_allocation_units() 612 let bitfield_size = bitfield_layout.size; in bitfields_to_allocation_units() 636 // the current unit size and alignment. in bitfields_to_allocation_units() 666 // bitfields over their types size cause weird allocation size behavior from clang. in bitfields_to_allocation_units() 673 // Compute what the physical unit's final size would be given what we in bitfields_to_allocation_units() 969 // would contribute to our size give in requires_storage() [all...] |
/third_party/python/Lib/ |
H A D | difflib.py | 37 Match = _namedtuple('Match', 'a b size') 326 Match(a=0, b=4, size=5) 342 Match(a=1, b=0, size=4) 348 Match(a=0, b=0, size=0) 437 [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)] 525 for ai, bj, size in self.get_matching_blocks(): 528 # a[ai:ai+size] == b[bj:bj+size] [all...] |
/third_party/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 189 sub size { 305 sub size {} 394 $opcode->size($self->size()); 400 sub size { 833 } elsif (!$elf && $dir =~ /\.size/) { 922 /\.size/ && do { if (defined($current_function)) { 1238 my $sz=$opcode->size(); 1241 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz); 1377 # .size functio 188 sub size { global() subroutine 304 sub size {} global() subroutine 399 sub size { global() subroutine [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawImageObjectUtil.cpp | 62 const vk::VkDeviceSize size = depthPitch * depth; in pack() local 75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack() 114 const vk::VkDeviceSize size = depthPitch * depth; in unpack() local 127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack() 178 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface() 204 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readDepth() 222 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readVolume() 245 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface1D()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateComputeTests.cpp | 877 std::vector<deUint32> srcValues(m_params.states.size()); in iterateTransfer() 878 const decltype(srcValues) dstValues(srcValues.size(), 0u); in iterateTransfer() 898 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateTransfer() 929 decltype(srcValues) results (srcValues.size()); in iterateTransfer() 932 for (size_t valueIdx = 0; valueIdx < srcValues.size(); ++valueIdx) in iterateTransfer() 1012 std::vector<deUint32> bufferData (m_params.states.size(), 0u); in iterateCompute() 1042 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateCompute() 1084 for (size_t idx = 0u; idx < bufferData.size(); ++idx) in iterateCompute()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryMiscTests.cpp | 174 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() 989 vk.cmdDraw(*cmdBuffer, uint32_t(vertices.size()), 1u, 0u, 0u); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessVertexAccessTests.cpp | 443 getNumUsedChannels(mapVkFormat(inputFormat).order) * (deUint32)s_indexConfigs[indexConfig].size() * 2, // numVertexValues in DrawIndexedAccessTest() 445 (deUint32)s_indexConfigs[indexConfig].size(), // numVertices in DrawIndexedAccessTest() 585 m_vertexRateBufferSize, // VkDeviceSize size; in VertexAccessInstance() 594 m_vertexRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance() 613 m_instanceRateBufferSize, // VkDeviceSize size; in VertexAccessInstance() 622 m_instanceRateBufferAllocSize = bufferMemoryReqs.size; in VertexAccessInstance() 639 m_vertexNumBufferSize, // VkDeviceSize size; in VertexAccessInstance() 655 m_indexBufferSize = sizeof(deUint32) * indices.size(); in VertexAccessInstance() 662 m_indexBufferSize, // VkDeviceSize size; in VertexAccessInstance() 688 m_outBufferSize, // VkDeviceSize size; in VertexAccessInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsSizeControlTests.cpp | 116 default: TCU_THROW(NotSupportedError, "Unsupported Subgroup size"); in getRequiredSubgroupSizeFromMode() 148 log << TestLog::Message << "gl_SubgroupSize (" << data[i] << ") is not equal to the required subgroup size value (" << checkInternalData->requiredSubgroupSize << ")" << TestLog::EndMessage; in checkVertexPipelineStages() 189 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() 434 result.reserve(result.size() + 1); in getPerStageHeadDeclarations() 436 for (size_t i = 0; i < result.size(); ++i) in getPerStageHeadDeclarations() 496 << " result[offset].x = gl_SubgroupSize;\n" // save the subgroup size value in initProgramsRequireFull() 545 TCU_THROW(NotSupportedError, "Device does not support varying subgroup sizes nor required subgroup size"); in supportedCheckFeatures() 556 TCU_THROW(NotSupportedError, "Device does not support setting required subgroup size for the stages selected"); in supportedCheckFeatures() 807 // For full subgroups and allow varying subgroup size, localsiz in testRequireFullSubgroups() 1031 const deUint32& size = requiredSubgroupSize; noSSBOtestRequireSubgroupSize() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 125 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() 467 m_vertexBuffer.create(m_context, m_alloc, sizeof(float) * vertices.size(), VK_BUFFER_USAGE_VERTEX_BUFFER_BIT); in buildVertexBuffer() 469 deMemcpy(m_vertexBuffer.memory->getHostPtr(), vertices.data(), vertices.size() * sizeof(float)); in buildVertexBuffer() 608 (deUint32)attachmentDescriptions.size(), // deUint32 attachmentCount in buildComplexRenderPass() 610 (deUint32)subpassDescriptions.size(), // deUint32 subpassCount in buildComplexRenderPass() 656 (deUint32)imageViews.size(), // deUint32 attachmentCount in buildFramebuffer() 939 imageSizeInBytes // VkDeviceSize size in iterate() 1075 imageSizeInBytes // VkDeviceSize size in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestCase.cpp | 112 for (size_t extNdx = 0; extNdx < extensions.size(); extNdx++) in filterExtensions() 121 for (size_t extNdx = 0; extNdx < extensions.size(); extNdx++) in filterExtensions() 200 for (deUint32 deviceNdx = 0u; deviceNdx < devices.size(); ++deviceNdx) in determineDeviceVersions() 351 dmrCI.pipelinePoolSizeCount = deUint32(poolSizes.size()); in createDefaultDevice() 369 appParams[appParams.size() - 1].pNext = deviceInfo.pNext; in createDefaultDevice() 402 for (size_t queueNdx = 0; queueNdx < queueProps.size(); queueNdx++) in findQueueFamilyIndexWithCaps() 530 extensionPtrs.reserve(extensions.size()); in removeCoreExtensions() 1139 if (messages.size() > 0) in collectAndReportDebugMessages()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawImageObjectUtil.cpp | 62 const vk::VkDeviceSize size = depthPitch * depth; in pack() local 75 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in pack() 114 const vk::VkDeviceSize size = depthPitch * depth; in unpack() local 127 deMemcpy(dstRow, srcRow, static_cast<size_t>(size)); in unpack() 178 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface() 204 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readDepth() 222 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readVolume() 245 deMemset(m_pixelAccessData.data(), 0, m_pixelAccessData.size()); in readSurface1D()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateComputeTests.cpp | 862 std::vector<deUint32> srcValues(m_params.states.size()); in iterateTransfer() 863 const decltype(srcValues) dstValues(srcValues.size(), 0u); in iterateTransfer() 883 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateTransfer() 914 decltype(srcValues) results (srcValues.size()); in iterateTransfer() 917 for (size_t valueIdx = 0; valueIdx < srcValues.size(); ++valueIdx) in iterateTransfer() 997 std::vector<deUint32> bufferData (m_params.states.size(), 0u); in iterateCompute() 1027 for (size_t stateIdx = 0; stateIdx < m_params.states.size(); ++stateIdx) in iterateCompute() 1061 for (size_t idx = 0u; idx < bufferData.size(); ++idx) in iterateCompute()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_ext_autogen.h | 30 void matrixIndexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ 31 void weightPointer(GLint size, GLenum type, GLsizei stride, const void *pointer); \ 76 void bufferStorage(BufferBinding targetPacked, GLsizeiptr size, const void *data, \ 105 void bufferStorageExternal(BufferBinding targetPacked, GLintptr offset, GLsizeiptr size, \ 107 void namedBufferStorageExternal(GLuint buffer, GLintptr offset, GLsizeiptr size, \ 116 void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \ 142 void importMemoryFd(MemoryObjectID memoryPacked, GLuint64 size, HandleType handleTypePacked, \ 357 void importMemoryZirconHandle(MemoryObjectID memoryPacked, GLuint64 size, \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 650 Probs.size() && 658 // disabled optimization) or has the same size as successor list. 666 // We need to make sure probability list is either empty or has the same size 1345 return Sum.getCompl() / (Probs.size() - KnownProbNum); 1363 assert(Probs.size() == Successors.size() && "Async probability list!"); 1365 assert(index < Probs.size() && "Not a current successor!"); 1372 assert(Probs.size() == Successors.size() && "Async probability list!"); 1374 assert(index < Probs.size() [all...] |
H A D | WinEHPrepare.cpp | 184 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 D | MicrosoftDemangle.cpp | 155 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 D | parser_run_test.cc | 44 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 D | EGLIOSurfaceClientBufferTest.cpp | 83 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 D | VkImage.cpp | 224 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 D | type_manager.cpp | 352 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 D | type_manager.cpp | 352 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 D | hb-buffer.cc | 94 * 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 D | hb-font.cc | 48 * 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 D | ModuleSummaryIndex.h | 63 // 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 D | VectorUtils.cpp | 140 // 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...] |