/art/test/ti-stress/ |
D | stress.cc | 97 if (JVMTI_ERROR_NONE != jvmti_env_->Allocate(size, &out)) { in DoExtractClassFromData() 128 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 178 return jvmtienv_->GetClassSignature(class_, &name_, nullptr) == JVMTI_ERROR_NONE && in Init() 234 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init() 241 if (err == JVMTI_ERROR_NONE) { in Init() 251 (jvmtienv_->GetMethodName(method_, &name_, &signature_, nullptr) == JVMTI_ERROR_NONE); in Init() 306 declaring_class_, field_, &name_, &type_, nullptr) == JVMTI_ERROR_NONE); in Init() 375 if (jvmtienv->GetClassSignature(klass, &cname, &cgen) != JVMTI_ERROR_NONE) { in GetName() 569 JVMTI_ERROR_NONE); in ClassPrepareHook() 573 if (jvmtienv->GetClassFields(klass, &nfields, &fields) != JVMTI_ERROR_NONE) { in ClassPrepareHook() [all …]
|
/art/test/2005-pause-all-redefine-multithreaded/ |
D | pause-all.cc | 63 JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() 68 JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() 80 std::vector<jvmtiError> errs(threads.size(), JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads() 82 JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
|
/art/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 42 if (err != JVMTI_ERROR_NONE || all_targets == nullptr) { in VMInitCB() 63 if (err != JVMTI_ERROR_NONE) { in VMInitCB() 78 } else if (jvmti_env->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 131 return jvmti_env_->GetClassSignature(class_, &name_, &generic_) == JVMTI_ERROR_NONE && in Init() 194 if (jvmti_env_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init() 201 if (err == JVMTI_ERROR_NONE) { in Init() 211 (jvmti_env_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init() 355 jvmtiError error = JVMTI_ERROR_NONE; in AgentStart() 369 if (error != JVMTI_ERROR_NONE) { in AgentStart() 376 if (error != JVMTI_ERROR_NONE) { in AgentStart() [all …]
|
/art/test/918-fields/ |
D | fields.cc | 40 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldName() 72 if (result2 != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldName() 89 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldDeclaringClass() 106 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldModifiers() 123 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_isFieldSynthetic()
|
/art/test/936-search-onload/ |
D | search_onload.cc | 50 if (result != JVMTI_ERROR_NONE) { in OnLoad() 56 if (result != JVMTI_ERROR_NONE) { in OnLoad()
|
/art/test/920-objects/ |
D | objects.cc | 35 if (result != JVMTI_ERROR_NONE) { in Java_art_Test920_getObjectSize() 51 if (result != JVMTI_ERROR_NONE) { in Java_art_Test920_getObjectHashCode()
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 58 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 110 return jvmtienv_->GetClassSignature(class_, &name_, gen_ptr) == JVMTI_ERROR_NONE && in Init() 169 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init() 176 if (err == JVMTI_ERROR_NONE) { in Init() 186 (jvmtienv_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init() 341 if (err == JVMTI_ERROR_NONE) { in logVMObjectAlloc() 426 if (error != JVMTI_ERROR_NONE) { in AgentStart() 433 if (error != JVMTI_ERROR_NONE) { in AgentStart() 440 if (error != JVMTI_ERROR_NONE) { in AgentStart()
|
/art/test/901-hello-ti-agent/ |
D | basics.cc | 36 if (error != JVMTI_ERROR_NONE) { in EnableEvent() 63 CHECK_EQ(jenv->GetCurrentThread(&cur_thr), JVMTI_ERROR_NONE); in VMDeathCallback() 76 if (ret != JVMTI_ERROR_NONE) { in InstallVMEvents() 145 if (phase_result != JVMTI_ERROR_NONE) { in OnLoad() 184 jvmtiError res = JVMTI_ERROR_NONE; in Java_art_Test901_checkUnattached()
|
D | expected.txt | 14 0 = JVMTI_ERROR_NONE
|
/art/tools/jvmti-agents/wrapagentproperties/ |
D | wrapagentproperties.cc | 147 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperty() 151 return JVMTI_ERROR_NONE; in WrapGetSystemProperty() 163 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties() 178 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties() 185 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties() 192 return JVMTI_ERROR_NONE; in WrapGetSystemProperties() 199 if (res != JVMTI_ERROR_NONE) { in WrapSetSystemProperty() 206 return JVMTI_ERROR_NONE; in WrapSetSystemProperty() 213 if (JVMTI_ERROR_NONE != real_env->Allocate(sizeof(ExtraJvmtiInterface), in SetupProxyJvmtiEnv()
|
/art/test/ti-agent/ |
D | jvmti_helper.cc | 34 if (error != JVMTI_ERROR_NONE) { in CheckJvmtiError() 37 if (name_error != JVMTI_ERROR_NONE) { in CheckJvmtiError() 111 if (error == JVMTI_ERROR_NONE) { in JvmtiErrorToException() 132 case JVMTI_ERROR_NONE: in operator <<() 246 CHECK_EQ(jvmti->GetExtensionEvents(&n_ext, &infos), JVMTI_ERROR_NONE); in GetExtensionEventId()
|
D | redefinition_helper.cc | 159 if (res != JVMTI_ERROR_NONE) { in DoMultiClassRedefine() 340 CHECK_EQ(JVMTI_ERROR_NONE, jvmti_env->Allocate(desired_array.size(), &new_data)); in CommonClassFileLoadHookRetransformable() 379 if (res != JVMTI_ERROR_NONE) { in Java_art_Redefinition_enableCommonRetransformation() 399 if (res != JVMTI_ERROR_NONE) { in DoClassRetransformation() 408 if (caps_err != JVMTI_ERROR_NONE) { in Java_art_Redefinition_doCommonClassRetransformation() 478 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonRetransform() 484 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonRetransform() 499 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonTransform()
|
/art/test/903-hello-tagging/ |
D | tagging.cc | 119 CHECK_EQ(JVMTI_ERROR_NONE, error); in CreateJvmtiEnv() 126 CHECK_EQ(JVMTI_ERROR_NONE, ret); in SetTag() 132 CHECK_EQ(JVMTI_ERROR_NONE, ret); in GetTag() 153 CHECK_EQ(JVMTI_ERROR_NONE, envs[i]->DisposeEnvironment()); in Java_art_Test903_testTagsInDifferentEnvs()
|
/art/test/1951-monitor-enter-no-suspend/ |
D | raw_monitor.cc | 85 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart() 88 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 139 CHECK_EQ(JVMTI_ERROR_NONE, jvmti_env->RawMonitorExit(data->callback_mon)); in Java_art_Test1940_publishListen() 161 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data))); in PublishCB() 162 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->RawMonitorEnter(data->callback_mon)); in PublishCB() 164 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->RawMonitorNotifyAll(data->callback_mon)); in PublishCB() 165 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->RawMonitorExit(data->callback_mon)); in PublishCB()
|
/art/tools/jvmti-agents/dump-jvmti-state/ |
D | dump-jvmti.cc | 64 if (env->GetExtensionFunctions(&n_ext, &infos) != JVMTI_ERROR_NONE) { in SetupJvmtiEnv() 83 if (JVMTI_ERROR_NONE == GetInternalData(jvmti, &data)) { in CbDataDump()
|
/art/tools/jvmti-agents/enable-vlog/ |
D | enablevlog.cc | 64 if (jvmti->GetExtensionFunctions(&n_ext, &infos) != JVMTI_ERROR_NONE) { in GetExtensionFunction() 102 } else if (svfe(jvmti, options, true) != JVMTI_ERROR_NONE) { in AgentStart()
|
/art/tools/jvmti-agents/list-extensions/ |
D | list-extensions.cc | 101 if (env->GetExtensionFunctions(&n_ext, &infos) != JVMTI_ERROR_NONE) { in SetupJvmtiEnv() 117 CHECK_EQ(JVMTI_ERROR_NONE, env->GetErrorName(info.errors[j], &name)); in SetupJvmtiEnv() 127 if (env->GetExtensionEvents(&n_ext, &events) != JVMTI_ERROR_NONE) { in SetupJvmtiEnv()
|
/art/tools/jvmti-agents/jit-load/ |
D | jitload.cc | 35 CHECK(vc == JNI_OK || vc == JVMTI_ERROR_NONE) << "call " << #c << " did not succeed\n"; \ 59 JVMTI_ERROR_NONE); in VmInitCb()
|
/art/test/907-get-loaded-classes/ |
D | get_loaded_classes.cc | 48 if (result != JVMTI_ERROR_NONE) { in Java_art_Test907_getLoadedClasses()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 76 CHECK_EQ(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&ai)), JVMTI_ERROR_NONE); in GetAgentInfo() 180 if (jvmti->GetLoadedClasses(&cnt, &klasses) != JVMTI_ERROR_NONE) { in FindClass() 186 if (jvmti->GetClassSignature(klasses[i], &sig, nullptr) != JVMTI_ERROR_NONE) { in FindClass() 285 if (jvmti->AddCapabilities(&caps) != JVMTI_ERROR_NONE) { in AgentStart()
|
/art/openjdkjvmti/ |
D | jvmti_allocator.h | 122 CHECK(alloc_error == JVMTI_ERROR_NONE); 131 CHECK(dealloc_error == JVMTI_ERROR_NONE); in deallocate()
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 135 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 187 return jvmtienv_->GetClassSignature(class_, &name_, gen_ptr) == JVMTI_ERROR_NONE && in Init() 246 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init() 253 if (err == JVMTI_ERROR_NONE) { in Init() 263 (jvmtienv_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init() 675 jvmtiError error = JVMTI_ERROR_NONE; in AgentStart() 699 if (error != JVMTI_ERROR_NONE) { in AgentStart() 709 if (error != JVMTI_ERROR_NONE) { in AgentStart() 717 if (error != JVMTI_ERROR_NONE) { in AgentStart()
|
/art/test/928-jni-table/ |
D | jni_table.cc | 48 CHECK_EQ(jvmti_env->GetThreadInfo(reinterpret_cast<jthread>(o), &jti), JVMTI_ERROR_NONE); in DoDeleteGlobalRef()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 53 if (error != JVMTI_ERROR_NONE) { in EnableEvent() 126 if (ret != JVMTI_ERROR_NONE) { in InstallVMEvents()
|