Lines Matching refs:substr

42     StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim();  in evaluate()
53 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate()
123 Token = Expr.substr(0, TokLen); in getTokenForError()
157 return std::make_pair(BinOpToken::ShiftLeft, Expr.substr(2).ltrim()); in parseBinOpToken()
159 return std::make_pair(BinOpToken::ShiftRight, Expr.substr(2).ltrim()); in parseBinOpToken()
180 return std::make_pair(Op, Expr.substr(1).ltrim()); in parseBinOpToken()
210 return std::make_pair(Expr.substr(0, FirstNonSymbol), in parseSymbol()
211 Expr.substr(FirstNonSymbol).ltrim()); in parseSymbol()
223 StringRef RemainingExpr = Expr.substr(1).ltrim(); in evalDecodeOperand()
235 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalDecodeOperand()
245 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalDecodeOperand()
291 StringRef RemainingExpr = Expr.substr(1).ltrim(); in evalNextPC()
303 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalNextPC()
329 StringRef RemainingExpr = Expr.substr(1).ltrim(); in evalStubAddr()
335 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalStubAddr()
336 RemainingExpr = RemainingExpr.substr(ComaIdx).ltrim(); in evalStubAddr()
341 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalStubAddr()
349 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalStubAddr()
357 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalStubAddr()
374 StringRef RemainingExpr = Expr.substr(1).ltrim(); in evalSectionAddr()
380 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalSectionAddr()
381 RemainingExpr = RemainingExpr.substr(ComaIdx).ltrim(); in evalSectionAddr()
386 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalSectionAddr()
394 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalSectionAddr()
460 return std::make_pair(Expr.substr(0, FirstNonDigit), in parseNumberString()
461 Expr.substr(FirstNonDigit)); in parseNumberString()
489 evalComplexExpr(evalSimpleExpr(Expr.substr(1).ltrim(), PCtx), PCtx); in evalParensExpr()
495 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalParensExpr()
505 StringRef RemainingExpr = Expr.substr(1).ltrim(); in evalLoadExpr()
510 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalLoadExpr()
520 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalLoadExpr()
591 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalSliceExpr()
602 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalSliceExpr()
613 RemainingExpr = RemainingExpr.substr(1).ltrim(); in evalSliceExpr()
717 DidAllTestsPass &= check(Line.substr(RulePrefix.size())); in checkAllRulesInBuffer()