Lines Matching refs:kMinValue
180 // the value as an index in that range, starting at kMinValue; thus the range
182 // [kMinValue, kMinValue + 1, ... , kMaxValue]
185 // where N is the number of values, i.e. kMaxValue - kMinValue + 1.
186 template <Bytecode kBytecode, int kMinValue, int kMaxValue,
189 STATIC_ASSERT((kBytecode + kMaxValue - kMinValue) <= kMaxUInt8);
192 return base::IsInRange(static_cast<int>(value), kMinValue, kMaxValue);
197 return static_cast<byte>(kBytecode + static_cast<int>(value) - kMinValue);
201 DCHECK(base::IsInRange(bytecode, Encode(static_cast<TValue>(kMinValue)),
203 return static_cast<TValue>(bytecode - kBytecode + kMinValue);