/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A D | writertest.cpp | 27 Writer<StringBuffer> writer(buffer); in TEST() local 90 Writer<StringBuffer> writer(buffer); in TEST() local 171 Writer<OStreamWrapper> writer(os); in TEST() local 201 Writer<StringBuffer> writer(buffer); in TEST() local 209 Writer<StringBuffer> writer(buffer); in TEST() local 217 Writer<StringBuffer> writer(buffer); in TEST() local 224 Writer<StringBuffer> writer(buffer); in TEST() local 252 Writer<StringBuffer> writer(buffer); in TEST() local 274 Writer<StringBuffer> writer(buffer); in TEST() local 288 Writer<StringBuffer> writer(buffer); in TEST() local [all …]
|
H A D | prettywritertest.cpp | 44 PrettyWriter<StringBuffer> writer(buffer); in TEST() local 53 PrettyWriter<StringBuffer> writer(buffer); in TEST() local 80 PrettyWriter<StringBuffer> writer(buffer); in TEST() local 90 PrettyWriter<StringBuffer> writer(buffer); in TEST() local 129 PrettyWriter<OStreamWrapper> writer(os); in TEST() local 144 PrettyWriter<FileWriteStream> writer(os); in TEST() local
|
/aosp14/frameworks/base/tools/aapt2/format/binary/ |
H A D | ResEntryWriter_test.cpp | 38 std::vector<int32_t> WriteAllEntries(const ResourceTableView& table, ResEntryWriter& writer) { in WriteAllEntries() 61 SequentialResEntryWriter<false> writer(&out); in TEST_F() local 73 SequentialResEntryWriter<true> writer(&out); in TEST_F() local 102 SequentialResEntryWriter<false> writer(&out); in TEST_F() local 113 SequentialResEntryWriter<true> writer(&out); in TEST_F() local 132 DeduplicateItemsResEntryWriter<false> writer(&out); in TEST_F() local 143 DeduplicateItemsResEntryWriter<true> writer(&out); in TEST_F() local 171 DeduplicateItemsResEntryWriter<false> writer(&out); in TEST_F() local 182 DeduplicateItemsResEntryWriter<true> writer(&out); in TEST_F() local
|
/aosp12/build/make/tools/warn/ |
H A D | html_writer.py | 105 def writer(text): function 125 def dump_html_epilogue(writer): argument 254 def dump_stats(writer, warn_patterns): argument 288 def emit_buttons(writer): argument 308 def dump_fixed(writer, warn_patterns): argument 394 def emit_warning_array(name, writer, warn_patterns): argument 404 def emit_warning_arrays(writer, warn_patterns): argument 561 def emit_const_string(name, value, writer): argument 566 def emit_const_int_array(name, array, writer): argument 574 def emit_const_string_array(name, array, writer): argument [all …]
|
/aosp12/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/ |
H A D | PackedTableReaderWriterTest.java | 104 PackedTableWriter writer = PackedTableWriter.create( in entryGetValue_int() local 123 PackedTableWriter writer = PackedTableWriter.create( in entryGetValue_long() local 153 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 9, signedValue, null); in valueSizeMax_unsigned() local 177 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null); in valueSizeMax_signed() local 305 PackedTableWriter writer = in findIntValueEntry() local 329 PackedTableWriter writer = in findIntValueEntryDuplicateKeys() local 371 PackedTableWriter writer = in findLongValueEntry() local 400 PackedTableWriter writer = in entryBasicInfo_int() local 422 PackedTableWriter writer = in entryBasicInfo_long() local 467 PackedTableWriter writer = in entryFindNearbyEntry_intMatcher() local [all …]
|
H A D | IntValuePackedTableTest.java | 48 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 4, signedValue, null); in valueSizeTooBig() local 65 try (PackedTableWriter writer = PackedTableWriter.create(baos, 5, 9, signedValue, null)) { in valueSizeMax_unsigned() 88 try (PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null)) { in valueSizeMax_signed() 110 try (PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null)) { in addEntry_outOfOrder() 132 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, sharedData); in getSharedData() local 144 try (PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null)) { in getEntry_unsignedValue() 163 try (PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null)) { in getEntryByIndex() 186 try (PackedTableWriter writer = PackedTableWriter.create(baos, 3, 4, signedValue, null)) { in getEntry_signedValue() 205 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null); in getEntry_emptyTable() local 220 PackedTableWriter writer = PackedTableWriter.create(baos, 2, keyBits, signedValue, null); in getEntry_badKey() local [all …]
|
/aosp12/system/libziparchive/ |
H A D | zip_writer_test.cc | 49 ZipWriter writer(file_); in TEST_F() local 76 ZipWriter writer(file_); in TEST_F() local 119 ZipWriter writer(file_); in TEST_F() local 151 ZipWriter writer(file_); in TEST_F() local 181 ZipWriter writer(file_); in TEST_F() local 201 ZipWriter writer(file_); in TEST_F() local 231 ZipWriter writer(file_); in TEST_F() local 265 ZipWriter writer(file_); in TEST_F() local 292 ZipWriter writer(file_); in TEST_F() local 299 ZipWriter writer(file_); in TEST_F() local [all …]
|
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/ |
H A D | OveruseConfigurationCache.java | 71 public void dump(IndentingPrintWriter writer) { in dump() 92 dumpPerStateBytes(mGenericIoThresholdsByComponent.valueAt(i), writer); in dump() local 100 dumpPerStateBytes(mIoThresholdsBySystemPackages.valueAt(i), writer); in dump() local 108 dumpPerStateBytes(mIoThresholdsByVendorPackages.valueAt(i), writer); in dump() local 117 dumpPerStateBytes(mIoThresholdsByAppCategoryType.valueAt(i), writer); in dump() local 335 IndentingPrintWriter writer) { in dumpPerStateBytes()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | HealthStatsBatteryStatsWriter.java | 139 final HealthStatsWriter writer = new HealthStatsWriter(PidHealthStats.CONSTANTS); in writeUid() local 147 final HealthStatsWriter writer = new HealthStatsWriter(ProcessHealthStats.CONSTANTS); in writeUid() local 155 final HealthStatsWriter writer = new HealthStatsWriter(PackageHealthStats.CONSTANTS); in writeUid() local 426 final HealthStatsWriter writer = new HealthStatsWriter(ServiceHealthStats.CONSTANTS); in writePkg() local 458 private void addTimer(HealthStatsWriter writer, int key, BatteryStats.Timer timer) { in addTimer() 468 private void addTimers(HealthStatsWriter writer, int key, String name, in addTimers()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CaptureDataSerializer.java | 48 public void write(Writer writer) throws IOException; in write() 58 StringWriter writer = new StringWriter(); in toString() local 70 FileWriter writer = new FileWriter(file, true); in toFile() local 91 Writer writer) { in dumpMetadata() 114 Writer writer) { in dumpMetadata() 164 private static void dumpMetadata(Writeable metadata, Writer writer) { in dumpMetadata()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | HealthStatsBatteryStatsWriter.java | 139 final HealthStatsWriter writer = new HealthStatsWriter(PidHealthStats.CONSTANTS); in writeUid() local 147 final HealthStatsWriter writer = new HealthStatsWriter(ProcessHealthStats.CONSTANTS); in writeUid() local 155 final HealthStatsWriter writer = new HealthStatsWriter(PackageHealthStats.CONSTANTS); in writeUid() local 426 final HealthStatsWriter writer = new HealthStatsWriter(ServiceHealthStats.CONSTANTS); in writePkg() local 458 private void addTimer(HealthStatsWriter writer, int key, BatteryStats.Timer timer) { in addTimer() 468 private void addTimers(HealthStatsWriter writer, int key, String name, in addTimers()
|
/aosp12/system/linkerconfig/modules/tests/ |
H A D | namespace_test.cc | 83 ConfigWriter writer; in TEST() local 92 ConfigWriter writer; in TEST() local 103 ConfigWriter writer; in TEST() local 122 ConfigWriter writer; in TEST() local 139 ConfigWriter writer; in TEST() local
|
H A D | configwriter_test.cc | 25 android::linkerconfig::modules::ConfigWriter writer; in TEST() local 33 android::linkerconfig::modules::ConfigWriter writer; in TEST() local
|
/aosp12/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | argument_encoder.h | 28 explicit ArgumentEncoder(MessageWriter* writer) : writer_{writer} {} in ArgumentEncoder() 46 explicit ArgumentEncoder(MessageWriter* writer) : writer_{writer} {} in ArgumentEncoder() 66 Return (*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() 74 Return (Class::*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() 82 Return (Class::*)(Args...) const, MessageWriter* writer) { in MakeArgumentEncoder() 89 inline ArgumentEncoder<Signature> MakeArgumentEncoder(MessageWriter* writer) { in MakeArgumentEncoder()
|
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
H A D | cow_api_test.cpp | 68 CowWriter writer(options); in TEST_F() local 110 CowWriter writer(options); in TEST_F() local 188 CowWriter writer(options); in TEST_F() local 268 CowWriter writer(options); in TEST_F() local 308 CowWriter writer(options); in TEST_P() local 385 CowWriter writer(options); in TEST_P() local 449 CowWriter writer(options); in TEST_F() local 513 CowWriter writer(options); in TEST_F() local 556 CowWriter writer(options); in TEST_P() local 586 CowWriter writer(options); in TEST_F() local [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/util/dump/ |
H A D | DumpableContainerImpl.java | 99 private int dumpNumberDumpables(IndentingPrintWriter writer) { in dumpNumberDumpables() 112 public void listDumpables(String prefix, PrintWriter writer) { in listDumpables() 131 public void dumpAllDumpables(String prefix, PrintWriter writer, String[] args) { in dumpAllDumpables() 148 private void indentAndDump(IndentingPrintWriter writer, Dumpable dumpable, String[] args) { in indentAndDump() 161 public void dumpOneDumpable(String prefix, PrintWriter writer, String dumpableName, in dumpOneDumpable()
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | cow_api_test.cpp | 68 CowWriter writer(options); in TEST_F() local 147 CowWriter writer(options); in TEST_F() local 184 CowWriter writer(options); in TEST_F() local 248 CowWriter writer(options); in TEST_F() local 291 CowWriter writer(options); in TEST_P() local 321 CowWriter writer(options); in TEST_F() local 347 auto writer = std::make_unique<CowWriter>(options); in TEST_F() local 413 auto writer = std::make_unique<CowWriter>(options); in TEST_F() local 467 auto writer = std::make_unique<CowWriter>(options); in TEST_F() local 520 auto writer = std::make_unique<CowWriter>(options); in TEST_F() local [all …]
|
H A D | snapshot_reader_test.cpp | 64 void WriteCow(ISnapshotWriter* writer) { in WriteCow() 73 void TestBlockReads(ISnapshotWriter* writer) { in TestBlockReads() 107 void TestByteReads(ISnapshotWriter* writer) { in TestByteReads() 132 void TestReads(ISnapshotWriter* writer) { in TestReads() 158 auto writer = std::make_unique<CompressedSnapshotWriter>(options); in TEST_F() local
|
/aosp14/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_reader_test.cpp | 64 void WriteCow(ISnapshotWriter* writer) { in WriteCow() 75 void TestBlockReads(ISnapshotWriter* writer) { in TestBlockReads() 120 void TestByteReads(ISnapshotWriter* writer) { in TestByteReads() 145 void TestReads(ISnapshotWriter* writer) { in TestReads() 177 auto writer = std::make_unique<CompressedSnapshotWriter>(options); in TEST_F() local
|
/aosp12/system/tools/aidl/ |
H A D | code_writer_unittest.cpp | 32 CodeWriter& writer = *ptr; in TEST() local 41 CodeWriter& writer = *ptr; in TEST() local 53 CodeWriter& writer = *ptr; in TEST() local
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 105 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testBeginSnapshot() local 119 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testEndSnapshot() local 132 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testStartTiming() local 172 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementLong() local 193 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementFloat() local 214 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementString() local 235 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testSimpleSequence() local 267 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testLongSequence() local 353 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testOutOfOrderSequence() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 105 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testBeginSnapshot() local 119 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testEndSnapshot() local 132 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testStartTiming() local 172 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementLong() local 193 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementFloat() local 214 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testAddMeasurementString() local 235 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testSimpleSequence() local 267 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testLongSequence() local 353 MockPerformanceResultsWriter writer = new MockPerformanceResultsWriter(); in testOutOfOrderSequence() local
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | IndentingPrintWriter.java | 55 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter() 59 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter() 63 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() 68 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() 73 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | IndentingPrintWriter.java | 55 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter() 59 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent) { in IndentingPrintWriter() 63 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() 68 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter() 73 public IndentingPrintWriter(@NonNull Writer writer, @NonNull String singleIndent, in IndentingPrintWriter()
|
/aosp12/system/nvram/messages/ |
H A D | message_codec.cpp | 30 ProtoWriter* writer, in Encode() 39 ProtoWriter writer(&counting_stream); in GetSize() local 43 bool MessageEncoderBase::Encode(ProtoWriter* writer) { in Encode() 70 bool MessageEncoderBase::EncodeData(ProtoWriter* writer) { in EncodeData()
|