/art/compiler/linker/ |
H A D | file_output_stream.cc | 5 * you may not use this file except in compliance with the License. 26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} argument
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | AnnotationOffItem.java | 5 * you may not use this file except in compliance with the License. 25 public void read(DexRandomAccessFile file) throws IOException { argument 26 annotationOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 30 public void write(DexRandomAccessFile file) throws IOException { argument 31 file.getOffsetTracker().tryToWriteOffset(annotationOff, file, false /* ULEB128 */);
|
H A D | AnnotationSetRefItem.java | 5 * you may not use this file except in compliance with the License. 25 public void read(DexRandomAccessFile file) throws IOException { argument 26 annotationsOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 30 public void write(DexRandomAccessFile file) throws IOException { argument 31 file.getOffsetTracker().tryToWriteOffset(annotationsOff, file, false /* ULEB128 */);
|
H A D | EncodedArrayItem.java | 5 * you may not use this file except in compliance with the License. 25 public void read(DexRandomAccessFile file) throws IOException { argument 26 file.getOffsetTracker().getNewOffsettable(file, this); 27 (value = new EncodedArray()).read(file); 31 public void write(DexRandomAccessFile file) throws IOException { argument 32 file.getOffsetTracker().updatePositionOfNextOffsettable(file); 33 value.write(file);
|
H A D | StringIdItem.java | 5 * you may not use this file except in compliance with the License. 25 public void read(DexRandomAccessFile file) throws IOException { argument 26 file.getOffsetTracker().getNewOffsettable(file, this); 27 stringDataOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 31 public void write(DexRandomAccessFile file) throws IOException { argument 32 file.getOffsetTracker().updatePositionOfNextOffsettable(file); 33 file [all...] |
H A D | TypeIdItem.java | 5 * you may not use this file except in compliance with the License. 25 public void read(DexRandomAccessFile file) throws IOException { argument 26 file.getOffsetTracker().getNewOffsettable(file, this); 27 descriptorIdx = file.readUInt(); 31 public void write(DexRandomAccessFile file) throws IOException { argument 32 file.getOffsetTracker().updatePositionOfNextOffsettable(file); 33 file.writeUInt(descriptorIdx);
|
H A D | TypeItem.java | 5 * you may not use this file except in compliance with the License. 25 public void read(DexRandomAccessFile file) throws IOException { argument 26 typeIdx = file.readUShort(); 30 public void write(DexRandomAccessFile file) throws IOException { argument 31 file.writeUShort(typeIdx);
|
H A D | AnnotationElement.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 nameIdx = file.readUleb128(); 28 (value = new EncodedValue()).read(file); 32 public void write(DexRandomAccessFile file) throws IOException { argument 33 file.writeUleb128(nameIdx); 34 value.write(file);
|
H A D | AnnotationItem.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 file.getOffsetTracker().getNewOffsettable(file, this); 28 visibility = file.readUnsignedByte(); 29 (annotation = new EncodedAnnotation()).read(file); 33 public void write(DexRandomAccessFile file) throws IOException { argument 34 file.getOffsetTracker().updatePositionOfNextOffsettable(file); 35 file [all...] |
H A D | AnnotationSetItem.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 file.alignForwards(4); 28 file.getOffsetTracker().getNewOffsettable(file, this); 29 size = file.readUInt(); 32 (entries[i] = new AnnotationOffItem()).read(file); 37 public void write(DexRandomAccessFile file) throws IOException { argument 38 file.alignForwards(4); 39 file [all...] |
H A D | AnnotationSetRefList.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 file.alignForwards(4); 28 file.getOffsetTracker().getNewOffsettable(file, this); 29 size = file.readUInt(); 32 (list[i] = new AnnotationSetRefItem()).read(file); 37 public void write(DexRandomAccessFile file) throws IOException { argument 38 file.alignForwards(4); 39 file [all...] |
H A D | AnnotationsDirectoryItem.java | 5 * you may not use this file except in compliance with the License. 31 public void read(DexRandomAccessFile file) throws IOException { argument 32 file.alignForwards(4); 33 file.getOffsetTracker().getNewOffsettable(file, this); 34 classAnnotationsOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 35 fieldsSize = file.readUInt(); 36 annotatedMethodsSize = file.readUInt(); 37 annotatedParametersSize = file 59 write(DexRandomAccessFile file) argument [all...] |
H A D | DebugInfoItem.java | 5 * you may not use this file except in compliance with the License. 31 public void read(DexRandomAccessFile file) throws IOException { argument 32 file.getOffsetTracker().getNewOffsettable(file, this); 34 file.read(data); 38 public void write(DexRandomAccessFile file) throws IOException { argument 39 file.getOffsetTracker().updatePositionOfNextOffsettable(file); 40 file.write(data);
|
H A D | EncodedAnnotation.java | 5 * you may not use this file except in compliance with the License. 27 public void read(DexRandomAccessFile file) throws IOException { argument 28 typeIdx = file.readUleb128(); 29 size = file.readUleb128(); 33 (elements[i] = new AnnotationElement()).read(file); 39 public void write(DexRandomAccessFile file) throws IOException { argument 40 file.writeUleb128(typeIdx); 41 file.writeUleb128(size); 44 annotationElement.write(file);
|
H A D | EncodedArray.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 size = file.readUleb128(); 31 (values[i] = new EncodedValue()).read(file); 37 public void write(DexRandomAccessFile file) throws IOException { argument 38 file.writeUleb128(size); 41 encodedValue.write(file);
|
H A D | EncodedCatchHandler.java | 5 * you may not use this file except in compliance with the License. 27 public void read(DexRandomAccessFile file) throws IOException { argument 28 size = file.readSleb128(); 33 (handlers[i] = new EncodedTypeAddrPair()).read(file); 37 catchAllAddr = file.readUleb128(); 42 public void write(DexRandomAccessFile file) throws IOException { argument 43 file.writeSleb128(size); 46 encodedTypeAddrPair.write(file); 50 file.writeUleb128(catchAllAddr);
|
H A D | EncodedCatchHandlerList.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 size = file.readUleb128(); 30 (list[i] = new EncodedCatchHandler()).read(file); 35 public void write(DexRandomAccessFile file) throws IOException { argument 36 file.writeUleb128(size); 38 encodedCatchHandler.write(file);
|
H A D | EncodedTypeAddrPair.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 typeIdx = file.readUleb128(); 28 addr = file.readUleb128(); 32 public void write(DexRandomAccessFile file) throws IOException { argument 33 file.writeUleb128(typeIdx); 34 file.writeUleb128(addr);
|
H A D | FieldAnnotation.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 fieldIdx = file.readUInt(); 28 annotationsOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 32 public void write(DexRandomAccessFile file) throws IOException { argument 33 file.writeUInt(fieldIdx); 34 file.getOffsetTracker().tryToWriteOffset(annotationsOff, file, false /* ULEB128 */);
|
H A D | FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 27 public void read(DexRandomAccessFile file) throws IOException { argument 28 file.getOffsetTracker().getNewOffsettable(file, this); 29 classIdx = file.readUShort(); 30 typeIdx = file.readUShort(); 31 nameIdx = file.readUInt(); 35 public void write(DexRandomAccessFile file) throws IOException { argument 36 file.getOffsetTracker().updatePositionOfNextOffsettable(file); [all...] |
H A D | MapList.java | 5 * you may not use this file except in compliance with the License. 37 public void read(DexRandomAccessFile file) throws IOException { argument 39 file.seek(rawDexFile.header.mapOff.getOriginalOffset()); 41 file.getOffsetTracker().getNewOffsettable(file, this); 44 size = file.readUInt(); 51 mapItem.read(file); 54 file.getOffsetTracker().rememberPointAfterMapList(); 63 file.seek(mapItem.offset.getOriginalOffset()); 72 newStringId.read(file); 205 write(DexRandomAccessFile file) argument [all...] |
H A D | MethodAnnotation.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { argument 27 methodIdx = file.readUInt(); 28 annotationsOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 32 public void write(DexRandomAccessFile file) throws IOException { argument 33 file.writeUInt(methodIdx); 34 file.getOffsetTracker().tryToWriteOffset(annotationsOff, file, false /* ULEB128 */);
|
/art/compiler/ |
H A D | elf_writer.cc | 5 * you may not use this file except in compliance with the License. 41 void ElfWriter::GetOatElfInformation(File* file, argument 45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, 59 bool ElfWriter::Fixup(File* file, uintptr_t oat_data_begin) { argument 61 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg));
|
/art/compiler/utils/ |
H A D | string_reference.h | 5 * you may not use this file except in compliance with the License. 31 StringReference(const DexFile* file, uint32_t index) : dex_file(file), string_index(index) { } argument 42 // than references. However, the references should usually be from the same dex file, 43 // so we choose the dex file string ordering so that we can simply compare indexes 46 // Use the string order enforced by the dex file verifier.
|
/art/runtime/ |
H A D | method_reference.h | 5 * you may not use this file except in compliance with the License. 28 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { argument
|