/external/llvm-project/lld/wasm/ |
D | SyntheticSections.cpp | 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() [all …]
|
D | WriterUtils.cpp | 74 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg) { in writeUleb128() function 119 writeUleb128(os, sig.Params.size(), "param Count"); in writeSig() 123 writeUleb128(os, sig.Returns.size(), "result Count"); in writeSig() 148 writeUleb128(os, alignment, "alignment"); in writeMemArg() 149 writeUleb128(os, offset, "offset"); in writeMemArg() 168 writeUleb128(os, initExpr.Value.Global, "literal (global index)"); in writeInitExpr() 181 writeUleb128(os, limits.Initial, "limits initial"); in writeLimits() 183 writeUleb128(os, limits.Maximum, "limits max"); in writeLimits() 198 writeUleb128(os, type.Attribute, "event attribute"); in writeEventType() 199 writeUleb128(os, type.SigIndex, "sig index"); in writeEventType() [all …]
|
D | Writer.cpp | 849 writeUleb128(os, bodyContent.size(), "function size"); in createFunction() 878 writeUleb128(os, 1, "num local decls"); in createInitMemoryFunction() 879 writeUleb128(os, 1, "local count"); in createInitMemoryFunction() 882 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), "memory_base"); in createInitMemoryFunction() 886 writeUleb128(os, 0, "local 0"); in createInitMemoryFunction() 888 writeUleb128(os, 0, "num locals"); in createInitMemoryFunction() 943 writeUleb128(os, 0, "local 0"); in createInitMemoryFunction() 954 writeUleb128(os, WASM_OPCODE_I32_RMW_CMPXCHG, "i32.atomic.rmw.cmpxchg"); in createInitMemoryFunction() 965 writeUleb128(os, WASM_OPCODE_I32_ATOMIC_WAIT, "i32.atomic.wait"); in createInitMemoryFunction() 978 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), in createInitMemoryFunction() [all …]
|
D | InputChunks.cpp | 202 writeUleb128(os, rel.Type, "reloc type"); in writeRelocations() 203 writeUleb128(os, rel.Offset + off, "reloc offset"); in writeRelocations() 204 writeUleb128(os, file->calcNewIndex(rel), "reloc index"); in writeRelocations() 380 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), "memory_base"); in generateRelocationCode() 399 writeUleb128(os, sym->getGOTIndex(), "global index"); in generateRelocationCode() 411 writeUleb128(os, baseSymbol->getGlobalIndex(), "base"); in generateRelocationCode() 419 writeUleb128(os, 2, "align"); in generateRelocationCode() 420 writeUleb128(os, 0, "offset"); in generateRelocationCode()
|
D | OutputSections.cpp | 77 writeUleb128(os, bodySize, "section size"); in createHeader() 85 writeUleb128(os, functions.size(), "function count"); in finalizeContents() 148 writeUleb128(os, segmentCount, "data segment count"); in finalizeContents() 156 writeUleb128(os, segment->initFlags, "init flags"); in finalizeContents() 158 writeUleb128(os, 0, "memory index"); in finalizeContents() 171 writeUleb128(os, segment->size, "segment size"); in finalizeContents()
|
D | WriterUtils.h | 21 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DebugWriter.java | 72 writer.writeUleb128(register); in writeStartLocal() 73 writer.writeUleb128(nameIndex + 1); in writeStartLocal() 74 writer.writeUleb128(typeIndex + 1); in writeStartLocal() 77 writer.writeUleb128(register); in writeStartLocal() 78 writer.writeUleb128(nameIndex + 1); in writeStartLocal() 79 writer.writeUleb128(typeIndex + 1); in writeStartLocal() 80 writer.writeUleb128(signatureIndex + 1); in writeStartLocal() 87 writer.writeUleb128(register); in writeEndLocal() 93 writer.writeUleb128(register); in writeRestartLocal() 130 writer.writeUleb128(stringSection.getNullableItemIndex(sourceFile) + 1); in writeSetSourceFile() [all …]
|
D | EncodedValueWriter.java | 81 writer.writeUleb128(typeSection.getItemIndex(annotationType)); in writeAnnotation() 82 writer.writeUleb128(elements.size()); in writeAnnotation() 88 … writer.writeUleb128(stringSection.getItemIndex(annotationSection.getElementName(element))); in writeAnnotation() 95 writer.writeUleb128(elements.size()); in writeArray()
|
D | DexWriter.java | 417 offsetWriter.writeUleb128(stringValue.length()); 571 offsetWriter.writeUleb128(staticFields.size()); 572 offsetWriter.writeUleb128(instanceFields.size()); 573 offsetWriter.writeUleb128(directMethods.size()); 574 offsetWriter.writeUleb128(virtualMethods.size()); 642 writer.writeUleb128(index - prevIndex); 643 writer.writeUleb128(classSection.getFieldAccessFlags(key)); 653 writer.writeUleb128(index-prevIndex); 654 writer.writeUleb128(classSection.getMethodAccessFlags(key)); 655 writer.writeUleb128(classSection.getCodeItemOffset(key)); [all …]
|
D | DexDataWriter.java | 129 public static void writeUleb128(OutputStream out, int value) throws IOException { in writeUleb128() method in DexDataWriter 137 public void writeUleb128(int value) throws IOException { in writeUleb128() method in DexDataWriter 138 writeUleb128(this, value); in writeUleb128()
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
D | DexWriterUleb128Test.java | 231 writer.writeUleb128(integerValue); in performTest()
|