/art/tools/ |
D | PresubmitJsonLinter.java | 70 JsonReader reader; in checkExpectationFile() local 72 reader = new JsonReader(new FileReader(arg)); in checkExpectationFile() 77 reader.setLenient(true); in checkExpectationFile() 79 reader.beginArray(); in checkExpectationFile() 80 while (reader.hasNext()) { in checkExpectationFile() 81 readExpectation(reader); in checkExpectationFile() 83 reader.endArray(); in checkExpectationFile() 85 error("Malformed json: " + reader); in checkExpectationFile() 89 private static void readExpectation(JsonReader reader) throws IOException { in readExpectation() argument 95 reader.beginObject(); in readExpectation() [all …]
|
/art/libartbase/base/ |
D | bit_table_test.cc | 39 BitMemoryReader reader(buffer.data()); in TEST() local 40 BitTableBase<1> table(reader); in TEST() 41 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 60 BitMemoryReader reader(buffer.data()); in TEST() local 61 BitTableBase<1> table(reader); in TEST() 62 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 83 BitMemoryReader reader(buffer.data(), start_bit_offset); in TEST() local 84 BitTableBase<1> table(reader); in TEST() 85 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 104 BitMemoryReader reader(buffer.data()); in TEST() local [all …]
|
D | bit_memory_region_test.cc | 44 BitMemoryReader reader(buffer.data(), start_bit_offset); in TEST() local 45 uint32_t result = reader.ReadVarint(); in TEST() 47 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST()
|
D | bit_table.h | 46 explicit BitTableBase(BitMemoryReader& reader) { in BitTableBase() argument 47 Decode(reader); in BitTableBase() 50 ALWAYS_INLINE void Decode(BitMemoryReader& reader) { in Decode() argument 52 std::array<uint32_t, 1+kNumColumns> header = reader.ReadInterleavedVarints<1+kNumColumns>(); in Decode() 61 table_data_ = reader.ReadRegion(num_rows_ * NumRowBits()); in Decode() 375 BitMemoryReader reader(out.GetWrittenRegion().Subregion(initial_bit_offset)); in Encode() 376 table.Decode(reader); in Encode() 463 BitMemoryReader reader(out.GetWrittenRegion().Subregion(initial_bit_offset)); in Encode() 464 table.Decode(reader); in Encode()
|
/art/tools/dexfuzz/src/dexfuzz/ |
D | StreamConsumer.java | 35 private BufferedReader reader; field in StreamConsumer 68 reader = new BufferedReader(new InputStreamReader(stream)); in giveStreamAndStartConsuming() 118 while (reader.ready()) { in consume() 119 output.add(reader.readLine()); in consume() 125 while (reader.ready()) { in consume() 126 output.add(reader.readLine()); in consume() 138 reader.close(); in consume()
|
D | Options.java | 274 BufferedReader reader = new BufferedReader(new FileReader(tableFilename)); in setupMutationLikelihoodTable() local 275 String line = reader.readLine(); in setupMutationLikelihoodTable() 288 line = reader.readLine(); in setupMutationLikelihoodTable() 290 reader.close(); in setupMutationLikelihoodTable()
|
/art/runtime/oat/ |
D | stack_map.cc | 33 BitMemoryReader reader(data); in CodeInfo() local 34 std::array<uint32_t, kNumHeaders> header = reader.ReadInterleavedVarints<kNumHeaders>(); in CodeInfo() 38 ForEachBitTableField([this, &reader, &callback](size_t i, auto member_pointer) ALWAYS_INLINE { in CodeInfo() 42 ssize_t bit_offset = reader.NumberOfReadBits() - reader.ReadVarint(); in CodeInfo() 43 BitMemoryReader reader2(reader.data(), bit_offset); // The offset is negative. in CodeInfo() 47 ssize_t bit_offset = reader.NumberOfReadBits(); in CodeInfo() 48 table.Decode(reader); in CodeInfo() 49 callback(i, &table, reader.GetReadRegion().Subregion(bit_offset)); in CodeInfo() 54 *num_read_bits = reader.NumberOfReadBits(); in CodeInfo() 167 BitMemoryReader reader(code_info_data); in CollectSizeStats() local [all …]
|
D | stack_map.h | 311 BitMemoryReader reader(code_info_data); in DecodeHeaderOnly() 312 std::array<uint32_t, kNumHeaders> header = reader.ReadInterleavedVarints<kNumHeaders>(); in DecodeHeaderOnly() 497 BitMemoryReader reader(code_info_data); in HasFlag() 498 DCHECK_EQ(result, (reader.ReadInterleavedVarints<kNumHeaders>()[0] & kFlag) != 0); in HasFlag()
|
/art/tools/luci/config/generated/ |
D | realms.cfg | 14 role: "role/buildbucket.reader" 18 role: "role/configs.reader" 22 role: "role/logdog.reader" 34 role: "role/scheduler.reader"
|
/art/test/983-source-transform-verify/ |
D | source_transform_slicer.cc | 31 dex::Reader reader(class_data, class_data_len); in VerifyClassData() local 32 reader.CreateFullIr(); // This will verify all bytecode. in VerifyClassData()
|
/art/test/1959-redefine-object-instrument/ |
D | fake_redef_object.cc | 54 dex::Reader reader(class_data, class_data_len); in RedefineObjectHook() local 55 dex::u4 class_index = reader.FindClassIndex("Ljava/lang/Object;"); in RedefineObjectHook() 62 reader.CreateClassIr(class_index); in RedefineObjectHook() 63 auto dex_ir = reader.GetIr(); in RedefineObjectHook()
|
/art/test/980-redefine-object/ |
D | redef_object.cc | 53 dex::Reader reader(class_data, class_data_len); in RedefineObjectHook() local 54 dex::u4 class_index = reader.FindClassIndex("Ljava/lang/Object;"); in RedefineObjectHook() 61 reader.CreateClassIr(class_index); in RedefineObjectHook() 62 auto dex_ir = reader.GetIr(); in RedefineObjectHook()
|
/art/dex2oat/linker/ |
D | code_info_table_deduper.cc | 57 BitMemoryReader reader(code_info_data); in Dedupe() local 58 std::array<uint32_t, kNumHeaders> header = reader.ReadInterleavedVarints<kNumHeaders>(); in Dedupe() 66 bit_table_bit_starts[i] = dchecked_integral_cast<uint32_t>(reader.NumberOfReadBits()); in Dedupe() 70 table.Decode(reader); in Dedupe() 73 bit_table_bit_starts[kNumBitTables] = dchecked_integral_cast<uint32_t>(reader.NumberOfReadBits()); in Dedupe() 76 BitMemoryRegion read_region = reader.GetReadRegion(); in Dedupe()
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 50 ElfDebugReader<ElfTypes> reader(input); in WriteMinidebugInfo() local 54 InstructionSet isa = ElfBuilder<ElfTypes>::GetIsaFromHeader(*reader.GetHeader()); in WriteMinidebugInfo() 59 const Elf_Shdr* original_text = reader.GetSection(".text"); in WriteMinidebugInfo() 68 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char* name) { in WriteMinidebugInfo() 74 reader.VisitDynamicSymbols([&](Elf_Sym sym, const char* name) { in WriteMinidebugInfo() 101 reader.VisitDebugFrame( in WriteMinidebugInfo()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MutationSerializer.java | 49 public static Mutation readMutation(BufferedReader reader) throws IOException { in readMutation() argument 50 String line = reader.readLine(); in readMutation()
|
D | Program.java | 509 BufferedReader reader = new BufferedReader(new FileReader(fileName)); in loadMutationsFromDisk() local 510 while (reader.ready()) { in loadMutationsFromDisk() 511 Mutation mutation = MutationSerializer.readMutation(reader); in loadMutationsFromDisk() 514 reader.close(); in loadMutationsFromDisk()
|
/art/tools/ahat/src/main/com/android/ahat/proguard/ |
D | ProguardMap.java | 239 BufferedReader reader = new BufferedReader(mapReader); in readFromReader() local 240 String line = reader.readLine(); in readFromReader() 245 line = reader.readLine(); in readFromReader() 265 line = reader.readLine(); in readFromReader() 271 line = reader.readLine(); in readFromReader() 347 line = reader.readLine(); in readFromReader() 350 reader.close(); in readFromReader()
|
/art/compiler/debug/ |
D | elf_debug_writer.cc | 208 Reader reader(buffer); in MakeElfFileForJIT() local 209 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char*) { in MakeElfFileForJIT() 215 reader.VisitDebugFrame([&]([[maybe_unused]] const Reader::CIE* cie) { num_cies++; }, in MakeElfFileForJIT() 273 for (Reader& reader : readers) { in PackElfFileForJIT() 274 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char* name) { in PackElfFileForJIT() 302 for (Reader& reader : readers) { in PackElfFileForJIT() 303 reader.VisitDebugFrame( in PackElfFileForJIT()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 155 dex::Reader reader(classData, classDataLen); in CbClassFileLoadHook() local 156 dex::u4 index = reader.FindClassIndex(desc.c_str()); in CbClassFileLoadHook() 157 reader.CreateClassIr(index); in CbClassFileLoadHook() 158 std::shared_ptr<ir::DexFile> ir(reader.GetIr()); in CbClassFileLoadHook()
|
/art/test/913-heaps/src/art/ |
D | Test913.java | 317 BufferedReader reader = new BufferedReader(new FileReader("/proc/" + pid + "/maps")); in hasImage() local 319 while ((line = reader.readLine()) != null) { in hasImage() 322 reader.close(); in hasImage() 326 reader.close(); in hasImage()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 234 ElfDebugReader<ElfTypes> reader((ArrayRef<const uint8_t>(data))); in ReadElf() 235 const typename ElfTypes::Shdr* text = reader.GetSection(".text"); in ReadElf()
|
/art/test/ti-stress/ |
D | stress.cc | 70 dex::Reader reader(in_data, in_len); in DoExtractClassFromData() local 71 dex::u4 class_idx = reader.FindClassIndex(descriptor.c_str()); in DoExtractClassFromData() 73 reader.CreateClassIr(class_idx); in DoExtractClassFromData() 78 auto dex_ir = reader.GetIr(); in DoExtractClassFromData()
|
/art/test/141-class-unload/src/ |
D | Main.java | 79 BufferedReader reader = new BufferedReader(new FileReader ("/proc/" + pid + "/maps")); in testOatFilesUnloaded() local 82 while ((line = reader.readLine()) != null) { in testOatFilesUnloaded()
|
/art/runtime/ |
D | mutator_gc_coord.md | 12 Logically, the collector and mutator share a reader-writer lock on the Java 13 heap and associated data structures. Mutators hold the lock in reader or shared mode 16 structures to be stable. However, this reader-writer lock has a very customized 101 Logically the mutator lock is held in shared/reader mode if ***either*** the 102 underlying reader-writer lock is held in shared mode, ***or*** if a mutator is in
|
/art/runtime/jit/ |
D | debugger_interface.cc | 674 ElfDebugReader<ElfRuntimeTypes> reader(buffer); in ForEachNativeDebugSymbol() local 675 reader.VisitFunctionSymbols([&](ElfRuntimeTypes::Sym sym, const char* name) { in ForEachNativeDebugSymbol()
|