Lines Matching refs:peek
228 while (!atEOF() && !errorCount() && peek() != "}") { in readVersionScriptCommand()
711 return StringSwitch<SortSectionPolicy>(peek()) in peekSortKind()
742 while (!errorCount() && peek() != ")") { in readInputSectionsList()
752 StringRef s = peek(); in readInputSectionsList()
886 StringRef value = peek(); in readSectionDirective()
922 if (readSectionDirective(cmd, peek())) in readSectionAddressType()
932 StringRef tok = peek(); in readSectionAddressType()
974 if (peek() != ":") in readOutputSectionDescription()
1009 if (peek() != "(") in readOutputSectionDescription()
1010 setError("( expected, but got " + peek()); in readOutputSectionDescription()
1018 } else if (peek() == "(") { in readOutputSectionDescription()
1046 if (peek() == "=" || peek().starts_with("=")) { in readOutputSectionDescription()
1084 StringRef name = next(), eq = peek(); in readProvideHidden()
1109 const StringRef op = peek(); in readAssignment()
1249 StringRef op1 = peek(); in readExpr1()
1262 StringRef op2 = peek(); in readExpr1()
1424 if (peek() == "(") in readPrimary()
1630 while (!errorCount() && peek().starts_with(":")) { in readOutputSectionPhdrs()
1756 while (!errorCount() && peek() != "}") { in readVersionExtern()