Searched defs:found (Results 1 - 25 of 67) sorted by relevance

123

/openjdk7/langtools/test/tools/javac/6440583/
H A DT6440583.java56 throw new AssertionError("no error trees found");
57 found = true;
65 if (!found)
66 throw new AssertionError("no ErroneousTree nodes found");
69 private static boolean found; field in class:T6440583
/openjdk7/jdk/src/share/classes/sun/misc/
H A DRegexpTarget.java37 * value from found() back to its caller.
40 Object found(String remainder); method in interface:RegexpTarget
/openjdk7/jdk/test/java/nio/file/DirectoryStream/
H A DBasic.java36 static boolean found; field in class:Basic
53 found = false;
57 if (found)
58 throw new RuntimeException("entry already found");
59 found = true;
68 if (!found)
69 throw new RuntimeException("entry not found");
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DSyntaxException.java46 public SyntaxException(int lineno, String expected, String found) { argument
49 + ", Found " + found;
52 public SyntaxException(int lineno, String expected, Token found) { argument
55 + ", Found " + found.toMessage();
58 public SyntaxException(int lineno, Token expected, Token found) { argument
61 + ", Found " + found.toMessage();
64 public SyntaxException(int lineno, Set expected, Token found) { argument
80 msg.append("\', Found " + found.toMessage());
/openjdk7/langtools/test/tools/javac/
H A DVersionOpt.java53 System.err.println("javac not found in tools.jar: " + javacURL);
65 System.err.println("javac not found in tools.jar: " + javacHome);
70 System.out.println("javac found in " + toolsJar);
91 throw new Exception(errors + " errors found");
94 void checkEqual(String kind, String found, String expect) { argument
95 if (!found.equals(expect)) {
98 System.err.println(" found: >>" + found + "<<");
/openjdk7/langtools/test/tools/javadoc/enum/docComments/
H A DMain.java72 private static boolean checkComment(String found, String expected) { argument
74 System.out.println("found: \"" + found + "\"");
75 return expected.equals(found);
/openjdk7/jdk/test/java/rmi/activation/CommandEnvironment/
H A DSetChildEnv.java151 String found = watcher.found;
152 if (found == null) {
154 while (found == null && --fudge > 0) {
156 found = watcher.found;
158 if (found == null) {
164 System.err.println("debugExec found: <<" + found + ">>");
166 int q = found
212 public String found; field in class:SetChildEnv.DebugExecWatcher
[all...]
/openjdk7/langtools/test/tools/javac/generics/
H A DT6751514.java76 static void equals(int found, int req) { argument
77 if (found != req) {
79 " - found: " + found + ")");
H A DT6869075.java61 static void equals(String found, String req) { argument
62 if (!found.equals(req)) {
64 " - found: " + found + ")");
/openjdk7/langtools/test/tools/javac/literals/
H A DBinaryLiterals.java110 throw new Exception(errors + " errors found");
113 void test(int expect, int found) { argument
115 if (found != expect)
116 error("test " + count + "\nexpected: 0x" + Integer.toHexString(expect) + "\n found: 0x" + Integer.toHexString(found));
119 void test(long expect, long found) { argument
121 if (found != expect)
122 error("test " + count + "\nexpected: 0x" + Long.toHexString(expect) + "\n found: 0x" + Long.toHexString(found));
/openjdk7/langtools/test/tools/javac/policy/test1/
H A DTest1b.java114 found(m.group(1), name);
132 int found = (names == null ? 0 : names.size());
133 if (found == 0 || found == expect) {
134 System.err.println("Found " + found + " files for " + prefix + ": OK");
137 error("Found " + found + " files for " + prefix + ": expected 0 or " + expect + " " + names);
140 void found(String prefix, String name) { method in class:Test1b
/openjdk7/langtools/test/tools/javac/tree/
H A DJavacTreeScannerTest.java81 * The set of nodes found by the scanner are compared
82 * against the set of nodes found by reflection.
88 found = new HashSet<JCTree>();
93 if (found.equals(expect)) {
95 return found.size();
98 error(sourcefile, "differences found");
100 if (found.size() != expect.size())
101 error("Size mismatch; found: " + found.size() + ", expected: " + expect.size());
105 missing.removeAll(found);
153 Set<JCTree> found; field in class:JavacTreeScannerTest.ScanTester
[all...]
H A DSourceTreeScannerTest.java83 * The set of nodes found by the scanner are compared
84 * against the set of nodes found by reflection.
90 found = new HashSet<Tree>();
95 if (found.equals(expect)) {
97 return found.size();
100 error(sourcefile.getName() + ": differences found");
102 if (found.size() != expect.size())
103 error("Size mismatch; found: " + found.size() + ", expected: " + expect.size());
107 missing.removeAll(found);
166 Set<Tree> found; field in class:SourceTreeScannerTest.ScanTester
[all...]
/openjdk7/langtools/test/tools/javap/
H A DT6866657.java48 throw new Error(errors + " found.");
70 void expectEqual(int found, int expected) { argument
71 if (found != expected)
72 error("bad value found: " + found + " expected: " + expected);
/openjdk7/langtools/test/tools/javac/6304921/
H A DTestLog.java88 private static void check(int found, int expected, String name) { argument
89 if (found == expected)
90 System.err.println(found + " " + name + " found, as expected.");
92 System.err.println("incorrect number of " + name + " found.");
94 System.err.println(" found: " + found);
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassDeclaration.java49 * CS_NOTFOUND - no class definition could be found
117 private boolean found = false; field in class:ClassDeclaration
133 if (found) {
155 found = true;
160 found = true;
/openjdk7/langtools/test/tools/javac/api/
H A DT6392782.java58 private static void check(TreeScanner<?,?> scanner, int expect, int found) { argument
59 if (found != expect)
60 throw new AssertionError(scanner.getClass().getName() + ": expected: " + expect + " found: " + found);
H A DT6877206.java102 throw new Exception("wrong number of entries found: "
152 void checkCoverage(String label, Set<String> found, String... expect) throws Exception { argument
154 if (!found.equals(e)) {
155 e.removeAll(found);
/openjdk7/langtools/test/tools/javac/processing/model/element/TestMissingElement/
H A DTestMissingElement.java74 String found = asString(te.getInterfaces(), ", ");
75 checkEqual("interfaces", te, found, expect);
80 String found = asString(te.getSuperclass());
81 checkEqual("supertype", te, found, expect);
84 private void checkEqual(String label, TypeElement te, String found, String expect) { argument
85 if (found.equals(expect)) {
86 // messager.printMessage(NOTE, "expected " + label + " found: " + expect, te);
89 + " found: " + found + "\n"
91 messager.printMessage(ERROR, "unexpected " + label + " found
[all...]
/openjdk7/langtools/test/tools/javac/processing/model/element/
H A DTestTypeParameter.java44 int found = (new Scanner()).scan(roundEnv.getRootElements(), null);
45 if (found == expect) {
46 note("generic elements found and verified: " + found);
49 + ", found " + found);
60 found += check(e, e.getTypeParameters());
61 return found;
67 found += check(e, e.getTypeParameters());
68 return found;
71 int found; field in class:TestTypeParameter.Scanner
[all...]
/openjdk7/langtools/test/tools/javac/util/context/
H A DT7021650.java67 // found in the context for each round or processing.
113 void checkEqual(String label, int found, int expect) throws Exception { argument
114 if (found != expect)
117 + ": found " + found);
212 throw new IllegalStateException(label + ": no item found");
/openjdk7/hotspot/src/share/vm/runtime/
H A DinterfaceSupport.cpp226 bool found = false; local
227 for (StackFrameStream sfs(thread); !sfs.is_done() && !found; sfs.next()) {
232 assert(map != NULL, "no oopmap found for pc");
233 found = map->has_derived_pointer();
236 if (found) {
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_SolarisOS_Utils.c58 int found = 0; local
71 found = 1;
75 if (!found) {
/openjdk7/langtools/test/tools/javac/6508981/
H A DTestInferBinaryName.java68 throw new Exception(errors + " error found");
163 void check(String found, String expect) { argument
164 if (!found.equals(expect)) {
166 System.err.println(" Found: " + found);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_loader.c127 LoaderIndex found; member in struct:SearchData
142 HPROF_ASSERT(data->found==0); /* Did we find more than one? */
143 data->found = index;
153 HPROF_ASSERT(data->found==0); /* Did we find more than one? */
154 data->found = index;
170 data.found = 0;
172 return data.found;

Completed in 190 milliseconds

123