Lines Matching defs:value
461 unsigned int value = (unsigned int)std::strtol(str.c_str(), &parseEnd, 16);
462 assert(!(value & (value - 1)) && "input number is not a power of 2");
464 for (; value; value >>= 1) ++bit;
605 // A lambda for determining the numeric value to be used for a given
606 // enumerant in JSON form, and whether that value is a 0 in a bitfield.
610 result.first = enumerant["value"].asUInt();
612 const unsigned int bit = NumberStringToBit(enumerant["value"].asString());
624 unsigned value;
626 std::tie(value, skip_zero_in_bitfield) = getValue(enumerant);
630 maxValue = value;
633 if (maxValue > value) {
635 << " is out of order. It has value " << value
636 << " but follows the enumerant with value " << maxValue << std::endl;
639 maxValue = value;
658 value, enumerant["enumerant"].asString(),