Home
last modified time | relevance | path

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

1234

/dalvik/tests/068-classloader/src/
DMain.java73 System.err.println("loadClass failed"); in testAccess1()
82 System.err.println("ERROR: Inaccessible1 was accessible"); in testAccess1()
84 System.err.println("newInstance failed: " + ie); in testAccess1()
102 System.err.println("ERROR: Inaccessible2 was accessible"); in testAccess2()
108 System.err.println("Got unexpected CNFE/IAE #2"); in testAccess2()
122 System.err.println("ERROR: Inaccessible3 was accessible"); in testAccess3()
128 System.err.println("Got unexpected CNFE/IAE #3"); in testAccess3()
147 System.err.println("loadClass failed: " + cnfe); in testExtend()
155 System.err.println("newInstance failed: " + ie); in testExtend()
158 System.err.println("newInstance failed: " + iae); in testExtend()
[all …]
/dalvik/tests/042-new-instance/src/
DMain.java40 System.err.println("LocalClass failed"); in testClassNewInstance()
48 System.err.println("ERROR: PackageAccess succeeded unexpectedly"); in testClassNewInstance()
52 System.err.println("Got unexpected PackageAccess failure"); in testClassNewInstance()
60 System.err.println("ERROR: MaybeAbstract succeeded unexpectedly"); in testClassNewInstance()
64 System.err.println("Got unexpected MaybeAbstract failure"); in testClassNewInstance()
76 System.err.println("Cons LocalClass succeeded unexpectedly"); in testConstructorNewInstance()
80 System.err.println("Cons LocalClass failed strangely"); in testConstructorNewInstance()
91 System.err.println("Cons LocalClass2 failed"); in testConstructorNewInstance()
99 System.err.println("ERROR: Cons PackageAccess succeeded unexpectedly"); in testConstructorNewInstance()
104 System.err.println("Cons got unexpected PackageAccess failure"); in testConstructorNewInstance()
[all …]
/dalvik/vm/hprof/
DHprofString.cpp80 int err; in hprofDumpStrings() local
84 for (err = 0, dvmHashIterBegin(gStringHashTable, &iter); in hprofDumpStrings()
85 err == 0 && !dvmHashIterDone(&iter); in hprofDumpStrings()
88 err = hprofStartNewRecord(ctx, HPROF_TAG_STRING, HPROF_TIME); in hprofDumpStrings()
89 if (err == 0) { in hprofDumpStrings()
103 err = hprofAddU4ToRecord(rec, (u4)str); in hprofDumpStrings()
104 if (err == 0) { in hprofDumpStrings()
105 err = hprofAddUtf8StringToRecord(rec, str); in hprofDumpStrings()
112 return err; in hprofDumpStrings()
DHprofOutput.cpp163 int err; in hprofStartNewRecord() local
165 err = hprofFlushRecord(rec, ctx->memFp); in hprofStartNewRecord()
166 if (err != 0) { in hprofStartNewRecord()
167 return err; in hprofStartNewRecord()
210 int err; in hprofAddU1ListToRecord() local
212 err = guaranteeRecordAppend(rec, numValues); in hprofAddU1ListToRecord()
213 if (err != 0) { in hprofAddU1ListToRecord()
214 return err; in hprofAddU1ListToRecord()
225 int err; in hprofAddU1ToRecord() local
227 err = guaranteeRecordAppend(rec, 1); in hprofAddU1ToRecord()
[all …]
DHprofClass.cpp109 int err; in hprofDumpClasses() local
113 for (err = 0, dvmHashIterBegin(gClassHashTable, &iter); in hprofDumpClasses()
114 err == 0 && !dvmHashIterDone(&iter); in hprofDumpClasses()
117 err = hprofStartNewRecord(ctx, HPROF_TAG_LOAD_CLASS, HPROF_TIME); in hprofDumpClasses()
118 if (err == 0) { in hprofDumpClasses()
142 return err; in hprofDumpClasses()
/dalvik/vm/native/
Ddalvik_system_Zygote.cpp143 int err; in setSignalHandler() local
150 err = sigaction (SIGCHLD, &sa, NULL); in setSignalHandler()
152 if (err < 0) { in setSignalHandler()
162 int err; in unsetSignalHandler() local
169 err = sigaction (SIGCHLD, &sa, NULL); in unsetSignalHandler()
171 if (err < 0) { in unsetSignalHandler()
226 int err; in setrlimitsFromArray() local
236 err = setrlimit(contents[0], &rlim); in setrlimitsFromArray()
238 if (err < 0) { in setrlimitsFromArray()
551 int err; in forkAndSpecializeCommon() local
[all …]
/dalvik/tests/044-proxy/src/
DWrappedThrow.java46 System.err.println("No exception thrown"); in main()
50 System.err.println("Got unexpected exception: " + t); in main()
55 System.err.println("No exception thrown"); in main()
59 System.err.println("Got unexpected exception: " + t); in main()
64 System.err.println("No exception thrown"); in main()
68 System.err.println("Got unexpected exception: " + t); in main()
76 System.err.println("No exception thrown"); in main()
80 System.err.println("Got unexpected exception: " + t); in main()
85 System.err.println("No exception thrown"); in main()
89 System.err.println("Got unexpected exception: " + t); in main()
[all …]
DClash.java35 System.err.println("Dupe did not throw expected exception"); in main()
44 System.err.println("Clash did not throw expected exception"); in main()
DBasicTest.java36 System.err.println("not a proxy class?"); in main()
38 System.err.println("ERROR: Proxy.getInvocationHandler is null"); in main()
100 System.err.println("failed: " + nsme); in createProxy()
102 System.err.println("failed: " + ie); in createProxy()
104 System.err.println("failed: " + ie); in createProxy()
106 System.err.println("failed: " + ite); in createProxy()
/dalvik/tests/075-verification-error/src/
DMain.java39 System.err.println("ERROR: MaybeAbstract succeeded unexpectedly"); in testClassNewInstance()
44 System.err.println("Got unexpected MaybeAbstract failure"); in testClassNewInstance()
91 System.err.println("ERROR: bad access succeeded\n"); in testBadAccess()
99 System.err.println("ERROR: bad access succeeded\n"); in testBadAccess()
107 System.err.println("ERROR: bad access succeeded\n"); in testBadAccess()
115 System.err.println("ERROR: bad access succeeded\n"); in testBadAccess()
124 System.err.println("ERROR: bad meth-class access succeeded\n"); in testBadAccess()
133 System.err.println("ERROR: bad field-class access succeeded\n"); in testBadAccess()
142 System.err.println("ERROR: bad access succeeded\n"); in testBadAccess()
/dalvik/tests/084-class-init/src/
DMain.java27 System.err.println("sleep interrupted"); in sleep()
34 System.err.println("Construction of PartialInit succeeded unexpectedly"); in checkExceptions()
41 System.err.println("Load of FIELD0 succeeded unexpectedly"); in checkExceptions()
47 System.err.println("Load of FIELD1 succeeded unexpectedly"); in checkExceptions()
54 System.err.println("Load of FIELD succeeded unexpectedly"); in checkExceptions()
75 System.err.println(ie); in checkTiming()
/dalvik/dx/src/com/android/dx/command/
DMain.java128 System.err.println("\nUNEXPECTED TOP-LEVEL EXCEPTION:"); in main()
132 System.err.println("\nUNEXPECTED TOP-LEVEL ERROR:"); in main()
136 System.err.println( in main()
146 System.err.println("error: no command specified"); in main()
160 System.err.println("dx version " + Version.VERSION); in version()
168 System.err.println(USAGE_MESSAGE); in usage()
DDxConsole.java36 public static PrintStream err = System.err; field in DxConsole
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMain.java78 System.err.println("Failed: " + ioe); in run()
126 System.err.println("Unable to open '" + fileName + "': " + in openInputFileAsZip()
141 System.err.println("Unable to find '" + CLASSES_DEX + in openInputFileAsZip()
197 System.err.println("Unknown format '" + mOutputFormat +"'"); in parseArgs()
204 System.err.println("Unknown option '" + arg + "'"); in parseArgs()
223 System.err.print( in usage()
/dalvik/tests/074-gc-thrash/src/
DMain.java55 System.err.println(iae); in main()
57 System.err.println(ite); in main()
84 System.err.println("Found VMDebug but not dumpHprofData method"); in getDumpHprofDataMethod()
130 System.err.println("join was interrupted"); in runTests()
141 System.err.println("sleep was interrupted"); in sleep()
213 System.err.println("not even once?"); in run()
224 System.err.println("Deep: " + i + " strong=" + strong[i] + in run()
239 System.err.println("Deep: weak still has " + i); in run()
/dalvik/tests/024-illegal-access/src/
DMain.java21 System.err.println("ERROR: call 1 not expected to succeed"); in main()
32 System.err.println("ERROR: call 2 not expected to succeed"); in main()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java254 System.err.println( in runMonoDex()
520 DxConsole.err.println(errors + " error" + in processAllFiles()
530 DxConsole.err.println("no classfiles specified"); in processAllFiles()
579 DxConsole.err.println("\nEXCEPTION FROM SIMULATION:"); in processOne()
580 DxConsole.err.println(ex.getMessage() + "\n"); in processOne()
581 DxConsole.err.println(((SimException) ex).getContext()); in processOne()
583 DxConsole.err.println("\nUNEXPECTED TOP-LEVEL EXCEPTION:"); in processOne()
584 ex.printStackTrace(DxConsole.err); in processOne()
690 DxConsole.err.println("\ntrouble processing:"); in processClass()
692 ex.printStackTrace(DxConsole.err); in processClass()
[all …]
/dalvik/tests/064-field-access/src/
DMain.java30 System.err.println("Not expected to succeed"); in main()
91 System.err.println("ERROR: call succeeded, was expecting " in getValue()
97 System.err.println("ERROR: call failed unexpectedly: " in getValue()
102 System.err.println("ERROR: incorrect exception: wanted " in getValue()
323 System.err.println("ERROR: call succeeded, was expecting " in getValue()
329 System.err.println("ERROR: call failed unexpectedly: " in getValue()
334 System.err.println("ERROR: incorrect exception: wanted " in getValue()
/dalvik/tests/077-method-override/src/
DMain.java40 System.err.println("Got NSME - ovws"); in main()
48 System.err.println("Got NSME - ovws"); in main()
/dalvik/tests/059-finalizer-throw/src/
DMain.java35 System.err.println(ie); in main()
43 System.err.println(ie); in main()
/dalvik/libdex/
DSysUtil.cpp171 int err = errno; in sysMapFileInShmemWritableReadOnly() local
173 memPtr, length, strerror(err)); in sysMapFileInShmemWritableReadOnly()
174 ALOGD("mprotect(RO) failed (%d), file will remain read-write", err); in sysMapFileInShmemWritableReadOnly()
265 int err = errno; in sysChangeMapAccess() local
321 int err = errno; in sysWriteFully() local
322 ALOGE("%s: write failed: %s", logMsg, strerror(err)); in sysWriteFully()
323 return err; in sysWriteFully()
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java73 System.err.println("unknown option: " + arg); in main()
79 System.err.println("no input files specified"); in main()
99 System.err.println("\ntrouble parsing:"); in main()
103 ex.printContext(System.err); in main()
/dalvik/tests/086-null-super/src/
DMain.java154 System.err.println("ERROR: Inaccessible was accessible"); in testFailLoadAndGc()
158 System.err.println("Got expected ITE/NPE"); in testFailLoadAndGc()
160 System.err.println("Got unexpected ITE"); in testFailLoadAndGc()
/dalvik/tests/087-gc-after-link/src/
DMain.java163 System.err.println("ERROR: Inaccessible was accessible"); in testFailLoadAndGc()
167 System.err.println("Got expected ITE/NPE"); in testFailLoadAndGc()
169 System.err.println("Got unexpected ITE"); in testFailLoadAndGc()
/dalvik/vm/compiler/template/
Dgen-template.py97 except IOError, err:
99 raise DataParseError("unable to load asm-stub: %s" % str(err))
294 except KeyError, err:
296 % (source, str(err)))
408 except DataParseError, err:
409 print "Failed: " + str(err)

1234