/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | HeaderItem.java | 5 * you may not use this file except in compliance with the License. 49 public void read(DexRandomAccessFile file) throws IOException { argument 50 file.getOffsetTracker().getNewOffsettable(file, this); 53 magic[i] = file.readByte(); 55 checksum = file.readUInt(); 58 signature[i] = file.readByte(); 60 fileSize = file.readUInt(); 61 headerSize = file.readUInt(); 62 endianTag = file 90 write(DexRandomAccessFile file) argument [all...] |
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 | ClassDefItem.java | 5 * you may not use this file except in compliance with the License. 40 public void read(DexRandomAccessFile file) throws IOException { argument 41 file.getOffsetTracker().getNewOffsettable(file, this); 42 classIdx = file.readUInt(); 43 accessFlags = file.readUInt(); 44 superclassIdx = file.readUInt(); 45 interfacesOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 46 sourceFileIdx = file 53 write(DexRandomAccessFile file) argument [all...] |
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 | 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 | ProtoIdItem.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 shortyIdx = file.readUInt(); 30 returnTypeIdx = file.readUInt(); 31 parametersOff = file.getOffsetTracker().getNewOffset(file.readUInt()); 35 public void write(DexRandomAccessFile file) throws IOException { argument 36 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 | 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 | MethodIdItem.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 protoIdx = file.readUShort(); 31 nameIdx = file.readUInt(); 35 public void write(DexRandomAccessFile file) throws IOException { argument 36 file.getOffsetTracker().updatePositionOfNextOffsettable(file); [all...] |
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 | 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 | 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 | 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 */);
|
H A D | ParameterAnnotation.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 */);
|
H A D | TryItem.java | 5 * you may not use this file except in compliance with the License. 27 public void read(DexRandomAccessFile file) throws IOException { argument 28 startAddr = file.readUInt(); 29 insnCount = file.readUShort(); 30 handlerOff = file.readUShort(); 34 public void write(DexRandomAccessFile file) throws IOException { argument 35 file.writeUInt(startAddr); 36 file.writeUShort(insnCount); 37 file.writeUShort(handlerOff);
|
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 | MapItem.java | 5 * you may not use this file except in compliance with the License. 46 public void read(DexRandomAccessFile file) throws IOException { argument 47 type = file.readUShort(); 48 file.readUShort(); // Unused padding. 49 size = file.readUInt(); 51 offset = file.getOffsetTracker().getNewHeaderOffset(file.readUInt()); 53 offset = file.getOffsetTracker().getNewOffset(file.readUInt()); 58 public void write(DexRandomAccessFile file) throw argument [all...] |
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 | 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);
|
/art/test/138-duplicate-classes-check2/ |
H A D | run | 6 # you may not use this file except in compliance with the License. 17 # We want to run as no-dex-file-fallback to confirm that even though the -ex file has a symbolic 19 exec ${RUN} --runtime-option -Xno-dex-file-fallback "${@}"
|
/art/runtime/base/unix_file/ |
H A D | fd_file_test.cc | 5 * you may not use this file except in compliance with the License. 44 FdFile file; local 45 EXPECT_EQ(-1, file.Fd()); 46 EXPECT_FALSE(file.IsOpened()); 47 EXPECT_TRUE(file.GetPath().empty()); 51 std::string good_path(GetTmpPath("some-file.txt")); 52 FdFile file; local 53 ASSERT_TRUE(file.Open(good_path, O_CREAT | O_WRONLY)); 54 EXPECT_GE(file.Fd(), 0); 55 EXPECT_TRUE(file 71 FdFile file; local 87 FdFile file; local [all...] |