Home
last modified time | relevance | path

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

1234567

/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()
/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.java308 DexDataWriter.writeInt(output, (int)a32.getValue());
325 indexWriter.writeInt(offsetWriter.getPosition());
342 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
356 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
357 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
358 writer.writeInt(typeListSection.getNullableItemOffset(protoSection.getParameters(key)));
374 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
390 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
448 indexWriter.writeInt(typeSection.getItemIndex(classSection.getType(key)));
449 indexWriter.writeInt(classSection.getAccessFlags(key));
[all …]
DInstructionWriter.java278 writer.writeInt(instruction.getCodeOffset()); in write()
288 writer.writeInt(getReferenceIndex(instruction)); in write()
298 writer.writeInt(instruction.getNarrowLiteral()); in write()
308 writer.writeInt(instruction.getCodeOffset()); in write()
376 writer.writeInt(elements.size()); in write()
390 writer.writeInt(element.intValue()); in write()
415 writer.writeInt(element.getKey()); in write()
418 writer.writeInt(element.getOffset()); in write()
438 writer.writeInt(0); in write()
440 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/icu/tools/
DZoneCompactor.java116 f.writeInt(0); in ZoneCompactor()
118 f.writeInt(0); in ZoneCompactor()
120 f.writeInt(0); in ZoneCompactor()
142 f.writeInt(offsets.get(actualZoneName)); in ZoneCompactor()
143 f.writeInt(lengths.get(actualZoneName)); in ZoneCompactor()
144 f.writeInt(0); // Used to be raw GMT offset. No longer used. in ZoneCompactor()
166 f.writeInt(index_offset); in ZoneCompactor()
168 f.writeInt(data_offset); in ZoneCompactor()
170 f.writeInt(zonetab_offset); in ZoneCompactor()
/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/skia/src/core/
DSkWriteBuffer.cpp64 void SkWriteBuffer::writeInt(int32_t value) { in writeInt() function in SkWriteBuffer
87 fWriter.writeInt(encoding); in writeEncodedString()
88 fWriter.writeInt(SkToU32(byteLength)); in writeEncodedString()
156 this->writeInt(bitmap.width()); in writeBitmap()
157 this->writeInt(bitmap.height()); in writeBitmap()
219 this->writeInt(image->width()); in writeImage()
220 this->writeInt(image->height()); in writeImage()
/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/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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/rbbi/
DBuildDictionaryFile.java793 out.writeInt(0); // version number in writeDictionaryFile()
796 out.writeInt(columnMapIndexes.length); in writeDictionaryFile()
800 out.writeInt(columnMapValues.length); in writeDictionaryFile()
804 out.writeInt(numCols); in writeDictionaryFile()
805 out.writeInt(numColGroups); in writeDictionaryFile()
807 out.writeInt(rowIndex.length); in writeDictionaryFile()
811 out.writeInt(rowIndexFlagsIndex.length); in writeDictionaryFile()
814 out.writeInt(rowIndexFlags.length); in writeDictionaryFile()
816 out.writeInt(rowIndexFlags[i]); in writeDictionaryFile()
818 out.writeInt(rowIndexShifts.length); in writeDictionaryFile()
[all …]
/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()

1234567