Searched defs:ds (Results 1 - 25 of 50) sorted by relevance

12

/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DChangingAddress.java36 static void check(DatagramSocket ds, DatagramChannel dc) { argument
37 InetAddress expected = ds.getLocalAddress();
51 DatagramSocket ds = null;
55 ds = new DatagramSocket();
57 check(ds, dc);
59 ds.connect(remote);
61 check(ds, dc);
63 ds.disconnect();
65 check(ds, dc);
68 ds
[all...]
H A DAdaptDatagramSocket.java46 static void test(DatagramSocket ds, InetSocketAddress dst, argument
56 ds.send(op);
60 ds.receive(ip);
98 DatagramSocket ds;
101 ds = new DatagramSocket();
104 ds = dc.socket();
105 ds.bind(new InetSocketAddress(0));
108 out.println("socket: " + ds);
110 ds.connect(dst);
111 out.println("connect: " + ds);
[all...]
H A DSRTest.java99 DatagramSocket ds = new DatagramSocket();
105 ds.send(dp);
107 ds.send(dp);
145 final DatagramSocket ds; field in class:SRTest.ClassicReader
149 this.ds = new DatagramSocket();
153 return ds.getLocalPort();
165 ds.receive(dp);
168 ds.close();
/openjdk7/jdk/test/java/net/DatagramPacket/
H A DReuseBuf.java38 DatagramSocket ds; field in class:ReuseBuf.ServerThread
41 ds = new DatagramSocket();
42 port = ds.getLocalPort();
53 ds.receive(dp);
55 ds.send(new DatagramPacket(reply.getBytes(),reply.length(),
64 ds.close();
71 DatagramSocket ds = new DatagramSocket();
75 ds.send(new DatagramPacket(msgs[i].getBytes(),msgs[i].length(),
78 ds.receive(dp);
84 ds
[all...]
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DCommandMap.java112 * @param ds a DataSource for the data
116 public CommandInfo[] getPreferredCommands(String mimeType, DataSource ds) { argument
140 * @param ds a DataSource for the data
144 public CommandInfo[] getAllCommands(String mimeType, DataSource ds) { argument
168 * @param ds a DataSource for the data
173 DataSource ds) {
200 * @param ds a DataSource for the data
205 DataSource ds) {
172 getCommand(String mimeType, String cmdName, DataSource ds) argument
204 createDataContentHandler(String mimeType, DataSource ds) argument
H A DDataContentHandler.java69 * @param ds The DataSource representing the data to be converted.
75 public Object getTransferData(DataFlavor df, DataSource ds) argument
83 * @param ds The DataSource representing the data to be converted.
87 public Object getContent(DataSource ds) throws IOException; argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DDataSourceStreamingDataHandler.java40 public DataSourceStreamingDataHandler(DataSource ds) { argument
41 super(ds);
H A DImageDataContentHandler.java79 * @param ds The DataSource representing the data to be converted.
82 public Object getTransferData(DataFlavor df, DataSource ds) argument
86 return getContent(ds);
97 * @param ds The DataSource representing the data to be converted.
100 public Object getContent(DataSource ds) throws IOException { argument
101 return ImageIO.read(new BufferedInputStream(ds.getInputStream()));
H A DStringDataContentHandler.java63 * @param ds The DataSource corresponding to the data
66 public Object getTransferData(DataFlavor df, DataSource ds) argument
71 return getContent(ds);
76 public Object getContent(DataSource ds) throws IOException { argument
81 enc = getCharset(ds.getContentType());
82 is = new InputStreamReader(ds.getInputStream(), enc);
H A DXmlDataContentHandler.java64 public Object getTransferData(DataFlavor df, DataSource ds) argument
69 return getContent(ds);
78 public Object getContent(DataSource ds) throws IOException { argument
79 String ctStr = ds.getContentType();
91 ? new StreamSource(new InputStreamReader(ds.getInputStream()), charset)
92 : new StreamSource(ds.getInputStream());
H A DMIMEPartStreamingDataHandler.java58 private final StreamingDataSource ds; field in class:MIMEPartStreamingDataHandler
62 ds = (StreamingDataSource)getDataSource();
66 return ds.readOnce();
70 ds.moveTo(file);
74 ds.close();
/openjdk7/jdk/src/share/classes/java/awt/dnd/
H A DMouseDragGestureRecognizer.java78 * @param ds The DragSource for the Component c
85 protected MouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl) { argument
86 super(ds, c, act, dgl);
96 * @param ds The DragSource for the Component c
101 protected MouseDragGestureRecognizer(DragSource ds, Component c, int act) { argument
102 this(ds, c, act, null);
111 * @param ds The DragSource for the Component c
115 protected MouseDragGestureRecognizer(DragSource ds, Component c) { argument
116 this(ds, c, DnDConstants.ACTION_NONE);
123 * @param ds Th
126 MouseDragGestureRecognizer(DragSource ds) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DGifDataContentHandler.java66 public Object getTransferData(DataFlavor df, DataSource ds) argument
71 return getContent(ds);
76 public Object getContent(DataSource ds) throws IOException { argument
77 InputStream is = ds.getInputStream();
H A DJpegDataContentHandler.java75 public Object getTransferData(DataFlavor df, DataSource ds) { argument
85 inputStream = ds.getInputStream();
101 public Object getContent(DataSource ds) { // throws Exception; argument
106 inputStream = ds.getInputStream();
H A DMultipartDataContentHandler.java57 public Object getTransferData(DataFlavor df, DataSource ds) { argument
61 return getContent(ds);
69 public Object getContent(DataSource ds) { argument
72 ds, new ContentType(ds.getContentType()));
H A DStringDataContentHandler.java63 * @param ds The DataSource corresponding to the data
66 public Object getTransferData(DataFlavor df, DataSource ds) argument
71 return getContent(ds);
76 public Object getContent(DataSource ds) throws IOException { argument
81 enc = getCharset(ds.getContentType());
82 is = new InputStreamReader(ds.getInputStream(), enc);
H A DImageDataContentHandler.java79 * @param ds The DataSource representing the data to be converted.
82 public Object getTransferData(DataFlavor df, DataSource ds) argument
86 return getContent(ds);
97 * @param ds The DataSource representing the data to be converted.
100 public Object getContent(DataSource ds) throws IOException { argument
101 return ImageIO.read(new BufferedInputStream(ds.getInputStream()));
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWMouseDragGestureRecognizer.java75 * @param ds The DragSource for the Component c
82 protected WMouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl) { argument
83 super(ds, c, act, dgl);
89 * @param ds The DragSource for the Component c
94 protected WMouseDragGestureRecognizer(DragSource ds, Component c, int act) { argument
95 this(ds, c, act, null);
101 * @param ds The DragSource for the Component c
105 protected WMouseDragGestureRecognizer(DragSource ds, Component c) { argument
106 this(ds, c, DnDConstants.ACTION_NONE);
112 * @param ds Th
115 WMouseDragGestureRecognizer(DragSource ds) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXMouseDragGestureRecognizer.java78 * @param ds The DragSource for the Component c
85 protected XMouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl) { argument
86 super(ds, c, act, dgl);
92 * @param ds The DragSource for the Component c
97 protected XMouseDragGestureRecognizer(DragSource ds, Component c, int act) { argument
98 this(ds, c, act, null);
104 * @param ds The DragSource for the Component c
108 protected XMouseDragGestureRecognizer(DragSource ds, Component c) { argument
109 this(ds, c, DnDConstants.ACTION_NONE);
115 * @param ds Th
118 XMouseDragGestureRecognizer(DragSource ds) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCMouseDragGestureRecognizer.java56 protected CMouseDragGestureRecognizer(DragSource ds, Component c, int act, DragGestureListener dgl) { argument
57 super(ds, c, act, dgl);
60 protected CMouseDragGestureRecognizer(DragSource ds, Component c, int act) { argument
61 this(ds, c, act, null);
64 protected CMouseDragGestureRecognizer(DragSource ds, Component c) { argument
65 this(ds, c, DnDConstants.ACTION_NONE);
68 protected CMouseDragGestureRecognizer(DragSource ds) { argument
69 this(ds, null);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DMimePullMultipart.java53 public MimePullMultipart(DataSource ds, ContentType ct) argument
57 contType = new ContentType(ds.getContentType());
61 dataSource = ds;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/provider/
H A DXMLProviderArgumentBuilder.java99 public Message getResponseMessage(DataSource ds) { argument
100 return XMLMessage.create(ds, binding);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixDirectoryStream.java112 protected final Iterator<Path> iterator(DirectoryStream<Path> ds) { argument
119 iterator = new UnixDirectoryIterator(ds);
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/
H A DFileLocator.java314 public static String getFileNameFromStream (DataInputStream ds) { argument
316 if (ds instanceof NamedDataInputStream)
317 return ((NamedDataInputStream) ds).fullyQualifiedFileName;
328 public static boolean isZipFileAssociatedWithStream (DataInputStream ds) { argument
330 if (ds instanceof NamedDataInputStream)
331 return ((NamedDataInputStream) ds).inZipFile;
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DRTFAttributes.java196 String r, boolean ds, boolean dr)
199 swingDefault = ds;
343 String r, int ds, int dr)
345 this(d, s, r, Integer.valueOf(ds), dr, 1f);
349 String r, Number ds, int dr, float sc)
352 swingDefault = ds;
358 float ds, int dr)
360 return new NumericAttribute(d, s, r, new Float(ds), dr, 20f);
195 BooleanAttribute(int d, Object s, String r, boolean ds, boolean dr) argument
342 NumericAttribute(int d, Object s, String r, int ds, int dr) argument
348 NumericAttribute(int d, Object s, String r, Number ds, int dr, float sc) argument
357 NewTwips(int d, Object s, String r, float ds, int dr) argument

Completed in 61 milliseconds

12