Lines Matching refs:Radix
303 static std::string radixName(unsigned Radix) { in radixName() argument
304 switch (Radix) { in radixName()
314 return "base-" + std::to_string(Radix); in radixName()
373 unsigned Radix = 0; in LexDigit() local
377 Radix = 16; in LexDigit()
381 Radix = 10; in LexDigit()
386 Radix = 8; in LexDigit()
390 Radix = 2; in LexDigit()
394 Radix = 10; in LexDigit()
398 Radix = 2; in LexDigit()
401 if (Radix) { in LexDigit()
405 if (Result.drop_back().getAsInteger(Radix, Value)) in LexDigit()
406 return ReturnError(TokStart, "invalid " + radixName(Radix) + " number"); in LexDigit()
464 unsigned Radix = doHexLookAhead(CurPtr, 10, LexMasmIntegers); in LexDigit() local
467 bool IsHex = Radix == 16; in LexDigit()
479 if (Result.getAsInteger(Radix, Value)) in LexDigit()
480 return ReturnError(TokStart, "invalid " + radixName(Radix) + " number"); in LexDigit()
551 unsigned Radix = doHexLookAhead(CurPtr, 8, LexMasmIntegers); in LexDigit() local
553 if (Result.getAsInteger(Radix, Value)) in LexDigit()
554 return ReturnError(TokStart, "invalid " + radixName(Radix) + " number"); in LexDigit()
557 if (Radix == 16) in LexDigit()