3 instantiations of BlobIndex
Microsoft.NET.HostModel (3)
MachO\BinaryFormat\Blobs\EmbeddedSignatureBlob.cs (3)
45
blobIndices.Add(new
BlobIndex
(CodeDirectorySpecialSlot.CodeDirectory, expectedOffset));
48
blobIndices.Add(new
BlobIndex
(CodeDirectorySpecialSlot.Requirements, expectedOffset));
51
blobIndices.Add(new
BlobIndex
(CodeDirectorySpecialSlot.CmsWrapper, expectedOffset));
19 references to BlobIndex
Microsoft.NET.HostModel (19)
MachO\BinaryFormat\Blobs\EmbeddedSignatureBlob.cs (5)
42
var blobIndices = ImmutableArray.CreateBuilder<
BlobIndex
>(blobCount);
43
uint expectedOffset = (uint)(sizeof(uint) * 3 + (
BlobIndex
.Size * blobCount));
77
foreach (
var
b in _inner.BlobIndices)
107
size += sizeof(
BlobIndex
) * 3; // 3 sub-blobs: CodeDirectory, Requirements, CmsWrapper
138
size += sizeof(
BlobIndex
) * embeddedSignatureSubBlobCount; // EmbeddedSignature sub-blobs
MachO\BinaryFormat\Blobs\SuperBlob.cs (14)
21
public SuperBlob(BlobMagic magic, IEnumerable<
BlobIndex
> blobIndices, IEnumerable<IBlob> blobs)
37
BlobIndices = ImmutableArray<
BlobIndex
>.Empty;
54
+ (uint)BlobIndices.Length *
BlobIndex
.Size
59
public ImmutableArray<
BlobIndex
> BlobIndices { get; }
64
private static void ValidateBlobs(IEnumerable<IBlob> blobs, IEnumerable<
BlobIndex
> blobIndices)
70
uint expectedBlobOffset = (uint)(sizeof(uint) * 3 + blobIndices.Count() *
BlobIndex
.Size);
75
var
blobidx = blobIndices.ElementAt(i);
101
var
blobIndex = BlobIndices[i];
102
file.Write(offset + sizeof(uint) * 3 + (i *
BlobIndex
.Size), ref blobIndex);
106
long currentOffset = offset + sizeof(uint) * 3 + (Blobs.Length *
BlobIndex
.Size);
125
var blobIndices = new List<
BlobIndex
>((int)count);
128
reader.Read(offset + sizeof(uint) * 3 + (i *
BlobIndex
.Size), out
BlobIndex
blobIndex);
133
+ blobIndices.Count *
BlobIndex
.Size