Home
last modified time | relevance | path

Searched refs:writeInt (Results 1 – 25 of 211) sorted by relevance

123456789

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DSpdy3.java335 sink.writeInt(0x80000000 | (VERSION & 0x7fff) << 16 | type & 0xffff); in synStream()
336 sink.writeInt((flags & 0xff) << 24 | length & 0xffffff); in synStream()
337 sink.writeInt(streamId & 0x7fffffff); in synStream()
338 sink.writeInt(associatedStreamId & 0x7fffffff); in synStream()
352 sink.writeInt(0x80000000 | (VERSION & 0x7fff) << 16 | type & 0xffff); in synReply()
353 sink.writeInt((flags & 0xff) << 24 | length & 0xffffff); in synReply()
354 sink.writeInt(streamId & 0x7fffffff); in synReply()
367 sink.writeInt(0x80000000 | (VERSION & 0x7fff) << 16 | type & 0xffff); in headers()
368 sink.writeInt((flags & 0xff) << 24 | length & 0xffffff); in headers()
369 sink.writeInt(streamId & 0x7fffffff); in headers()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DSpdy3.java333 sink.writeInt(0x80000000 | (VERSION & 0x7fff) << 16 | type & 0xffff); in synStream()
334 sink.writeInt((flags & 0xff) << 24 | length & 0xffffff); in synStream()
335 sink.writeInt(streamId & 0x7fffffff); in synStream()
336 sink.writeInt(associatedStreamId & 0x7fffffff); in synStream()
350 sink.writeInt(0x80000000 | (VERSION & 0x7fff) << 16 | type & 0xffff); in synReply()
351 sink.writeInt((flags & 0xff) << 24 | length & 0xffffff); in synReply()
352 sink.writeInt(streamId & 0x7fffffff); in synReply()
365 sink.writeInt(0x80000000 | (VERSION & 0x7fff) << 16 | type & 0xffff); in headers()
366 sink.writeInt((flags & 0xff) << 24 | length & 0xffffff); in headers()
367 sink.writeInt(streamId & 0x7fffffff); in headers()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java51 frame.writeInt(expectedStreamId); in unknownFrameTypeSkipped()
52 frame.writeInt(111111111); // custom data in unknownFrameTypeSkipped()
64 frame.writeInt(expectedStreamId & 0x7fffffff); in onlyOneLiteralHeadersFrame()
90 frame.writeInt(expectedStreamId & 0x7fffffff); in headersWithPriority()
91 frame.writeInt(0); // Independent stream. in headersWithPriority()
126 frame.writeInt(expectedStreamId & 0x7fffffff); in headersFrameThenContinuation()
133 frame.writeInt(expectedStreamId & 0x7fffffff); in headersFrameThenContinuation()
167 frame.writeInt(expectedStreamId & 0x7fffffff); in pushPromise()
168 frame.writeInt(expectedPromisedStreamId & 0x7fffffff); in pushPromise()
195 frame.writeInt(expectedStreamId & 0x7fffffff); in pushPromiseThenContinuation()
[all …]
DSpdy3Test.java62 frame.writeInt(0x80000000 | (Spdy3.VERSION & 0x7fff) << 16 | Spdy3.TYPE_GOAWAY & 0xffff); in goAwayRoundTrip()
64 frame.writeInt(8); // no flags and length is 8. in goAwayRoundTrip()
65 frame.writeInt(expectedStreamId); // last good stream. in goAwayRoundTrip()
66 frame.writeInt(expectedError.spdyGoAwayCode); in goAwayRoundTrip()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java324 DexDataWriter.writeInt(output, (int)a32.getValue());
341 indexWriter.writeInt(offsetWriter.getPosition());
358 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
372 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
373 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
374 writer.writeInt(typeListSection.getNullableItemOffset(protoSection.getParameters(key)));
390 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
406 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
464 indexWriter.writeInt(typeSection.getItemIndex(classSection.getType(key)));
465 indexWriter.writeInt(classSection.getAccessFlags(key));
[all …]
DDexDataWriter.java91 writeInt((int)value); in writeLong()
92 writeInt((int)(value >> 32)); in writeLong()
95 public static void writeInt(OutputStream out, int value) throws IOException { in writeInt() method in DexDataWriter
102 public void writeInt(int value) throws IOException { in writeInt() method in DexDataWriter
103 writeInt(this, value); in writeInt()
DInstructionWriter.java297 writer.writeInt(instruction.getCodeOffset()); in write()
307 writer.writeInt(getReferenceIndex(instruction)); in write()
317 writer.writeInt(instruction.getNarrowLiteral()); in write()
327 writer.writeInt(instruction.getCodeOffset()); in write()
454 writer.writeInt(elements.size()); in write()
468 writer.writeInt(element.intValue()); in write()
493 writer.writeInt(element.getKey()); in write()
496 writer.writeInt(element.getOffset()); in write()
516 writer.writeInt(0); in write()
518 writer.writeInt(elements.get(0).getKey()); in write()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceFileWriter.cpp376 writeInt<uint16_t>(Ch); in writeCString()
378 writeInt<uint16_t>(0); in writeCString()
390 writeInt<uint16_t>(0xFFFF); in writeIntOrString()
391 writeInt<uint16_t>(Value.getInt()); in writeIntOrString()
397 writeInt<uint32_t>(Value); in writeRCInt()
399 writeInt<uint16_t>(Value); in writeRCInt()
420 writeInt<uint8_t>(0); in padStream()
851 writeInt(IconCursorID++); in writeIconOrCursorGroupBody()
1030 writeInt<uint16_t>(Ctl.ID); in writeSingleDialogControl()
1032 writeInt<uint32_t>(Ctl.ID); in writeSingleDialogControl()
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DAttributeWriter.java97 output.writeInt(attribute.inners.size() * 8 + 2); in writeInnerClasses()
109 output.writeInt(2 + attribute.exceptions.size() * 2); in writeExceptionsAttribute()
118 output.writeInt(2); in writeSignatureAttribute()
124 output.writeInt(2); in writeConstantValue()
161 output.writeInt(data.length); in writeAnnotation()
170 output.writeInt(data.length); in writeAnnotationDefault()
185 output.writeInt(data.length); in writeParameterAnnotations()
191 output.writeInt(0); in writeDeprecated()
202 output.writeInt(data.length); in writeTypeAnnotation()
208 output.writeInt(attribute.parameters().size() * 4 + 1); in writeMethodParameters()
[all …]
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java157 objectOutput.writeInt(prefixSizeInBytes); in writeExternal()
158 objectOutput.writeInt(descIndexSizeInBytes); in writeExternal()
162 objectOutput.writeInt(sizeOfLengths); in writeExternal()
164 objectOutput.writeInt(length); in writeExternal()
168 objectOutput.writeInt(descriptionPool.length); in writeExternal()
175 objectOutput.writeInt(numOfEntries); in writeExternal()
225 objectOutput.writeInt(inputBuffer.getInt(wordIndex)); in writeExternalWord()
DDefaultMapStorage.java83 objectOutput.writeInt(numOfEntries); in writeExternal()
85 objectOutput.writeInt(phoneNumberPrefixes[i]); in writeExternal()
89 objectOutput.writeInt(sizeOfLengths); in writeExternal()
91 objectOutput.writeInt(length); in writeExternal()
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java158 objectOutput.writeInt(prefixSizeInBytes); in writeExternal()
159 objectOutput.writeInt(descIndexSizeInBytes); in writeExternal()
163 objectOutput.writeInt(sizeOfLengths); in writeExternal()
165 objectOutput.writeInt(length); in writeExternal()
169 objectOutput.writeInt(descriptionPool.length); in writeExternal()
176 objectOutput.writeInt(numOfEntries); in writeExternal()
226 objectOutput.writeInt(inputBuffer.getInt(wordIndex)); in writeExternalWord()
DDefaultMapStorage.java84 objectOutput.writeInt(numOfEntries); in writeExternal()
86 objectOutput.writeInt(phoneNumberPrefixes[i]); in writeExternal()
90 objectOutput.writeInt(sizeOfLengths); in writeExternal()
92 objectOutput.writeInt(length); in writeExternal()
/external/sonic/
Dwave.c56 static void writeInt( in writeInt() function
175 writeInt(file, 36 /* + dataLength */); /* 04 - how big is the rest of this file? */ in writeHeader()
178 writeInt(file, 16); /* 16 - size of this chunk */ in writeHeader()
181 writeInt(file, sampleRate); /* 24 - samples per second (numbers per second) */ in writeHeader()
182 writeInt(file, sampleRate * 2); /* 28 - bytes per second */ in writeHeader()
186 writeInt(file, 0); /* 40 - how big is this data chunk */ in writeHeader()
302 writeInt(file, file->bytesWritten - 8); in closeWaveFile()
312 writeInt(file, file->bytesWritten - 48); in closeWaveFile()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeSslSession.java312 daos.writeInt(OPEN_SSL_WITH_TLS_SCT.value); // session type ID in toBytes()
316 daos.writeInt(data.length); in toBytes()
320 daos.writeInt(peerCertificates.length); in toBytes()
324 daos.writeInt(data.length); in toBytes()
329 daos.writeInt(1); in toBytes()
330 daos.writeInt(peerOcspStapledResponse.length); in toBytes()
333 daos.writeInt(0); in toBytes()
337 daos.writeInt(peerSignedCertificateTimestamp.length); in toBytes()
340 daos.writeInt(0); in toBytes()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeSslSession.java311 daos.writeInt(OPEN_SSL_WITH_TLS_SCT.value); // session type ID in toBytes()
315 daos.writeInt(data.length); in toBytes()
319 daos.writeInt(peerCertificates.length); in toBytes()
323 daos.writeInt(data.length); in toBytes()
328 daos.writeInt(1); in toBytes()
329 daos.writeInt(peerOcspStapledResponse.length); in toBytes()
332 daos.writeInt(0); in toBytes()
336 daos.writeInt(peerSignedCertificateTimestamp.length); in toBytes()
339 daos.writeInt(0); in toBytes()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelTest.java138 parcel.writeInt(val); in testReadWriteSingleInt()
283 parcel.writeInt(i); in testReadWriteMultipleInts()
318 parcel.writeInt(i); in testReadWriteStringInt()
341 parcel.writeInt(val); in testWriteIntReadString()
524 parcel.writeInt(1); in testDataPositionAfterSomeWrites()
539 parcel.writeInt(1); in testDataPositionAfterSomeReads()
556 parcel.writeInt(1); in testDataSizeAfterSomeWrites()
568 parcel.writeInt(1); in testDataAvail()
578 parcel.writeInt(1); in testSetDataPositionIntoMiddleOfParcel()
598 parcel.writeInt(1); in testAppendFrom()
[all …]
/external/proguard/src/proguard/classfile/instruction/
DLookUpSwitchInstruction.java113 writeInt(code, offset, defaultOffset); offset += 4; in writeInfo()
114 writeInt(code, offset, cases.length); offset += 4; in writeInfo()
119 writeInt(code, offset, cases[index]); offset += 4; in writeInfo()
120 writeInt(code, offset, jumpOffsets[index]); offset += 4; in writeInfo()
DTableSwitchInstruction.java116 writeInt(code, offset, defaultOffset); offset += 4; in writeInfo()
117 writeInt(code, offset, lowCase); offset += 4; in writeInfo()
118 writeInt(code, offset, highCase); offset += 4; in writeInfo()
124 writeInt(code, offset, jumpOffsets[index]); offset += 4; in writeInfo()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPatchWriter.java88 dataOut.writeInt(0); // Flags (reserved) in writeV1Patch()
92 dataOut.writeInt(plan.getOldFileUncompressionPlan().size()); in writeV1Patch()
99 dataOut.writeInt(plan.getDeltaFriendlyNewFileRecompressionPlan().size()); in writeV1Patch()
114 dataOut.writeInt(1); in writeV1Patch()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java157 dOut.writeInt(salt.length); in StoreEntry()
159 dOut.writeInt(iterationCount); in StoreEntry()
294 dOut.writeInt(salt.length); in getObject()
296 dOut.writeInt(iterationCount); in getObject()
354 dOut.writeInt(cEnc.length); in encodeCertificate()
411 dOut.writeInt(enc.length); in encodeKey()
762 dOut.writeInt(0); in saveStore()
766 dOut.writeInt(chain.length); in saveStore()
785 dOut.writeInt(b.length); in saveStore()
896 dOut.writeInt(version); in engineStore()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DBufferedSinkTest.java123 @Test public void writeInt() throws Exception {
124 sink.writeInt(0xabcdef01);
125 sink.writeInt(0x87654321);
132 sink.writeInt(0xabcdef01);
133 sink.writeInt(0x87654321);
142 sink.writeInt(0xabcdef01);
143 sink.writeInt(0x87654321);
/external/guava/guava/src/com/google/common/collect/
DSerialization.java63 stream.writeInt(map.size()); in writeMap()
107 stream.writeInt(entryCount); in writeMultiset()
110 stream.writeInt(entry.getCount()); in writeMultiset()
153 stream.writeInt(multimap.asMap().size()); in writeMultimap()
156 stream.writeInt(entry.getValue().size()); in writeMultimap()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java161 dOut.writeInt(salt.length); in StoreEntry()
163 dOut.writeInt(iterationCount); in StoreEntry()
298 dOut.writeInt(salt.length); in getObject()
300 dOut.writeInt(iterationCount); in getObject()
358 dOut.writeInt(cEnc.length); in encodeCertificate()
415 dOut.writeInt(enc.length); in encodeKey()
766 dOut.writeInt(0); in saveStore()
770 dOut.writeInt(chain.length); in saveStore()
789 dOut.writeInt(b.length); in saveStore()
900 dOut.writeInt(version); in engineStore()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java764 parcel.writeInt(pointerCount); in writeToParcel()
765 parcel.writeInt(sampleCount); in writeToParcel()
766 parcel.writeInt(mDeviceId); in writeToParcel()
767 parcel.writeInt(mSource); in writeToParcel()
768 parcel.writeInt(mAction); in writeToParcel()
769 parcel.writeInt(mActionButton); in writeToParcel()
770 parcel.writeInt(mFlags); in writeToParcel()
771 parcel.writeInt(mEdgeFlags); in writeToParcel()
772 parcel.writeInt(mMetaState); in writeToParcel()
773 parcel.writeInt(mButtonState); in writeToParcel()
[all …]

123456789