Home
last modified time | relevance | path

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

123456

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowParcel.java110 writeInt(-1); in writeString()
112 writeInt(str.length()); in writeString()
138 public void writeInt(int i) { in writeInt() method in ShadowParcel
217 writeInt(-1); in writeBooleanArray()
220 writeInt(val.length); in writeBooleanArray()
251 writeInt(-1); in writeCharArray()
254 writeInt(val.length); in writeCharArray()
285 writeInt(-1); in writeFloatArray()
288 writeInt(val.length); in writeFloatArray()
309 writeInt(-1); in writeDoubleArray()
[all …]
DShadowPendingIntent.java69 out.writeInt(0); in writePendingIntentOrNullToParcel()
94 out.writeInt(1); in writeToParcel()
98 out.writeInt(requestCode); in writeToParcel()
100 out.writeInt(1); in writeToParcel()
103 out.writeInt(0); in writeToParcel()
192 out.writeInt(b ? 1 : 0); in writeBooleanToParcel()
/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()
DHpackTest.java637 hpackWriter.writeInt(10, 31, 0); in writeSingleByteInt()
639 hpackWriter.writeInt(10, 31, 0xe0); in writeSingleByteInt()
644 hpackWriter.writeInt(1337, 31, 0); in writeMultibyteInt()
646 hpackWriter.writeInt(1337, 31, 0xe0); in writeMultibyteInt()
651 hpackWriter.writeInt(0x7fffffff, 31, 0); in max31BitValue()
658 hpackWriter.writeInt(31, 31, 0); in prefixMask()
664 hpackWriter.writeInt(30, 31, 0); in prefixMaskMinusOne()
670 hpackWriter.writeInt(0, 31, 0); in zero()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java323 DexDataWriter.writeInt(output, (int)a32.getValue());
340 indexWriter.writeInt(offsetWriter.getPosition());
357 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
371 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
372 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
373 writer.writeInt(typeListSection.getNullableItemOffset(protoSection.getParameters(key)));
389 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
405 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
463 indexWriter.writeInt(typeSection.getItemIndex(classSection.getType(key)));
464 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.java287 writer.writeInt(instruction.getCodeOffset()); in write()
297 writer.writeInt(getReferenceIndex(instruction)); in write()
307 writer.writeInt(instruction.getNarrowLiteral()); in write()
317 writer.writeInt(instruction.getCodeOffset()); in write()
397 writer.writeInt(elements.size()); in write()
411 writer.writeInt(element.intValue()); in write()
436 writer.writeInt(element.getKey()); in write()
439 writer.writeInt(element.getOffset()); in write()
459 writer.writeInt(0); in write()
461 writer.writeInt(elements.get(0).getKey()); in write()
[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/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/common/src/main/java/org/conscrypt/
DSslSessionWrapper.java299 daos.writeInt(OPEN_SSL_WITH_TLS_SCT.value); // session type ID in toBytes()
303 daos.writeInt(data.length); in toBytes()
307 daos.writeInt(peerCertificates.length); in toBytes()
311 daos.writeInt(data.length); in toBytes()
316 daos.writeInt(1); in toBytes()
317 daos.writeInt(peerOcspStapledResponse.length); in toBytes()
320 daos.writeInt(0); in toBytes()
324 daos.writeInt(peerSignedCertificateTimestamp.length); in toBytes()
327 daos.writeInt(0); in toBytes()
/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/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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java153 dOut.writeInt(salt.length); in StoreEntry()
155 dOut.writeInt(iterationCount); in StoreEntry()
290 dOut.writeInt(salt.length); in getObject()
292 dOut.writeInt(iterationCount); in getObject()
350 dOut.writeInt(cEnc.length); in encodeCertificate()
407 dOut.writeInt(enc.length); in encodeKey()
758 dOut.writeInt(0); in saveStore()
762 dOut.writeInt(chain.length); in saveStore()
781 dOut.writeInt(b.length); in saveStore()
892 dOut.writeInt(version); in engineStore()
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DDiskBasedCacheTest.java62 DiskBasedCache.writeInt(baos, 0); in serializeInt()
63 DiskBasedCache.writeInt(baos, 19791214); in serializeInt()
64 DiskBasedCache.writeInt(baos, -20050711); in serializeInt()
65 DiskBasedCache.writeInt(baos, Integer.MIN_VALUE); in serializeInt()
66 DiskBasedCache.writeInt(baos, Integer.MAX_VALUE); in serializeInt()
/external/javassist/src/main/javassist/
DSerialVersionUID.java95 out.writeInt(classMods); in calculateDefault()
122 out.writeInt(mods); in calculateDefault()
130 out.writeInt(Modifier.STATIC); in calculateDefault()
150 out.writeInt(mods); in calculateDefault()
179 out.writeInt(mods); in calculateDefault()
/external/guava/guava-gwt/src/com/google/common/collect/
DLinkedHashMultimap_CustomFieldSerializer.java63 stream.writeInt(multimap.valueSetCapacity); in serialize()
64 stream.writeInt(multimap.keySet().size()); in serialize()
68 stream.writeInt(multimap.size()); in serialize()
/external/skia/src/core/
DSkWriteBuffer.cpp55 void SkBinaryWriteBuffer::writeInt(int32_t value) { in writeInt() function in SkBinaryWriteBuffer
143 this->writeInt(bitmap.width()); in writeBitmap()
144 this->writeInt(bitmap.height()); in writeBitmap()
178 this->writeInt(image->width()); in writeImage()
179 this->writeInt(image->height()); in writeImage()
/external/emma/core/java12/com/vladium/emma/data/
DDataFactory.java230 out.writeInt (NULL_ARRAY_LENGTH); in writeIntArray()
234 out.writeInt (length); in writeIntArray()
239 out.writeInt (array [i]); in writeIntArray()
248 out.writeInt (NULL_ARRAY_LENGTH); in writeBooleanArray()
252 out.writeInt (length); in writeBooleanArray()
692 out.writeInt (MAGIC); in writeFileHeader()
696 out.writeInt (IAppConstants.APP_MAJOR_VERSION); in writeFileHeader()
697 out.writeInt (IAppConstants.APP_MINOR_VERSION); in writeFileHeader()
698 out.writeInt (IAppConstants.APP_BUILD_ID); in writeFileHeader()
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java90 output.writeInt(0xCAFEBABE); // magic in ClassFileWriter()
401 output.writeInt(exceptions.length * 2 + 2); in writeThrows()
427 output.writeInt(b); in add32()
451 output.writeInt(startPos + 10, output.getPos() - startPos - 14); // code_length in codeEnd()
497 output.writeInt(data.length); in end()
502 output.writeInt(startPos + 2, output.getPos() - startPos - 6); in end()
668 output.writeInt(i); in addIntegerInfo()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
DMagicInstantiator.java240 in.writeInt(CONSTRUCTOR_CODE_ATTRIBUTE_LENGTH); // attribute length in writeExtendingClass()
243 in.writeInt(CONSTRUCTOR_CODE.length); // code length in writeExtendingClass()
256 in.writeInt(NEWINSTANCE_CODE_ATTRIBUTE_LENGTH); // attribute length in writeExtendingClass()
259 in.writeInt(NEWINSTANCE_CODE.length); // code length in writeExtendingClass()

123456