Lines Matching refs:calculator
77 BlockTypeCodeCalculator* calculator, uint8_t type) {78 size_t type_code = (type == calculator->last_type + 1) ? 1u :79 (type == calculator->second_last_type) ? 0u : type + 2u;80 calculator->second_last_type = calculator->last_type;81 calculator->last_type = type;