Home
last modified time | relevance | path

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

12345678910>>...13

/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/angle/src/libANGLE/
DProgramExecutable.cpp457 stream->writeInt(static_cast<uint32_t>(mAttributesTypeMask.to_ulong())); in save()
458 stream->writeInt(static_cast<uint32_t>(mAttributesMask.to_ulong())); in save()
459 stream->writeInt(static_cast<uint32_t>(mActiveAttribLocationsMask.to_ulong())); in save()
460 stream->writeInt(mMaxActiveAttribLocation); in save()
462 stream->writeInt(mFragmentInoutRange.low()); in save()
463 stream->writeInt(mFragmentInoutRange.high()); in save()
465 stream->writeInt(mLinkedGraphicsShaderStages.bits()); in save()
466 stream->writeInt(mLinkedComputeShaderStages.bits()); in save()
483 stream->writeInt(mGeometryShaderInvocations); in save()
484 stream->writeInt(mGeometryShaderMaxVertices); in save()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/metrics/
DReflexiveStatsEvent.java60 builder.writeInt(protocol); in buildEvent()
61 builder.writeInt(cipherSuite); in buildEvent()
62 builder.writeInt(duration); in buildEvent()
71 private static final OptionalMethod writeInt; field in ReflexiveStatsEvent.Builder
79 writeInt = new OptionalMethod(c_statsEvent_Builder, "writeInt", int.class);
108 public Builder writeInt(final int value) { in writeInt() method in ReflexiveStatsEvent.Builder
109 writeInt.invoke(this.builder, value); in writeInt()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/metrics/
DReflexiveStatsEvent.java62 builder.writeInt(protocol); in buildEvent()
63 builder.writeInt(cipherSuite); in buildEvent()
64 builder.writeInt(duration); in buildEvent()
76 private static final OptionalMethod writeInt; field in ReflexiveStatsEvent.Builder
84 writeInt = new OptionalMethod(c_statsEvent_Builder, "writeInt", int.class);
113 public Builder writeInt(final int value) { in writeInt() method in ReflexiveStatsEvent.Builder
114 writeInt.invoke(this.builder, value); in writeInt()
/external/okio/okio/src/commonMain/kotlin/okio/
DOptions.kt145 node.writeInt(selectChoiceCount) in <lambda>()
146 node.writeInt(prefixIndex) in <lambda>()
151 node.writeInt(rangeByte and 0xff) in <lambda>()
171 node.writeInt(indexes[rangeStart]) in <lambda>()
174 node.writeInt(-1 * (childNodesOffset + childNodes.intCount).toInt()) in <lambda>()
204 node.writeInt(-scanByteCount) in <lambda>()
205 node.writeInt(prefixIndex) in <lambda>()
208 node.writeInt(from[i] and 0xff) in <lambda>()
214 node.writeInt(indexes[fromIndex]) in <lambda>()
218 node.writeInt(-1 * (childNodesOffset + childNodes.intCount).toInt()) in <lambda>()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java398 DexDataWriter.writeInt(output, (int)a32.getValue());
415 indexWriter.writeInt(offsetWriter.getPosition());
432 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
446 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
447 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
448 writer.writeInt(typeListSection.getNullableItemOffset(protoSection.getParameters(key)));
464 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
480 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
538 indexWriter.writeInt(typeSection.getItemIndex(classSection.getType(key)));
539 indexWriter.writeInt(classSection.getAccessFlags(key));
[all …]
/external/llvm-project/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()
856 writeInt(IconCursorID++); in writeIconOrCursorGroupBody()
1036 writeInt<uint16_t>(Ctl.ID); in writeSingleDialogControl()
1038 writeInt<uint32_t>(Ctl.ID); in writeSingleDialogControl()
[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/turbine/java/com/google/turbine/bytecode/
DAttributeWriter.java95 output.writeInt(attribute.inners.size() * 8 + 2); in writeInnerClasses()
107 output.writeInt(2 + attribute.exceptions.size() * 2); in writeExceptionsAttribute()
116 output.writeInt(2); in writeSignatureAttribute()
122 output.writeInt(2); in writeConstantValue()
159 output.writeInt(data.length); in writeAnnotation()
168 output.writeInt(data.length); in writeAnnotationDefault()
183 output.writeInt(data.length); in writeParameterAnnotations()
189 output.writeInt(0); in writeDeprecated()
200 output.writeInt(data.length); in writeTypeAnnotation()
206 output.writeInt(attribute.parameters().size() * 4 + 1); in writeMethodParameters()
[all …]
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
DBundler.java49 parcel.writeInt(value); in writeToParcel()
53 parcel.writeInt(value); in writeToParcel()
61 parcel.writeInt(value); in writeToParcel()
73 parcel.writeInt(value ? 1 : 0); in writeToParcel()
/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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java176 randomAccessFile.writeInt(WavUtil.RIFF_FOURCC); in writeFileHeader()
177 randomAccessFile.writeInt(-1); in writeFileHeader()
178 randomAccessFile.writeInt(WavUtil.WAVE_FOURCC); in writeFileHeader()
179 randomAccessFile.writeInt(WavUtil.FMT_FOURCC); in writeFileHeader()
194 randomAccessFile.writeInt(WavUtil.DATA_FOURCC); in writeFileHeader()
195 randomAccessFile.writeInt(-1); in writeFileHeader()
/external/okio/okio/src/commonTest/kotlin/okio/
DAbstractBufferedSinkTest.kt72 @Test fun writeInt() { in writeInt() method
73 sink.writeInt(-0x543210ff) in writeInt()
74 sink.writeInt(-0x789abcdf) in writeInt()
81 sink.writeInt(-0x543210ff) in writeLastIntegerInSegment()
82 sink.writeInt(-0x789abcdf) in writeLastIntegerInSegment()
91 sink.writeInt(-0x543210ff) in writeIntegerDoesNotQuiteFitInSegment()
92 sink.writeInt(-0x789abcdf) in writeIntegerDoesNotQuiteFitInSegment()
/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/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/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/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/flac/
DPictureFrame.java116 dest.writeInt(pictureType); in writeToParcel()
119 dest.writeInt(width); in writeToParcel()
120 dest.writeInt(height); in writeToParcel()
121 dest.writeInt(depth); in writeToParcel()
122 dest.writeInt(colors); in writeToParcel()
/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 …]

12345678910>>...13