Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 95) sorted by relevance

1234

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DMapList.java37 public void read(DexRandomAccessFile file) throws IOException { in read() method in MapList
51 mapItem.read(file); in read()
72 newStringId.read(file); in read()
79 newTypeId.read(file); in read()
86 newProtoId.read(file); in read()
93 newFieldId.read(file); in read()
100 newMethodId.read(file); in read()
107 newClassDef.read(file); in read()
118 newTypeList.read(file); in read()
127 newAnnotationSetRefList.read(file); in read()
[all …]
DAnnotationsDirectoryItem.java31 public void read(DexRandomAccessFile file) throws IOException { in read() method in AnnotationsDirectoryItem
41 (fieldAnnotations[i] = new FieldAnnotation()).read(file); in read()
47 (methodAnnotations[i] = new MethodAnnotation()).read(file); in read()
53 (parameterAnnotations[i] = new ParameterAnnotation()).read(file); in read()
DClassDataItem.java39 public void read(DexRandomAccessFile file) throws IOException { in read() method in ClassDataItem
48 (staticFields[i] = new EncodedField()).read(file); in read()
52 (instanceFields[i] = new EncodedField()).read(file); in read()
56 (directMethods[i] = new EncodedMethod()).read(file); in read()
60 (virtualMethods[i] = new EncodedMethod()).read(file); in read()
DEncodedValue.java35 public void read(DexRandomAccessFile file) throws IOException { in read() method in EncodedValue
50 (encodedArray = new EncodedArray()).read(file); in read()
54 (encodedAnnotation = new EncodedAnnotation()).read(file); in read()
DEncodedArrayItem.java25 public void read(DexRandomAccessFile file) throws IOException { in read() method in EncodedArrayItem
27 (value = new EncodedArray()).read(file); in read()
DAnnotationElement.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in AnnotationElement
28 (value = new EncodedValue()).read(file); in read()
DDebugInfoItem.java33 public void read(DexRandomAccessFile file) throws IOException { in read() method in DebugInfoItem
36 file.read(data); in read()
DAnnotationItem.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in AnnotationItem
29 (annotation = new EncodedAnnotation()).read(file); in read()
DEncodedArray.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in EncodedArray
31 (values[i] = new EncodedValue()).read(file); in read()
DEncodedCatchHandlerList.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in EncodedCatchHandlerList
30 (list[i] = new EncodedCatchHandler()).read(file); in read()
DAnnotationSetRefList.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in AnnotationSetRefList
32 (list[i] = new AnnotationSetRefItem()).read(file); in read()
DAnnotationSetItem.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in AnnotationSetItem
32 (entries[i] = new AnnotationOffItem()).read(file); in read()
DEncodedAnnotation.java27 public void read(DexRandomAccessFile file) throws IOException { in read() method in EncodedAnnotation
33 (elements[i] = new AnnotationElement()).read(file); in read()
DEncodedCatchHandler.java27 public void read(DexRandomAccessFile file) throws IOException { in read() method in EncodedCatchHandler
33 (handlers[i] = new EncodedTypeAddrPair()).read(file); in read()
DCodeItem.java48 public void read(DexRandomAccessFile file) throws IOException { in read() method in CodeItem
65 (tries[i] = new TryItem()).read(file); in read()
67 (handlers = new EncodedCatchHandlerList()).read(file); in read()
81 newInsn.read(file); in populateInstructionList()
DTypeList.java26 public void read(DexRandomAccessFile file) throws IOException { in read() method in TypeList
32 (list[i] = new TypeItem()).read(file); in read()
/art/tools/
Dstream-trace-converter.py30 byte1 = f.read(1)
33 byte2 = f.read(1)
44 byte1 = f.read(1)
47 byte2 = f.read(1)
50 byte3 = f.read(1)
53 byte4 = f.read(1)
64 buf = input.read(length)
116 str = input.read(stringLength)
123 str = input.read(stringLength)
129 str = input.read(summaryLength)
[all …]
/art/compiler/optimizing/
Dside_effects_test.cc45 void testWriteAndReadEffects(SideEffects write, SideEffects read) { in testWriteAndReadEffects() argument
47 EXPECT_FALSE(read.DoesNothing()); in testWriteAndReadEffects()
51 EXPECT_FALSE(read.DoesAnyWrite()); in testWriteAndReadEffects()
52 EXPECT_TRUE(read.DoesAnyRead()); in testWriteAndReadEffects()
58 EXPECT_FALSE(all.MayDependOn(read)); in testWriteAndReadEffects()
59 EXPECT_TRUE(read.MayDependOn(all)); in testWriteAndReadEffects()
65 EXPECT_FALSE(none.MayDependOn(read)); in testWriteAndReadEffects()
66 EXPECT_FALSE(read.MayDependOn(none)); in testWriteAndReadEffects()
69 void testWriteAndReadDependence(SideEffects write, SideEffects read) { in testWriteAndReadDependence() argument
70 testWriteAndReadEffects(write, read); in testWriteAndReadDependence()
[all …]
/art/tools/ahat/src/main/com/android/ahat/
DStaticHandler.java51 int read; in handle() local
53 while ((read = is.read(buf)) >= 0) { in handle()
54 os.write(buf, 0, read); in handle()
/art/tools/ahat/etc/
Dhprofdump.py27 return struct.unpack('!B', hprof.read(1))[0]
30 return struct.unpack('!H', hprof.read(2))[0]
33 return struct.unpack('!I', hprof.read(4))[0]
36 return struct.unpack('!Q', hprof.read(8))[0]
102 c = hprof.read(1)
105 c = hprof.read(1)
144 while hprof.read(1):
152 string = hprof.read(length - idsize)
176 hprof.read(idsize * frames)
292 data = hprof.read(datalen) ; length -= datalen
[all …]
/art/test/573-checker-checkcast-regression/
Dinfo.txt1 Regression test for the x86-64 Baker's read barrier fast path compiler
4 with Baker's read barriers enabled.
/art/libprofile/profile/
Dprofile_boot_info.cc66 int bytes_read = TEMP_FAILURE_RETRY(read(fd, &string_length, sizeof(uint8_t))); in Load()
83 bytes_read = TEMP_FAILURE_RETRY(read(fd, data.get(), string_length)); in Load()
111 int bytes_read = TEMP_FAILURE_RETRY(read(fd, &dex_file_index, sizeof(dex_file_index))); in Load()
115 bytes_read = TEMP_FAILURE_RETRY(read(fd, &method_id, sizeof(method_id))); in Load()
/art/test/991-field-trace-2/
Dexpected.txt5 normal read: xyz = 0
19 normal read: xyz = 0
28 normal read: xyz = 20
36 normal read: xyz = 0
44 normal read: xyz = 10
50 reflective read: xyz = 0
54 reflective read: xyz = 0
58 reflective read: xyz = 0
62 reflective read: xyz = 0
66 reflective read: xyz = 0
[all …]
/art/test/1949-short-dex-file/
Dinfo.txt20 This test tries to get the JIT to read out-of-bounds on the initial dex file by getting it to
21 read the 5th method id of the new file (Lxyz/Transform;->foo()V) from the old dex file (which
26 JIT will read an incorrect (but valid) method-id from the old-dex file. This is why the error
29 The final method that causes the OOB read needs to be a native method because that is the only
/art/runtime/interpreter/mterp/common/
Dgen_setup.py63 generated_helpers[name] = out.read()
87 text = re.sub(r"(\n\n)(\n)+", r"\1", out.read())

1234