Home
last modified time | relevance | path

Searched refs:field_name (Results 1 – 17 of 17) sorted by relevance

/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc48 std::string field_name; in SplitField() local
52 std::getline(is, field_name, ':'); in SplitField()
58 jfieldID field = env->GetFieldID(klass, field_name.c_str(), field_type.c_str()); in SplitField()
59 CHECK(field != nullptr) << field_name; in SplitField()
176 char* field_name; in DataDumpRequestCb() local
179 CHECK_JVMTI(jvmti->GetFieldName(klass, field, &field_name, &field_sig, nullptr)); in DataDumpRequestCb()
181 LOG(INFO) << "\t" << field_class_name << "." << field_name << ":" << field_sig in DataDumpRequestCb()
187 LOG(INFO) << "\t" << field_class_name << "." << field_name << ":" << field_sig in DataDumpRequestCb()
192 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_name))); in DataDumpRequestCb()
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc46 std::string field_name; in SplitField() local
50 std::getline(is, field_name, ':'); in SplitField()
55 jfieldID field = env->GetFieldID(klass, field_name.c_str(), field_type.c_str()); in SplitField()
129 char* field_name; in DataDumpRequestCb() local
132 CHECK_JVMTI(jvmti->GetFieldName(klass, field, &field_name, &field_sig, nullptr)); in DataDumpRequestCb()
134 LOG(INFO) << "\t" << class_name << "." << field_name << ":" << field_sig in DataDumpRequestCb()
137 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_name))); in DataDumpRequestCb()
/art/test/530-checker-lse3/smali/
DStoreLoad.smali21 ## CHECK-DAG: StaticFieldSet [{{l\d+}},<<Arg>>] field_name:StoreLoad.byteField
22 ## CHECK-DAG: StaticFieldSet [{{l\d+}},<<Arg>>] field_name:StoreLoad.byteField2
23 ## CHECK-DAG: <<Val:b\d+>> StaticFieldGet [{{l\d+}}] field_name:StoreLoad.byteField
24 ## CHECK-DAG: <<Val2:b\d+>> StaticFieldGet [{{l\d+}}] field_name:StoreLoad.byteField2
33 ## CHECK-DAG: StaticFieldSet [{{l\d+}},<<Arg>>] field_name:StoreLoad.byteField
34 ## CHECK-DAG: StaticFieldSet [{{l\d+}},<<Arg>>] field_name:StoreLoad.byteField2
50 ## CHECK-DAG: StaticFieldSet [{{l\d+}},<<Arg>>] field_name:StoreLoad.byteField
/art/tools/veridex/
Dresolver.cc67 const char* field_name, in HasSameNameAndType() argument
69 return strcmp(field_name, dex_file.GetFieldName(field_id)) == 0 && in HasSameNameAndType()
181 const char* field_name, in LookupFieldIn() argument
201 field_name, in LookupFieldIn()
214 VeriField itf_field = resolver->LookupFieldIn(*itf, field_name, field_type); in LookupFieldIn()
226 VeriField super_field = resolver->LookupFieldIn(*super, field_name, field_type); in LookupFieldIn()
Dresolver.h66 const char* field_name,
/art/openjdkjvmti/
Dti_field.cc149 const char* field_name = art_field->GetName(); in GetFieldName() local
150 if (field_name == nullptr) { in GetFieldName()
151 field_name = "<error>"; in GetFieldName()
154 name_copy = CopyString(env, field_name, &ret); in GetFieldName()
/art/runtime/gc/
Dverification.cc155 void Visit(mirror::Object* ref, const std::string& field_name) const in Visit()
158 new_visited_.emplace_back(ref, field_name); in Visit()
/art/test/004-JniTest/
Djni_test.cc166 jstring field_name = env->NewStringUTF("testReflectFieldGetFromAttachedNativeThreadField"); in testReflectFieldGetFromAttachedNativeThread() local
167 CHECK(field_name != nullptr); in testReflectFieldGetFromAttachedNativeThread()
170 jobject field = env->CallObjectMethod(clazz, getFieldMetodId, field_name); in testReflectFieldGetFromAttachedNativeThread()
512 jfieldID GetFieldID(jclass c, const char* field_name) { in GetFieldID() argument
513 jfieldID m = env_->GetFieldID(c, field_name, "Z"); in GetFieldID()
/art/perfetto_hprof/
Dperfetto_hprof.cc434 std::string field_name = ""; in operator ()() local
436 field_name = field->PrettyField(/*with_type=*/true); in operator ()()
438 referred_objects_->emplace_back(std::move(field_name), ref); in operator ()()
815 const std::string& field_name = p.first; in FillReferences() local
818 reference_field_ids_->Append(FindOrAppend(&interned_fields_, field_name)); in FillReferences()
/art/tools/hiddenapi/
DREADME.md26 `class_descriptor->field_name:field_type`
/art/compiler/optimizing/
Dintrinsics.cc94 static int32_t GetIntegerCacheField(ObjPtr<mirror::Class> cache_class, const char* field_name) in GetIntegerCacheField() argument
96 ArtField* field = cache_class->FindDeclaredStaticField(field_name, "I"); in GetIntegerCacheField()
/art/runtime/
Dclass_linker_test.cc513 std::string_view field_name(field->GetName()); in Check() local
514 if (field_name != offsets[i].java_name) { in Check()
522 std::string_view field_name(field->GetName()); in Check() local
523 if (field_name != offsets[i].java_name) { in Check()
528 << " Java=" << field_name in Check()
/art/runtime/jni/
Djni_internal_test.cc1921 #define EXPECT_STATIC_PRIMITIVE_FIELD(expect_eq, type, field_name, sig, value1, value2) \ argument
1923 jfieldID fid = env_->GetStaticFieldID(c, field_name, sig); \
1954 #define EXPECT_PRIMITIVE_FIELD(expect_eq, instance, type, field_name, sig, value1, value2) \ argument
1956 jfieldID fid = env_->GetFieldID(c, field_name, sig); \
2023 #define EXPECT_UNRELATED_FIELD_FAILURE(type, field_name, sig, value1) \ argument
2025 jfieldID fid = env_->GetStaticFieldID(c, field_name, sig); \
/art/libdexfile/dex/
Ddex_file_verifier.cc169 std::string field_name = GetString(begin, header, field_id->name_idx_); in GetFieldDescription() local
170 return class_name + "." + field_name; in GetFieldDescription()
2623 const char* field_name = dex_file_->StringDataByIdx(item->name_idx_); in CheckInterFieldIdItem() local
2624 if (UNLIKELY(!IsValidMemberName(field_name))) { in CheckInterFieldIdItem()
2625 ErrorStringPrintf("Invalid field name: '%s'", field_name); in CheckInterFieldIdItem()
/art/dexdump/
Ddexdump.cc775 const char* field_name = pDexFile->StringDataByIdx(pFieldId.name_idx_); in dumpClassAnnotations() local
776 fprintf(gOutFile, "Annotations on field #%u '%s'\n", field_idx, field_name); in dumpClassAnnotations()
/art/test/626-checker-arm64-scratch-register/smali/
DMain2.smali119 ## CHECK: <<CondB:z\d+>> InstanceFieldGet [<<This>>] field_name:Main2.conditionB
134 ## CHECK: <<CondB:z\d+>> InstanceFieldGet [<<This>>] field_name:Main2.conditionB
/art/dexlayout/
Ddexlayout.cc802 const char* field_name = field_id->Name()->Data(); in DumpClassAnnotations() local
803 fprintf(out_file_, "Annotations on field #%u '%s'\n", field_idx, field_name); in DumpClassAnnotations()