Searched refs:rc (Results 26 - 50 of 362) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javah/
H A DT5070898.java45 int rc = runJavah();
46 System.err.println("exit code: " + rc);
47 if (rc == 0)
48 throw new Exception("unexpected exit code: " + rc);
70 int rc = javac.run(null, null, null, "JavahTest.java");
71 if (rc != 0)
H A DVersionTest.java51 int rc = com.sun.tools.javah.Main.run(args, pw);
53 if (rc != 0)
54 throw new Error("javah failed: rc=" + rc);
/openjdk10/langtools/test/tools/javap/
H A DT4880663.java58 int rc = com.sun.tools.javac.Main.compile(new String[] { "-g", f.getPath() });
59 if (rc != 0)
60 throw new Error("compilation failed. rc=" + rc);
68 int rc = com.sun.tools.javap.Main.run(new String[] { classFile.getPath() }, out);
69 if (rc != 0)
70 throw new Error("javap failed. rc=" + rc);
H A DT6271787.java60 int rc = com.sun.tools.javac.Main.compile(new String[] { "-g", f.getPath() });
61 if (rc != 0)
62 throw new Error("compilation failed. rc=" + rc);
70 int rc = com.sun.tools.javap.Main.run(new String[] { "-v", f.getPath() }, out);
71 if (rc != 0)
72 throw new Error("javap failed. rc=" + rc);
H A DT6980017.java49 int rc = com.sun.tools.javap.Main.run(args, pw);
51 if (rc != 0)
52 error("Unexpected exit code: " + rc);
H A DT4876942.java51 int rc = com.sun.tools.javap.Main.run(args, out);
52 if (rc != (args.length == 0 ? 2 : 0))
53 throw new Error("javap failed. rc=" + rc);
H A DT4501660.java56 int rc = com.sun.tools.javap.Main.run(args, out);
57 if (rc != 0)
58 throw new Error("javap failed. rc=" + rc);
H A DT6474890.java63 int rc = com.sun.tools.javac.Main.compile(
65 if (rc != 0)
66 throw new Error("compilation failed. rc=" + rc);
90 int rc = com.sun.tools.javap.Main.run(args, out);
91 if (rc != 0)
92 throw new Error("javap failed. rc=" + rc);
H A DT6622232.java67 int rc = com.sun.tools.javac.Main.compile(new String[] { "-g", f.getPath() });
68 if (rc != 0)
69 throw new Error("compilation failed. rc=" + rc);
77 int rc = com.sun.tools.javap.Main.run(new String[] { "-v", f.getPath() }, out);
78 if (rc != 0)
79 throw new Error("javap failed. rc=" + rc);
H A DT4459541.java83 int rc = com.sun.tools.javac.Main.compile(new String[] { f.getPath() });
84 if (rc != 0)
85 throw new Error("compilation failed. rc=" + rc);
93 int rc = com.sun.tools.javap.Main.run(new String[] { "-l", f.getPath() }, out);
94 if (rc != 0)
95 throw new Error("javap failed. rc=" + rc);
/openjdk10/jdk/src/java.prefs/unix/native/libprefs/
H A DFileSystemPreferences.c72 int fd, rc; local
103 rc = fcntl(fd, F_SETLK, &fl);
105 rc = fcntl(fd, F_SETLK64, &fl);
108 if (rc < 0) {
130 int rc; local
138 rc = fcntl(fd, F_SETLK, &fl);
140 rc = fcntl(fd, F_SETLK64, &fl);
143 if (rc < 0) {
147 rc = close(fd);
148 if (rc <
[all...]
/openjdk10/langtools/test/tools/javac/processing/errors/
H A DTestBadProcessor.java64 int rc;
68 rc = com.sun.tools.javac.Main.compile(args, pw);
85 if (rc == 0) {
86 error("unexpected exit code: " + rc + "; expected: not zero");
95 int rc;
98 rc = com.sun.tools.javac.Main.compile(args, pw);
103 if (rc != 0)
/openjdk10/hotspot/test/runtime/ThreadSignalMask/
H A DexeThreadSignalMask.c165 int rc; // return code for pthread_* methods local
187 if ((rc = pthread_sigmask(SIG_BLOCK, &set, NULL))) {
189 handleError("main: pthread_sigmask() error", strerror(rc));
193 if ((rc = pthread_attr_init(&attr))) {
195 handleError("main: pthread_attr_init() error", strerror(rc));
200 if ((rc = pthread_attr_setstacksize(&attr, ss))) {
202 handleError("main: pthread_attr_setstacksize() error", strerror(rc));
205 if ((rc = pthread_attr_getstacksize(&attr, &ss))) {
207 handleError("main: pthread_attr_getstacksize() error", strerror(rc));
213 if ((rc
[all...]
/openjdk10/langtools/test/jdk/javadoc/tool/
H A DToolProviderTest.java72 int rc = javadoc.run(pw, pw, "-help");
73 if (rc != 0) {
74 error("unexpected exit code: " + rc);
89 int rc = javadoc.run(pwOut, pwErr, "-help");
90 if (rc != 0) {
91 error("unexpected exit code: " + rc);
115 int rc = javadoc.run(pwOut, pwErr,
118 if (rc != 1) {
119 error("unexpected exit code: " + rc);
H A DT6968833.java43 int rc = jdk.javadoc.internal.tool.Main.execute(args);
44 if (rc == 0)
45 throw new Error("Unexpected exit from javadoc: " + rc);
/openjdk10/langtools/test/tools/javac/main/
H A DToolProviderTest.java72 int rc = javac.run(pw, pw, "-help");
73 if (rc != 0) {
74 error("unexpected exit code: " + rc);
89 int rc = javac.run(pwOut, pwErr, "-help");
90 if (rc != 0) {
91 error("unexpected exit code: " + rc);
115 int rc = javac.run(pwOut, pwErr,
118 if (rc != 1) {
119 error("unexpected exit code: " + rc);
/openjdk10/jdk/src/jdk.jdi/share/native/libdt_shmem/
H A DshmemBack.c170 jint rc; local
176 rc = shmemBase_listen(address, &transport);
182 if (rc == SYS_OK) {
185 rc = shmemBase_name(transport, &name);
186 if (rc == SYS_OK) {
204 jint rc; local
213 rc = shmemBase_accept(transport, (long)acceptTimeout, &connection);
214 if (rc != SYS_OK) {
215 if (rc == SYS_TIMEOUT) {
222 rc
243 jint rc; local
[all...]
/openjdk10/jdk/src/jdk.jcmd/share/classes/sun/tools/jstat/
H A DOptionOutputFormatter.java65 RowClosure rc = new RowClosure(vm);
66 format.apply(rc);
67 return rc.getRow();
/openjdk10/langtools/test/jdk/javadoc/tool/nonConstExprs/
H A DTest.java40 int rc = jdk.javadoc.internal.tool.Main.execute(jdoc_args);
41 if (rc != 0)
42 throw new Exception("unexpected return code from javadoc: " + rc);
/openjdk10/langtools/test/tools/javadoc/
H A DT6968833.java50 int rc = com.sun.tools.javadoc.Main.execute(args);
51 if (rc == 0)
52 throw new Error("Unexpected exit from javadoc: " + rc);
/openjdk10/langtools/test/tools/javadoc/nonConstExprs/
H A DTest.java39 int rc = com.sun.tools.javadoc.Main.execute(jdoc_args);
40 if (rc != 0)
41 throw new Exception("unexpected return code from javadoc: " + rc);
/openjdk10/langtools/test/tools/sjavac/
H A DClasspathDependencies.java65 int rc = compile("-d", classesDep, "--state-dir=" + classesDep, srcDep);
66 check(rc == 0, "Compilation failed unexpectedly");
74 rc = compile("-d", classes, "--state-dir=" + classes, src, "-cp", classesDep);
75 check(rc == 0, "Compilation failed unexpectedly");
83 rc = compile("-d", classesDep, "--state-dir=" + classesDep, srcDep);
84 check(rc == 0, "Compilation failed unexpectedly");
88 rc = compile("-d", classes, "--state-dir=" + classes, src, "-cp", classesDep);
89 check(rc == 0, "Compilation failed unexpectedly");
98 rc = compile("-d", classesDep, "--state-dir=" + classesDep, srcDep);
99 check(rc
[all...]
/openjdk10/langtools/test/tools/javac/lib/
H A DCompileFail.java52 int rc = com.sun.tools.javac.Main.compile(
55 if (rc != expected_rc)
56 throw new Error("unexpected exit code: " + rc
/openjdk10/langtools/test/tools/javac/
H A DT6985181.java57 int rc = com.sun.tools.javac.Main.compile(args, pw);
62 if (rc != 0)
63 throw new Exception("Compilation failed: rc=" + rc);
70 int rc = com.sun.tools.javap.Main.run(args, pw);
75 if (rc != 0)
76 throw new Exception("javap failed: rc=" + rc);
/openjdk10/langtools/test/tools/javap/4111861/
H A DT4111861.java55 int rc = com.sun.tools.javac.Main.compile(args, pw);
56 if (rc != 0)
57 throw new Exception("javac failed, rc=" + rc);
64 int rc = com.sun.tools.javap.Main.run(args, pw);
65 if (rc != 0)
66 throw new Exception("javap failed, rc=" + rc);

Completed in 181 milliseconds

1234567891011>>