Searched defs:ops (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/jdk/src/share/sample/nio/server/
H A DDispatcher.java54 void register(SelectableChannel ch, int ops, Handler h) argument
H A DDispatcher1.java83 public void register(SelectableChannel ch, int ops, Handler h) argument
85 ch.register(sel, ops, h);
H A DDispatcherN.java85 public void register(SelectableChannel ch, int ops, Handler h) argument
89 ch.register(sel, ops, h);
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DSelectableChannel.java159 * interest set will have been changed to <tt>ops</tt>, as if by invoking
167 * The key's initial interest set will be <tt>ops</tt> and its attachment
185 * @param ops
209 * If a bit in the <tt>ops</tt> set does not correspond to an
216 public abstract SelectionKey register(Selector sel, int ops, Object att) argument
221 // if (channel found) { set interest ops -- may block in selector;
235 * <blockquote><tt>sc.register(sel, ops)</tt></blockquote>
241 * register}(sel, ops, null)</tt></blockquote>
246 * @param ops
267 * If a bit in <tt>ops</t
274 register(Selector sel, int ops) argument
[all...]
H A DSelectionKey.java187 * @param ops The new interest set
194 * <tt>(ops & ~channel().validOps()) != 0</tt>
199 public abstract SelectionKey interestOps(int ops); argument
/openjdk7/jdk/src/share/native/sun/awt/image/
H A DDataBufferNative.c37 SurfaceDataOps *ops, int lockFlag)
39 if (ops == NULL) {
47 if (ops->Lock(env, ops, lockInfo, lockFlag) != SD_SUCCESS) {
50 ops->GetRasInfo(env, ops, lockInfo);
57 SurfaceData_InvokeRelease(env, ops, lockInfo);
58 SurfaceData_InvokeUnlock(env, ops, lockInfo);
74 SurfaceDataOps *ops; local
76 ops
35 DBN_GetPixelPointer(JNIEnv *env, jint x, int y, SurfaceDataRasInfo *lockInfo, SurfaceDataOps *ops, int lockFlag) argument
113 SurfaceDataOps *ops; local
[all...]
H A DBufImgSurfaceData.c146 static void BufImg_Dispose(JNIEnv *env, SurfaceDataOps *ops) argument
148 /* ops is assumed non-null as it is checked in SurfaceData_DisposeOps */
149 BufImgSDOps *bisdo = (BufImgSDOps *)ops;
160 SurfaceDataOps *ops,
164 BufImgSDOps *bisdo = (BufImgSDOps *)ops;
195 SurfaceDataOps *ops,
198 BufImgSDOps *bisdo = (BufImgSDOps *)ops;
244 SurfaceDataOps *ops,
247 BufImgSDOps *bisdo = (BufImgSDOps *)ops;
159 BufImg_Lock(JNIEnv *env, SurfaceDataOps *ops, SurfaceDataRasInfo *pRasInfo, jint lockflags) argument
194 BufImg_GetRasInfo(JNIEnv *env, SurfaceDataOps *ops, SurfaceDataRasInfo *pRasInfo) argument
243 BufImg_Release(JNIEnv *env, SurfaceDataOps *ops, SurfaceDataRasInfo *pRasInfo) argument
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSelChImpl.java46 * Adds the specified ops if present in interestOps. The specified
47 * ops are turned on without affecting the other ops.
53 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk); argument
56 * Sets the specified ops if present in interestOps. The specified
57 * ops are turned on, and all other ops are turned off.
63 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk); argument
65 void translateAndSetInterestOps(int ops, SelectionKeyImpl sk); argument
H A DSelectionKeyImpl.java81 public SelectionKey interestOps(int ops) { argument
83 return nioInterestOps(ops);
94 void nioReadyOps(int ops) { // package-private argument
95 readyOps = ops;
102 SelectionKey nioInterestOps(int ops) { // package-private argument
103 if ((ops & ~channel().validOps()) != 0)
105 channel.translateAndSetInterestOps(ops, this);
106 interestOps = ops;
H A DAbstractPollSelectorImpl.java70 void putEventOps(SelectionKeyImpl sk, int ops) { argument
74 pollWrapper.putEventOps(sk.getIndex(), ops);
H A DSelectorImpl.java122 void putEventOps(SelectionKeyImpl sk, int ops) { } argument
125 int ops,
135 k.interestOps(ops);
124 register(AbstractSelectableChannel ch, int ops, Object attachment) argument
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DChangingInterests.java26 * @summary Test that Selector doesn't spin when changing interest ops
39 static String toOpsString(int ops) { argument
41 if ((ops & OP_READ) > 0)
43 if ((ops & OP_WRITE) > 0) {
161 // if the interst ops is now 0 then Selector should not spin
165 // if interest ops is now OP_READ then make non-readable
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DAbstractSelector.java163 * @param ops
173 int ops, Object att);
172 register(AbstractSelectableChannel ch, int ops, Object att) argument
H A DAbstractSelectableChannel.java188 public final SelectionKey register(Selector sel, int ops, argument
195 if ((ops & ~validOps()) != 0)
201 k.interestOps(ops);
209 k = ((AbstractSelector)sel).register(this, ops, att);
/openjdk7/jdk/src/macosx/classes/sun/nio/ch/
H A DKQueueSelectorImpl.java125 // ensures that the ready ops are updated rather than replaced by a
149 // ready ops have already been set on this update
233 public void putEventOps(SelectionKeyImpl ski, int ops) { argument
236 kqueueWrapper.setInterest(ski.channel, ops);
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DSinkChannelImpl.java75 public boolean translateReadyOps(int ops, int initialOps, argument
81 if ((ops & PollArrayWrapper.POLLNVAL) != 0)
84 if ((ops & (PollArrayWrapper.POLLERR
91 if (((ops & PollArrayWrapper.POLLOUT) != 0) &&
99 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { argument
100 return translateReadyOps(ops, sk.nioReadyOps(), sk);
103 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { argument
104 return translateReadyOps(ops, 0, sk);
107 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { argument
108 if ((ops
[all...]
H A DSourceChannelImpl.java74 public boolean translateReadyOps(int ops, int initialOps, argument
80 if ((ops & PollArrayWrapper.POLLNVAL) != 0)
83 if ((ops & (PollArrayWrapper.POLLERR
90 if (((ops & PollArrayWrapper.POLLIN) != 0) &&
98 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { argument
99 return translateReadyOps(ops, sk.nioReadyOps(), sk);
102 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { argument
103 return translateReadyOps(ops, 0, sk);
106 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { argument
107 if ((ops
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DDevPollSelectorImpl.java183 void putEventOps(SelectionKeyImpl sk, int ops) { argument
187 pollWrapper.setInterest(fd, ops);
H A DEPollSelectorImpl.java183 void putEventOps(SelectionKeyImpl ski, int ops) { argument
187 pollWrapper.setInterest(ch.getFDVal(), ops);
H A DEventPortSelectorImpl.java154 public void putEventOps(SelectionKeyImpl sk, int ops) { argument
158 pollWrapper.setInterest(fd, ops);
H A DSinkChannelImpl.java115 public boolean translateReadyOps(int ops, int initialOps, argument
121 if ((ops & PollArrayWrapper.POLLNVAL) != 0)
124 if ((ops & (PollArrayWrapper.POLLERR
131 if (((ops & PollArrayWrapper.POLLOUT) != 0) &&
139 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { argument
140 return translateReadyOps(ops, sk.nioReadyOps(), sk);
143 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { argument
144 return translateReadyOps(ops, 0, sk);
147 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { argument
148 if (ops
[all...]
H A DSourceChannelImpl.java115 public boolean translateReadyOps(int ops, int initialOps, argument
121 if ((ops & PollArrayWrapper.POLLNVAL) != 0)
124 if ((ops & (PollArrayWrapper.POLLERR
131 if (((ops & PollArrayWrapper.POLLIN) != 0) &&
139 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { argument
140 return translateReadyOps(ops, sk.nioReadyOps(), sk);
143 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { argument
144 return translateReadyOps(ops, 0, sk);
147 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { argument
148 if (ops
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DPerInterface.java109 final List<MethodAndSig> list = ops.get(operation);
257 List<MethodAndSig> list = ops.get(operationName);
265 ops.put(operationName, list);
279 private final Map<String, List<MethodAndSig>> ops = newMap(); field in class:PerInterface
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DActivatableRef.java312 Operation[] ops,
311 newCall(RemoteObject obj, Operation[] ops, int opnum, long hash) argument
H A DUnicastRef.java335 public RemoteCall newCall(RemoteObject obj, Operation[] ops, int opnum, argument
347 logClientCall(obj, ops[opnum]);

Completed in 83 milliseconds

12