Home
last modified time | relevance | path

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

/art/test/ti-stress/
Dstress.cc92 if (JVMTI_ERROR_NONE != jvmti_env_->Allocate(size, &out)) { in DoExtractClassFromData()
123 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
176 return jvmtienv_->GetClassSignature(class_, &name_, &generic_) == JVMTI_ERROR_NONE && in Init()
238 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init()
245 if (err == JVMTI_ERROR_NONE) { in Init()
255 (jvmtienv_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init()
317 declaring_class_, field_, &name_, &type_, &generic_) == JVMTI_ERROR_NONE); in Init()
391 if (jvmtienv->GetClassSignature(klass, &cname, &cgen) != JVMTI_ERROR_NONE) { in GetName()
585 JVMTI_ERROR_NONE); in ClassPrepareHook()
589 if (jvmtienv->GetClassFields(klass, &nfields, &fields) != JVMTI_ERROR_NONE) { in ClassPrepareHook()
[all …]
/art/tools/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/wrapagentproperties/
Dwrapagentproperties.cc146 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperty()
150 return JVMTI_ERROR_NONE; in WrapGetSystemProperty()
162 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
177 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
184 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
191 return JVMTI_ERROR_NONE; in WrapGetSystemProperties()
198 if (res != JVMTI_ERROR_NONE) { in WrapSetSystemProperty()
204 return JVMTI_ERROR_NONE; in WrapSetSystemProperty()
211 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/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.h118 static constexpr jvmtiError OK = JVMTI_ERROR_NONE;
Dti_stack.cc426 DCHECK(translate_result == JVMTI_ERROR_NONE); in GetAllStackTraces()
588 DCHECK(translate_result == JVMTI_ERROR_NONE); in GetThreadListStackTraces()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc51 if (error != JVMTI_ERROR_NONE) { in EnableEvent()
121 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/tools/titrace/
Dtitrace.cc28 CHECK_EQ(JVMTI_ERROR_NONE, (errnum)) << GetJvmtiErrorString((jvmti), (errnum)) << (" ")
/art/test/911-get-stack-trace/
Dstack_trace.cc78 if (line_result != JVMTI_ERROR_NONE) { in TranslateJvmtiFrameInfoArray()
/art/test/924-threads/
Dthreads.cc198 if (result != JVMTI_ERROR_NONE) { in ThreadEvent()
/art/test/912-classes/
Dclasses.cc225 if (result != JVMTI_ERROR_NONE) { in GetClassName()
346 if (result != JVMTI_ERROR_NONE) { in GetThreadName()
/art/test/913-heaps/
Dheaps.cc1017 CHECK_EQ(result, JVMTI_ERROR_NONE); in Java_art_Test913_checkGetObjectHeapIdInCallback()
1056 CHECK_EQ(result, JVMTI_ERROR_NONE); in Java_art_Test913_checkGetObjectHeapIdInCallback()
/art/openjdkjvmti/include/
Djvmti.h338 JVMTI_ERROR_NONE = 0, enumerator