Home | History | Annotate | Download | only in DNS

Lines Matching refs:tokens

77 	String [] tokens = s.split(":", -1);
80 int last = tokens.length - 1;
82 if (tokens[0].length() == 0) {
83 // If the first two tokens are empty, it means the string
86 if (last - first > 0 && tokens[1].length() == 0)
92 if (tokens[last].length() == 0) {
93 // If the last two tokens are empty, it means the string
96 if (last - first > 0 && tokens[last - 1].length() == 0)
107 if (tokens[i].length() == 0) {
114 if (tokens[i].indexOf('.') >= 0) {
121 byte [] v4addr = Address.toByteArray(tokens[i], IPv4);
130 for (int k = 0; k < tokens[i].length(); k++) {
131 char c = tokens[i].charAt(k);
135 int x = Integer.parseInt(tokens[i], 16);