private void addRelAddr(int addr) { addInt(addr); }
private void addOption(int option) { addInt(option); }
private void addLength(int length) { addInt(length); }
private void addAbsAddr(int addr) { addInt(addr); }
private void addAbsAddr(int addr) { addInt(addr); }
private void addMemNum(int num) { addInt(num); }
private void addRelAddr(int addr) { addInt(addr); }
private void addMemNum(int num) { addInt(num); }
private void addOption(int option) { addInt(option); }
private void addStateCheckNum(int num) { addInt(num); }
private void addOpcode(int opcode) { addInt(opcode); }
private void addStateCheckNum(int num) { addInt(num); }
private void addOpcode(int opcode) { addInt(opcode); }
private void addLength(int length) { addInt(length); }
@Override protected final void addCompileString(byte[]bytes, int p, int mbLength, int byteLength, boolean ignoreCase) { int op = selectStrOpcode(mbLength, byteLength, ignoreCase); addOpcode(op); if (op == OPCode.EXACTMBN) addLength(mbLength); if (isNeedStrLenOpExact(op)) { if (op == OPCode.EXACTN_IC || op == OPCode.EXACTN_IC_SB) { addLength(byteLength); } else { addLength(byteLength / mbLength); } } if (Config.USE_STRING_TEMPLATES && opTemplated(op)) { addInt(templateNum); addInt(p); addTemplate(bytes); } else { addBytes(bytes, p, byteLength); } }
@Override protected final void addCompileString(byte[]bytes, int p, int mbLength, int byteLength, boolean ignoreCase) { int op = selectStrOpcode(mbLength, byteLength, ignoreCase); addOpcode(op); if (op == OPCode.EXACTMBN) addLength(mbLength); if (isNeedStrLenOpExact(op)) { if (op == OPCode.EXACTN_IC || op == OPCode.EXACTN_IC_SB) { addLength(byteLength); } else { addLength(byteLength / mbLength); } } if (Config.USE_STRING_TEMPLATES && opTemplated(op)) { addInt(templateNum); addInt(p); addTemplate(bytes); } else { addBytes(bytes, p, byteLength); } }