Lines Matching refs:writeUleb128
42 writeUleb128(to, type, "subsection type"); in writeTo()
43 writeUleb128(to, body.size(), "subsection size"); in writeTo()
68 writeUleb128(sub.os, memSize, "MemSize"); in writeBody()
69 writeUleb128(sub.os, memAlign, "MemAlign"); in writeBody()
70 writeUleb128(sub.os, out.elemSec->numEntries(), "TableSize"); in writeBody()
71 writeUleb128(sub.os, 0, "TableAlign"); in writeBody()
77 writeUleb128(sub.os, symtab->sharedFiles.size(), "Needed"); in writeBody()
104 writeUleb128(sub.os, exportInfo.size(), "num exports"); in writeBody()
115 writeUleb128(sub.os, sym->flags, "sym flags"); in writeBody()
123 writeUleb128(sub.os, importInfo.size(), "num imports"); in writeBody()
131 writeUleb128(sub.os, sym->flags, "sym flags"); in writeBody()
157 writeUleb128(bodyOutputStream, types.size(), "type count"); in writeBody()
233 writeUleb128(os, getNumImports(), "import count"); in writeBody()
294 writeUleb128(os, inputFunctions.size(), "function count"); in writeBody()
296 writeUleb128(os, out.typeSec->lookupType(func->signature), "sig index"); in writeBody()
311 writeUleb128(os, inputTables.size(), "table count"); in writeBody()
354 writeUleb128(os, 1, "memory count"); in writeBody()
362 writeUleb128(os, flags, "memory limits flags"); in writeBody()
363 writeUleb128(os, numMemoryPages, "initial pages"); in writeBody()
365 writeUleb128(os, maxMemoryPages, "max pages"); in writeBody()
371 writeUleb128(os, inputTags.size(), "tag count"); in writeBody()
373 writeUleb128(os, 0, "tag attribute"); // Reserved "attribute" field in writeBody()
374 writeUleb128(os, out.typeSec->lookupType(t->signature), "sig index"); in writeBody()
432 writeUleb128(os, WasmSym::tlsBase->getGlobalIndex(), "__tls_base"); in generateRelocationCode()
434 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), in generateRelocationCode()
445 writeUleb128(os, WasmSym::tableBase->getGlobalIndex(), "__table_base"); in generateRelocationCode()
456 writeUleb128(os, sym->getGOTIndex(), "got_entry"); in generateRelocationCode()
463 writeUleb128(os, numGlobals(), "global count"); in writeBody()
492 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), in writeBody()
529 writeUleb128(os, exports.size(), "export count"); in writeBody()
540 writeUleb128(os, WasmSym::startFunction->getFunctionIndex(), in writeBody()
558 writeUleb128(os, 1, "segment count"); in writeBody()
563 writeUleb128(os, flags, "elem segment flags"); in writeBody()
565 writeUleb128(os, tableNumber, "table number"); in writeBody()
588 writeUleb128(os, indirectFunctions.size(), "elem count"); in writeBody()
593 writeUleb128(os, sym->getFunctionIndex(), "function index"); in writeBody()
606 writeUleb128(bodyOutputStream, numSegments, "data count"); in writeBody()
616 writeUleb128(os, WasmMetadataVersion, "Version"); in writeBody()
620 writeUleb128(sub.os, symtabEntries.size(), "num symbols"); in writeBody()
628 writeUleb128(sub.os, flags, "sym flags"); in writeBody()
632 writeUleb128(sub.os, d->getExportedFunctionIndex(), "index"); in writeBody()
634 writeUleb128(sub.os, f->getFunctionIndex(), "index"); in writeBody()
639 writeUleb128(sub.os, g->getGlobalIndex(), "index"); in writeBody()
643 writeUleb128(sub.os, t->getTagIndex(), "index"); in writeBody()
647 writeUleb128(sub.os, t->getTableNumber(), "table number"); in writeBody()
653 writeUleb128(sub.os, dataSym->getOutputSegmentIndex(), "index"); in writeBody()
654 writeUleb128(sub.os, dataSym->getOutputSegmentOffset(), in writeBody()
656 writeUleb128(sub.os, dataSym->getSize(), "data size"); in writeBody()
660 writeUleb128(sub.os, s->section->sectionIndex, "sym section index"); in writeBody()
669 writeUleb128(sub.os, dataSegments.size(), "num data segments"); in writeBody()
672 writeUleb128(sub.os, s->alignment, "alignment"); in writeBody()
673 writeUleb128(sub.os, s->linkingFlags, "flags"); in writeBody()
680 writeUleb128(sub.os, initFunctions.size(), "num init functions"); in writeBody()
682 writeUleb128(sub.os, f.priority, "priority"); in writeBody()
683 writeUleb128(sub.os, f.sym->getOutputSymbolIndex(), "function index"); in writeBody()
715 writeUleb128(sub.os, comdats.size(), "num comdats"); in writeBody()
718 writeUleb128(sub.os, 0, "comdat flags"); // flags for future use in writeBody()
719 writeUleb128(sub.os, c.second.size(), "num entries"); in writeBody()
722 writeUleb128(sub.os, entry.index, "entry index"); in writeBody()
770 writeUleb128(sub.os, count, "name count"); in writeBody()
777 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
783 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
797 writeUleb128(sub.os, count, "name count"); in writeBody()
801 writeUleb128(sub.os, g->getGlobalIndex(), "global index"); in writeBody()
806 writeUleb128(sub.os, s->getGOTIndex(), "global index"); in writeBody()
811 writeUleb128(sub.os, g->getAssignedIndex(), "global index"); in writeBody()
816 writeUleb128(sub.os, s->getGOTIndex(), "global index"); in writeBody()
829 writeUleb128(sub.os, count, "name count"); in writeBody()
833 writeUleb128(sub.os, s->index, "global index"); in writeBody()
857 writeUleb128(os, fieldCount(), "field count"); in writeBody()
864 writeUleb128(os, field.second.size(), "number of entries"); in writeBody()
876 writeUleb128(os, emitted.size(), "feature count"); in writeBody()
886 writeUleb128(bodyOutputStream, sec->sectionIndex, "reloc section"); in writeBody()
887 writeUleb128(bodyOutputStream, count, "reloc count"); in writeBody()