Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/angle/src/common/
DCompiledShaderState.cpp68 stream->writeInt(var.type); in WriteShaderVar()
69 stream->writeInt(var.precision); in WriteShaderVar()
75 stream->writeInt<size_t>(var.fields.size()); in WriteShaderVar()
83 stream->writeInt(var.location); in WriteShaderVar()
85 stream->writeInt(var.binding); in WriteShaderVar()
86 stream->writeInt(var.imageUnitFormat); in WriteShaderVar()
87 stream->writeInt(var.offset); in WriteShaderVar()
92 stream->writeInt(var.index); in WriteShaderVar()
99 stream->writeInt(var.getFlattenedOffsetInParentArrays()); in WriteShaderVar()
100 stream->writeInt(var.id); in WriteShaderVar()
[all …]
/external/nullaway/jar-infer/jar-infer-lib/src/main/java/com/uber/nullaway/jarinfer/
DStubxWriter.java42 out.writeInt(VERSION_0_FILE_MAGIC_NUMBER); in write()
61 out.writeInt(numStringEntries); in write()
71 out.writeInt(packageAnnotationSize); in write()
75 out.writeInt(encodingDictionary.get(entry.getKey())); in write()
76 out.writeInt(encodingDictionary.get(importedAnnotations.get(annot))); in write()
84 out.writeInt(typeAnnotationSize); in write()
88 out.writeInt(encodingDictionary.get(entry.getKey())); in write()
89 out.writeInt(encodingDictionary.get(importedAnnotations.get(annot))); in write()
99 out.writeInt(methodAnnotationSize); in write()
103 out.writeInt(encodingDictionary.get(entry.getKey())); in write()
[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 …]
/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()
63 builder.writeInt(source); in buildEvent()
72 private static final OptionalMethod writeInt; field in ReflexiveStatsEvent.Builder
80 writeInt = new OptionalMethod(c_statsEvent_Builder, "writeInt", int.class);
109 public Builder writeInt(final int value) { in writeInt() method in ReflexiveStatsEvent.Builder
110 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()
65 builder.writeInt(source); in buildEvent()
77 private static final OptionalMethod writeInt; field in ReflexiveStatsEvent.Builder
85 writeInt = new OptionalMethod(c_statsEvent_Builder, "writeInt", int.class);
114 public Builder writeInt(final int value) { in writeInt() method in ReflexiveStatsEvent.Builder
115 writeInt.invoke(this.builder, value); in writeInt()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelTest.java85 parcel.writeInt(Integer.MIN_VALUE); in testReadWriteNumbers()
200 parcel.writeInt(val); in testReadWriteSingleInt()
207 parcel.writeInt(1); in testFullyOverwritten()
211 parcel.writeInt(4); in testFullyOverwritten()
231 parcel.writeInt(123); in testReadWithoutRewinding()
244 parcel.writeInt(1); in testWriteThenReadIsOkIfNotAtEnd()
245 parcel.writeInt(2); in testWriteThenReadIsOkIfNotAtEnd()
246 parcel.writeInt(3); in testWriteThenReadIsOkIfNotAtEnd()
247 parcel.writeInt(4); in testWriteThenReadIsOkIfNotAtEnd()
249 parcel.writeInt(5); in testWriteThenReadIsOkIfNotAtEnd()
[all …]
/external/angle/src/libANGLE/
DProgramExecutable.cpp549 stream->writeInt(static_cast<uint32_t>(mAttributesTypeMask.to_ulong())); in save()
550 stream->writeInt(static_cast<uint32_t>(mAttributesMask.to_ulong())); in save()
551 stream->writeInt(static_cast<uint32_t>(mActiveAttribLocationsMask.to_ulong())); in save()
552 stream->writeInt(mMaxActiveAttribLocation); in save()
554 stream->writeInt(mFragmentInoutRange.low()); in save()
555 stream->writeInt(mFragmentInoutRange.high()); in save()
561 stream->writeInt(mAdvancedBlendEquations.bits()); in save()
563 stream->writeInt(mLinkedShaderStages.bits()); in save()
568 stream->writeInt(mGeometryShaderInvocations); in save()
569 stream->writeInt(mGeometryShaderMaxVertices); in save()
[all …]
DMemoryProgramCache.cpp41 stream->writeInt(binding.second); in WriteProgramBindings()
50 stream->writeInt(binding.second.location); in WriteProgramAliasedBindings()
59 stream->writeInt(loc.index); in WriteVariableLocations()
60 stream->writeInt(loc.arrayIndex); in WriteVariableLocations()
88 hashStream.writeInt(angle::GetANGLESHVersion()); in ComputeHash()
89 hashStream.writeInt(context->getClientMajorVersion()); in ComputeHash()
90 hashStream.writeInt(context->getClientMinorVersion()); in ComputeHash()
103 hashStream.writeInt(program->getState().getTransformFeedbackBufferMode()); in ComputeHash()
/external/skia/tests/
DDescriptorTest.cpp154 writer.writeInt(0); // fChecksum in DEF_TEST()
164 writer.writeInt(0); // fChecksum in DEF_TEST()
165 writer.writeInt(4000); // fLength in DEF_TEST()
166 writer.writeInt(0); // fCount in DEF_TEST()
176 writer.writeInt(0); // fChecksum in DEF_TEST()
177 writer.writeInt(3); // fLength in DEF_TEST()
178 writer.writeInt(0); // fCount in DEF_TEST()
188 writer.writeInt(0); // fChecksum in DEF_TEST()
189 writer.writeInt(20); // fLength in DEF_TEST()
190 writer.writeInt(10); // fCount in DEF_TEST()
[all …]
/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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/
DDexWriter.java472 DexDataWriter.writeInt(output, (int)a32.getValue());
489 indexWriter.writeInt(offsetWriter.getPosition());
506 writer.writeInt(stringSection.getItemIndex(typeSection.getString(entry.getKey())));
520 writer.writeInt(stringSection.getItemIndex(protoSection.getShorty(key)));
521 writer.writeInt(typeSection.getItemIndex(protoSection.getReturnType(key)));
522 writer.writeInt(typeListSection.getNullableItemOffset(protoSection.getParameters(key)));
538 writer.writeInt(stringSection.getItemIndex(fieldSection.getName(key)));
554 writer.writeInt(stringSection.getItemIndex(methodSection.getName(key)));
631 restrictionsWriter.writeInt(0);
646 offsetsWriter.writeInt(0);
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DAttributeWriter.java109 output.writeInt(attribute.inners.size() * 8 + 2); in writeInnerClasses()
121 output.writeInt(2 + attribute.exceptions.size() * 2); in writeExceptionsAttribute()
130 output.writeInt(2); in writeSignatureAttribute()
136 output.writeInt(2); in writeConstantValue()
179 output.writeInt(data.length); in writeAnnotation()
189 output.writeInt(data.length); in writeAnnotationDefault()
205 output.writeInt(data.length); in writeParameterAnnotations()
211 output.writeInt(0); in writeDeprecated()
222 output.writeInt(data.length); in writeTypeAnnotation()
228 output.writeInt(attribute.parameters().size() * 4 + 1); in writeMethodParameters()
[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()
/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()
/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/repackaged/platform/src/test/java/com/android/org/conscrypt/metrics/
DMetricsTest.java43 .writeInt(1) // protocol in test_reflexiveEvent()
44 .writeInt(2) // cipher suite in test_reflexiveEvent()
45 .writeInt(100) // duration in test_reflexiveEvent()
46 .writeInt(3) // source in test_reflexiveEvent()
/external/conscrypt/platform/src/test/java/org/conscrypt/metrics/
DMetricsTest.java39 .writeInt(1) // protocol in test_reflexiveEvent()
40 .writeInt(2) // cipher suite in test_reflexiveEvent()
41 .writeInt(100) // duration in test_reflexiveEvent()
42 .writeInt(3) // source in test_reflexiveEvent()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java178 randomAccessFile.writeInt(WavUtil.RIFF_FOURCC); in writeFileHeader()
179 randomAccessFile.writeInt(-1); in writeFileHeader()
180 randomAccessFile.writeInt(WavUtil.WAVE_FOURCC); in writeFileHeader()
181 randomAccessFile.writeInt(WavUtil.FMT_FOURCC); in writeFileHeader()
196 randomAccessFile.writeInt(WavUtil.DATA_FOURCC); in writeFileHeader()
197 randomAccessFile.writeInt(-1); in writeFileHeader()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/audio/
DTeeAudioProcessor.java178 randomAccessFile.writeInt(WavUtil.RIFF_FOURCC); in writeFileHeader()
179 randomAccessFile.writeInt(-1); in writeFileHeader()
180 randomAccessFile.writeInt(WavUtil.WAVE_FOURCC); in writeFileHeader()
181 randomAccessFile.writeInt(WavUtil.FMT_FOURCC); in writeFileHeader()
196 randomAccessFile.writeInt(WavUtil.DATA_FOURCC); in writeFileHeader()
197 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/conscrypt/common/src/main/java/org/conscrypt/
DNativeSslSession.java307 daos.writeInt(OPEN_SSL_WITH_TLS_SCT.value); // session type ID in toBytes()
311 daos.writeInt(data.length); in toBytes()
315 daos.writeInt(peerCertificates.length); in toBytes()
319 daos.writeInt(data.length); in toBytes()
324 daos.writeInt(1); in toBytes()
325 daos.writeInt(peerOcspStapledResponse.length); in toBytes()
328 daos.writeInt(0); in toBytes()
332 daos.writeInt(peerSignedCertificateTimestamp.length); in toBytes()
335 daos.writeInt(0); in toBytes()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeSslSession.java308 daos.writeInt(OPEN_SSL_WITH_TLS_SCT.value); // session type ID in toBytes()
312 daos.writeInt(data.length); in toBytes()
316 daos.writeInt(peerCertificates.length); in toBytes()
320 daos.writeInt(data.length); in toBytes()
325 daos.writeInt(1); in toBytes()
326 daos.writeInt(peerOcspStapledResponse.length); in toBytes()
329 daos.writeInt(0); in toBytes()
333 daos.writeInt(peerSignedCertificateTimestamp.length); in toBytes()
336 daos.writeInt(0); in toBytes()

12345678910>>...14