/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractWatchKey.java | 105 final void signalEvent(WatchEvent.Kind<?> kind, Object context) { in signalEvent() argument 106 boolean isModify = (kind == StandardWatchEventKinds.ENTRY_MODIFY); in signalEvent() 113 if ((prev.kind() == StandardWatchEventKinds.OVERFLOW) || in signalEvent() 114 ((kind == prev.kind() && in signalEvent() 127 assert ev.kind() == StandardWatchEventKinds.ENTRY_MODIFY; in signalEvent() 141 kind = StandardWatchEventKinds.OVERFLOW; in signalEvent() 149 new Event<Object>((WatchEvent.Kind<Object>)kind, context); in signalEvent() 152 } else if (kind == StandardWatchEventKinds.OVERFLOW) { in signalEvent() 191 private final WatchEvent.Kind<T> kind; field in AbstractWatchKey.Event 198 this.kind = type; in Event() [all …]
|
D | LinuxWatchService.java | 457 WatchEvent.Kind<?> kind = maskToEventKind(mask); in processEvent() 458 if (kind != null) { in processEvent() 459 key.signalEvent(kind, name); in processEvent()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 98 …private <T> void assertPredicates(List<T> source, Kind kind, Predicate<T>[] predicates, boolean...… in assertPredicates() argument 101 boolean match = this.<T>kinds().get(kind).apply(predicates[i]).apply(source.stream()); in assertPredicates() 102 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertPredicates() 124 for (Kind kind : Kind.values()) { in testStream() 125 setContext("kind", kind); in testStream() 126 exerciseTerminalOps(data, this.<Integer>kinds().get(kind).apply(p)); in testStream() 127 … exerciseTerminalOps(data, s -> s.filter(pFalse), this.<Integer>kinds().get(kind).apply(p)); in testStream() 128 … exerciseTerminalOps(data, s -> s.filter(pEven), this.<Integer>kinds().get(kind).apply(p)); in testStream() 183 …private void assertIntPredicates(Supplier<IntStream> source, Kind kind, IntPredicate[] predicates,… in assertIntPredicates() argument 186 boolean match = intKinds.get(kind).apply(predicates[i]).apply(source.get()); in assertIntPredicates() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | MutableIntBenchmark.java | 73 @Param Kind kind; field in MutableIntBenchmark 76 kind.timeCreate(reps); in timeCreate() 80 kind.timeIncrement(reps); in timeIncrement() 84 kind.timeGet(reps); in timeGet()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleInfo.java | 280 public static String toString(int kind, Class<?> defc, String name, MethodType type) { in toString() argument 282 … return String.format("%s %s.%s:%s", referenceKindToString(kind), defc.getName(), name, type); in toString()
|
D | MethodHandles.java | 1205 private MethodHandle findAccessor(Class<?> refc, String name, Class<?> type, int kind) in findAccessor() argument 1208 return findAccessor(field, refc, type, kind, true /* performAccessChecks */); in findAccessor() 1211 private MethodHandle findAccessor(Field field, Class<?> refc, Class<?> type, int kind, in findAccessor() argument 1214 final boolean isSetterKind = kind == MethodHandle.IPUT || kind == MethodHandle.SPUT; in findAccessor() 1215 final boolean isStaticKind = kind == MethodHandle.SGET || kind == MethodHandle.SPUT; in findAccessor() 1225 switch (kind) { in findAccessor() 1239 throw new IllegalArgumentException("Invalid kind " + kind); in findAccessor() 1241 return new MethodHandleImpl(field.getArtField(), kind, methodType); in findAccessor() 2484 int kind = isExactInvoker ? MethodHandle.INVOKE_VAR_HANDLE_EXACT in methodHandleForVarHandleAccessor() local 2486 return new MethodHandleImpl(method.getArtMethod(), kind, methodType); in methodHandleForVarHandleAccessor()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | WatchEvent.java | 95 Kind<T> kind(); in kind() method
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | Wrapper.java | 81 static int format(int kind, int size, int slots) { in format() argument 82 assert(((kind >> KIND_SHIFT) << KIND_SHIFT) == kind); in format() local 84 assert((kind == SIGNED) ? (size > 0) : in format() 85 (kind == UNSIGNED) ? (size > 0) : in format() 86 (kind == FLOATING) ? (size == 32 || size == 64) : in format() 91 return kind | (size << SIZE_SHIFT) | (slots << SLOT_SHIFT); in format()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | WatchServiceTest.java | 99 assertEquals(expectedEventResult.expectedKind, event.kind()); in checkWatchServiceEventMultipleKeys() 149 assertEquals(ENTRY_MODIFY, event.get(0).kind()); in test_singleFile()
|
D | LinuxPathTest.java | 394 assertEquals(ENTRY_CREATE, eventList.get(0).kind()); in test_register$WatchService$WatchEvent_Kind() 395 assertEquals(ENTRY_DELETE, eventList.get(1).kind()); in test_register$WatchService$WatchEvent_Kind()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | VMDebug.java | 288 public static native int getAllocCount(int kind); in getAllocCount() argument
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 469 java.lang.Class<?> refc, java.lang.String name, java.lang.Class<?> type, int kind) in findAccessor() argument 478 int kind, in findAccessor() argument
|