Searched refs:nibble (Results 1 – 6 of 6) 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()
250 char nibble = key[i] >> 4; in H() local251 if (nibble <= 9) { in H()252 nibble += '0'; in H()254 nibble += 'a' - 10; in H()256 out->append(&nibble, 1); in H()258 nibble = key[i] & 0x0f; in H()259 if (nibble <= 9) { in H()260 nibble += '0'; in H()262 nibble += 'a' - 10; in H()264 out->append(&nibble, 1); in H()
939 char nibble = key[i] >> 4; in H() local940 if (nibble <= 9) { in H()941 nibble += '0'; in H()943 nibble += 'a' - 10; in H()945 out->append(&nibble, 1); in H()947 nibble = key[i] & 0x0f; in H()948 if (nibble <= 9) { in H()949 nibble += '0'; in H()951 nibble += 'a' - 10; in H()953 out->append(&nibble, 1); in H()
56 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() local57 if (nibble >= 0) { // ... and use only legit hex. in parseMac()58 mac = (mac << 4) | nibble; in parseMac()
291 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath() local292 if (nibble != 0) { in isAffectingActiveRoutingPath()
1347 int nibble = (childPath >> i) & 0xF; in isParentPath() local1348 if (nibble != 0) { in isParentPath()