Searched refs:bitInputStream (Results 1 – 3 of 3) sorted by relevance
40 public static String getStringValue(BitInputStream bitInputStream) throws IOException { in getStringValue() argument41 boolean isHashedValue = bitInputStream.getNext(IS_HASHED_BITS) == 1; in getStringValue()42 int valueSize = bitInputStream.getNext(VALUE_SIZE_BITS); in getStringValue()43 return getStringValue(bitInputStream, valueSize, isHashedValue); in getStringValue()53 BitInputStream bitInputStream, int valueSize, boolean isHashedValue) in getStringValue() argument58 value.append((char) bitInputStream.getNext(/* numOfBits= */ 8)); in getStringValue()64 byteBuffer.put((byte) (bitInputStream.getNext(/* numOfBits= */ 8) & 0xFF)); in getStringValue()70 public static int getIntValue(BitInputStream bitInputStream) throws IOException { in getIntValue() argument71 return bitInputStream.getNext(/* numOfBits= */ 32); in getIntValue()75 public static boolean getBooleanValue(BitInputStream bitInputStream) throws IOException { in getBooleanValue() argument[all …]
123 private Rule parseRule(BitInputStream bitInputStream) throws IOException { in parseRule() argument124 IntegrityFormula formula = parseFormula(bitInputStream); in parseRule()125 int effect = bitInputStream.getNext(EFFECT_BITS); in parseRule()127 if (bitInputStream.getNext(SIGNAL_BIT) != 1) { in parseRule()134 private IntegrityFormula parseFormula(BitInputStream bitInputStream) throws IOException { in parseFormula() argument135 int separator = bitInputStream.getNext(SEPARATOR_BITS); in parseFormula()138 return parseAtomicFormula(bitInputStream); in parseFormula()140 return parseCompoundFormula(bitInputStream); in parseFormula()151 private CompoundFormula parseCompoundFormula(BitInputStream bitInputStream) throws IOException { in parseCompoundFormula() argument152 int connector = bitInputStream.getNext(CONNECTOR_BITS); in parseCompoundFormula()[all …]
48 BitInputStream bitInputStream = new BitInputStream(inputStream); in RuleIndexingController() local49 sPackageNameBasedIndexes = getNextIndexGroup(bitInputStream); in RuleIndexingController()50 sAppCertificateBasedIndexes = getNextIndexGroup(bitInputStream); in RuleIndexingController()51 sUnindexedRuleIndexes = getNextIndexGroup(bitInputStream); in RuleIndexingController()82 private LinkedHashMap<String, Integer> getNextIndexGroup(BitInputStream bitInputStream) in getNextIndexGroup() argument85 while (bitInputStream.hasNext()) { in getNextIndexGroup()86 String key = getStringValue(bitInputStream); in getNextIndexGroup()87 int value = getIntValue(bitInputStream); in getNextIndexGroup()