Home
last modified time | relevance | path

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

123456

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHpackTest.java68 bytesIn.writeByte(0x00); // Literal indexed in tooLargeToHPackIsStillEmitted()
69 bytesIn.writeByte(0x0a); // Literal name (len = 10) in tooLargeToHPackIsStillEmitted()
72 bytesIn.writeByte(0x0d); // Literal value (len = 13) in tooLargeToHPackIsStillEmitted()
85 bytesIn.writeByte(0x40); // Literal indexed in testEviction()
86 bytesIn.writeByte(0x0a); // Literal name (len = 10) in testEviction()
89 bytesIn.writeByte(0x0d); // Literal value (len = 13) in testEviction()
92 bytesIn.writeByte(0x40); // Literal indexed in testEviction()
93 bytesIn.writeByte(0x0a); // Literal name (len = 10) in testEviction()
96 bytesIn.writeByte(0x0d); // Literal value (len = 13) in testEviction()
99 bytesIn.writeByte(0x40); // Literal indexed in testEviction()
[all …]
DHttp2Test.java49 frame.writeByte(99); // type 99 in unknownFrameTypeSkipped()
50 frame.writeByte(Http2.FLAG_NONE); in unknownFrameTypeSkipped()
62 frame.writeByte(Http2.TYPE_HEADERS); in onlyOneLiteralHeadersFrame()
63 frame.writeByte(FLAG_END_HEADERS | FLAG_END_STREAM); in onlyOneLiteralHeadersFrame()
88 frame.writeByte(Http2.TYPE_HEADERS); in headersWithPriority()
89 frame.writeByte(FLAG_END_HEADERS | FLAG_PRIORITY); in headersWithPriority()
92 frame.writeByte(255); // Heaviest weight, zero-indexed. in headersWithPriority()
124 frame.writeByte(Http2.TYPE_HEADERS); in headersFrameThenContinuation()
125 frame.writeByte(Http2.FLAG_NONE); in headersFrameThenContinuation()
131 frame.writeByte(Http2.TYPE_CONTINUATION); in headersFrameThenContinuation()
[all …]
/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/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()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java130 sink.writeByte(b0); in writeControlFrame()
135 sink.writeByte(b1); in writeControlFrame()
144 sink.writeByte(b1); in writeControlFrame()
206 sink.writeByte(b0); in writeFrame()
215 sink.writeByte(b1); in writeFrame()
218 sink.writeByte(b1); in writeFrame()
222 sink.writeByte(b1); in writeFrame()
277 sink.writeByte(B0_FLAG_FIN | OPCODE_CONTINUATION); in close()
280 sink.writeByte(B1_FLAG_MASK | length); in close()
284 sink.writeByte(length); in close()
/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/jacoco/org.jacoco.core/src/org/jacoco/core/internal/data/
DCompactDataOutput.java48 writeByte(value); in writeVarInt()
50 writeByte(0x80 | (value & 0x7F)); in writeVarInt()
73 writeByte(buffer); in writeBooleanArray()
79 writeByte(buffer); in writeBooleanArray()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DDiskLruCache.java384 writer.writeUtf8(MAGIC).writeByte('\n'); in rebuildJournal()
385 writer.writeUtf8(VERSION_1).writeByte('\n'); in rebuildJournal()
386 writer.writeDecimalLong(appVersion).writeByte('\n'); in rebuildJournal()
387 writer.writeDecimalLong(valueCount).writeByte('\n'); in rebuildJournal()
388 writer.writeByte('\n'); in rebuildJournal()
392 writer.writeUtf8(DIRTY).writeByte(' '); in rebuildJournal()
394 writer.writeByte('\n'); in rebuildJournal()
396 writer.writeUtf8(CLEAN).writeByte(' '); in rebuildJournal()
399 writer.writeByte('\n'); in rebuildJournal()
433 journalWriter.writeUtf8(READ).writeByte(' ').writeUtf8(key).writeByte('\n'); in get()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DFormEncodingBuilder.java33 content.writeByte('&'); in add()
37 content.writeByte('='); in add()
46 content.writeByte('&'); in addEncoded()
50 content.writeByte('='); in addEncoded()
DCache.java581 sink.writeByte('\n'); in writeTo()
583 sink.writeByte('\n'); in writeTo()
585 sink.writeByte('\n'); in writeTo()
590 sink.writeByte('\n'); in writeTo()
594 sink.writeByte('\n'); in writeTo()
596 sink.writeByte('\n'); in writeTo()
601 sink.writeByte('\n'); in writeTo()
605 sink.writeByte('\n'); in writeTo()
607 sink.writeByte('\n'); in writeTo()
641 sink.writeByte('\n'); in writeCertList()
[all …]
/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()
/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/okhttp/okio/okio/src/main/java/okio/
DBuffer.java70 writeByte((byte) b); in outputStream()
436 Buffer buffer = new Buffer().writeDecimalLong(value).writeByte(b);
504 Buffer buffer = new Buffer().writeHexadecimalUnsignedLong(value).writeByte(b);
834 writeByte(c >> 6 | 0xc0); // 110xxxxx
835 writeByte(c & 0x3f | 0x80); // 10xxxxxx
840 writeByte(c >> 12 | 0xe0); // 1110xxxx
841 writeByte(c >> 6 & 0x3f | 0x80); // 10xxxxxx
842 writeByte(c & 0x3f | 0x80); // 10xxxxxx
850 writeByte('?');
861 writeByte(codePoint >> 18 | 0xf0); // 11110xxx
[all …]
DGzipSink.java117 buffer.writeByte(0x08); // 8 == Deflate compression method. in writeHeader()
118 buffer.writeByte(0x00); // No flags. in writeHeader()
120 buffer.writeByte(0x00); // No extra flags. in writeHeader()
121 buffer.writeByte(0x00); // No OS. in writeHeader()
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java161 dataOutput.writeByte(constant.getTag()); in visitAnyConstant()
222 dataOutput.writeByte(methodHandleConstant.u1referenceKind); in visitMethodHandleConstant()
377 dataOutput.writeByte(methodParametersAttribute.u1parametersCount); in visitMethodParametersAttribute()
475 dataOutput.writeByte(parameterAnnotationsAttribute.u1parametersCount); in visitAnyParameterAnnotationsAttribute()
553 dataOutput.writeByte(stackMapFrame.getTag()); in visitAnyStackMapFrame()
621 dataOutput.writeByte(typeAnnotation.targetInfo.u1targetType); in visitTypeAnnotation()
626 dataOutput.writeByte(typeAnnotation.typePath.length); in visitTypeAnnotation()
639 dataOutput.writeByte(typeParameterTargetInfo.u1typeParameterIndex); in visitTypeParameterTargetInfo()
651 dataOutput.writeByte(typeParameterBoundTargetInfo.u1typeParameterIndex); in visitTypeParameterBoundTargetInfo()
652 dataOutput.writeByte(typeParameterBoundTargetInfo.u1boundIndex); in visitTypeParameterBoundTargetInfo()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DRealBufferedSinkTest.java48 bufferedSink.writeByte(0); in bufferedSinkEmitsTailWhenItIsComplete()
64 bufferedSink.writeByte('a'); in bufferedSinkFlush()
112 bufferedSink.writeByte('a'); in closeWithExceptionWhenWriting()
125 bufferedSink.writeByte('a'); in closeWithExceptionWhenClosing()
139 bufferedSink.writeByte('a'); in closeWithExceptionWhenWritingAndClosing()
152 bufferedSink.writeByte('a'); in operationsAfterClose()
157 bufferedSink.writeByte('a'); in operationsAfterClose()
DGzipSourceTest.java65 gzipped.writeByte(0); // zero-terminated in gunzip_withName()
75 gzipped.writeByte(0); // zero-terminated in gunzip_withComment()
91 gzipped.writeByte(0); // zero-terminated in gunzip_withAll()
93 gzipped.writeByte(0); // zero-terminated in gunzip_withAll()
171 gzippedSource.writeByte('d'); // This byte shouldn't be here! in gunzipThrowsIfSourceIsNotExhausted()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DDataOutputCompressor.java57 public void writeByte(int v) throws IOException { in writeByte() method in DataOutputCompressor
58 dataOutput.writeByte(v); in writeByte()
130 dataOutput.writeByte((byte) v); in writeLong()
133 dataOutput.writeByte((byte) (0x80L | v)); in writeLong()
141 dataOutput.writeByte((byte) v); in writeULong()
144 dataOutput.writeByte((byte) (0x80L | v)); in writeULong()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DDataOutputCompressor.java56 public void writeByte(int v) throws IOException { in writeByte() method in DataOutputCompressor
57 dataOutput.writeByte(v); in writeByte()
129 dataOutput.writeByte((byte) v); in writeLong()
132 dataOutput.writeByte((byte) (0x80L | v)); in writeLong()
140 dataOutput.writeByte((byte) v); in writeULong()
143 dataOutput.writeByte((byte) (0x80L | v)); in writeULong()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java130 fromSink.writeByte(VERSION_5); in hello()
131 fromSink.writeByte(selectedMethod); in hello()
177 fromSink.writeByte(VERSION_5); in acceptCommand()
178 fromSink.writeByte(REPLY_SUCCEEDED); in acceptCommand()
179 fromSink.writeByte(0); in acceptCommand()
180 fromSink.writeByte(ADDRESS_TYPE_IPV4); in acceptCommand()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/
DExecutionDataWriter.java66 out.writeByte(BLOCK_HEADER); in writeHeader()
83 out.writeByte(BLOCK_SESSIONINFO); in visitSessionInfo()
94 out.writeByte(BLOCK_EXECUTIONDATA); in visitClassExecution()
/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/mesa3d/src/glx/
Dpixel.c285 GLubyte writeByte; in EmptyBitmap() local
318 writeByte = 0; in EmptyBitmap()
334 writeByte |= (sourceImage[0] >> bitOffset); in EmptyBitmap()
336 (writeByte & writeMask); in EmptyBitmap()
337 writeByte = (sourceImage[0] << (8 - bitOffset)); in EmptyBitmap()
361 if (writeByte) { in EmptyBitmap()
370 currentByte = (currentByte & ~writeMask) | (writeByte & writeMask); in EmptyBitmap()

123456