/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | EPollPort.java | 66 final int events; field in EPollPort.Event 68 Event(PollableChannel channel, int events) { in Event() argument 70 this.events = events; in Event() 74 int events() { return events; } in events() method in EPollPort.Event 172 void startPoll(int fd, int events) { in startPoll() argument 174 int err = epollCtl(epfd, EPOLL_CTL_MOD, fd, (events | EPOLLONESHOT)); in startPoll() 176 err = epollCtl(epfd, EPOLL_CTL_ADD, fd, (events | EPOLLONESHOT)); in startPoll() 225 int events = getEvents(eventAddress); in poll() local 226 Event ev = new Event(channel, events); in poll() 293 ev.channel().onEvent(ev.events(), isPooledThread); in run()
|
D | Port.java | 48 void onEvent(int events, boolean mayInvokeDirect); in onEvent() argument 114 abstract void startPoll(int fd, int events); in startPoll() argument 130 public void onEvent(int events, boolean mayInvokeDirect) { } in attachForeignChannel()
|
D | UnixAsynchronousSocketChannelImpl.java | 153 int events = 0; in updateEvents() local 155 events |= Net.POLLIN; in updateEvents() 157 events |= Net.POLLOUT; in updateEvents() 158 if (events != 0) in updateEvents() 159 port.startPoll(fdVal, events); in updateEvents() 216 public void onEvent(int events, boolean mayInvokeDirect) { in onEvent() argument 217 boolean readable = (events & Net.POLLIN) > 0; in onEvent() 218 boolean writable = (events & Net.POLLOUT) > 0; in onEvent() 219 if ((events & (Net.POLLERR | Net.POLLHUP)) > 0) { in onEvent()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractWatchKey.java | 63 private List<WatchEvent<?>> events; field in AbstractWatchKey 73 this.events = new ArrayList<WatchEvent<?>>(); in AbstractWatchKey() 108 int size = events.size(); in signalEvent() 112 WatchEvent<?> prev = events.get(size-1); in signalEvent() 154 events.clear(); in signalEvent() 157 events.add(ev); in signalEvent() 165 List<WatchEvent<?>> result = events; in pollEvents() 166 events = new ArrayList<WatchEvent<?>>(); in pollEvents() 176 if (events.isEmpty()) { in reset()
|
D | PollingWatchService.java | 72 WatchEvent.Kind<?>[] events, in register() argument 78 new HashSet<WatchEvent.Kind<?>>(events.length); in register() 79 for (WatchEvent.Kind<?> event: events) { in register() 142 Set<? extends WatchEvent.Kind<?>> events, 172 watchKey.enable(events, sensivity.sensitivityValueInSeconds()); 232 private Set<? extends WatchEvent.Kind<?>> events; 282 void enable(Set<? extends WatchEvent.Kind<?>> events, long period) { 285 this.events = events; 356 if (events.contains(StandardWatchEventKinds.ENTRY_CREATE)) { 364 if (events.contains(StandardWatchEventKinds.ENTRY_MODIFY)) { [all …]
|
D | AbstractPoller.java | 79 Set<? extends WatchEvent.Kind<?>> events, in implRegister() argument 96 WatchEvent.Kind<?>[] events, in register() argument 103 Set<WatchEvent.Kind<?>> eventSet = new HashSet<>(events.length); in register() 104 for (WatchEvent.Kind<?> event: events) { in register() 256 Set<? extends WatchEvent.Kind<?>> events = in processRequests() local 260 req.release(implRegister(path, events, modifiers)); in processRequests()
|
D | AbstractPath.java | 101 WatchEvent.Kind<?>... events) in register() argument 104 return register(watcher, events, new WatchEvent.Modifier[0]); in register()
|
D | LinuxWatchService.java | 88 WatchEvent.Kind<?>[] events, in register() argument 93 return poller.register(dir, events, modifiers); in register() 218 Set<? extends WatchEvent.Kind<?>> events, in implRegister() argument 224 for (WatchEvent.Kind<?> event: events) { in implRegister()
|
/libcore/luni/src/test/java/libcore/java/util/beans/ |
D | PropertyChangeSupportTest.java | 259 List<PropertyChangeEvent> events = listenerToIntProperty.log; in testFireIndexedPropertyChange_intUpdate() local 260 assertEquals(1, events.size()); in testFireIndexedPropertyChange_intUpdate() 261 assertEquals(1, events.get(0).getOldValue()); in testFireIndexedPropertyChange_intUpdate() 262 assertEquals(2, events.get(0).getNewValue()); in testFireIndexedPropertyChange_intUpdate() 263 assertEquals("intProperty", events.get(0).getPropertyName()); in testFireIndexedPropertyChange_intUpdate() 264 assertTrue(events.get(0) instanceof IndexedPropertyChangeEvent); in testFireIndexedPropertyChange_intUpdate() 265 assertEquals(10, ((IndexedPropertyChangeEvent) events.get(0)).getIndex()); in testFireIndexedPropertyChange_intUpdate() 277 List<PropertyChangeEvent> events = listenerToIntProperty.log; in testFireIndexedPropertyChange_intUpdate_noEventWhenOldIsEqualToNew() local 278 assertTrue(events.isEmpty()); in testFireIndexedPropertyChange_intUpdate_noEventWhenOldIsEqualToNew() 290 List<PropertyChangeEvent> events = listenerToBooleanProperty.log; in testFireIndexedPropertyChange_booleanUpdate() local [all …]
|
/libcore/ojluni/src/main/native/ |
D | EPoll.c | 48 return offsetof(struct epoll_event, events); in Java_sun_nio_ch_EPoll_eventsOffset() 74 jint opcode, jint fd, jint events) in Java_sun_nio_ch_EPoll_epollCtl() argument 79 event.events = events; in Java_sun_nio_ch_EPoll_epollCtl() 91 struct epoll_event *events = jlong_to_ptr(address); in Java_sun_nio_ch_EPoll_epollWait() local 94 RESTARTABLE(epoll_wait(epfd, events, numfds, -1), res); in Java_sun_nio_ch_EPoll_epollWait()
|
D | LinuxWatchService.c | 144 ufds[0].events = POLLIN; in Java_sun_nio_fs_LinuxWatchService_poll() 146 ufds[1].events = POLLIN; in Java_sun_nio_fs_LinuxWatchService_poll()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlToSax2DriverTest.java | 316 final int[] events = {0, 0, 0, 0}; in testParse_InputSource() local 323 events[0]++; in testParse_InputSource() 329 events[1]++; in testParse_InputSource() 336 events[2]++; in testParse_InputSource() 356 events[3]++; in testParse_InputSource() 363 Assert.assertArrayEquals(new int[]{1, 1, 5, 5}, events); in testParse_InputSource() 394 final int[] events = {0, 0, 0, 0}; in testParseSubtree() local 401 events[0]++; in testParseSubtree() 407 events[1]++; in testParseSubtree() 414 events[2]++; in testParseSubtree() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Watchable.java | 90 WatchEvent.Kind<?>[] events, in register() argument 125 WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) in register() argument
|
D | Path.java | 776 WatchEvent.Kind<?>[] events, in register() argument 824 WatchEvent.Kind<?>... events) in register() argument
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 367 WatchEvent.Kind<?>[] events = {ENTRY_CREATE, ENTRY_DELETE}; in test_register$WatchService$WatchEvent_Kind() local 372 WatchKey key = directory.register(watchService, events); in test_register$WatchService$WatchEvent_Kind() 402 WatchEvent.Kind<?>[] events = {ENTRY_CREATE, ENTRY_DELETE}; in test_register$WatchService$WatchEvent_Kind_NPE() local 406 directory.register(null, events); in test_register$WatchService$WatchEvent_Kind_NPE() 431 WatchEvent.Kind<?>[] events = {new NonStandardEvent<>()}; in test_register$WatchService$WatchEvent_Kind_Exception() local 433 directory.register(watchService, events); in test_register$WatchService$WatchEvent_Kind_Exception() 467 WatchEvent.Kind<?>[] events = {ENTRY_CREATE}; in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier() local 471 WatchKey key = dirRoot.register(watchService, events, in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier() 483 WatchEvent.Kind<?>[] events = {ENTRY_CREATE}; in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier_NPE() local 487 WatchKey key = dirRoot.register(null, events, in test_register$WatchService$WatchEvent_Kind$WatchEvent_Modifier_NPE()
|
/libcore/ojluni/src/test/java/lang/ref/ |
D | CleanerTest.java | 423 private final int[] events; // Sequence of calls to clean, clear, etc. field in CleanerTest.CleanableCase 439 this.events = new int[4]; in CleanableCase() 449 this.events = new int[4]; in CleanableCase() 497 events[eventNdx++] = e; in addEvent() 529 if (events[i] == e) { in indexOfEvent() 550 sb.append(eventName(events[i])); in eventsString()
|
/libcore/luni/src/main/java/android/system/ |
D | StructPollfd.java | 34 public short events; field in StructPollfd
|
/libcore/dom/src/test/java/ |
D | README | 6 all additions under org.w3c.dom.* and org.w3c.dom.events.*
|
/libcore/dom/src/test/java/org/w3c/domts/level2/events/ |
D | TestDefaultParser.java | 14 package org.w3c.domts.level2.events;
|
D | TestDefaultParserAltConfig.java | 14 package org.w3c.domts.level2.events;
|
D | TestDefaultLS.java | 12 package org.w3c.domts.level2.events;
|
D | TestBatik.java | 14 package org.w3c.domts.level2.events;
|
D | TestDefaultLSAltConfig.java | 12 package org.w3c.domts.level2.events;
|
D | TestXerces.java | 14 package org.w3c.domts.level2.events;
|
D | TestOracle.java | 12 package org.w3c.domts.level2.events;
|