Searched defs:mask (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DInterfaceAddress.java42 InterfaceAddress(Inet4Address address, Inet4Address broadcastAddress, Inet4Address mask) { argument
45 this.prefixLength = countPrefixLength(mask);
57 private static short countPrefixLength(Inet4Address mask) { argument
59 for (byte b : mask.ipaddress) {
123 * (In IPv4 parlance, this is known as the subnet mask,
H A DNetworkInterface.java474 private boolean hasFlag(int mask) throws SocketException { argument
476 return (flags & mask) != 0;
/libcore/luni/src/main/java/java/lang/
H A DThreadLocal.java57 int index = hash & values.mask;
163 private int mask; field in class:ThreadLocal.Values
191 this.mask = fromParent.mask;
245 this.mask = table.length - 1;
366 for (int index = key.hash & mask;; index = next(index)) {
387 for (int index = key.hash & mask;; index = next(index)) {
426 int index = key.hash & mask;
507 for (int index = key.hash & mask;; index = next(index)) {
531 return (index + 2) & mask;
[all...]
/libcore/luni/src/main/java/java/util/
H A DHugeEnumSet.java64 private long mask; field in class:HugeEnumSet.HugeEnumSetIterator
76 * Assigns mask and index to the next available value, cycling currentBits as necessary.
81 mask = currentBits & -currentBits; // the lowest 1 bit in currentBits
86 mask = 0;
93 return mask != 0;
97 if (mask == 0) {
101 int ordinal = Long.numberOfTrailingZeros(mask) + index * BIT_IN_LONG;
104 currentBits &= ~mask;
H A DMiniEnumSet.java56 private long mask = currentBits & -currentBits; // the lowest 1 bit in currentBits field in class:MiniEnumSet.MiniEnumSetIterator
64 return mask != 0;
68 if (mask == 0) {
72 int ordinal = Long.numberOfTrailingZeros(mask);
75 currentBits &= ~mask;
76 mask = currentBits & -currentBits; // the lowest 1 bit in currentBits
/libcore/luni/src/main/java/java/util/concurrent/
H A DThreadLocalRandom.java39 private static final long mask = (1L << 48) - 1; field in class:ThreadLocalRandom
96 rnd = (seed ^ multiplier) & mask;
100 rnd = (rnd * multiplier + addend) & mask;
/libcore/luni/src/main/java/java/awt/font/
H A DNumericShaper.java420 /** The mask. */
421 private int mask; field in class:NumericShaper
789 fRanges = (mask & ~(1 << 31));
790 fContextual = ((mask &(1 << 31)) != 0);
792 fRanges = (mask & ~(1 << 31));
795 fRanges = mask;
806 mask = fRanges;
808 mask |= (1 << 31);
/libcore/luni/src/main/java/java/io/
H A DFile.java704 private boolean doChmod(int mask, boolean set) { argument
707 int newMode = set ? (sb.st_mode | mask) : (sb.st_mode & ~mask);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
H A DX500PrincipalTest.java2546 byte mask = ((byte[]) obj[5])[0];
2551 if (!testing || ((mask & 0x01) == 0)) {
2562 if (!testing || ((mask & 0x02) == 0)) {
2574 if (!testing || ((mask & 0x04) == 0)) {
2587 if (!testing || ((mask & 0x08) == 0)) {
2973 byte mask = ((byte[]) values[4])[0];
2980 if (!testing || ((mask & 0x01) == 0)) {
2989 if (!testing || ((mask & 0x02) == 0)) {
2998 if (!testing || ((mask & 0x04) == 0)) {
3044 byte[] encoded, byte mask) {
3043 add(String param, String rfc2253, String rfc1779, byte[] encoded, byte mask) argument
3055 add(String param, String rfc2253, String rfc1779, String canonical, byte[] encoded, byte mask) argument
3072 add(byte[] encoding, String rfc2253, String rfc1779, String canonical, byte mask) argument
[all...]
/libcore/luni/src/main/java/android/system/
H A DOs.java508 public static int umask(int mask) { return Libcore.os.umask(mask); } argument
/libcore/luni/src/main/java/libcore/io/
H A DForwardingOs.java160 public int umask(int mask) { return os.umask(mask); } argument
H A DOs.java153 public int umask(int mask); argument
H A DPosix.java204 public int umask(int mask) { argument
205 if ((mask & 0777) != mask) {
206 throw new IllegalArgumentException("Invalid umask: " + mask);
208 return umaskImpl(mask);
210 private native int umaskImpl(int mask); argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp1493 static jint Posix_umaskImpl(JNIEnv*, jobject, jint mask) { argument
1494 return umask(mask);
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 293 milliseconds