Searched refs:nibble (Results 1 – 7 of 7) sorted by relevance
70 private static final int parseHexDigit(int nibble) { in parseHexDigit() argument71 if ('0' <= nibble && nibble <= '9') { in parseHexDigit()72 return nibble - '0'; in parseHexDigit()73 } else if ('a' <= nibble && nibble <= 'f') { in parseHexDigit()74 return nibble - 'a' + 10; in parseHexDigit()75 } else if ('A' <= nibble && nibble <= 'F') { in parseHexDigit()76 return nibble - 'A' + 10; in parseHexDigit()78 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()
928 char nibble = key[i] >> 4; in H() local929 if (nibble <= 9) { in H()930 nibble += '0'; in H()932 nibble += 'a' - 10; in H()934 out->append(&nibble, 1); in H()936 nibble = key[i] & 0x0f; in H()937 if (nibble <= 9) { in H()938 nibble += '0'; in H()940 nibble += 'a' - 10; in H()942 out->append(&nibble, 1); in H()
243 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath() local244 if (nibble != 0) { in isAffectingActiveRoutingPath()
1377 int nibble = (childPath >> i) & 0xF; in isParentPath() local1378 if (nibble != 0) { in isParentPath()
47 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() local48 if (nibble >= 0) { // ... and use only legit hex. in parseMac()49 mac = (mac << 4) | nibble; in parseMac()
51 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() local52 if (nibble >= 0) { // ... and use only legit hex. in parseMac()53 mac = (mac << 4) | nibble; in parseMac()