Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 1406) sorted by relevance

12345678910>>...57

/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
DMultipartTest.java60 StringBuffer output = new StringBuffer(); in testParts() local
62 output.append("--"); in testParts()
63 output.append(boundry); in testParts()
64 output.append(CRLF); in testParts()
66 output.append("Content-Disposition: form-data; name=\"stringpart\""); in testParts()
67 output.append(CRLF); in testParts()
68 output.append("Content-Type: text/plain; charset=US-ASCII"); in testParts()
69 output.append(CRLF); in testParts()
70 output.append("Content-Transfer-Encoding: 8bit"); in testParts()
71 output.append(CRLF); in testParts()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dzip_writer.cc151 io::CodedOutputStream output(raw_output_); in Write() local
152 output.WriteLittleEndian32(0x04034b50); // magic in Write()
153 WriteShort(&output, 10); // version needed to extract in Write()
154 WriteShort(&output, 0); // flags in Write()
155 WriteShort(&output, 0); // compression method: stored in Write()
156 WriteShort(&output, 0); // last modified time in Write()
157 WriteShort(&output, 0); // last modified date in Write()
158 output.WriteLittleEndian32(info.crc32); // crc-32 in Write()
159 output.WriteLittleEndian32(info.size); // compressed size in Write()
160 output.WriteLittleEndian32(info.size); // uncompressed size in Write()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_lite.cc167 io::CodedInputStream* input, uint32 tag, io::CodedOutputStream* output) { in SkipField() argument
172 output->WriteVarint32(tag); in SkipField()
173 output->WriteVarint64(value); in SkipField()
179 output->WriteVarint32(tag); in SkipField()
180 output->WriteLittleEndian64(value); in SkipField()
186 output->WriteVarint32(tag); in SkipField()
187 output->WriteVarint32(length); in SkipField()
191 output->WriteString(temp); in SkipField()
195 output->WriteVarint32(tag); in SkipField()
197 if (!SkipMessage(input, output)) return false; in SkipField()
[all …]
Dwire_format_lite.h170 io::CodedOutputStream* output);
180 io::CodedOutputStream* output);
243 #define output io::CodedOutputStream* output_arg macro
355 INL static void WriteTag(field_number, WireType type, output);
358 INL static void WriteInt32NoTag (int32 value, output);
359 INL static void WriteInt64NoTag (int64 value, output);
360 INL static void WriteUInt32NoTag (uint32 value, output);
361 INL static void WriteUInt64NoTag (uint64 value, output);
362 INL static void WriteSInt32NoTag (int32 value, output);
363 INL static void WriteSInt64NoTag (int64 value, output);
[all …]
Ddescriptor_database.h73 FileDescriptorProto* output) = 0;
79 FileDescriptorProto* output) = 0;
87 FileDescriptorProto* output) = 0;
146 FileDescriptorProto* output);
148 FileDescriptorProto* output);
151 FileDescriptorProto* output);
153 vector<int>* output);
178 vector<int>* output);
258 FileDescriptorProto* output);
287 string* output);
[all …]
Dmessage_lite.cc234 bool MessageLite::SerializeToCodedStream(io::CodedOutputStream* output) const { in SerializeToCodedStream()
236 return SerializePartialToCodedStream(output); in SerializeToCodedStream()
240 io::CodedOutputStream* output) const { in SerializePartialToCodedStream()
248 uint8* buffer = output->GetDirectBufferForNBytesAndAdvance(size); in SerializePartialToCodedStream()
256 int original_byte_count = output->ByteCount(); in SerializePartialToCodedStream()
257 SerializeWithCachedSizes(output); in SerializePartialToCodedStream()
258 if (output->HadError()) { in SerializePartialToCodedStream()
261 int final_byte_count = output->ByteCount(); in SerializePartialToCodedStream()
273 io::ZeroCopyOutputStream* output) const { in SerializeToZeroCopyStream()
274 io::CodedOutputStream encoder(output); in SerializeToZeroCopyStream()
[all …]
Ddescriptor_database.cc199 vector<int>* output) { in FindAllExtensionNumbers() argument
206 output->push_back(it->first.second); in FindAllExtensionNumbers()
268 FileDescriptorProto* output) { in FindFileByName() argument
269 return MaybeCopy(index_.FindFile(filename), output); in FindFileByName()
274 FileDescriptorProto* output) { in FindFileContainingSymbol() argument
275 return MaybeCopy(index_.FindSymbol(symbol_name), output); in FindFileContainingSymbol()
281 FileDescriptorProto* output) { in FindFileContainingExtension() argument
282 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension()
287 vector<int>* output) { in FindAllExtensionNumbers() argument
288 return index_.FindAllExtensionNumbers(extendee_type, output); in FindAllExtensionNumbers()
[all …]
/frameworks/base/core/java/android/util/
DBase64.java73 public byte[] output; field in Base64.Coder
166 if (decoder.op == decoder.output.length) { in decode()
167 return decoder.output; in decode()
173 System.arraycopy(decoder.output, 0, temp, 0, decoder.op); in decode()
242 public Decoder(int flags, byte[] output) { in Decoder() argument
243 this.output = output; in Decoder()
278 final byte[] output = this.output; in process()
302 output[op+2] = (byte) value; in process()
303 output[op+1] = (byte) (value >> 8); in process()
304 output[op] = (byte) (value >> 16); in process()
[all …]
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp74 std::string output; in TEST() local
75 StringOutputStream out(&output); in TEST()
79 EXPECT_THAT(output, HasSubstr("public static final int hey_man=0x01020000;")); in TEST()
80 EXPECT_THAT(output, HasSubstr("public static final int[] hey_dude={")); in TEST()
81 EXPECT_THAT(output, HasSubstr("public static final int hey_dude_cool_attr=0;")); in TEST()
99 std::string output; in TEST() local
100 StringOutputStream out(&output); in TEST()
104 EXPECT_THAT(output, HasSubstr("package com.android.internal;")); in TEST()
105 EXPECT_THAT(output, HasSubstr("public static final int one=0x01020000;")); in TEST()
106 EXPECT_THAT(output, Not(HasSubstr("two"))); in TEST()
[all …]
/frameworks/native/libs/gui/
DLayerState.cpp29 status_t layer_state_t::write(Parcel& output) const in write()
31 output.writeStrongBinder(surface); in write()
32 output.writeUint64(what); in write()
33 output.writeFloat(x); in write()
34 output.writeFloat(y); in write()
35 output.writeInt32(z); in write()
36 output.writeUint32(w); in write()
37 output.writeUint32(h); in write()
38 output.writeUint32(layerStack); in write()
39 output.writeFloat(alpha); in write()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp42 int16_t output[20]; in TEST() local
48 sourceFloat.output.connect(&sinkI16.input); in TEST()
50 int numOutputFrames = sizeof(output) / sizeof(int16_t); in TEST()
51 int32_t numRead = sinkI16.read(output, numOutputFrames); in TEST()
54 EXPECT_EQ(expected[i], output[i]); in TEST()
60 float output[100] = {}; in TEST() local
67 sourceFloat.output.connect(&monoToStereo.input); in TEST()
68 monoToStereo.output.connect(&sinkFloat.input); in TEST()
70 int32_t numRead = sinkFloat.read(output, 8); in TEST()
72 EXPECT_EQ(input[0], output[0]); in TEST()
[all …]
/frameworks/native/libs/input/
DInputWindow.cpp67 status_t InputWindowInfo::write(Parcel& output) const { in write()
69 output.writeInt32(0); in write()
72 output.writeInt32(1); in write()
73 status_t s = output.writeStrongBinder(token); in write()
76 output.writeString8(String8(name.c_str())); in write()
77 output.writeInt32(layoutParamsFlags); in write()
78 output.writeInt32(layoutParamsType); in write()
79 output.writeInt64(dispatchingTimeout); in write()
80 output.writeInt32(frameLeft); in write()
81 output.writeInt32(frameTop); in write()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java73 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput() argument
74 output.write("File Name: " + filename); in writeTestOutput()
75 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
76 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput()
78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput()
79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput()
80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput()
81 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput()
82 output.write(" Failed To Complete With No Error: " + in writeTestOutput()
[all …]
DMediaPlayerStreamingStressTest.java77 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput() argument
78 output.write("URL: " + filename); in writeTestOutput()
79 output.write(" Complete: " + CodecTest.onCompleteSuccess); in writeTestOutput()
80 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput()
81 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput()
82 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput()
83 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput()
84 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput()
85 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput()
86 output.write("\n"); in writeTestOutput()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DColorSpace.java42 ByteBuffer input, ByteBuffer output, int width, int height) { in convertYuv420pToRgba8888() argument
44 expectOutputSize(output, width * height * 4); in convertYuv420pToRgba8888()
45 nativeYuv420pToRgba8888(input, output, width, height); in convertYuv420pToRgba8888()
61 ByteBuffer input, ByteBuffer output, int width, int height) { in convertArgb8888ToRgba8888() argument
63 expectOutputSize(output, width * height * 4); in convertArgb8888ToRgba8888()
64 nativeArgb8888ToRgba8888(input, output, width, height); in convertArgb8888ToRgba8888()
80 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToHsva8888() argument
82 expectOutputSize(output, width * height * 4); in convertRgba8888ToHsva8888()
83 nativeRgba8888ToHsva8888(input, output, width, height); in convertRgba8888ToHsva8888()
99 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToYcbcra8888() argument
[all …]
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py65 output = BucketOutput()
69 output += '+ "'
71 output += '"('
73 output += '+ "|'
76 output += '('
79 output += '?:'
84 output.addPipe()
88 output += '\\\\' # escape the '-' character.
89 output += letter
92 output.addPipe()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DFieldCodec.cs54 …return new FieldCodec<string>(input => input.ReadString(), (output, value) => output.WriteString(v… in ForString()
64 …return new FieldCodec<ByteString>(input => input.ReadBytes(), (output, value) => output.WriteBytes… in ForBytes()
74 …return new FieldCodec<bool>(input => input.ReadBool(), (output, value) => output.WriteBool(value),… in ForBool()
84 …return new FieldCodec<int>(input => input.ReadInt32(), (output, value) => output.WriteInt32(value)… in ForInt32()
94 …return new FieldCodec<int>(input => input.ReadSInt32(), (output, value) => output.WriteSInt32(valu… in ForSInt32()
104 …return new FieldCodec<uint>(input => input.ReadFixed32(), (output, value) => output.WriteFixed32(v… in ForFixed32()
114 …return new FieldCodec<int>(input => input.ReadSFixed32(), (output, value) => output.WriteSFixed32(… in ForSFixed32()
124 …return new FieldCodec<uint>(input => input.ReadUInt32(), (output, value) => output.WriteUInt32(val… in ForUInt32()
134 …return new FieldCodec<long>(input => input.ReadInt64(), (output, value) => output.WriteInt64(value… in ForInt64()
144 …return new FieldCodec<long>(input => input.ReadSInt64(), (output, value) => output.WriteSInt64(val… in ForSInt64()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc102 bool WriteToOutput(ZeroCopyOutputStream* output, const void* data, int size);
106 void WriteString(ZeroCopyOutputStream* output, const string& str);
113 int WriteStuff(ZeroCopyOutputStream* output);
119 int WriteStuffLarge(ZeroCopyOutputStream* output);
136 bool IoTest::WriteToOutput(ZeroCopyOutputStream* output, in WriteToOutput() argument
145 if (!output->Next(&out, &out_size)) { in WriteToOutput()
152 output->BackUp(out_size - in_size); in WriteToOutput()
199 void IoTest::WriteString(ZeroCopyOutputStream* output, const string& str) { in WriteString() argument
200 EXPECT_TRUE(WriteToOutput(output, str.c_str(), str.size())); in WriteString()
210 int IoTest::WriteStuff(ZeroCopyOutputStream* output) { in WriteStuff() argument
[all …]
Dprinter_unittest.cc58 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST() local
59 Printer printer(&output, '\0'); in TEST()
67 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST() local
70 Printer printer(&output, '\0'); in TEST()
79 buffer[output.ByteCount()] = '\0'; in TEST()
92 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST() local
96 Printer printer(&output, '$'); in TEST()
105 buffer[output.ByteCount()] = '\0'; in TEST()
120 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST() local
123 Printer printer(&output, '$'); in TEST()
[all …]
/frameworks/ml/nn/runtime/test/generated/models/
Dprelu.model.cpp9 auto output = model->addOperand(&type0); in CreateModel() local
13 model->addOperation(ANEURALNETWORKS_PRELU, {input, alpha}, {output}); in CreateModel()
17 {output}); in CreateModel()
32 auto output = model->addOperand(&type0); in CreateModel_relaxed() local
36 model->addOperation(ANEURALNETWORKS_PRELU, {input, alpha}, {output}); in CreateModel_relaxed()
40 {output}); in CreateModel_relaxed()
58 auto output = model->addOperand(&type4); in CreateModel_quant8() local
62 model->addOperation(ANEURALNETWORKS_PRELU, {input, alpha}, {output}); in CreateModel_quant8()
66 {output}); in CreateModel_quant8()
82 auto output = model->addOperand(&type5); in CreateModel_quant8_2() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs258 var output = new CodedOutputStream(memoryStream); in MapWithOnlyValue()
259output.WriteTag(TestMap.MapInt32ForeignMessageFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
262 output.WriteLength(2 + nestedMessage.CalculateSize()); in MapWithOnlyValue()
263 output.WriteTag(2, WireFormat.WireType.LengthDelimited); in MapWithOnlyValue()
264 output.WriteMessage(nestedMessage); in MapWithOnlyValue()
265 output.Flush(); in MapWithOnlyValue()
276 var output = new CodedOutputStream(memoryStream); in MapWithOnlyKey_PrimitiveValue()
277 output.WriteTag(TestMap.MapInt32DoubleFieldNumber, WireFormat.WireType.LengthDelimited); in MapWithOnlyKey_PrimitiveValue()
279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
280 output.WriteTag(1, WireFormat.WireType.Varint); in MapWithOnlyKey_PrimitiveValue()
[all …]
DCodedInputStreamTest.cs272 CodedOutputStream output = new CodedOutputStream(ms); in ReadMaliciouslyLargeBlob()
275 output.WriteRawVarint32(tag); in ReadMaliciouslyLargeBlob()
276 output.WriteRawVarint32(0x7FFFFFFF); in ReadMaliciouslyLargeBlob()
277 output.WriteRawBytes(new byte[32]); // Pad with a few random bytes. in ReadMaliciouslyLargeBlob()
278 output.Flush(); in ReadMaliciouslyLargeBlob()
346 CodedOutputStream output = new CodedOutputStream(ms); in ReadInvalidUtf8()
349 output.WriteRawVarint32(tag); in ReadInvalidUtf8()
350 output.WriteRawVarint32(1); in ReadInvalidUtf8()
351 output.WriteRawBytes(new byte[] {0x80}); in ReadInvalidUtf8()
352 output.Flush(); in ReadInvalidUtf8()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsFileLoggerTest.java63 JSONObject output = getOutputFileAsJson(); in testEmptyStorage() local
64 assertThat(output.getLong(DiskStatsFileLogger.PHOTOS_KEY)).isEqualTo(0L); in testEmptyStorage()
65 assertThat(output.getLong(DiskStatsFileLogger.VIDEOS_KEY)).isEqualTo(0L); in testEmptyStorage()
66 assertThat(output.getLong(DiskStatsFileLogger.AUDIO_KEY)).isEqualTo(0L); in testEmptyStorage()
67 assertThat(output.getLong(DiskStatsFileLogger.DOWNLOADS_KEY)).isEqualTo(0L); in testEmptyStorage()
68 assertThat(output.getLong(DiskStatsFileLogger.SYSTEM_KEY)).isEqualTo(0L); in testEmptyStorage()
69 assertThat(output.getLong(DiskStatsFileLogger.MISC_KEY)).isEqualTo(0L); in testEmptyStorage()
70 assertThat(output.getLong(DiskStatsFileLogger.APP_SIZE_AGG_KEY)).isEqualTo(0L); in testEmptyStorage()
71 assertThat(output.getLong(DiskStatsFileLogger.APP_CACHE_AGG_KEY)).isEqualTo(0L); in testEmptyStorage()
73 output.getJSONArray(DiskStatsFileLogger.PACKAGE_NAMES_KEY).length()).isEqualTo(0L); in testEmptyStorage()
[all …]
/frameworks/base/cmds/idmap2/
Dstatic-checks.sh32 local output="$(eval "$cmd")"
33 if [[ -z "${output}" ]]; then
37 echo "${output}"
50 local output="$(clang-format -style=file "$path" | diff $path -)"
51 if [[ "$output" ]]; then
53 echo "$output"
62 local output="$(bpfmt -d $bp_files)"
63 if [[ "$output" ]]; then
64 echo "$output"
73 local output="$($cpplint --quiet $cpp_files 2>&1 >/dev/null | grep -v \
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DCodedOutputStreamTest.java85 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() local
86 output.writeRawVarint32((int) value); in assertWriteVarint()
87 output.flush(); in assertWriteVarint()
97 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint() local
98 output.writeRawVarint64(value); in assertWriteVarint()
99 output.flush(); in assertWriteVarint()
112 CodedOutputStream output = in assertWriteVarint() local
114 output.writeRawVarint32((int) value); in assertWriteVarint()
115 output.flush(); in assertWriteVarint()
121 CodedOutputStream output = in assertWriteVarint() local
[all …]

12345678910>>...57