Lines Matching refs:Result
118 std::string Result(size(), char());
120 Result[i] = ascii_tolower(Data[i]);
122 return Result;
126 std::string Result(size(), char());
128 Result[i] = ascii_toupper(Data[i]);
130 return Result;
379 unsigned long long &Result) {
388 Result = 0;
406 unsigned long long PrevResult = Result;
407 Result = Result*Radix+CharVal;
410 if (Result/Radix < PrevResult)
420 long long &Result) {
429 Result = ULLVal;
441 Result = -ULLVal;
445 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
464 Result = APInt(64, 0);
474 if (BitWidth < Result.getBitWidth())
475 BitWidth = Result.getBitWidth(); // don't shrink the result
476 else if (BitWidth > Result.getBitWidth())
477 Result = Result.zext(BitWidth);
481 // These must have the same bit-width as Result.
487 Result = 0;
506 Result <<= Log2Radix;
507 Result |= CharVal;
509 Result *= RadixAP;
511 Result += CharAP;