Home
last modified time | relevance | path

Searched refs:tryConsume (Results 1 – 2 of 2) sorted by relevance

/external/syzkaller/pkg/ast/
Dparser.go102 p.tryConsume(tokNewLine)
162 func (p *parser) tryConsume(tok token) bool { func
237 if p.tryConsume(tokColon) {
239 for p.tryConsume(tokComma) {
258 if p.tryConsume(tokLBrack) {
260 for p.tryConsume(tokComma) {
295 p.tryConsume(tokComma)
327 for p.tryConsume(tokComma) {
339 for p.tryConsume(tokComma) {
368 if p.tryConsume(closing) {
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java727 public boolean tryConsume(final String token) { in tryConsume() method in TextFormat.Tokenizer
741 if (!tryConsume(token)) { in consume()
1422 if (tokenizer.tryConsume("[")) { in mergeField()
1426 while (tokenizer.tryConsume(".")) { in mergeField()
1497 if (tokenizer.tryConsume(":") in mergeField()
1509 tokenizer.tryConsume(":"); // optional in mergeField()
1532 if (!tokenizer.tryConsume(";")) { in mergeField()
1533 tokenizer.tryConsume(","); in mergeField()
1551 if (field.isRepeated() && tokenizer.tryConsume("[")) { in consumeFieldValues()
1555 if (tokenizer.tryConsume("]")) { in consumeFieldValues()
[all …]