Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 56) sorted by relevance

123

/art/test/918-fields/
Dfields.cc41 char* err; in Java_art_Test918_getFieldName() local
42 jvmti_env->GetErrorName(result, &err); in Java_art_Test918_getFieldName()
43 printf("Failure running GetFieldName: %s\n", err); in Java_art_Test918_getFieldName()
44 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_getFieldName()
73 char* err; in Java_art_Test918_getFieldName() local
74 jvmti_env->GetErrorName(result2, &err); in Java_art_Test918_getFieldName()
75 printf("Failure running GetFieldName(null, null, null): %s\n", err); in Java_art_Test918_getFieldName()
76 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test918_getFieldName()
90 char* err; in Java_art_Test918_getFieldDeclaringClass() local
91 jvmti_env->GetErrorName(result, &err); in Java_art_Test918_getFieldDeclaringClass()
[all …]
/art/test/920-objects/
Dobjects.cc36 char* err; in Java_art_Test920_getObjectSize() local
37 jvmti_env->GetErrorName(result, &err); in Java_art_Test920_getObjectSize()
38 printf("Failure running GetObjectSize: %s\n", err); in Java_art_Test920_getObjectSize()
39 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test920_getObjectSize()
52 char* err; in Java_art_Test920_getObjectHashCode() local
53 jvmti_env->GetErrorName(result, &err); in Java_art_Test920_getObjectHashCode()
54 printf("Failure running GetObjectHashCode: %s\n", err); in Java_art_Test920_getObjectHashCode()
55 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test920_getObjectHashCode()
/art/tools/class2greylist/src/com/android/class2greylist/
DStatus.java35 System.err.println(String.format(Locale.US, msg, args)); in debug()
40 System.err.print(ERROR); in error()
41 t.printStackTrace(System.err); in error()
46 System.err.print(ERROR); in error()
47 System.err.println(String.format(Locale.US, message, args)); in error()
/art/tools/ahat/src/main/com/android/ahat/
DMain.java72 System.err.println("Unable to load '" + hprof + "':"); in loadHeapDump()
75 System.err.println("'" + hprof + "' does not appear to be a valid Java heap dump:"); in loadHeapDump()
127 System.err.println("multiple baseline heap dumps."); in main()
128 help(System.err); in main()
142 System.err.println("Invalid retained reference type: " + args[i]); in main()
143 help(System.err); in main()
148 System.err.println("multiple input files."); in main()
149 help(System.err); in main()
157 System.err.println("no input file."); in main()
158 help(System.err); in main()
[all …]
/art/test/907-get-loaded-classes/
Dget_loaded_classes.cc49 char* err; in Java_art_Test907_getLoadedClasses() local
50 jvmti_env->GetErrorName(result, &err); in Java_art_Test907_getLoadedClasses()
51 printf("Failure running GetLoadedClasses: %s\n", err); in Java_art_Test907_getLoadedClasses()
52 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test907_getLoadedClasses()
/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc69 /*out*/ std::string* err) { in Load() argument
74 *err = oss.str(); in Load()
82 *err = oss.str(); in Load()
87 *err = "load function failed!"; in Load()
105 std::string err; in AgentStart() local
106 jint new_res = Load(start, vm, reserved, lib_and_args, &err); in AgentStart()
109 << " (arguments: " << lib_and_args.second << ") due to " << err; in AgentStart()
/art/test/1951-monitor-enter-no-suspend/
Draw_monitor.cc84 jvmtiError err = enter_func(jvmti_env, mon); in Java_art_Test1951_otherThreadStart() local
85 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
87 err = jvmti_env->RawMonitorExit(mon); in Java_art_Test1951_otherThreadStart()
88 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
/art/test/922-properties/src/art/
DTest922.java94 String err = null; in checkProperty() local
99 err = e.getMessage(); in checkProperty()
104 if (err != null) { in checkProperty()
105 System.out.println(" !!!" + err); in checkProperty()
110 System.out.println("ERROR !!!" + err); in checkProperty()
/art/test/807-method-handle-and-mr/src/
DMain.java45 System.err.println("Exception during the execution of " + getName()); in execute()
46 System.err.println(t); in execute()
47 t.printStackTrace(new PrintStream(System.err)); in execute()
/art/openjdkjvmti/
Dti_dump.cc87 jvmtiError err = OK; in DumpInternalState() local
88 JvmtiUniquePtr<char[]> res = CopyString(jvmti, ss.str().c_str(), &err); in DumpInternalState()
90 return err; in DumpInternalState()
Dti_thread.cc233 /*out*/ jvmtiError* err) { in GetNativeThread() argument
239 *err = ERR(INVALID_THREAD); in GetNativeThread()
250 /*out*/ jvmtiError* err) { in GetAliveNativeThread() argument
251 if (!GetNativeThread(thread, soa, thr, err)) { in GetAliveNativeThread()
254 *err = ERR(THREAD_NOT_ALIVE); in GetAliveNativeThread()
274 jvmtiError err = ERR(INTERNAL); in GetThreadInfo() local
275 if (!GetNativeThread(thread, soa, &target, &err)) { in GetThreadInfo()
276 return err; in GetThreadInfo()
579 jvmtiError err = ERR(INTERNAL); in GetThreadState() local
581 if (!GetNativeThread(thread, soa, &target, &err)) { in GetThreadState()
[all …]
Dti_method.cc157 jvmtiError err = env->Allocate(*size_ptr, bytecode_ptr); in GetBytecodes() local
158 if (err != OK) { in GetBytecodes()
159 return err; in GetBytecodes()
232 jvmtiError err = OK; in GetLocalVariableTable() local
236 if (err != OK || in GetLocalVariableTable()
237 (err = env->Allocate(table_size, in GetLocalVariableTable()
244 return err; in GetLocalVariableTable()
252 if (err != OK) { in GetLocalVariableTable()
255 JvmtiUniquePtr<char[]> name_str = CopyString(env, entry.name_, &err); in GetLocalVariableTable()
256 if (err != OK) { in GetLocalVariableTable()
[all …]
Dti_logging.cc56 jvmtiError err = tienv->Allocate(size, reinterpret_cast<unsigned char**>(&out)); in GetLastError() local
57 if (err != OK) { in GetLastError()
58 return err; in GetLastError()
/art/tools/ahat/src/test-dump/
DMain.java31 System.err.println("no output file specified"); in main()
55 System.err.println("Dumping hprof data to " + file); in main()
/art/dt_fd_forward/
Ddt_fd_forward.cc97 jdwpTransportError err = SetupListen(listen_fd); in PerformAttach() local
98 if (err != OK) { in PerformAttach()
101 err = Accept(); in PerformAttach()
103 return err; in PerformAttach()
653 jdwpTransportError FdForwardTransport::GetLastError(/*out*/char** err) { in GetLastError() argument
655 *err = reinterpret_cast<char*>(Alloc(data.size() + 1)); in GetLastError()
656 strlcpy(*err, data.c_str(), data.size() + 1); in GetLastError()
693 jdwpTransportError err = ParseAddress(address, &listen_fd); in Attach() local
694 if (err != OK) { in Attach()
695 return err; in Attach()
[all …]
/art/test/ti-agent/
Dredefinition_helper.cc48 std::stringstream err; in throwCommonRedefinitionError() local
51 err << "Failed to " << (is_redefine ? "redefine" : "retransform") << " class"; in throwCommonRedefinitionError()
53 err << "es"; in throwCommonRedefinitionError()
55 err << " <"; in throwCommonRedefinitionError()
61 err << ", "; in throwCommonRedefinitionError()
63 err << signature; in throwCommonRedefinitionError()
67 err << "> due to " << error; in throwCommonRedefinitionError()
68 std::string message = err.str(); in throwCommonRedefinitionError()
366 std::stringstream err; in Java_art_Redefinition_popTransformationFor() local
367 err << "No transformations found for class " << name_str; in Java_art_Redefinition_popTransformationFor()
[all …]
Dtrace_helper.cc359 jvmtiError err = jvmti_env->GetClassFields(k, &nfields, &fields); in Java_art_Trace_watchAllFieldAccesses() local
360 if (err == JVMTI_ERROR_CLASS_NOT_PREPARED) { in Java_art_Trace_watchAllFieldAccesses()
362 } else if (JvmtiErrorToException(env, jvmti_env, err)) { in Java_art_Trace_watchAllFieldAccesses()
399 jvmtiError err = jvmti_env->GetClassFields(k, &nfields, &fields); in Java_art_Trace_watchAllFieldModifications() local
400 if (err == JVMTI_ERROR_CLASS_NOT_PREPARED) { in Java_art_Trace_watchAllFieldModifications()
402 } else if (JvmtiErrorToException(env, jvmti_env, err)) { in Java_art_Trace_watchAllFieldModifications()
623 ScopedLocalRef<jthrowable> err(env, nullptr); in Java_art_Trace_disableTracing() local
630 err.reset(env->ExceptionOccurred()); in Java_art_Trace_disableTracing()
638 err.reset(env->ExceptionOccurred()); in Java_art_Trace_disableTracing()
646 err.reset(env->ExceptionOccurred()); in Java_art_Trace_disableTracing()
[all …]
Djvmti_helper.cc121 char* err; in JvmtiErrorToException() local
122 CheckJvmtiError(jvmtienv, jvmtienv->GetErrorName(error, &err)); in JvmtiErrorToException()
124 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
126 Deallocate(jvmtienv, err); in JvmtiErrorToException()
/art/runtime/jni/
Djava_vm_ext_test.cc45 jint err = JNI_GetDefaultJavaVMInitArgs(nullptr); in TEST_F() local
46 EXPECT_EQ(JNI_ERR, err); in TEST_F()
135 jint err = vm_->DetachCurrentThread(); in TEST_F() local
136 EXPECT_EQ(JNI_ERR, err); in TEST_F()
/art/test/1002-notify-startup/src-art/
DMain.java42 System.err.println(e); in main()
65 System.err.println(e); in run()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc41 jvmtiError err = jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&all_targets)); in VMInitCB() local
42 if (err != JVMTI_ERROR_NONE || all_targets == nullptr) { in VMInitCB()
62 err = jvmti->SetBreakpoint(m, target.location); in VMInitCB()
63 if (err != JVMTI_ERROR_NONE) { in VMInitCB()
200 jvmtiError err = jvmti_env_->GetLineNumberTable(method_, &nlines, &lines); in Init() local
201 if (err == JVMTI_ERROR_NONE) { in Init()
206 } else if (err != JVMTI_ERROR_ABSENT_INFORMATION && in Init()
207 err != JVMTI_ERROR_NATIVE_METHOD) { in Init()
/art/test/1934-jvmti-signal-thread/
Dexpected.txt9 Other thread Interrupted. err: java.lang.Error: Interrupted!
21 Other thread interrupted. err: java.lang.Error: Interrupted!
/art/runtime/mirror/
Dclass_ext.cc121 void ClassExt::SetVerifyError(ObjPtr<Object> err) { in SetVerifyError() argument
123 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
125 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
/art/tools/jfuzz/
Drun_dex_fuzz_test.py116 out=None, err='jerr.txt', timeout=30) != RetCode.SUCCESS:
122 out=None, err='dxerr.txt', timeout=30) != RetCode.SUCCESS:
141 if RunCommand(['jfuzz'], out='Test.java', err=None) != RetCode.SUCCESS:
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc175 jvmtiError err = jvmtienv_->GetLineNumberTable(method_, &nlines, &lines); in Init() local
176 if (err == JVMTI_ERROR_NONE) { in Init()
181 } else if (err != JVMTI_ERROR_ABSENT_INFORMATION && in Init()
182 err != JVMTI_ERROR_NATIVE_METHOD) { in Init()
336 jvmtiError err = jvmti->GetStackTrace(thread, in logVMObjectAlloc() local
341 if (err == JVMTI_ERROR_NONE) { in logVMObjectAlloc()

123