Lines Matching refs:numVal
326 numVal = None
331 numVal = int(value, 0)
337 self.logMsg('diag', 'Enum', name, '-> value [', numVal, ',', value, ']')
338 return [numVal, value]
342 numVal = 1 << bitpos
343 value = '0x%08x' % numVal
346 self.logMsg('diag', 'Enum', name, '-> bitpos [', numVal, ',', value, ']')
347 return [numVal, value]
361 numVal = self.extBase + (extnumber - 1) * self.extBlockSize + offset
363 numVal *= -1
364 value = '%d' % numVal
366 self.logMsg('diag', 'Enum', name, '-> offset [', numVal, ',', value, ']')
367 return [numVal, value]
387 (numVal, strVal) = self.enumToValue(elem, True)
396 if (strVal2 == strVal or (numVal is not None
397 and numVal == numVal2)):
408 elif numVal in valueMap:
411 (name2, numVal2, strVal2) = valueMap[numVal]
418 nameMap[name] = [elem, numVal, strVal]
419 if numVal is not None:
420 valueMap[numVal] = [elem, numVal, strVal]
488 (numVal, strVal) = self.enumToValue(elem, True)
492 if numVal is not None and (numVal > maxValidValue or numVal < minValidValue):
552 (numVal, strVal) = self.enumToValue(elem, True)
562 if numVal is not None:
568 if numVal is not None and (numVal > maxValidValue or numVal < minValidValue):
574 if isEnum and numVal is not None and elem.get('extends') is None:
577 minValue = maxValue = numVal
578 elif numVal < minValue:
580 minValue = numVal
581 elif numVal > maxValue:
583 maxValue = numVal