Home | History | Annotate | Download | only in src

Lines Matching refs:Slot

56   class Slot {
58 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { }
68 Slot<T> at(int i) {
69 return Slot<T>(w_, offset_ + sizeof(T) * i);
85 Slot<T> SlotAt(uintptr_t offset) {
87 return Slot<T>(this, offset);
91 Slot<T> CreateSlotHere() {
96 Slot<T> CreateSlotsHere(uint32_t count) {
155 template<typename T> friend class Slot;
176 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer) {
237 virtual void PopulateHeader(Writer::Slot<Header> header) {
315 void PopulateHeader(Writer::Slot<Header> header, ELFStringTable* strtab);
317 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
334 virtual void PopulateHeader(Writer::Slot<Header> header) {
369 virtual void PopulateHeader(Writer::Slot<Header> header) {
399 virtual void PopulateHeader(Writer::Slot<Header> header) {
441 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
464 void ELFSection::PopulateHeader(Writer::Slot<ELFSection::Header> header,
485 Writer::Slot<MachOHeader> header = WriteHeader(w);
487 Writer::Slot<MachOSegmentCommand> cmd = WriteSegmentCommand(w,
534 Writer::Slot<MachOHeader> WriteHeader(Writer* w) {
536 Writer::Slot<MachOHeader> header = w->CreateSlotHere<MachOHeader>();
557 Writer::Slot<MachOSegmentCommand> WriteSegmentCommand(Writer* w,
560 Writer::Slot<MachOSegmentCommand> cmd =
583 Writer::Slot<MachOSegmentCommand> cmd,
584 Writer::Slot<MachOHeader> header,
586 Writer::Slot<MachOSection::Header> headers =
648 Writer::Slot<ELFHeader> header = w->CreateSlotHere<ELFHeader>();
692 Writer::Slot<ELFSection::Header> headers =
711 Writer::Slot<ELFSection::Header> headers =
812 void Write(Writer::Slot<SerializedLayout> s, ELFStringTable* t) {
840 virtual void WriteBody(Writer::Slot<Header> header, Writer* w) {
845 Writer::Slot<ELFSymbol::SerializedLayout> symbols =
874 virtual void PopulateHeader(Writer::Slot<Header> header) {
884 Writer::Slot<ELFSymbol::SerializedLayout> dst,
1081 Writer::Slot<uint32_t> size = w->CreateSlotHere<uint32_t>();
1104 Writer::Slot<uint32_t> fb_block_size = w->CreateSlotHere<uint32_t>();
1124 // The real slot ID is internal_slots + context_slot_id.
1134 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1146 for (int slot = 0; slot < slots; ++slot) {
1149 builder.AddFormatted("slot%d", slot);
1185 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1198 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1209 Writer::Slot<uint32_t> block_size = w->CreateSlotHere<uint32_t>();
1326 // The real slot ID is internal_slots + context_slot_id.
1362 for (int slot = 0; slot < slots; ++slot) {
1432 Writer::Slot<uint32_t> total_length = w->CreateSlotHere<uint32_t>();
1442 Writer::Slot<uint32_t> prologue_length = w->CreateSlotHere<uint32_t>();
1581 Writer::Slot<uint32_t>* length_slot,
1637 Writer::Slot<uint32_t>* length_slot,
1662 Writer::Slot<uint32_t> cie_length_slot = w->CreateSlotHere<uint32_t>();
1683 Writer::Slot<uint32_t> fde_length_slot = w->CreateSlotHere<uint32_t>();