Lines Matching refs:writeUleb128
43 writeUleb128(to, type, "subsection type"); in writeTo()
44 writeUleb128(to, body.size(), "subsection size"); in writeTo()
61 writeUleb128(os, memSize, "MemSize"); in writeBody()
62 writeUleb128(os, memAlign, "MemAlign"); in writeBody()
63 writeUleb128(os, out.elemSec->numEntries(), "TableSize"); in writeBody()
64 writeUleb128(os, 0, "TableAlign"); in writeBody()
65 writeUleb128(os, symtab->sharedFiles.size(), "Needed"); in writeBody()
89 writeUleb128(bodyOutputStream, types.size(), "type count"); in writeBody()
127 writeUleb128(os, getNumImports(), "import count"); in writeBody()
202 writeUleb128(os, inputFunctions.size(), "function count"); in writeBody()
204 writeUleb128(os, out.typeSec->lookupType(func->signature), "sig index"); in writeBody()
220 writeUleb128(os, 1, "table count"); in writeBody()
233 writeUleb128(os, 1, "memory count"); in writeBody()
241 writeUleb128(os, flags, "memory limits flags"); in writeBody()
242 writeUleb128(os, numMemoryPages, "initial pages"); in writeBody()
244 writeUleb128(os, maxMemoryPages, "max pages"); in writeBody()
250 writeUleb128(os, inputEvents.size(), "event count"); in writeBody()
300 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), "__memory_base"); in generateRelocationCode()
310 writeUleb128(os, WasmSym::tableBase->getGlobalIndex(), "__table_base"); in generateRelocationCode()
321 writeUleb128(os, sym->getGOTIndex(), "got_entry"); in generateRelocationCode()
328 writeUleb128(os, numGlobals(), "global count"); in writeBody()
369 writeUleb128(os, exports.size(), "export count"); in writeBody()
380 writeUleb128(os, WasmSym::initMemory->getFunctionIndex(), "function index"); in writeBody()
396 writeUleb128(os, 1, "segment count"); in writeBody()
397 writeUleb128(os, 0, "table index"); in writeBody()
407 writeUleb128(os, indirectFunctions.size(), "elem count"); in writeBody()
412 writeUleb128(os, sym->getFunctionIndex(), "function index"); in writeBody()
424 writeUleb128(bodyOutputStream, numSegments, "data count"); in writeBody()
434 writeUleb128(os, WasmMetadataVersion, "Version"); in writeBody()
438 writeUleb128(sub.os, symtabEntries.size(), "num symbols"); in writeBody()
446 writeUleb128(sub.os, flags, "sym flags"); in writeBody()
449 writeUleb128(sub.os, f->getFunctionIndex(), "index"); in writeBody()
453 writeUleb128(sub.os, g->getGlobalIndex(), "index"); in writeBody()
457 writeUleb128(sub.os, e->getEventIndex(), "index"); in writeBody()
463 writeUleb128(sub.os, dataSym->getOutputSegmentIndex(), "index"); in writeBody()
464 writeUleb128(sub.os, dataSym->getOutputSegmentOffset(), in writeBody()
466 writeUleb128(sub.os, dataSym->getSize(), "data size"); in writeBody()
470 writeUleb128(sub.os, s->section->sectionIndex, "sym section index"); in writeBody()
479 writeUleb128(sub.os, dataSegments.size(), "num data segments"); in writeBody()
482 writeUleb128(sub.os, s->alignment, "alignment"); in writeBody()
483 writeUleb128(sub.os, 0, "flags"); in writeBody()
490 writeUleb128(sub.os, initFunctions.size(), "num init functions"); in writeBody()
492 writeUleb128(sub.os, f.priority, "priority"); in writeBody()
493 writeUleb128(sub.os, f.sym->getOutputSymbolIndex(), "function index"); in writeBody()
525 writeUleb128(sub.os, comdats.size(), "num comdats"); in writeBody()
528 writeUleb128(sub.os, 0, "comdat flags"); // flags for future use in writeBody()
529 writeUleb128(sub.os, c.second.size(), "num entries"); in writeBody()
532 writeUleb128(sub.os, entry.index, "entry index"); in writeBody()
570 writeUleb128(sub.os, count, "name count"); in writeBody()
577 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
583 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
597 writeUleb128(sub.os, count, "name count"); in writeBody()
601 writeUleb128(sub.os, g->getGlobalIndex(), "global index"); in writeBody()
606 writeUleb128(sub.os, s->getGOTIndex(), "global index"); in writeBody()
611 writeUleb128(sub.os, g->getGlobalIndex(), "global index"); in writeBody()
616 writeUleb128(sub.os, s->getGOTIndex(), "global index"); in writeBody()
639 writeUleb128(os, fieldCount(), "field count"); in writeBody()
646 writeUleb128(os, field.second.size(), "number of entries"); in writeBody()
658 writeUleb128(os, emitted.size(), "feature count"); in writeBody()
668 writeUleb128(bodyOutputStream, sec->sectionIndex, "reloc section"); in writeBody()
669 writeUleb128(bodyOutputStream, count, "reloc count"); in writeBody()