/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/class2greylist/src/com/android/class2greylist/ |
D | Status.java | 35 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/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/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/openjdkjvmti/ |
D | ti_logging.cc | 53 jvmtiError err = tienv->Allocate(size, reinterpret_cast<unsigned char**>(&out)); in GetLastError() local 54 if (err != OK) { in GetLastError() 55 return err; in GetLastError()
|
D | ti_method.cc | 139 jvmtiError err = env->Allocate(*size_ptr, bytecode_ptr); in GetBytecodes() local 140 if (err != OK) { in GetBytecodes() 141 return err; in GetBytecodes() 214 jvmtiError err = OK; in GetLocalVariableTable() local 218 if (err != OK || in GetLocalVariableTable() 219 (err = env->Allocate(table_size, in GetLocalVariableTable() 226 return err; in GetLocalVariableTable() 234 if (err != OK) { in GetLocalVariableTable() 237 JvmtiUniquePtr<char[]> name_str = CopyString(env, entry.name_, &err); in GetLocalVariableTable() 238 if (err != OK) { in GetLocalVariableTable() [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_thread.cc | 231 /*out*/ jvmtiError* err) { in GetNativeThread() argument 236 *err = ERR(INVALID_THREAD); in GetNativeThread() 247 /*out*/ jvmtiError* err) { in GetAliveNativeThread() argument 248 if (!GetNativeThread(thread, soa, thr, err)) { in GetAliveNativeThread() 251 *err = ERR(THREAD_NOT_ALIVE); in GetAliveNativeThread() 271 jvmtiError err = ERR(INTERNAL); in GetThreadInfo() local 272 if (!GetNativeThread(thread, soa, &target, &err)) { in GetThreadInfo() 273 return err; in GetThreadInfo() 576 jvmtiError err = ERR(INTERNAL); in GetThreadState() local 578 if (!GetNativeThread(thread, soa, &target, &err)) { in GetThreadState() [all …]
|
D | ti_stack.cc | 919 jvmtiError err = ERR(INTERNAL); in GetOwnedMonitorInfoCommon() local 920 if (!ThreadUtil::GetAliveNativeThread(thread, soa, &target, &err)) { in GetOwnedMonitorInfoCommon() 922 return err; in GetOwnedMonitorInfoCommon() 963 jvmtiError err = GetOwnedMonitorInfoCommon(soa, thread, handle_fun); in GetOwnedMonitorStackDepthInfo() local 964 if (err != OK) { in GetOwnedMonitorStackDepthInfo() 965 return err; in GetOwnedMonitorStackDepthInfo() 968 err = env->Allocate(nbytes, reinterpret_cast<unsigned char**>(info_ptr)); in GetOwnedMonitorStackDepthInfo() 969 if (err != OK) { in GetOwnedMonitorStackDepthInfo() 970 return err; in GetOwnedMonitorStackDepthInfo() 979 return err; in GetOwnedMonitorStackDepthInfo() [all …]
|
/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/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/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/test/ti-agent/ |
D | redefinition_helper.cc | 43 std::stringstream err; in throwCommonRedefinitionError() local 46 err << "Failed to " << (is_redefine ? "redefine" : "retransform") << " class"; in throwCommonRedefinitionError() 48 err << "es"; in throwCommonRedefinitionError() 50 err << " <"; in throwCommonRedefinitionError() 56 err << ", "; in throwCommonRedefinitionError() 58 err << signature; in throwCommonRedefinitionError() 62 err << "> due to " << error; in throwCommonRedefinitionError() 63 std::string message = err.str(); in throwCommonRedefinitionError() 276 std::stringstream err; in Java_art_Redefinition_popTransformationFor() local 277 err << "No transformations found for class " << name_str; in Java_art_Redefinition_popTransformationFor() [all …]
|
D | jvmti_helper.cc | 120 char* err; in JvmtiErrorToException() local 121 CheckJvmtiError(jvmtienv, jvmtienv->GetErrorName(error, &err)); in JvmtiErrorToException() 123 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException() 125 Deallocate(jvmtienv, err); in JvmtiErrorToException()
|
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 …]
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 97 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/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/1934-jvmti-signal-thread/ |
D | expected.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 | 109 void ClassExt::SetVerifyError(ObjPtr<Object> err) { in SetVerifyError() argument 111 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError() 113 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, verify_error_), err); in SetVerifyError()
|
/art/tools/jfuzz/ |
D | run_dex_fuzz_test.py | 116 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:
|
D | run_jfuzz_test.py | 134 out=None, err=None, timeout=30) == RetCode.SUCCESS: 137 out=None, err='dxerr.txt', timeout=30) 167 out=None, err=None, timeout=30) == RetCode.SUCCESS: 168 retc = RunCommand(['java', 'Test'], self.output_file, err=None) 463 if (RunCommand(['jfuzz'] + self._jfuzz_args, out='Test.java', err=None) 566 except subprocess.CalledProcessError as err: 567 print('Failed to run report script.\n', err) 583 err=errfile_path, timeout=300) == RetCode.TIMEOUT:
|
/art/tools/ahat/src/ri-test-dump/ |
D | Main.java | 30 System.err.println("no output file specified"); in main()
|