Home
last modified time | relevance | path

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

12345678

/external/libgdx/gdx/src/com/badlogic/gdx/input/
DRemoteSender.java66 out.writeInt(ACCEL); in sendUpdate()
70 out.writeInt(COMPASS); in sendUpdate()
74 out.writeInt(SIZE); in sendUpdate()
77 out.writeInt(GYRO); in sendUpdate()
94 out.writeInt(KEY_DOWN); in keyDown()
95 out.writeInt(keycode); in keyDown()
111 out.writeInt(KEY_UP); in keyUp()
112 out.writeInt(keycode); in keyUp()
128 out.writeInt(KEY_TYPED); in keyTyped()
145 out.writeInt(TOUCH_DOWN); in touchDown()
[all …]
/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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/ktx/
DKTXProcessor.java303 out.writeInt(totalSize); in create()
308 out.writeInt(0x04030201); in create()
309 out.writeInt(glType); in create()
310 out.writeInt(glTypeSize); in create()
311 out.writeInt(glFormat); in create()
312 out.writeInt(glInternalFormat); in create()
313 out.writeInt(glBaseInternalFormat); in create()
314 out.writeInt(texWidth); in create()
315 out.writeInt(isAlphaAtlas ? (2 * texHeight) : texHeight); in create()
316 out.writeInt(0); // depth (not supported) in create()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DPixmapIO.java87 out.writeInt(pixmap.getWidth()); in write()
88 out.writeInt(pixmap.getHeight()); in write()
89 out.writeInt(Format.toGdx2DPixmapFormat(pixmap.getFormat())); in write()
228 buffer.writeInt(IHDR); in write()
229 buffer.writeInt(pixmap.getWidth()); in write()
230 buffer.writeInt(pixmap.getHeight()); in write()
238 buffer.writeInt(IDAT); in write()
308 buffer.writeInt(IEND); in write()
335 target.writeInt(buffer.size() - 4); in endChunk()
337 target.writeInt((int)crc.getValue()); in endChunk()
/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/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/
DDataOutputStream.java63 writeInt(Numbers.floatToIntBits(v)); in writeFloat()
66 public void writeInt (int v) throws IOException { in writeInt() method in DataOutputStream
74 writeInt((int)(v >> 32L)); in writeLong()
75 writeInt((int)v); in writeLong()
/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/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/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 …]

12345678