Home | History | Annotate | Download | only in DNS

Lines Matching refs:next

184 		int next = is.read();
185 if (next != '\n')
186 is.unread(next);
225 * Gets the next token from a tokenizer.
229 * @return The next token in the stream.
339 * Gets the next token from a tokenizer, ignoring whitespace and comments.
340 * @return The next token in the stream.
350 * Returns a token to the stream, so that it will be returned by the next call
365 * Gets the next token from a tokenizer and converts it to a string.
366 * @return The next token in the stream, as a string.
372 Token next = get();
373 if (!next.isString()) {
376 return next.value;
381 Token next = get();
382 if (next.type != IDENTIFIER)
384 return next.value;
388 * Gets the next token from a tokenizer, ensures it is an unquoted string,
390 * @return The next token in the stream, as a string.
400 * Gets the next token from a tokenizer and converts it to a long.
401 * @return The next token in the stream, as a long.
407 String next = _getIdentifier("an integer");
408 if (!Character.isDigit(next.charAt(0)))
411 return Long.parseLong(next);
418 * Gets the next token from a tokenizer and converts it to an unsigned 32 bit
420 * @return The next token in the stream, as an unsigned 32 bit integer.
434 * Gets the next token from a tokenizer and converts it to an unsigned 16 bit
436 * @return The next token in the stream, as an unsigned 16 bit integer.
450 * Gets the next token from a tokenizer and converts it to an unsigned 8 bit
452 * @return The next token in the stream, as an unsigned 8 bit integer.
466 * Gets the next token from a tokenizer and parses it as a TTL.
467 * @return The next token in the stream, as an unsigned 32 bit integer.
474 String next = _getIdentifier("a TTL value");
476 return TTL.parseTTL(next);
484 * Gets the next token from a tokenizer and parses it as if it were a TTL.
485 * @return The next token in the stream, as an unsigned 32 bit integer.
492 String next = _getIdentifier("a TTL-like value");
494 return TTL.parse(next, false);
502 * Gets the next token from a tokenizer and converts it to a name.
504 * @return The next token in the stream, as a name.
513 String next = _getIdentifier("a name");
515 Name name = Name.fromString(next, origin);
526 * Gets the next token from a tokenizer and converts it to an IP Address.
528 * @return The next token in the stream, as an InetAddress
535 String next = _getIdentifier("an address");
537 return Address.getByAddress(next, family);
545 * Gets the next token from a tokenizer, which must be an EOL or EOF.
551 Token next = get();
552 if (next.type != EOL && next.type != EOF) {
654 * Gets the next token from a tokenizer and decodes it as hex.
661 String next = _getIdentifier("a hex string");
662 byte [] array = base16.fromString(next);
669 * Gets the next token from a tokenizer and decodes it as base32.
677 String next = _getIdentifier("a base32 string");
678 byte [] array = b32.fromString(next);