Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 63) sorted by relevance

123

/art/test/406-fields/src/
DMain.java25 AllFields fields = new AllFields(); in $opt$testAll() local
27 assertEquals(false, fields.iZ); in $opt$testAll()
28 assertEquals(0, fields.iB); in $opt$testAll()
29 assertEquals(0, fields.iC); in $opt$testAll()
30 assertEquals(0, fields.iI); in $opt$testAll()
31 assertEquals(0, fields.iJ); in $opt$testAll()
32 assertEquals(0, fields.iS); in $opt$testAll()
33 assertEquals(0.0f, fields.iF); in $opt$testAll()
34 assertEquals(0.0, fields.iD); in $opt$testAll()
35 assertNull(fields.iObject); in $opt$testAll()
[all …]
/art/test/662-regression-alias/src/
DMain.java26 static void setFields(int[] fields) { in setFields() argument
27 if (fields == null || fields.length < 6) in setFields()
28 fields = new int[6]; // creates phi in setFields()
29 fields[5] = 127; in setFields()
42 int[] fields = new int[6]; in doit() local
44 setFields(fields); in doit()
45 processFieldValues(fields[0], fields[1], fields[2], in doit()
46 fields[3], fields[4], fields[5]); in doit()
50 return fields[5]; in doit()
/art/tools/dexfuzz/src/dexfuzz/program/
DMutationSerializer.java51 String[] fields = null; in readMutation() local
53 fields = line.split(" "); in readMutation()
59 String mutatorClassName = fields[0]; in readMutation()
88 mutation.mutatableCodeIdx = Integer.parseInt(fields[1]); in readMutation()
91 mutation.parseString(fields); in readMutation()
/art/libartbase/base/
Dutils.cc277 std::vector<std::string> fields; in GetTaskStats() local
278 Split(stats, ' ', &fields); in GetTaskStats()
279 *state = fields[0][0]; in GetTaskStats()
280 *utime = strtoull(fields[11].c_str(), nullptr, 10); in GetTaskStats()
281 *stime = strtoull(fields[12].c_str(), nullptr, 10); in GetTaskStats()
282 *task_cpu = strtoull(fields[36].c_str(), nullptr, 10); in GetTaskStats()
/art/test/939-hello-transformation-bcp/
Dinfo.txt5 so that the CLASS_BYTES and DEX_BYTES fields contain dex/class bytes for an
6 OptionalLong with all the same methods and fields.
/art/tools/hiddenapi/
DREADME.md7 runtime that the marked methods/fields should be treated as internal APIs with
8 access restricted only to platform code. Methods/fields not mentioned on the two
14 The methods/fields to be marked are specified in two text files (greylist,
33 different modifiers were chosen for different kinds of methods/fields.
44 * bit 5 for fields as it carries no other meaning
/art/libdexfile/dex/
Dclass_accessor_test.cc39 auto fields = accessor.GetFields(); in TEST_F() local
41 auto field_it = fields.begin(); in TEST_F()
82 ASSERT_TRUE(field_it == fields.end()); in TEST_F()
Dcompact_dex_file.h191 const uint16_t fields = fields_; in DecodeFields() local
192 *registers_size = (fields >> kRegistersSizeShift) & 0xF; in DecodeFields()
193 *ins_size = (fields >> kInsSizeShift) & 0xF; in DecodeFields()
194 *outs_size = (fields >> kOutsSizeShift) & 0xF; in DecodeFields()
195 *tries_size = (fields >> kTriesSizeSizeShift) & 0xF; in DecodeFields()
Dclass_accessor-inl.h215 IterationRange<ClassAccessor::DataIterator<ClassAccessor::Field>> fields = GetFields(); in GetInstanceFields() local
217 return { std::next(fields.begin(), NumStaticFields()), fields.end() }; in GetInstanceFields()
/art/runtime/mirror/
Ddex_cache.cc66 FieldDexCacheType* fields = (dex_file->NumFieldIds() == 0u) ? nullptr : in InitializeDexCache() local
133 CHECK_EQ(GetNativePairPtrSize(fields, i, image_pointer_size).index, 0u); in InitializeDexCache()
134 CHECK(GetNativePairPtrSize(fields, i, image_pointer_size).object == nullptr); in InitializeDexCache()
150 if (fields != nullptr) { in InitializeDexCache()
151 mirror::FieldDexCachePair::Initialize(fields, image_pointer_size); in InitializeDexCache()
167 fields, in InitializeDexCache()
/art/test/ti-agent/
Dtrace_helper.cc315 jfieldID* fields; in classPrepareCB() local
316 if (JvmtiErrorToException(jnienv, jvmti, jvmti->GetClassFields(klass, &nfields, &fields))) { in classPrepareCB()
320 jfieldID f = fields[i]; in classPrepareCB()
330 jvmti->Deallocate(reinterpret_cast<unsigned char*>(fields)); in classPrepareCB()
358 jfieldID* fields; in Java_art_Trace_watchAllFieldAccesses() local
359 jvmtiError err = jvmti_env->GetClassFields(k, &nfields, &fields); in Java_art_Trace_watchAllFieldAccesses()
367 jvmti_env->SetFieldAccessWatch(k, fields[j]); in Java_art_Trace_watchAllFieldAccesses()
369 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(fields)); in Java_art_Trace_watchAllFieldAccesses()
398 jfieldID* fields; in Java_art_Trace_watchAllFieldModifications() local
399 jvmtiError err = jvmti_env->GetClassFields(k, &nfields, &fields); in Java_art_Trace_watchAllFieldModifications()
[all …]
/art/test/140-field-packing/
Dinfo.txt1 Test field packing for classes with various arrangements of fields.
/art/test/173-missing-field-type/
Dinfo.txt1 Tests handling of fields where the field type is missing (b/79751666).
/art/test/530-checker-lse-ctor-fences/
Dinfo.txt1 Checker test for testing load-store elimination with final fields (constructor fences).
/art/test/439-npe/
Dinfo.txt2 They check set/get to volatile fields.
/art/test/476-checker-ctor-memory-barrier/
Dinfo.txt2 class has final fields).
/art/test/507-referrer/
Dinfo.txt2 to do incorrect access checks on static fields when inlining.
/art/runtime/
Dimage-inl.h54 const ImageSection& fields = GetFieldsSection(); in VisitPackedArtFields() local
55 for (size_t pos = 0u; pos < fields.Size(); ) { in VisitPackedArtFields()
56 auto* array = reinterpret_cast<LengthPrefixedArray<ArtField>*>(base + fields.Offset() + pos); in VisitPackedArtFields()
/art/test/674-hiddenapi/
Dinfo.txt2 two JARs. The first (parent) defines methods and fields and the second (child)
12 In this situation child should not be able to access hidden methods/fields
/art/test/476-checker-ctor-fence-redun-elim/
Dinfo.txt1 Tests to ensure constructor fences (after new-instance, new-array, or final fields) are properly
/art/test/064-field-access/src/
DMain.java541 Field[] fields; in doReflectionTests() local
548 fields = SamePackage.class.getDeclaredFields(); in doReflectionTests()
549 check(fields.length == 72); in doReflectionTests()
556 fields = PublicClass.class.getDeclaredFields(); in doReflectionTests()
557 check(fields.length == 72); in doReflectionTests()
563 fields = PublicClass.class.getSuperclass().getDeclaredFields(); in doReflectionTests()
564 check(fields.length == 72); in doReflectionTests()
570 for (Field f : fields) { in doReflectionTests()
/art/test/090-loop-formation/
Dinfo.txt3 in the loop region, and the JIT compiler won't choke on unresolved fields.
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DClassDataItem.java85 private void incrementEncodedFields(int insertedIdx, EncodedField[] fields) { in incrementEncodedFields() argument
87 for (EncodedField field : fields) { in incrementEncodedFields()
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py87 cmd32 = "'{}={}'".format(lib32, ','.join(out.fields))
88 cmd64 = "'{}={}'".format(lib64, ','.join(out.fields))
DREADME.md5 fields should be moved into side structures in cases where memory use is
47 > `dalvikvm32 I 08-30 14:51:20 84818 84818 fieldnull.cc:96] Dumping counts of null fields.`

123