Home | History | Annotate | Download | only in util

Lines Matching refs:value

37      * byte of the given value
38 * @param value the value to extract the nibble from
39 * @return the extracted signed nibble value
41 public static int extractHighSignedNibble(int value) {
42 return (value << 24) >> 28;
47 * byte of the given value
48 * @param value the value to extract the nibble from
49 * @return the extracted signed nibble value
51 public static int extractLowSignedNibble(int value) {
52 return (value << 28) >> 28;
57 * byte of the given value
58 * @param value the value to extract the nibble from
59 * @return the extracted unsigned nibble value
61 public static int extractHighUnsignedNibble(int value) {
62 return (value & 0xF0) >>> 4;
67 * byte of the given value
68 * @param value the value to extract the nibble from
69 * @return the extracted unsigned nibble value
71 public static int extractLowUnsignedNibble(int value) {
72 return value & 0x0F;