Searched defs:result (Results 51 - 75 of 605) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/swing/SpringLayout/4726194/
H A Dbug4726194.java63 List result = new ArrayList();
65 test(level, constraints, result, Arrays.asList(new Object[level]));
74 for (int i = 0; i < result.size(); i++) {
76 List cc = (List) result.get(i);
134 int[] result = new int[cNames.length];
142 result[i] = s.getValue();
144 return result;
147 public static void test(int level, String[] constraints, List result, List soFar) { argument
149 result.add(soFar);
158 test(level - 1, constraints, result, chil
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DCompletedFuture.java34 * A Future representing the result of an I/O operation that has already
39 private final V result; field in class:CompletedFuture
42 private CompletedFuture(V result, Throwable exc) { argument
43 this.result = result;
47 static <V> CompletedFuture<V> withResult(V result) { argument
48 return new CompletedFuture<V>(result, null);
58 static <V> CompletedFuture<V> withResult(V result, Throwable exc) { argument
60 return withResult(result);
70 return result;
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dsecitem.c73 SECItem *result = NULL; local
82 result = PORT_ArenaZAlloc(arena, sizeof(SECItem), kmflag);
84 result = PORT_ZAlloc(sizeof(SECItem), kmflag);
86 if (result == NULL) {
91 result = item;
94 result->len = len;
97 result->data = PORT_ArenaAlloc(arena, len, kmflag);
99 result->data = PORT_Alloc(len, kmflag);
101 if (result->data == NULL) {
105 result
[all...]
/openjdk7/jdk/src/solaris/bin/
H A Dergo.c56 jboolean result; local
63 result = ServerClassMachineImpl();
65 (result == JNI_TRUE ? "true" : "false"));
66 return result;
81 jboolean result = JNI_FALSE; local
91 result = JNI_TRUE;
95 (result == JNI_TRUE ? "JNI_TRUE" : "JNI_FALSE"));
96 return result;
105 const uint64_t result = pages * page_size; local
111 pages, page_size, result, resul
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/
H A DEndpointReference.java115 * @param result for writing infoset
118 * <code>EndpointReference</code> to the specified <code>result</code>.
121 * If the <code>null</code> <code>result</code> value is given.
123 public abstract void writeTo(Result result); argument
/openjdk7/hotspot/test/runtime/6929067/
H A Dinvoke.c20 jint result; variable
78 result = JNI_CreateJavaVM (&jvm, &tmp.void_env, &vm_args);
79 assert (result >= 0);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DDOMDocumentHandler.java45 * @param result the object which receives the constructed DOM nodes
47 public void setDOMResult(DOMResult result); argument
H A DStAXValidatorHelper.java66 public void validate(Source source, Result result) argument
69 if (result == null || result instanceof StAXResult) {
85 if( result!=null ) {
87 identityTransformer2.setResult(result);
103 new Object [] {source.getClass().getName(), result.getClass().getName()}));
/openjdk7/jaxp/src/javax/xml/stream/
H A DXMLOutputFactory.java244 * Create a new XMLStreamWriter that writes to a JAXP result. This method is optional.
245 * @param result the result to write to
250 public abstract XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException; argument
254 * Create a new XMLEventWriter that writes to a JAXP result. This method is optional.
255 * @param result the result to write to
260 public abstract XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException; argument
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DAbstractExecutorService.java81 * the given value as its result and provide for cancellation of
95 * the callable's result as its result and provide for
118 public <T> Future<T> submit(Runnable task, T result) { argument
120 RunnableFuture<T> ftask = newTaskFor(task, result);
159 // result, we can throw the last exception we got.
H A DExecutorCompletionService.java71 * Suppose instead that you would like to use the first non-null result
84 * Result result = null;
92 * result = r;
103 * if (result != null)
104 * use(result);
131 private RunnableFuture<V> newTaskFor(Runnable task, V result) { argument
133 return new FutureTask<V>(task, result);
135 return aes.newTaskFor(task, result);
185 public Future<V> submit(Runnable task, V result) { argument
187 RunnableFuture<V> f = newTaskFor(task, result);
[all...]
H A DExecutorService.java136 * result is retrieved via {@code Future.get()}.
221 * Future's <tt>get</tt> method will return the task's result upon
227 * <tt>result = exec.submit(aCallable).get();</tt>
245 * return the given result upon successful completion.
248 * @param result the result to return
254 <T> Future<T> submit(Runnable task, T result); argument
325 * Executes the given tasks, returning the result
333 * @return the result returned by one of the tasks
346 * Executes the given tasks, returning the result
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1BlockOffsetTable.inline.hpp55 size_t result = delta >> LogN; local
56 check_index(result, "bad index from address");
57 return result;
63 HeapWord* result = _reserved.start() + (index << LogN_words); local
64 assert(result >= _reserved.start() && result < _reserved.end(),
66 return result;
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/
H A DSnmpSubNextRequestHandler.java167 * The method updates a given var bind list with the result of a
173 protected void updateResult(SnmpVarBind[] result) { argument
183 final SnmpVarBind vb= result[index];
185 result[index]= elmt;
199 result[index]= elmt;
219 result[index]= elmt;
246 result[index].value = elmt.value;
266 result[index].value = realValue.value;
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/FilterWindow/src/com/sun/hotspot/igv/filterwindow/
H A DFilterNode.java51 private Lookup.Result result; field in class:FilterNode
73 result = Utilities.actionsGlobalContext().lookup(tpl);
74 result.addLookupListener(this);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DJavaGroupOrganizer.java48 List<Pair<String, List<Group>>> result = new ArrayList<Pair<String, List<Group>>>();
51 buildResult(result, groups, packageNameProvider);
53 buildResult(result, groups, classNameProvider);
61 result.add(p);
64 result.add(new Pair<String, List<Group>>("", groups));
67 return result;
70 private void buildResult(List<Pair<String, List<Group>>> result, List<Group> groups, NameProvider provider) { argument
78 result.add(pair);
86 Collections.sort(result, new Comparator<Pair<String, List<Group>>>() {
/openjdk7/hotspot/src/share/vm/runtime/
H A DperfMemory.cpp221 char* result = _top; local
225 assert(contains(result), "PerfData memory pointer out of range");
230 return result;
/openjdk7/hotspot/test/compiler/5057225/
H A DTest5057225.java85 static void check(long result, long expected) { argument
86 if (result != expected)
87 throw new InternalError(result + " != " + expected);
/openjdk7/hotspot/test/compiler/5091921/
H A DTest5091921.java34 private static int result = 0; field in class:Test5091921
43 result = sum;
55 result = sum;
82 result = sum;
93 result = sum;
95 result = sum;
103 result = sum;
116 result = sum;
124 sum += result;
125 result
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/factory/
H A DStAXOutputFactory.java55 public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException { argument
56 return new StAXEventWriter(createXMLStreamWriter(result));
71 public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException { argument
72 if(result instanceof StreamResult){
73 StreamResult streamResult = (StreamResult)result;
90 FileWriter writer = new FileWriter(new File(result.getSystemId()));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/util/
H A DDomAnnotationParserFactory.java71 private DOMResult result; field in class:DomAnnotationParserFactory.AnnotationParserImpl
82 result = new DOMResult();
83 transformer.setResult(result);
88 Document dom = (Document)result.getNode();
/openjdk7/jdk/test/com/sun/jdi/
H A DPopAsynchronousTest.java53 void report(int n, int result) { argument
54 System.out.println("fibonacci(" + n + ") = " + result);
70 int result = -1; field in class:PopAsynchronousTest
92 LocalVariable lv = frame.visibleVariableByName("result");
94 result = resultV.value();
198 * check result
202 if (result == correct) {
203 println("Got expected result: " + result);
205 failure("FAIL: expected result
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest3.java122 static String result = field in class:Test3
150 if (!compare (s, result)) {
151 throw new RuntimeException ("wrong string result");
155 static boolean compare (String s, String result) { argument
156 Pattern pattern = Pattern.compile (result,
H A DTest4.java120 static String result = field in class:Test4
148 if (!compare (s, result)) {
149 throw new RuntimeException ("wrong string result");
153 static boolean compare (String s, String result) { argument
154 Pattern pattern = Pattern.compile (result,
H A DTest5.java119 static String result = field in class:Test5
147 if (!compare (s, result)) {
148 throw new RuntimeException ("wrong string result");
152 static boolean compare (String s, String result) { argument
153 Pattern pattern = Pattern.compile (result,

Completed in 305 milliseconds

1234567891011>>