Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DFlagOpTest.java42 TestFlagPassThroughOp<Integer>[] ops = new TestFlagPassThroughOp[3]; in testFlagsPassThrough() local
43 ops[0] = new TestFlagPassThroughOp<>(); in testFlagsPassThrough()
44 ops[1] = new TestFlagPassThroughOp<>(); in testFlagsPassThrough()
45 ops[2] = new TestFlagPassThroughOp<>(); in testFlagsPassThrough()
47 ops[0].set(null, ops[1]); in testFlagsPassThrough()
48 ops[1].set(ops[0], ops[2]); in testFlagsPassThrough()
49 ops[2].set(ops[1], null); in testFlagsPassThrough()
51 withData(data).ops(ops).exercise(); in testFlagsPassThrough()
93 List<FlagDeclaringOp<Integer>> ops = new ArrayList<>(); in testFlagsClearAllSet() local
94 ops.add(new FlagDeclaringOp<>(clearAllFlags)); in testFlagsClearAllSet()
[all …]
DStreamOpFlagsTest.java172 …List<Integer> ops = Arrays.asList(StreamOpFlag.NOT_SIZED, StreamOpFlag.IS_ORDERED | StreamOpFlag.I… in testApplySourceFlags() local
175 for (int opFlags : ops) { in testApplySourceFlags()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSelectionKeyImpl.java81 public SelectionKey interestOps(int ops) { in interestOps() argument
83 return nioInterestOps(ops); in interestOps()
94 public void nioReadyOps(int ops) { in nioReadyOps() argument
95 readyOps = ops; in nioReadyOps()
102 public SelectionKey nioInterestOps(int ops) { in nioInterestOps() argument
103 if ((ops & ~channel().validOps()) != 0) in nioInterestOps()
105 channel.translateAndSetInterestOps(ops, this); in nioInterestOps()
106 interestOps = ops; in nioInterestOps()
DSinkChannelImpl.java115 public boolean translateReadyOps(int ops, int initialOps, in translateReadyOps() argument
121 if ((ops & Net.POLLNVAL) != 0) in translateReadyOps()
124 if ((ops & (Net.POLLERR | Net.POLLHUP)) != 0) { in translateReadyOps()
130 if (((ops & Net.POLLOUT) != 0) && in translateReadyOps()
138 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { in translateAndUpdateReadyOps() argument
139 return translateReadyOps(ops, sk.nioReadyOps(), sk); in translateAndUpdateReadyOps()
142 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { in translateAndSetReadyOps() argument
143 return translateReadyOps(ops, 0, sk); in translateAndSetReadyOps()
146 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { in translateAndSetInterestOps() argument
147 if (ops == SelectionKey.OP_WRITE) in translateAndSetInterestOps()
[all …]
DSourceChannelImpl.java116 public boolean translateReadyOps(int ops, int initialOps, in translateReadyOps() argument
122 if ((ops & Net.POLLNVAL) != 0) in translateReadyOps()
125 if ((ops & (Net.POLLERR | Net.POLLHUP)) != 0) { in translateReadyOps()
131 if (((ops & Net.POLLIN) != 0) && in translateReadyOps()
139 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { in translateAndUpdateReadyOps() argument
140 return translateReadyOps(ops, sk.nioReadyOps(), sk); in translateAndUpdateReadyOps()
143 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { in translateAndSetReadyOps() argument
144 return translateReadyOps(ops, 0, sk); in translateAndSetReadyOps()
147 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { in translateAndSetInterestOps() argument
148 if (ops == SelectionKey.OP_READ) in translateAndSetInterestOps()
[all …]
DSelChImpl.java53 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk); in translateAndUpdateReadyOps() argument
63 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk); in translateAndSetReadyOps() argument
65 void translateAndSetInterestOps(int ops, SelectionKeyImpl sk); in translateAndSetInterestOps() argument
DServerSocketChannelImpl.java315 public boolean translateReadyOps(int ops, int initialOps, in translateReadyOps() argument
321 if ((ops & Net.POLLNVAL) != 0) { in translateReadyOps()
328 if ((ops & (Net.POLLERR | Net.POLLHUP)) != 0) { in translateReadyOps()
334 if (((ops & Net.POLLIN) != 0) && in translateReadyOps()
342 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { in translateAndUpdateReadyOps() argument
343 return translateReadyOps(ops, sk.nioReadyOps(), sk); in translateAndUpdateReadyOps()
346 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { in translateAndSetReadyOps() argument
347 return translateReadyOps(ops, 0, sk); in translateAndSetReadyOps()
375 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { in translateAndSetInterestOps() argument
379 if ((ops & SelectionKey.OP_ACCEPT) != 0) in translateAndSetInterestOps()
DSocketChannelImpl.java952 public boolean translateReadyOps(int ops, int initialOps, in translateReadyOps() argument
958 if ((ops & Net.POLLNVAL) != 0) { in translateReadyOps()
965 if ((ops & (Net.POLLERR | Net.POLLHUP)) != 0) { in translateReadyOps()
974 if (((ops & Net.POLLIN) != 0) && in translateReadyOps()
979 if (((ops & Net.POLLCONN) != 0) && in translateReadyOps()
986 if (((ops & Net.POLLOUT) != 0) && in translateReadyOps()
995 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { in translateAndUpdateReadyOps() argument
996 return translateReadyOps(ops, sk.nioReadyOps(), sk); in translateAndUpdateReadyOps()
999 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { in translateAndSetReadyOps() argument
1000 return translateReadyOps(ops, 0, sk); in translateAndSetReadyOps()
[all …]
DSelectorImpl.java121 public void putEventOps(SelectionKeyImpl sk, int ops) { } in putEventOps() argument
124 int ops, in register() argument
134 k.interestOps(ops); in register()
DDatagramChannelImpl.java1109 public boolean translateReadyOps(int ops, int initialOps, in translateReadyOps() argument
1115 if ((ops & Net.POLLNVAL) != 0) { in translateReadyOps()
1122 if ((ops & (Net.POLLERR | Net.POLLHUP)) != 0) { in translateReadyOps()
1128 if (((ops & Net.POLLIN) != 0) && in translateReadyOps()
1132 if (((ops & Net.POLLOUT) != 0) && in translateReadyOps()
1140 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) { in translateAndUpdateReadyOps() argument
1141 return translateReadyOps(ops, sk.nioReadyOps(), sk); in translateAndUpdateReadyOps()
1144 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) { in translateAndSetReadyOps() argument
1145 return translateReadyOps(ops, 0, sk); in translateAndSetReadyOps()
1173 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) { in translateAndSetInterestOps() argument
[all …]
DAbstractPollSelectorImpl.java70 public void putEventOps(SelectionKeyImpl sk, int ops) { in putEventOps() argument
74 pollWrapper.putEventOps(sk.getIndex(), ops); in putEventOps() local
/libcore/ojluni/src/main/java/java/nio/channels/
DSelectableChannel.java219 public abstract SelectionKey register(Selector sel, int ops, Object att) in register() argument
277 public final SelectionKey register(Selector sel, int ops) in register() argument
280 return register(sel, ops, null); in register()
DSelectionKey.java199 public abstract SelectionKey interestOps(int ops); in interestOps() argument
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectableChannel.java191 public final SelectionKey register(Selector sel, int ops, in register() argument
198 if ((ops & ~validOps()) != 0) in register()
204 k.interestOps(ops); in register()
212 k = ((AbstractSelector)sel).register(this, ops, att); in register()
DAbstractSelector.java176 int ops, Object att); in register() argument
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DSelectorImpl.java72 public void putEventOps(sun.nio.ch.SelectionKeyImpl sk, int ops) { in putEventOps() argument
78 int ops, in register() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectableChannelTest.java73 public SelectionKey register(Selector sel, int ops, Object att) in register() argument
DSelectionKeyTest.java61 MockSelectionKey(int ops) { in MockSelectionKey() argument
62 interestOps = ops; in MockSelectionKey()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DOpTestCase.java222 ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> ops(IntermediateTestOp... ops) { in ops() method in OpTestCase.DataStreamBuilder
223 return new ExerciseDataStreamBuilder<>(data, (S_IN s) -> (S_OUT) chain(s, ops)); in ops()
622 … private static AbstractPipeline<?, ?, ?> chain(AbstractPipeline pipe, IntermediateTestOp... ops) { in chain() argument
623 for (IntermediateTestOp op : ops) in chain()
634 public static AbstractPipeline<?, ?, ?> chain(BaseStream pipe, IntermediateTestOp... ops) { in chain() argument
635 return chain((AbstractPipeline) pipe, ops); in chain()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DOpTestCase.java223 ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> ops(IntermediateTestOp... ops) { in ops() method in OpTestCase.DataStreamBuilder
224 return new ExerciseDataStreamBuilder<>(data, (S_IN s) -> (S_OUT) chain(s, ops)); in ops()
623 … private static AbstractPipeline<?, ?, ?> chain(AbstractPipeline pipe, IntermediateTestOp... ops) { in chain() argument
624 for (IntermediateTestOp op : ops) in chain()
635 public static AbstractPipeline<?, ?, ?> chain(BaseStream pipe, IntermediateTestOp... ops) { in chain() argument
636 return chain((AbstractPipeline) pipe, ops); in chain()
/libcore/expectations/
Dknownfailures.txt130 description: "Not supported ops applied: test fails on arguments: '', '', '%', '%'",
255 description: "Not supported ops applied",
294 description: "Not supported ops applied",