Searched refs:nibble (Results 1 – 5 of 5) sorted by relevance
85 private static final int parseHexDigit(int nibble) { in parseHexDigit() argument86 if ('0' <= nibble && nibble <= '9') { in parseHexDigit()87 return nibble - '0'; in parseHexDigit()88 } else if ('a' <= nibble && nibble <= 'f') { in parseHexDigit()89 return nibble - 'a' + 10; in parseHexDigit()90 } else if ('A' <= nibble && nibble <= 'F') { in parseHexDigit()91 return nibble - 'A' + 10; in parseHexDigit()93 throw new IllegalArgumentException("Invalid character " + nibble + " in hex string"); in parseHexDigit()
930 char nibble = key[i] >> 4; in H() local931 if (nibble <= 9) { in H()932 nibble += '0'; in H()934 nibble += 'a' - 10; in H()936 out->append(&nibble, 1); in H()938 nibble = key[i] & 0x0f; in H()939 if (nibble <= 9) { in H()940 nibble += '0'; in H()942 nibble += 'a' - 10; in H()944 out->append(&nibble, 1); in H()
53 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() local54 if (nibble >= 0) { // ... and use only legit hex. in parseMac()55 mac = (mac << 4) | nibble; in parseMac()
293 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath() local294 if (nibble != 0) { in isAffectingActiveRoutingPath()
1348 int nibble = (childPath >> i) & 0xF; in isParentPath() local1349 if (nibble != 0) { in isParentPath()