Lines Matching full:slices
261 buildFatArchList(ArrayRef<Slice> Slices) {
264 sizeof(MachO::fat_header) + Slices.size() * sizeof(FatArchTy);
266 for (const auto &S : Slices) {
294 ArrayRef<Slice> Slices,
297 buildFatArchList<FatArchTy>(Slices);
319 for (size_t Index = 0, Size = Slices.size(); Index < Size; ++Index) {
320 MemoryBufferRef BufferRef = Slices[Index].getBinary()->getMemoryBufferRef();
331 Error object::writeUniversalBinaryToStream(ArrayRef<Slice> Slices,
335 FatHeader.nfat_arch = Slices.size();
340 return writeUniversalArchsToStream<MachO::fat_arch_64>(FatHeader, Slices,
345 return writeUniversalArchsToStream<MachO::fat_arch>(FatHeader, Slices, Out);
352 Error object::writeUniversalBinary(ArrayRef<Slice> Slices,
355 const bool IsExecutable = any_of(Slices, [](Slice S) {
366 if (Error E = writeUniversalBinaryToStream(Slices, Out, HeaderType)) {