/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()
|
D | EPoll.java | 110 static native int epollCtl(int epfd, int opcode, int fd, int events); in epollCtl() argument
|
/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/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 | 146 ufds[0].events = POLLIN; in Java_sun_nio_fs_LinuxWatchService_poll() 148 ufds[1].events = POLLIN; in Java_sun_nio_fs_LinuxWatchService_poll()
|
/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 | 662 WatchEvent.Kind<?>[] events, in register() argument 710 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/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 | TestDefaultParserAltConfig.java | 14 package org.w3c.domts.level2.events;
|
D | TestDefaultParser.java | 14 package org.w3c.domts.level2.events;
|
D | TestDefaultLS.java | 12 package org.w3c.domts.level2.events;
|
D | TestDefaultLSAltConfig.java | 12 package org.w3c.domts.level2.events;
|
D | TestBatik.java | 14 package org.w3c.domts.level2.events;
|
D | TestXercesAltConfig.java | 14 package org.w3c.domts.level2.events;
|
D | TestOracle.java | 12 package org.w3c.domts.level2.events;
|
D | TestXerces.java | 14 package org.w3c.domts.level2.events;
|
D | TestOracleAltConfig.java | 12 package org.w3c.domts.level2.events;
|