/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/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/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() 228 BitMemoryReader reader(code_info_data); in CollectSizeStats() local [all …]
|
/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/class2greylist/src/com/android/class2greylist/ |
D | Class2Greylist.java | 230 JarReader reader = new JarReader(mStatus, jarFile); in main() local 231 reader.stream().forEach(clazz -> new AnnotationVisitor(clazz, mStatus, handlers) in main() 233 reader.close(); in main() 245 JarReader reader = new JarReader(status, jarFile); in dumpAllMembers() local 246 reader.stream().forEach(clazz -> new MemberDumpingVisitor(clazz, status) in dumpAllMembers() 248 reader.close(); in dumpAllMembers()
|
/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 | 211 BufferedReader reader = new BufferedReader(mapReader); in readFromReader() local 212 String line = reader.readLine(); in readFromReader() 216 line = reader.readLine(); in readFromReader() 235 line = reader.readLine(); in readFromReader() 299 line = reader.readLine(); in readFromReader() 302 reader.close(); in readFromReader()
|
/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 | 657 ElfDebugReader<ElfRuntimeTypes> reader(buffer); in ForEachNativeDebugSymbol() local 658 reader.VisitFunctionSymbols([&](ElfRuntimeTypes::Sym sym, const char* name) { in ForEachNativeDebugSymbol()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 576 PacketReader reader(this, pkt); in ReadPacket() local 577 if (reader.ReadFully()) { in ReadPacket()
|