Home
last modified time | relevance | path

Searched refs:packingSize (Results 1 – 25 of 41) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/tests/TypeBuilder/
H A DTypeBuilderPackingSize.cs24 public void PackagingSize_Set_ReturnsExpected(PackingSize packingSize) in PackagingSize_Set_ReturnsExpected() argument
27 …e = module.DefineType("TestType", TypeAttributes.Class | TypeAttributes.Public, null, packingSize); in PackagingSize_Set_ReturnsExpected()
28 Assert.Equal(packingSize, type.PackingSize); in PackagingSize_Set_ReturnsExpected()
31 Assert.Equal(packingSize, type.PackingSize); in PackagingSize_Set_ReturnsExpected()
H A DTypeBuilderDefineNestedType.cs59 …dType(string name, TypeAttributes attributes, Type parent, PackingSize packingSize, int typesize, … in DefineNestedType() argument
62 bool isDefaultPackingSize = packingSize == PackingSize.Unspecified; in DefineNestedType()
71 …aringType.Module, declaringType, name, attributes, baseType, typesize, packingSize, implementedInt… in DefineNestedType()
98 verify(type4.DefineNestedType(name, attributes, parent, packingSize), type4); in DefineNestedType()
108 … verify(type6.DefineNestedType(name, attributes, parent, packingSize, typesize), type6); in DefineNestedType()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/tests/ModuleBuilder/
H A DModuleBuilderDefineType.cs20 …foreach (PackingSize packingSize in new PackingSize[] { PackingSize.Unspecified, PackingSize.Size1… in TestData()
24 … yield return new object[] { name, attributes, parent, packingSize, size, new Type[0] }; in TestData()
37 …eType(string name, TypeAttributes attributes, Type parent, PackingSize packingSize, int typesize, … in DefineType() argument
40 bool isDefaultPackingSize = packingSize == PackingSize.Unspecified; in DefineType()
48 …s.VerifyType(type, module, null, name, attributes, baseType, typesize, packingSize, implementedInt… in DefineType()
75 verify(module4.DefineType(name, attributes, parent, packingSize), module4); in DefineType()
85 … verify(module6.DefineType(name, attributes, parent, packingSize, typesize), module6); in DefineType()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/tests/Metadata/TypeSystem/
H A DClassLayoutRow.cs13 internal ClassLayoutRow(ushort packingSize, uint classSize, TypeDefinitionHandle parent) in ClassLayoutRow()
15 this.PackingSize = packingSize; in ClassLayoutRow()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeSystem/
H A DTypeLayout.cs12 public TypeLayout(int size, int packingSize) in TypeLayout()
15 _packingSize = packingSize; in TypeLayout()
H A DTypeDefinition.cs149 int packingSize = _reader.ClassLayoutTable.GetPackingSize(classLayoutRowId); in GetLayout()
150 return new TypeLayout((int)size, packingSize); in GetLayout()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/TypeSystem/Common/
H A DMetadataFieldLayoutAlgorithm.cs296 int packingSize = ComputePackingSize(type); in ComputeExplicitFieldLayout()
304 … fieldSizeAndAlignment = ComputeFieldSizeAndAlignment(fieldAndOffset.Field.FieldType, packingSize); in ComputeExplicitFieldLayout()
358 int packingSize = ComputePackingSize(type); in ComputeSequentialFieldLayout()
365 … var fieldSizeAndAlignment = ComputeFieldSizeAndAlignment(field.FieldType, packingSize); in ComputeSequentialFieldLayout()
407 … private static SizeAndAlignment ComputeFieldSizeAndAlignment(TypeDesc fieldType, int packingSize) in ComputeFieldSizeAndAlignment() argument
440 result.Alignment = LayoutInt.Min(result.Alignment, new LayoutInt(packingSize)); in ComputeFieldSizeAndAlignment()
/dports/lang/mono/mono-5.10.1.57/external/ikvm/reflect/Reader/
H A DTypeDefImpl.cs350 public override bool __GetLayout(out int packingSize, out int typeSize) in __GetLayout() argument
354 packingSize = module.ClassLayout.records[i].PackingSize; in __GetLayout()
358 packingSize = 0; in __GetLayout()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/tests/
H A DUtilities.cs68 … name, TypeAttributes attributes, Type baseType, int size, PackingSize packingSize, Type[] impleme… in VerifyType() argument
89 Assert.Equal(packingSize, type.PackingSize); in VerifyType()
/dports/lang/mono/mono-5.10.1.57/external/ikvm/reflect/Emit/
H A DTypeBuilder.cs559 public override bool __GetLayout(out int packingSize, out int typeSize) in __GetLayout() argument
561 packingSize = this.pack; in __GetLayout()
566 public void __SetLayout(int packingSize, int typesize) in __SetLayout() argument
568 this.pack = (short)packingSize; in __SetLayout()
1153 public override bool __GetLayout(out int packingSize, out int typeSize) in __GetLayout() argument
1155 return underlyingType.__GetLayout(out packingSize, out typeSize); in __GetLayout()
H A DModuleBuilder.cs355 …er DefineType(string name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) in DefineType() argument
367 if (packingSize != PackingSize.Unspecified || typesize != 0) in DefineType()
369 typeBuilder.__SetLayout((int)packingSize, typesize); in DefineType()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Reflection.Emit/
H A DModuleBuilder.pns.cs95 …r DefineType (string name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) in DefineType() argument
H A DModuleBuilder.cs293 …name, TypeAttributes attr, Type parent, Type[] interfaces, PackingSize packingSize, int typesize) { in DefineType() argument
299 …TypeBuilder res = new TypeBuilder (this, name, attr, parent, interfaces, packingSize, typesize, nu… in DefineType()
332 …DefineType (string name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) { in DefineType() argument
333 return DefineType (name, attr, parent, null, packingSize, typesize); in DefineType()
/dports/devel/redasm/REDasm-2.1.1/LibREDasm/redasm/loaders/pe/dotnet/
H A Ddotnet_tables.h23 struct { u16 packingSize; u32 classSize, parent; } classLayout; member
H A Ddotnet.cpp332 table->classLayout.packingSize = REDasm::readpointer<u16>(data); in getClassLayout()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/ive/
H A DDataOutputStream.cpp682 int packingSize = 4; in writePackedFloatArray() local
716 if (max_error_byte < maxError) packingSize = 1; in writePackedFloatArray()
717 else if (max_error_short < maxError) packingSize = 2; in writePackedFloatArray()
719 OSG_DEBUG<<"packingSize "<<packingSize<<std::endl; in writePackedFloatArray()
723 if (packingSize==1) in writePackedFloatArray()
738 else if (packingSize==2) in writePackedFloatArray()
H A DDataInputStream.cpp766 int packingSize = readInt(); in readPackedFloatArray() local
768 if (packingSize==1) in readPackedFloatArray()
783 else if (packingSize==2) in readPackedFloatArray()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/ive/
H A DDataOutputStream.cpp713 int packingSize = 4; in writePackedFloatArray() local
747 if (max_error_byte < maxError) packingSize = 1; in writePackedFloatArray()
748 else if (max_error_short < maxError) packingSize = 2; in writePackedFloatArray()
750 OSG_DEBUG<<"packingSize "<<packingSize<<std::endl; in writePackedFloatArray()
754 if (packingSize==1) in writePackedFloatArray()
769 else if (packingSize==2) in writePackedFloatArray()
H A DDataInputStream.cpp768 int packingSize = readInt(); in readPackedFloatArray() local
770 if (packingSize==1) in readPackedFloatArray()
785 else if (packingSize==2) in readPackedFloatArray()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/reflection/emit/
H A Dmodulebuilder.cs1192 …er DefineType(String name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) in DefineType() argument
1198 return DefineTypeNoLock(name, attr, parent, null, packingSize, typesize); in DefineType()
1215 …g name, TypeAttributes attr, Type parent, Type[] interfaces, PackingSize packingSize, int typesize) in DefineTypeNoLock() argument
1219 … return new TypeBuilder(name, attr, parent, interfaces, this, packingSize, typesize, null); ; in DefineTypeNoLock()
/dports/lang/mono/mono-5.10.1.57/external/ikdasm/
H A DDisassembler.cs505 int packingSize; in GetTypeSize()
515 else if (type.__IsMissing || !type.__GetLayout(out packingSize, out typeSize)) in GetTypeSize()
845 int packingSize; in WriteType()
847 if (type.__GetLayout(out packingSize, out typeSize)) in WriteType()
850 lw.WriteLine(".pack {0}", packingSize); in WriteType()
/dports/lang/mono/mono-5.10.1.57/external/ikvm/reflect/
H A DType.cs415 public virtual bool __GetLayout(out int packingSize, out int typeSize) in __GetLayout() argument
417 packingSize = 0; in __GetLayout()
3091 public override bool __GetLayout(out int packingSize, out int typeSize) in __GetLayout() argument
3093 return type.__GetLayout(out packingSize, out typeSize); in __GetLayout()
H A DMissing.cs578 public override bool __GetLayout(out int packingSize, out int typeSize) in __GetLayout() argument
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/src/System/Reflection/Metadata/Ecma335/
H A DMetadataBuilder.Tables.cs501 ushort packingSize, in AddTypeLayout() argument
507 PackingSize = packingSize, in AddTypeLayout()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Emit/ref/
H A DSystem.Reflection.Emit.cs289 …ttributes attr, System.Type parent, System.Reflection.Emit.PackingSize packingSize, int typesize) … in DefineType() argument

12