Home
last modified time | relevance | path

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

12

/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/test/907-get-loaded-classes/
Dget_loaded_classes.cc48 char* err; in Java_art_Test907_getLoadedClasses() local
49 jvmti_env->GetErrorName(result, &err); in Java_art_Test907_getLoadedClasses()
50 printf("Failure running GetLoadedClasses: %s\n", err); in Java_art_Test907_getLoadedClasses()
51 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(err)); in Java_art_Test907_getLoadedClasses()
/art/tools/ahat/src/
DMain.java85 System.err.println("multiple baseline heap dumps."); in main()
86 help(System.err); in main()
92 System.err.println("multiple input files."); in main()
93 help(System.err); in main()
101 System.err.println("no input file."); in main()
102 help(System.err); in main()
DAhatHttpHandler.java50 System.err.println("Exception when handling " + exchange.getRequestURI() + ": "); in handle()
DBitmapHandler.java64 System.err.println("Exception when handling " + exchange.getRequestURI() + ": "); in handle()
/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/ti-agent/
Djvmti_helper.cc60 char* err; in JvmtiErrorToException() local
61 CheckJvmtiError(jvmti_env, jvmti_env->GetErrorName(error, &err)); in JvmtiErrorToException()
63 env->ThrowNew(rt_exception.get(), err); in JvmtiErrorToException()
65 Deallocate(jvmti_env, err); in JvmtiErrorToException()
Dredefinition_helper.cc43 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 …]
Dtrace_helper.cc255 jvmtiError err = jvmti_env->GetClassFields(k, &nfields, &fields); in Java_art_Trace_watchAllFieldAccesses() local
256 if (err == JVMTI_ERROR_CLASS_NOT_PREPARED) { in Java_art_Trace_watchAllFieldAccesses()
258 } else if (JvmtiErrorToException(env, jvmti_env, err)) { in Java_art_Trace_watchAllFieldAccesses()
295 jvmtiError err = jvmti_env->GetClassFields(k, &nfields, &fields); in Java_art_Trace_watchAllFieldModifications() local
296 if (err == JVMTI_ERROR_CLASS_NOT_PREPARED) { in Java_art_Trace_watchAllFieldModifications()
298 } else if (JvmtiErrorToException(env, jvmti_env, err)) { in Java_art_Trace_watchAllFieldModifications()
/art/test/990-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/runtime/
Djava_vm_ext_test.cc44 jint err = JNI_GetDefaultJavaVMInitArgs(nullptr); in TEST_F() local
45 EXPECT_EQ(JNI_ERR, err); in TEST_F()
133 jint err = vm_->DetachCurrentThread(); in TEST_F() local
134 EXPECT_EQ(JNI_ERR, err); in TEST_F()
Dplugin.cc34 std::string err; in Plugin() local
35 Load(&err); in Plugin()
/art/runtime/interpreter/mterp/
Dgen_mterp.py123 except IOError, err:
125 raise DataParseError("unable to load asm-stub: %s" % str(err))
139 except IOError, err:
141 raise DataParseError("unable to load fallback-stub: %s" % str(err))
480 except KeyError, err:
482 % (source, str(err)))
615 except DataParseError, err:
616 print "Failed: " + str(err)
/art/runtime/mirror/
Dclass_ext.cc109 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/
Drun_jfuzz_test.py133 out=None, err=None, timeout=30) == RetCode.SUCCESS:
135 out=None, err='dxerr.txt', timeout=30)
140 out=None, err='jackerr.txt', timeout=30)
157 out=None, err=None, timeout=30) == RetCode.SUCCESS:
158 retc = RunCommand(['java', 'Test'], self.output_file, err=None)
444 if (RunCommand(['jfuzz'] + self._jfuzz_args, out='Test.java', err=None)
545 except subprocess.CalledProcessError as err:
546 print('Failed to run report script.\n', err)
562 err=errfile_path, timeout=300) == RetCode.TIMEOUT:
Drun_dex_fuzz_test.py113 if RunCommand(['jfuzz'], out='Test.java', err=None) != RetCode.SUCCESS:
116 if RunCommand(['jack'] + jack_args, out=None, err='jackerr.txt',
/art/runtime/ti/
Dagent.cc46 LoadError err = DoDlOpen(error_msg); in DoLoadHelper() local
47 if (err != kNoError) { in DoLoadHelper()
49 return err; in DoLoadHelper()
/art/tools/ahat/test-dump/
DMain.java136 System.err.println("no output file specified"); in main()
158 System.err.println("Dumping hprof data to " + file); in main()
/art/tools/dmtracedump/
Dcreatetesttrace.cc410 int32_t err = 0; in parseOptions() local
419 err = 1; in parseOptions()
426 err = 1; in parseOptions()
430 return err; in parseOptions()
/art/test/901-hello-ti-agent/
Dbasics.cc165 static void CallJvmtiFunction(jvmtiEnv* env, jclass klass, jvmtiError* err) { in CallJvmtiFunction() argument
168 *err = env->GetClassMethods(klass, &n, &methods); in CallJvmtiFunction()
/art/test/ti-stress/
Dstress.cc222 jvmtiError err = jvmtienv_->GetLineNumberTable(method_, &nlines, &lines); in Init() local
223 if (err == JVMTI_ERROR_NONE) { in Init()
228 } else if (err != JVMTI_ERROR_ABSENT_INFORMATION && in Init()
229 err != JVMTI_ERROR_NATIVE_METHOD) { in Init()
738 jvmtiError err = jvmti->GetClassFields(k, &nfields, &fields); in WatchAllFields() local
739 if (err == JVMTI_ERROR_NONE) { in WatchAllFields()
748 } else if (err != JVMTI_ERROR_CLASS_NOT_PREPARED) { in WatchAllFields()
/art/runtime/openjdkjvm/
DOpenjdkJvm.cc86 int err = errno; in JVM_Open() local
87 if (err == EEXIST) { in JVM_Open()
168 const int err = errno; in JVM_GetLastErrorString() local
169 char* result = strerror_r(err, buf, len); in JVM_GetLastErrorString()
/art/test/708-jit-cache-churn/src/
DJitCacheChurnTest.java87 System.err.println(e); in runTasks()
244 System.err.println(e); in removeJittedMethod()
/art/tools/common/
Dcommon.py184 def RunCommand(cmd, out, err, timeout=5): argument
201 if err is not None:
202 errf = open(err, mode='w')

12