Home
last modified time | relevance | path

Searched refs:writeByte (Results 1 – 25 of 147) sorted by relevance

123456

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSerializerFoo.java64 out.writeByte(SerializedGrammar.FORMAT_VERSION); in open()
95 out.writeByte('R'); in rule()
105 out.writeByte('.'); in endRule()
114 out.writeByte('B'); in block()
125 out.writeByte('A'); in alt()
139 out.writeByte(';'); in endAlt()
151 out.writeByte('r'); in ruleRef()
162 out.writeByte('t'); in token()
175 out.writeByte('t'); in charLiteral()
189 out.writeByte('w'); in wildcard()
[all …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DDebugInfoItem.java306 out.writeByte(DebugOpcode.DBG_START_LOCAL.value); in writeItemWithNoAnnotations()
315 out.writeByte(0); in writeItemWithNoAnnotations()
320 out.writeByte(0); in writeItemWithNoAnnotations()
328 out.writeByte(DebugOpcode.DBG_START_LOCAL_EXTENDED.value); in writeItemWithNoAnnotations()
337 out.writeByte(0); in writeItemWithNoAnnotations()
342 out.writeByte(0); in writeItemWithNoAnnotations()
347 out.writeByte(0); in writeItemWithNoAnnotations()
353 out.writeByte(DebugOpcode.DBG_SET_FILE.value); in writeItemWithNoAnnotations()
357 out.writeByte(0); in writeItemWithNoAnnotations()
394 out.writeByte(DebugOpcode.DBG_END_SEQUENCE.value); in writeItemWithAnnotations()
[all …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
DDebugInfoBuilder.java194 out.writeByte(0); in emitEndSequence()
201 out.writeByte(1); in emitAdvancePC()
208 out.writeByte(2); in emitAdvanceLine()
213 out.writeByte(3); in emitStartLocal()
215 out.writeByte(1); in emitStartLocal()
216 out.writeByte(1); in emitStartLocal()
220 out.writeByte(4); in emitStartLocalExtended()
222 out.writeByte(1); in emitStartLocalExtended()
223 out.writeByte(1); in emitStartLocalExtended()
224 out.writeByte(1); in emitStartLocalExtended()
[all …]
/external/jmdns/src/javax/jmdns/impl/
DDNSOutgoing.java45 void writeByte(int value) { in writeByte() method in DNSOutgoing.MessageOutputStream
51 writeByte(str.charAt(off + i)); in writeBytes()
63 writeByte(data[off + i]); in writeBytes()
68 writeByte(value >> 8); in writeShort()
69 writeByte(value); in writeShort()
93 writeByte(utflen); in writeUTF()
98 writeByte(ch); in writeUTF()
101 writeByte(0xE0 | ((ch >> 12) & 0x0F)); in writeUTF()
102 writeByte(0x80 | ((ch >> 6) & 0x3F)); in writeUTF()
103 writeByte(0x80 | ((ch >> 0) & 0x3F)); in writeUTF()
[all …]
/external/javassist/src/main/javassist/convert/
DTransformWriteField.java45 iterator.writeByte(ACONST_NULL, pos); in transform()
46 iterator.writeByte(DUP_X2, pos + 1); in transform()
47 iterator.writeByte(POP, pos + 2); in transform()
53 iterator.writeByte(ACONST_NULL, pos); in transform()
54 iterator.writeByte(SWAP, pos + 1); in transform()
64 iterator.writeByte(INVOKESTATIC, pos); in transform()
DTransformNew.java62 iterator.writeByte(NOP, pos); in transform()
63 iterator.writeByte(NOP, pos + 1); in transform()
64 iterator.writeByte(NOP, pos + 2); in transform()
65 iterator.writeByte(NOP, pos + 3); in transform()
84 iterator.writeByte(INVOKESTATIC, pos); in transform()
DTransformAfter.java39 iterator.writeByte(iterator.byteAt(pos), p); in match2()
41 iterator.writeByte(INVOKESTATIC, pos); in match2()
/external/objenesis/main/src/org/objenesis/instantiator/basic/
DObjectInputStreamInstantiator.java69 dout.writeByte(ObjectStreamConstants.TC_OBJECT); in initialize()
70 dout.writeByte(ObjectStreamConstants.TC_REFERENCE); in initialize()
97 dout.writeByte(ObjectStreamConstants.TC_OBJECT); in MockStream()
98 dout.writeByte(ObjectStreamConstants.TC_CLASSDESC); in MockStream()
101 dout.writeByte(ObjectStreamConstants.SC_SERIALIZABLE); in MockStream()
103 dout.writeByte(ObjectStreamConstants.TC_ENDBLOCKDATA); in MockStream()
104 dout.writeByte(ObjectStreamConstants.TC_NULL); in MockStream()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DValueEncoder.java182 out.writeByte(type); in writeConstant()
187 out.writeByte(type); in writeConstant()
193 out.writeByte(type); in writeConstant()
198 out.writeByte(type | (value << 5)); in writeConstant()
408 out.writeByte(type | ((requiredBytes - 1) << 5)); in writeSignedIntegralValue()
412 out.writeByte((byte) value); in writeSignedIntegralValue()
439 out.writeByte(type | ((requiredBytes - 1) << 5)); in writeUnsignedIntegralValue()
443 out.writeByte((byte) value); in writeUnsignedIntegralValue()
473 out.writeByte(type | ((requiredBytes - 1) << 5)); in writeRightZeroExtendedValue()
477 out.writeByte((byte) value); in writeRightZeroExtendedValue()
DDebugInfoEncoder.java200 output.writeByte(DBG_SET_PROLOGUE_END); in convert0()
616 output.writeByte(DBG_RESTART_LOCAL); in emitLocalRestart()
692 output.writeByte(DBG_START_LOCAL); in emitLocalStart()
721 output.writeByte(DBG_START_LOCAL_EXTENDED); in emitLocalStartExtended()
750 output.writeByte(DBG_END_LOCAL); in emitLocalEnd()
809 output.writeByte(opcode); in emitPosition()
853 output.writeByte(DBG_ADVANCE_LINE); in emitAdvanceLine()
877 output.writeByte(DBG_ADVANCE_PC); in emitAdvancePc()
914 output.writeByte(DBG_END_SEQUENCE); in emitEndSequence()
DAnnotationItem.java197 case BUILD: out.writeByte(VISIBILITY_BUILD); break; in writeTo0()
198 case RUNTIME: out.writeByte(VISIBILITY_RUNTIME); break; in writeTo0()
199 case SYSTEM: out.writeByte(VISIBILITY_SYSTEM); break; in writeTo0()
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/
DInstruction22b.java66 out.writeByte(opcode.value); in writeInstruction()
67 out.writeByte(regA); in writeInstruction()
68 out.writeByte(regB); in writeInstruction()
69 out.writeByte(litC); in writeInstruction()
DInstruction23x.java66 out.writeByte(opcode.value); in writeInstruction()
67 out.writeByte(regA); in writeInstruction()
68 out.writeByte(regB); in writeInstruction()
69 out.writeByte(regC); in writeInstruction()
DInstruction35mi.java91 out.writeByte(opcode.value); in writeInstruction()
92 out.writeByte((regCount << 4) | regA); in writeInstruction()
94 out.writeByte((regE << 4) | regD); in writeInstruction()
95 out.writeByte((regG << 4) | regF); in writeInstruction()
DInstruction35ms.java91 out.writeByte(opcode.value); in writeInstruction()
92 out.writeByte((regCount << 4) | regA); in writeInstruction()
94 out.writeByte((regE << 4) | regD); in writeInstruction()
95 out.writeByte((regG << 4) | regF); in writeInstruction()
DInstruction35c.java106 out.writeByte(opcode.value); in writeInstruction()
107 out.writeByte((regCount << 4) | regA); in writeInstruction()
109 out.writeByte((regE << 4) | regD); in writeInstruction()
110 out.writeByte((regG << 4) | regF); in writeInstruction()
DInstruction10x.java51 out.writeByte(opcode.value); in writeInstruction()
52 out.writeByte(0); in writeInstruction()
DInstruction11x.java59 out.writeByte(opcode.value); in writeInstruction()
60 out.writeByte(regA); in writeInstruction()
DInstruction30t.java56 out.writeByte(opcode.value); in writeInstruction()
57 out.writeByte(0x00); in writeInstruction()
/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java517 ci.writeByte(var, index + 1); in shiftIndex()
521 ci.writeByte(WIDE, pos - 3); in shiftIndex()
522 ci.writeByte(IINC, pos - 2); in shiftIndex()
549 ci.writeByte(var, index + 1); in shiftIndex8()
552 ci.writeByte(WIDE, pos - 2); in shiftIndex8()
553 ci.writeByte(opcode, pos - 1); in shiftIndex8()
569 ci.writeByte(opcode + delta, index); in shiftIndex0()
574 ci.writeByte(opcode, pos - 1); in shiftIndex0()
575 ci.writeByte(var, pos); in shiftIndex0()
579 ci.writeByte(WIDE, pos - 1); in shiftIndex0()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/util/
DLeb128Utils.java136 out.writeByte((byte) ((value & 0x7f) | 0x80)); in writeUnsignedLeb128()
141 out.writeByte((byte) (value & 0x7f)); in writeUnsignedLeb128()
157 out.writeByte((byte) ((value & 0x7f) | (hasMore ? 0x80 : 0))); in writeSignedLeb128()
/external/guava/guava-tests/test/com/google/common/io/
DLittleEndianDataOutputStreamTest.java46 out.writeByte(100); in testWriteLittleEndian()
47 out.writeByte(-100); in testWriteLittleEndian()
48 out.writeByte((byte) 200); in testWriteLittleEndian()
DLittleEndianDataInputStreamTest.java56 out.writeByte(100); in initializeData()
57 out.writeByte(-100); in initializeData()
58 out.writeByte((byte) 200); in initializeData()
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/
DByteEncodedValue.java61 out.writeByte(ValueType.VALUE_BYTE.value); in writeValue()
62 out.writeByte(value); in writeValue()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
DTypesWriter.java93 public void writeByte(int v, int off) in writeByte() method in TypesWriter
101 public void writeByte(int v) in writeByte() method in TypesWriter
103 writeByte(v, pos); in writeByte()

123456