/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxWatchService.java | 223 int mask = 0; in implRegister() local 226 mask |= IN_CREATE | IN_MOVED_TO; in implRegister() 230 mask |= IN_DELETE | IN_MOVED_FROM; in implRegister() 234 mask |= IN_MODIFY | IN_ATTRIB; in implRegister() 267 wd = inotifyAddWatch(ifd, buffer.address(), mask); in implRegister() 366 int mask = unsafe.getInt(event + OFFSETOF_MASK); in run() local 396 processEvent(wd, mask, name); in run() 410 private WatchEvent.Kind<?> maskToEventKind(int mask) { in maskToEventKind() argument 411 if ((mask & IN_MODIFY) > 0) in maskToEventKind() 413 if ((mask & IN_ATTRIB) > 0) in maskToEventKind() [all …]
|
/libcore/ojluni/src/main/java/java/awt/font/ |
D | NumericShaper.java | 334 private static Set<Range> maskToRangeSet(int mask) { in maskToRangeSet() argument 338 if ((mask & (1 << i)) != 0) { in maskToRangeSet() 376 private int mask; field in NumericShaper 924 private static int getKeyFromMask(int mask) { in getKeyFromMask() argument 926 while (key < NUM_KEYS && ((mask & (1<<key)) == 0)) { in getKeyFromMask() 929 if (key == NUM_KEYS || ((mask & ~(1<<key)) != 0)) { in getKeyFromMask() 930 throw new IllegalArgumentException("invalid shaper: " + Integer.toHexString(mask)); in getKeyFromMask() 1000 shaper.mask = CONTEXTUAL_MASK; in getContextualShaper() 1046 shaper.mask = CONTEXTUAL_MASK; in getContextualShaper() 1053 private NumericShaper(int key, int mask) { in NumericShaper() argument [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 408 MaskBuilder mask(Type t, Integer i) { in mask() method in StreamOpFlag.MaskBuilder 414 return mask(t, SET_BITS); in set() 418 return mask(t, CLEAR_BITS); in clear() 422 return mask(t, PRESERVE_BITS); in setAndClear() 577 int mask = 0; in createMask() local 579 mask |= flag.maskTable.get(t) << flag.bitPosition; in createMask() 581 return mask; in createMask() 590 int mask = 0; in createFlagMask() local 592 mask |= flag.preserve; in createFlagMask() 594 return mask; in createFlagMask()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ClassValue.java | 568 int mask = (cache.length-1); in probeBackupLocations() local 569 int home = (classValue.hashCodeForCache & mask); in probeBackupLocations() 577 Entry<?> e = cache[i & mask]; in probeBackupLocations() 585 cache[i & mask] = Entry.DEAD_ENTRY; in probeBackupLocations() 589 cache[pos2 & mask] = ((entryDislocation(cache, pos2, e2) < PROBE_LIMIT) in probeBackupLocations() 604 int mask = (cache.length-1); in entryDislocation() local 605 return (pos - cv.hashCodeForCache) & mask; in entryDislocation() 645 int mask = (cache.length-1); in removeStaleEntries() local 648 Entry<?> e = cache[i & mask]; in removeStaleEntries() 656 cache[i & mask] = replacement; in removeStaleEntries() [all …]
|
D | Integer.java | 410 int mask = radix - 1; in formatUnsignedInt() local 412 buf[--charPos] = Integer.digits[val & mask]; in formatUnsignedInt() 430 int mask = radix - 1; in formatUnsignedInt() local 432 buf[--charPos] = (byte)Integer.digits[val & mask]; in formatUnsignedInt() 441 int mask = radix - 1; in formatUnsignedInt() local 443 buf[--charPos] = (byte)Integer.digits[val & mask]; in formatUnsignedInt()
|
D | StrictMath.java | 517 long mask = DoubleConsts.SIGNIF_BIT_MASK >> exponent; in floorOrCeil() local 519 if ( (mask & doppel) == 0L ) in floorOrCeil() 522 double result = Double.longBitsToDouble(doppel & (~mask)); in floorOrCeil()
|
/libcore/luni/src/main/java/libcore/util/ |
D | FP16.java | 325 int mask = (1 << exp) - 1; in rint() local 327 result &= ~mask; in rint() 368 int mask = (1 << abs) - 1; in ceil() local 369 result += mask & ((bits >> 15) - 1); in ceil() 370 result &= ~mask; in ceil() 411 int mask = (1 << abs) - 1; in floor() local 412 result += mask & -(bits >> 15); in floor() 413 result &= ~mask; in floor() 451 int mask = (1 << abs) - 1; in trunc() local 452 result &= ~mask; in trunc()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | MethodTest.java | 292 int mask = 0; in test_getModifiers() local 299 mask = Modifier.PUBLIC | Modifier.STATIC; in test_getModifiers() 300 assertTrue("Incorrect modifiers returned", (mods | mask) == mask); in test_getModifiers() 307 mask = Modifier.PRIVATE | Modifier.STATIC; in test_getModifiers() 308 assertTrue("Incorrect modifiers returned", (mods | mask) == mask); in test_getModifiers() 315 mask = (Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED; in test_getModifiers() 316 assertTrue("Incorrect modifiers returned", (mods | mask) == mask); in test_getModifiers() 323 mask = ((Modifier.PUBLIC | Modifier.STATIC) | Modifier.SYNCHRONIZED) in test_getModifiers() 325 assertTrue("Incorrect modifiers returned", (mods | mask) == mask); in test_getModifiers() 333 mask = Modifier.PUBLIC | Modifier.ABSTRACT; in test_getModifiers() [all …]
|
/libcore/ojluni/src/main/native/ |
D | LinuxWatchService.c | 65 arr[1] = (jint)offsetof(struct inotify_event, mask); in Java_sun_nio_fs_LinuxWatchService_eventOffsets() 88 (JNIEnv* env, jclass clazz, jint fd, jlong address, jint mask) in Java_sun_nio_fs_LinuxWatchService_inotifyAddWatch() argument 93 wfd = inotify_add_watch((int)fd, path, mask); in Java_sun_nio_fs_LinuxWatchService_inotifyAddWatch()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | IPAddressName.java | 166 byte[] mask = InetAddress.getByName in parseIPv4() 174 System.arraycopy(mask, 0, address, 4, 4); in parseIPv4() 266 byte[] mask = new byte[4]; in getName() 267 System.arraycopy(address, 4, mask, 0, 4); in getName() 269 InetAddress.getByAddress(mask).getHostAddress(); in getName()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 1971 int mask = 0xff; in checkByteCast_delegate() local 1974 assertEquals(expected, c & mask); in checkByteCast_delegate() 1975 assertEquals(expected, s & mask); in checkByteCast_delegate() 1976 assertEquals(expected, i & mask); in checkByteCast_delegate() 1977 assertEquals(expected, j & mask); in checkByteCast_delegate() 1978 assertEquals(expected, f & mask); in checkByteCast_delegate() 1979 assertEquals(expected, d & mask); in checkByteCast_delegate() 1985 int mask = 0xffff; in checkCharCast_delegate() local 1989 assertEquals(expected, s & mask); in checkCharCast_delegate() 1990 assertEquals(expected, i & mask); in checkCharCast_delegate() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | GregorianCalendar.java | 2268 int mask; in computeFields() local 2271 mask = getSetStateFields(); in computeFields() 2272 int fieldMask = ~mask & ALL_FIELDS; in computeFields() 2276 mask |= computeFields(fieldMask, in computeFields() 2277 mask & (ZONE_OFFSET_MASK|DST_OFFSET_MASK)); in computeFields() 2278 assert mask == ALL_FIELDS; in computeFields() 2281 mask = ALL_FIELDS; in computeFields() 2282 computeFields(mask, 0); in computeFields() 2285 setFieldsComputed(mask); in computeFields() 2399 int mask = fieldMask | (ERA_MASK|YEAR_MASK); in computeFields() local [all …]
|
D | JapaneseImperialCalendar.java | 1524 int mask = 0; 1527 mask = getSetStateFields(); 1528 int fieldMask = ~mask & ALL_FIELDS; 1530 mask |= computeFields(fieldMask, 1531 mask & (ZONE_OFFSET_MASK|DST_OFFSET_MASK)); 1532 assert mask == ALL_FIELDS; 1536 mask = ALL_FIELDS; 1537 computeFields(mask, 0); 1540 setFieldsComputed(mask); 1615 int mask = fieldMask | (ERA_MASK|YEAR_MASK); [all …]
|
D | Random.java | 107 private static final long mask = (1L << 48) - 1; field in Random 171 return (seed ^ multiplier) & mask; in initialScramble() 228 nextseed = (oldseed * multiplier + addend) & mask; in next()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Executable.java | 82 void printModifiersIfNonzero(StringBuilder sb, int mask, boolean isDefault) { in printModifiersIfNonzero() argument 83 int mod = getModifiers() & mask; in printModifiersIfNonzero() 358 final int mask = Modifier.FINAL | Modifier.SYNTHETIC | Modifier.MANDATED; in verifyParameters() local 375 if (mods != (mods & mask)) { in verifyParameters()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 2577 byte mask = ((byte[]) obj[5])[0]; in testValidDN() 2582 if (!testing || ((mask & 0x01) == 0)) { in testValidDN() 2593 if (!testing || ((mask & 0x02) == 0)) { in testValidDN() 2605 if (!testing || ((mask & 0x04) == 0)) { in testValidDN() 2618 if (!testing || ((mask & 0x08) == 0)) { in testValidDN() 3004 byte mask = ((byte[]) values[4])[0]; in testValidEncoding() 3011 if (!testing || ((mask & 0x01) == 0)) { in testValidEncoding() 3020 if (!testing || ((mask & 0x02) == 0)) { in testValidEncoding() 3029 if (!testing || ((mask & 0x04) == 0)) { in testValidEncoding() 3075 byte[] encoded, byte mask) { in add() argument [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | Linux.java | 271 public int umask(int mask) { in umask() argument 272 if ((mask & 0777) != mask) { in umask() 273 throw new IllegalArgumentException("Invalid umask: " + mask); in umask() 275 return umaskImpl(mask); in umask() 277 private native int umaskImpl(int mask); in umaskImpl() argument
|
D | IoUtils.java | 129 long mask = (1L << 32) - 1; in generateFdOwnerId() local 130 long tagValue = System.identityHashCode(owner) & mask; in generateFdOwnerId()
|
/libcore/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 3495 public final int getAndBitwiseOrInt(Object o, long offset, int mask) { in getAndBitwiseOrInt() argument 3500 current, current | mask)); in getAndBitwiseOrInt() 3542 public final int getAndBitwiseAndInt(Object o, long offset, int mask) { in getAndBitwiseAndInt() argument 3547 current, current & mask)); in getAndBitwiseAndInt() 3578 public final int getAndBitwiseXorInt(Object o, long offset, int mask) { in getAndBitwiseXorInt() argument 3583 current, current ^ mask)); in getAndBitwiseXorInt()
|
/libcore/ojluni/src/main/java/java/net/ |
D | NetworkInterface.java | 547 final int mask = IFF_UP | IFF_RUNNING; in isUp() local 548 return (getFlags() & mask) == mask; in isUp()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | IeeeRecommendedTests.java | 213 int mask = ~((~0) << (i - 1)); in testFloatGetExponent() local 217 (rand.nextInt() & mask)); in testFloatGetExponent() 313 long mask = ~((~0L) << (i - 1)); in testDoubleGetExponent() local 317 (rand.nextLong() & mask)); in testDoubleGetExponent() 1392 int mask = ~((~0) << (i - 1)); in testFloatUlp() local 1396 (rand.nextInt() & mask)); in testFloatUlp() 1495 int mask = ~((~0) << (i - 1)); in testDoubleUlp() local 1499 (rand.nextLong() & mask)); in testDoubleUlp()
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
D | DefaultProxySelector.java | 383 static Pattern toPattern(String mask) { in toPattern() argument 386 for (String disjunct : mask.split("\\|")) { in toPattern()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1721 int mask = Modifier.PRIVATE | Modifier.STATIC | Modifier.FINAL; in getDeclaredSerialFields() local 1722 if ((f.getModifiers() & mask) == mask) { in getDeclaredSerialFields() 1775 int mask = Modifier.STATIC | Modifier.TRANSIENT; in getDefaultSerialFields() local 1778 if ((clFields[i].getModifiers() & mask) == 0) { in getDefaultSerialFields() 1794 int mask = Modifier.STATIC | Modifier.FINAL; in getDeclaredSUID() local 1795 if ((f.getModifiers() & mask) == mask) { in getDeclaredSUID()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Executable.java | 48 void printModifiersIfNonzero(java.lang.StringBuilder sb, int mask, boolean isDefault) { in printModifiersIfNonzero() argument
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 179 private static final long mask = 281474976710655L; // 0xffffffffffffL field in Random
|