/art/test/918-fields/ |
D | fields.cc | 41 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/ |
D | objects.cc | 36 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/ahat/src/main/com/android/ahat/ |
D | Main.java | 72 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/ |
D | get_loaded_classes.cc | 49 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/ |
D | chainagents.cc | 69 /*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/ |
D | raw_monitor.cc | 84 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/ |
D | Test922.java | 94 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/openjdkjvmti/ |
D | ti_thread.cc | 233 /*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 …]
|
D | ti_dump.cc | 87 jvmtiError err = OK; in DumpInternalState() local 88 JvmtiUniquePtr<char[]> res = CopyString(jvmti, ss.str().c_str(), &err); in DumpInternalState() 90 return err; in DumpInternalState()
|
D | ti_method.cc | 157 jvmtiError err = env->Allocate(*size_ptr, bytecode_ptr); in GetBytecodes() local 158 if (err != OK) { in GetBytecodes() 159 return err; in GetBytecodes() 233 jvmtiError err = OK; in GetLocalVariableTable() local 237 if (err != OK || in GetLocalVariableTable() 238 (err = env->Allocate(table_size, in GetLocalVariableTable() 245 return err; in GetLocalVariableTable() 253 if (err != OK) { in GetLocalVariableTable() 256 JvmtiUniquePtr<char[]> name_str = CopyString(env, entry.name_, &err); in GetLocalVariableTable() 257 if (err != OK) { in GetLocalVariableTable() [all …]
|
/art/test/807-method-handle-and-mr/src/ |
D | Main.java | 45 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/libdexfile/external/ |
D | dex_file_ext_test.cc | 141 const char* err = ADexFile_Error_toString(static_cast<ADexFile_Error>(i)); in TEST_F() local 142 ASSERT_NE(err, nullptr); in TEST_F() 143 ASSERT_FALSE(std::string_view(err).empty()); in TEST_F() 145 const char* err = ADexFile_Error_toString(static_cast<ADexFile_Error>(kNumErrors)); in TEST_F() local 146 ASSERT_EQ(err, nullptr); in TEST_F()
|
/art/test/2037-thread-name-inherit/ |
D | thread_name_inherit.cc | 36 int err = pthread_setname_np(self, "native-thread"); in ThreadMain() local 37 CHECK_EQ(err, 0); in ThreadMain() 55 err = pthread_getname_np(self, name_chars, sizeof(name_chars)); in ThreadMain() 56 CHECK_EQ(err, 0); in ThreadMain()
|
/art/tools/ahat/src/test-dump/ |
D | Main.java | 31 System.err.println("no output file specified"); in main() 55 System.err.println("Dumping hprof data to " + file); in main()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 99 jdwpTransportError err = SetupListen(listen_fd); in PerformAttach() local 100 if (err != OK) { in PerformAttach() 103 err = Accept(); in PerformAttach() 105 return err; in PerformAttach() 662 jdwpTransportError FdForwardTransport::GetLastError(/*out*/char** err) { in GetLastError() argument 664 *err = reinterpret_cast<char*>(Alloc(data.size() + 1)); in GetLastError() 665 strlcpy(*err, data.c_str(), data.size() + 1); in GetLastError() 702 jdwpTransportError err = ParseAddress(address, &listen_fd); in Attach() local 703 if (err != OK) { in Attach() 704 return err; in Attach() [all …]
|
/art/test/ti-agent/ |
D | redefinition_helper.cc | 48 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 …]
|
D | trace_helper.cc | 359 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 …]
|
D | jvmti_helper.cc | 121 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/libnativeloader/ |
D | native_loader_lazy_test.cpp | 56 jstring err = CreateClassLoaderNamespace(env.get(), in CallCreateClassLoaderNamespace() local 64 EXPECT_EQ(err, nullptr) << "Error is: " << std::string(ScopedUtfChars(env.get(), err).c_str()); in CallCreateClassLoaderNamespace()
|
/art/runtime/jni/ |
D | java_vm_ext_test.cc | 45 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/tools/jvmti-agents/breakpoint-logger/ |
D | breakpoint_logger.cc | 41 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/1002-notify-startup/src-art/ |
D | Main.java | 42 System.err.println(e); in main() 65 System.err.println(e); in run()
|
/art/test/1934-jvmti-signal-thread/ |
D | expected-stdout.txt | 9 Other thread Interrupted. err: java.lang.Error: Interrupted! 21 Other thread interrupted. err: java.lang.Error: Interrupted!
|
/art/runtime/mirror/ |
D | class_ext.cc | 121 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/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 175 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()
|