Home
last modified time | relevance | path

Searched refs:JVMTI_ERROR_NONE (Results 1 – 25 of 29) sorted by relevance

12

/art/test/ti-stress/
Dstress.cc97 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/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc42 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/
Dfields.cc40 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/
Dsearch_onload.cc50 if (result != JVMTI_ERROR_NONE) { in OnLoad()
56 if (result != JVMTI_ERROR_NONE) { in OnLoad()
/art/test/ti-agent/
Djvmti_helper.cc33 if (error != JVMTI_ERROR_NONE) { in CheckJvmtiError()
36 if (name_error != JVMTI_ERROR_NONE) { in CheckJvmtiError()
110 if (error == JVMTI_ERROR_NONE) { in JvmtiErrorToException()
131 case JVMTI_ERROR_NONE: in operator <<()
Dredefinition_helper.cc119 if (res != JVMTI_ERROR_NONE) { in DoMultiClassRedefine()
250 CHECK_EQ(JVMTI_ERROR_NONE, jvmti_env->Allocate(desired_array.size(), &new_data)); in CommonClassFileLoadHookRetransformable()
289 if (res != JVMTI_ERROR_NONE) { in Java_art_Redefinition_enableCommonRetransformation()
309 if (res != JVMTI_ERROR_NONE) { in DoClassRetransformation()
318 if (caps_err != JVMTI_ERROR_NONE) { in Java_art_Redefinition_doCommonClassRetransformation()
386 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonRetransform()
400 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonTransform()
/art/test/920-objects/
Dobjects.cc35 if (result != JVMTI_ERROR_NONE) { in Java_art_Test920_getObjectSize()
51 if (result != JVMTI_ERROR_NONE) { in Java_art_Test920_getObjectHashCode()
/art/test/901-hello-ti-agent/
Dbasics.cc36 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()
Dexpected.txt14 0 = JVMTI_ERROR_NONE
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc147 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/903-hello-tagging/
Dtagging.cc119 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/
Draw_monitor.cc85 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
88 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
/art/tools/jvmti-agents/dump-jvmti-state/
Ddump-jvmti.cc64 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/simple-force-redefine/
Dforceredefine.cc76 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/tools/jvmti-agents/jit-load/
Djitload.cc35 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/
Dget_loaded_classes.cc48 if (result != JVMTI_ERROR_NONE) { in Java_art_Test907_getLoadedClasses()
/art/openjdkjvmti/
Djvmti_allocator.h122 CHECK(alloc_error == JVMTI_ERROR_NONE);
131 CHECK(dealloc_error == JVMTI_ERROR_NONE); in deallocate()
Dart_jvmti.h122 static constexpr jvmtiError OK = JVMTI_ERROR_NONE;
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc138 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
190 return jvmtienv_->GetClassSignature(class_, &name_, gen_ptr) == JVMTI_ERROR_NONE && in Init()
249 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init()
256 if (err == JVMTI_ERROR_NONE) { in Init()
266 (jvmtienv_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init()
680 jvmtiError error = JVMTI_ERROR_NONE; in AgentStart()
704 if (error != JVMTI_ERROR_NONE) { in AgentStart()
714 if (error != JVMTI_ERROR_NONE) { in AgentStart()
722 if (error != JVMTI_ERROR_NONE) { in AgentStart()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc53 if (error != JVMTI_ERROR_NONE) { in EnableEvent()
126 if (ret != JVMTI_ERROR_NONE) { in InstallVMEvents()
/art/test/986-native-method-bind/
Dnative_bind.cc110 if (res != JVMTI_ERROR_NONE) { in Java_art_Test986_setNativeBindNotify()
/art/test/911-get-stack-trace/
Dstack_trace.cc78 if (line_result != JVMTI_ERROR_NONE) { in TranslateJvmtiFrameInfoArray()
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc32 #define CHECK_JVMTI(x) CHECK_EQ((x), JVMTI_ERROR_NONE)
/art/tools/jvmti-agents/titrace/
Dtitrace.cc28 CHECK_EQ(JVMTI_ERROR_NONE, (errnum)) << GetJvmtiErrorString((jvmti), (errnum)) << (" ")
/art/test/924-threads/
Dthreads.cc198 if (result != JVMTI_ERROR_NONE) { in ThreadEvent()

12