Home
last modified time | relevance | path

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

12345678

/external/robolectric/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/spdy/
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/spdy/
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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DMessageDigest2Test.java105 output.writeInt(0); // class modifiers in testSerializationSHA_DATA_2()
110 output.writeInt(9); // modifiers in testSerializationSHA_DATA_2()
114 output.writeInt(9); // modifiers in testSerializationSHA_DATA_2()
118 output.writeInt(1); // modifiers in testSerializationSHA_DATA_2()
122 output.writeInt(1); // modifiers in testSerializationSHA_DATA_2()
126 output.writeInt(1); // modifiers in testSerializationSHA_DATA_2()
130 output.writeInt(1); // modifiers in testSerializationSHA_DATA_2()
135 output.writeInt(8); // modifiers in testSerializationSHA_DATA_2()
140 output.writeInt(0); // modifiers in testSerializationSHA_DATA_2()
145 output.writeInt(1); // modifiers in testSerializationSHA_DATA_2()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java278 DexDataWriter.writeInt(output, (int)a32.getValue());
295 indexWriter.writeInt(offsetWriter.getPosition());
312 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
326 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
327 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
328 writer.writeInt(typeListSection.getNullableItemOffset(protoSection.getParameters(key)));
344 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
360 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
418 indexWriter.writeInt(typeSection.getItemIndex(classSection.getType(key)));
419 indexWriter.writeInt(classSection.getAccessFlags(key));
[all …]
DInstructionWriter.java261 writer.writeInt(instruction.getCodeOffset()); in write()
271 writer.writeInt(getReferenceIndex(instruction)); in write()
281 writer.writeInt(instruction.getNarrowLiteral()); in write()
291 writer.writeInt(instruction.getCodeOffset()); in write()
346 writer.writeInt(elements.size()); in write()
360 writer.writeInt(element.intValue()); in write()
384 writer.writeInt(element.getKey()); in write()
387 writer.writeInt(element.getOffset()); in write()
401 writer.writeInt(0); in write()
403 writer.writeInt(elements.get(0).getKey()); in write()
[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()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DHeaderItem.java87 out.writeInt(file.getFileSize()); in writeTo()
88 out.writeInt(SizeOf.HEADER_ITEM); in writeTo()
89 out.writeInt(DexFormat.ENDIAN_TAG); in writeTo()
97 out.writeInt(mapOff); in writeTo()
112 out.writeInt(dataSize); in writeTo()
113 out.writeInt(dataOff); in writeTo()
DClassDefItem.java211 out.writeInt(classIdx); in writeTo()
212 out.writeInt(accessFlags); in writeTo()
213 out.writeInt(superIdx); in writeTo()
214 out.writeInt(interOff); in writeTo()
215 out.writeInt(sourceFileIdx); in writeTo()
216 out.writeInt(annoOff); in writeTo()
217 out.writeInt(dataOff); in writeTo()
218 out.writeInt(staticValuesOff); in writeTo()
/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/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.java119 @Test public void writeInt() throws Exception {
120 sink.writeInt(0xabcdef01);
121 sink.writeInt(0x87654321);
128 sink.writeInt(0xabcdef01);
129 sink.writeInt(0x87654321);
138 sink.writeInt(0xabcdef01);
139 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/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/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/dexmaker/src/dx/java/com/android/dx/dex/code/
DSwitchData.java114 out.writeInt(firstCase); in writeTo()
129 out.writeInt(relTarget); in writeTo()
136 out.writeInt(cases.get(i)); in writeTo()
141 out.writeInt(relTarget); in writeTo()
/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()

12345678