Lines Matching refs:value
37 public static int unsignedLeb128Size(int value) { in unsignedLeb128Size() argument
40 int remaining = value >> 7; in unsignedLeb128Size()
104 public static void writeUnsignedLeb128(ByteOutput out, int value) { in writeUnsignedLeb128() argument
105 int remaining = value >>> 7; in writeUnsignedLeb128()
108 out.writeByte((byte) ((value & 0x7f) | 0x80)); in writeUnsignedLeb128()
109 value = remaining; in writeUnsignedLeb128()
113 out.writeByte((byte) (value & 0x7f)); in writeUnsignedLeb128()
120 public static void writeSignedLeb128(ByteOutput out, int value) { in writeSignedLeb128() argument
121 int remaining = value >> 7; in writeSignedLeb128()
123 int end = ((value & Integer.MIN_VALUE) == 0) ? 0 : -1; in writeSignedLeb128()
127 || ((remaining & 1) != ((value >> 6) & 1)); in writeSignedLeb128()
129 out.writeByte((byte) ((value & 0x7f) | (hasMore ? 0x80 : 0))); in writeSignedLeb128()
130 value = remaining; in writeSignedLeb128()