Searched refs:source (Results 276 - 300 of 878) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4759934.java61 Object source = event.getSource();
62 Component component = (source instanceof Component)
63 ? (Component) source
/openjdk7/langtools/test/tools/javac/tree/
H A DT6963934.java35 import com.sun.source.tree.CompilationUnitTree;
36 import com.sun.source.tree.ImportTree;
37 import com.sun.source.util.JavacTask;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJJavaName.java220 String[] source = {
246 TABLE = new Entry[source.length/2];
248 for( int i=0; i<source.length; i+=2 ) {
249 TABLE[i/2] = new Entry(source[i],source[i+1]);
/openjdk7/jdk/test/com/sun/management/GarbageCollectorMXBean/
H A DGarbageCollectionNotificationTest.java55 String source = ((ObjectName)notif.getSource()).getCanonicalName();
57 if(!listenerInvoked.get(source)) {
121 for (String source : listenerInvoked.keySet()) {
122 if(!listenerInvoked.get(source))
124 + source);
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DShortWrite.java77 SocketChannel source,
92 int n = source.write(buf);
114 try (SocketChannel source = SocketChannel.open(sa);
121 test(pool, source, sink, size);
127 test(pool, source, sink, size);
76 test(ExecutorService pool, SocketChannel source, SocketChannel sink, int size) argument
H A DVectorIO.java65 String source = "buffer" + i;
67 bufs[i] = ByteBuffer.allocateDirect(source.length());
69 bufs[i] = ByteBuffer.allocate(source.length());
71 bufs[i].put(source.getBytes("8859_1"));
126 String source = "buffer" + i;
128 bufs[i] = ByteBuffer.allocateDirect(source.length());
130 bufs[i] = ByteBuffer.allocate(source.length());
/openjdk7/langtools/test/tools/javac/6863465/
H A DTestCircularClassfile.java41 import com.sun.source.util.JavacTask;
63 String source; field in class:TestCircularClassfile.JavaSource
67 source = sourceStub.replace("#C", clazz.name).replace("#S", sup.name);
72 return source;
108 throw new AssertionError(newSource.source);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DNet.java519 static int join4(FileDescriptor fd, int group, int interf, int source) argument
522 return joinOrDrop4(true, fd, group, interf, source);
528 static void drop4(FileDescriptor fd, int group, int interf, int source) argument
531 joinOrDrop4(false, fd, group, interf, source);
534 private static native int joinOrDrop4(boolean join, FileDescriptor fd, int group, int interf, int source) argument
538 * Block IPv4 source
540 static int block4(FileDescriptor fd, int group, int interf, int source) argument
543 return blockOrUnblock4(true, fd, group, interf, source);
547 * Unblock IPv6 source
549 static void unblock4(FileDescriptor fd, int group, int interf, int source) argument
555 blockOrUnblock4(boolean block, FileDescriptor fd, int group, int interf, int source) argument
562 join6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
571 drop6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
577 joinOrDrop6(boolean join, FileDescriptor fd, byte[] group, int index, byte[] source) argument
583 block6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
592 unblock6(FileDescriptor fd, byte[] group, int index, byte[] source) argument
598 blockOrUnblock6(boolean block, FileDescriptor fd, byte[] group, int index, byte[] source) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DSolarisEventPort.java173 // event source
174 short source = unsafe.getShort(address + OFFSETOF_SOURCE);
175 if (source != PORT_SOURCE_FD) {
177 if (source == PORT_SOURCE_USER) {
231 static native boolean port_associate(int port, int source, long object, int events) argument
237 static native boolean port_dissociate(int port, int source, long object) argument
/openjdk7/langtools/test/tools/javac/
H A DT6993301.java30 import com.sun.source.tree.CompilationUnitTree;
31 import com.sun.source.tree.IdentifierTree;
32 import com.sun.source.tree.VariableTree;
33 import com.sun.source.util.TreePathScanner;
34 import com.sun.source.util.Trees;
/openjdk7/langtools/test/tools/javac/positions/
H A DT6404194.java31 import com.sun.source.tree.ClassTree;
32 import com.sun.source.tree.CompilationUnitTree;
33 import com.sun.source.tree.Tree;
34 import com.sun.source.util.JavacTask;
35 import com.sun.source.util.Trees;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DValidatorImpl.java95 public void validate(Source source, Result result) argument
97 if (source instanceof SAXSource) {
102 fSAXValidatorHelper.validate(source, result);
104 else if (source instanceof DOMSource) {
109 fDOMValidatorHelper.validate(source, result);
111 else if (source instanceof StreamSource) {
116 fStreamValidatorHelper.validate(source, result);
118 else if (source instanceof StAXSource) {
123 fStaxValidatorHelper.validate(source, result);
126 else if (source
[all...]
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/
H A DWritingInterruptionTest.java164 public void imageStarted(ImageWriter source, argument
167 public void imageProgress(ImageWriter source, argument
176 public void imageComplete(ImageWriter source) {}; argument
178 public void thumbnailStarted(ImageWriter source, argument
182 public void thumbnailProgress(ImageWriter source, argument
185 public void thumbnailComplete(ImageWriter source) {}; argument
187 public void writeAborted(ImageWriter source) {}; argument
/openjdk7/langtools/test/tools/javac/api/6557752/
H A DT6557752.java34 import com.sun.source.tree.AssignmentTree;
35 import com.sun.source.tree.CompilationUnitTree;
36 import com.sun.source.tree.MethodInvocationTree;
37 import com.sun.source.util.JavacTask;
38 import com.sun.source.util.TreePath;
39 import com.sun.source.util.TreePathScanner;
40 import com.sun.source.util.Trees;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/
H A DBIProperty.java283 XSComponent source,TypeUse tu, QName typeName) {
295 CValuePropertyInfo prop = wrapUp(new CValuePropertyInfo(name, source, getCustomizations(source), source.getLocator(), tu, typeName), source);
296 BIInlineBinaryData.handle(source, prop);
332 * @param source
335 public CElementPropertyInfo createElementProperty(String defaultName, boolean forConstant, XSParticle source, argument
353 source, getCustomizations(source),
282 createValueProperty(String defaultName,boolean forConstant, XSComponent source,TypeUse tu, QName typeName) argument
363 createDummyExtendedMixedReferenceProperty( String defaultName, XSComponent source, RawTypeSet types) argument
376 createContentExtendedMixedReferenceProperty( String defaultName, XSComponent source, RawTypeSet types) argument
389 createReferenceProperty( String defaultName, boolean forConstant, XSComponent source, RawTypeSet types, boolean isMixed, boolean dummy, boolean content, boolean isMixedExtended) argument
424 createElementOrReferenceProperty( String defaultName, boolean forConstant, XSParticle source, RawTypeSet types) argument
457 wrapUp(T prop, XSComponent source) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/
H A DPrivateCredentialPermission.java348 Object[] source = {name};
350 (form.format(source) + ResourcesMgr.getString
367 Object[] source = {name};
369 (form.format(source) + ResourcesMgr.getString
382 Object[] source = {name};
384 (form.format(source) + ResourcesMgr.getString
404 Object[] source = {name};
406 (form.format(source) + ResourcesMgr.getString
557 Object[] source = {principalClass, principalName};
558 return (form.format(source));
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/
H A DNGCCInterleaveFilter.java199 * @param source
204 public void joinByEnterElement( NGCCEventReceiver source, argument
216 if( _receivers[i]!=source )
226 public void joinByLeaveElement( NGCCEventReceiver source, argument
238 if( _receivers[i]!=source )
248 public void joinByEnterAttribute( NGCCEventReceiver source, argument
260 if( _receivers[i]!=source )
270 public void joinByLeaveAttribute( NGCCEventReceiver source, argument
282 if( _receivers[i]!=source )
292 public void joinByText( NGCCEventReceiver source, argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DNGCCInterleaveFilter.java199 * @param source
204 public void joinByEnterElement( NGCCEventReceiver source, argument
216 if( _receivers[i]!=source )
226 public void joinByLeaveElement( NGCCEventReceiver source, argument
238 if( _receivers[i]!=source )
248 public void joinByEnterAttribute( NGCCEventReceiver source, argument
260 if( _receivers[i]!=source )
270 public void joinByLeaveAttribute( NGCCEventReceiver source, argument
282 if( _receivers[i]!=source )
292 public void joinByText( NGCCEventReceiver source, argument
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DExtensionInfo.java222 * @param source version to compare to
224 * @return < 0 if source < version
225 * > 0 if source > version
226 * = 0 if source = version
228 private int compareExtensionVersion(String source, String target) argument
231 source = source.toLowerCase();
234 return strictCompareExtensionVersion(source, target);
243 * @param source version to compare to
245 * @return < 0 if source < versio
249 strictCompareExtensionVersion(String source, String target) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DScanner.java133 * <p>When a <code>Scanner</code> is closed, it will close its input source
134 * if the source implements the {@link java.io.Closeable} interface.
374 // The input source
375 private Readable source; field in class:Scanner
377 // Boolean is true if source is done
569 * from the specified source delimited by the specified pattern.
571 * @param source A character source implementing the Readable interface
573 * @return A scanner with the specified source and pattern
575 private Scanner(Readable source, Patter argument
595 Scanner(Readable source) argument
607 Scanner(InputStream source) argument
622 Scanner(InputStream source, String charsetName) argument
642 makeReadable(InputStream source, Charset charset) argument
655 Scanner(File source) argument
671 Scanner(File source, String charsetName) argument
677 Scanner(File source, CharsetDecoder dec) argument
692 makeReadable(ReadableByteChannel source, CharsetDecoder dec) argument
710 Scanner(Path source) argument
732 Scanner(Path source, String charsetName) argument
736 Scanner(Path source, Charset charset) argument
746 Scanner(String source) argument
758 Scanner(ReadableByteChannel source) argument
763 makeReadable(ReadableByteChannel source) argument
778 Scanner(ReadableByteChannel source, String charsetName) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMManagerDefault.java215 * specified source. If the unique flag is true, a new instance will
220 * A bit of magic in this implementation: If the source is null, unique is true,
227 * @param source the specification of the source object.
239 synchronized public DTM getDTM(Source source, boolean unique, argument
244 if(DEBUG && null != source)
247 " source: "+source.getSystemId()
254 if ((null != source) && source instanceo
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DEntityResolver2Wrapper.java198 private XMLInputSource createXMLInputSource(InputSource source, String baseURI) { argument
200 String publicId = source.getPublicId();
201 String systemId = source.getSystemId();
203 InputStream byteStream = source.getByteStream();
204 Reader charStream = source.getCharacterStream();
205 String encoding = source.getEncoding();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DFastInfosetReflection.java177 public static boolean isFastInfosetSource(Source source) { argument
178 return source.getClass().getName().equals(
198 public static InputStream FastInfosetSource_getInputStream(Source source) argument
204 return (InputStream) fiFastInfosetSource_getInputStream.invoke(source, (Object[])null);
207 public static void FastInfosetSource_setInputStream(Source source, argument
213 fiFastInfosetSource_setInputStream.invoke(source, new Object[] { is });
/openjdk7/langtools/test/tools/javac/generics/6413682/
H A DTestPos.java31 import com.sun.source.tree.CompilationUnitTree;
32 import com.sun.source.tree.ErroneousTree;
33 import com.sun.source.tree.Tree;
34 import com.sun.source.util.JavacTask;
35 import com.sun.source.util.TreeScanner;
36 import com.sun.source.util.Trees;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DFilterIterator.java35 * It takes a source iterator and a Filter object and returns nodes
36 * from the source after filtering them by calling filter.test(node).
43 * Reference to source iterator.
57 public FilterIterator(DTMAxisIterator source, DTMFilter filter) { argument
58 _source = source;
59 // System.out.println("FI souce = " + source + " this = " + this);
61 _isReverse = source.isReverse();

Completed in 160 milliseconds

<<11121314151617181920>>