/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() 373 BitMemoryReader reader(out.GetWrittenRegion().Subregion(initial_bit_offset)); in Encode() 374 table.Decode(reader); in Encode() 460 BitMemoryReader reader(out.GetWrittenRegion().Subregion(initial_bit_offset)); in Encode() 461 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/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/runtime/ |
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) { 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() 220 BitMemoryReader reader(code_info_data); in CollectSizeStats() local [all …]
|
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
|
D | stack_map.h | 315 BitMemoryReader reader(code_info_data); in DecodeHeaderOnly() 316 std::array<uint32_t, kNumHeaders> header = reader.ReadInterleavedVarints<kNumHeaders>(); in DecodeHeaderOnly()
|
/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/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/ahat/src/main/com/android/ahat/proguard/ |
D | ProguardMap.java | 211 BufferedReader reader = new BufferedReader(mapReader); in readFromReader() local 212 String line = reader.readLine(); in readFromReader() 216 line = reader.readLine(); in readFromReader() 236 line = reader.readLine(); in readFromReader() 241 line = reader.readLine(); in readFromReader() 306 line = reader.readLine(); in readFromReader() 309 reader.close(); in readFromReader()
|
/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/compiler/debug/ |
D | elf_debug_writer.cc | 209 Reader reader(buffer); in MakeElfFileForJIT() local 210 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char*) { in MakeElfFileForJIT() 215 reader.VisitDebugFrame([&](const Reader::CIE* cie ATTRIBUTE_UNUSED) { in MakeElfFileForJIT() 274 for (Reader& reader : readers) { in PackElfFileForJIT() 275 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char* name) { in PackElfFileForJIT() 303 for (Reader& reader : readers) { in PackElfFileForJIT() 304 reader.VisitDebugFrame([&](const Reader::CIE* cie) { in PackElfFileForJIT()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 157 dex::Reader reader(classData, classDataLen); in CbClassFileLoadHook() local 158 dex::u4 index = reader.FindClassIndex(desc.c_str()); in CbClassFileLoadHook() 159 reader.CreateClassIr(index); in CbClassFileLoadHook() 160 std::shared_ptr<ir::DexFile> ir(reader.GetIr()); in CbClassFileLoadHook()
|
/art/test/141-class-unload/src/ |
D | Main.java | 64 BufferedReader reader = new BufferedReader(new FileReader ("/proc/" + pid + "/maps")); in testOatFilesUnloaded() local 67 while ((line = reader.readLine()) != null) { in testOatFilesUnloaded()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 203 ElfDebugReader<ElfTypes> reader((ArrayRef<const uint8_t>(data))); in ReadElf() 204 const typename ElfTypes::Shdr* text = reader.GetSection(".text"); in ReadElf()
|
/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() 321 reader.close(); in hasImage() 325 reader.close(); in hasImage()
|
/art/test/ti-stress/ |
D | stress.cc | 71 dex::Reader reader(in_data, in_len); in DoExtractClassFromData() local 72 dex::u4 class_idx = reader.FindClassIndex(descriptor.c_str()); in DoExtractClassFromData() 74 reader.CreateClassIr(class_idx); in DoExtractClassFromData() 79 auto dex_ir = reader.GetIr(); in DoExtractClassFromData()
|
/art/runtime/jit/ |
D | debugger_interface.cc | 661 ElfDebugReader<ElfRuntimeTypes> reader(buffer); in ForEachNativeDebugSymbol() local 662 reader.VisitFunctionSymbols([&](ElfRuntimeTypes::Sym sym, const char* name) { in ForEachNativeDebugSymbol()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 585 PacketReader reader(this, pkt); in ReadPacket() local 586 if (reader.ReadFully()) { in ReadPacket()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1240 Lcom/android/okhttp/ResponseBody;->reader:Ljava/io/Reader; 1725 Ljava/io/Console;->reader:Ljava/io/Reader; 2271 Ljava/io/StreamTokenizer;->reader:Ljava/io/Reader; 9416 Ljava/util/Properties$LineReader;->reader:Ljava/io/Reader; 11050 Ljavax/xml/transform/sax/SAXSource;->reader:Lorg/xml/sax/XMLReader; 11056 Ljavax/xml/transform/stream/StreamSource;->reader:Ljava/io/Reader;
|