Home | History | Annotate | Download | only in DNS

Lines Matching refs:label

28  * of labels and the 7 higher order bytes store per-label offsets.
47 /** The maximum length of a label a Name */
99 throw new IllegalArgumentException("label out of range");
146 throw new IllegalStateException("invalid label");
220 byte [] label = new byte[MAXLABEL + 1];
241 throw parseException(s, "label too long");
243 label[pos++] = b;
251 throw parseException(s, "invalid empty label");
252 label[0] = (byte)(pos - 1);
253 appendFromString(s, label, 0, 1);
260 throw parseException(s, "label too long");
261 label[pos++] = b;
272 label[0] = (byte)(pos - 1);
273 appendFromString(s, label, 0, 1);
347 byte [] label = new byte[MAXLABEL + 1];
360 label[0] = (byte)len;
361 in.readByteArray(label, 1, len);
362 append(label, 0, 1);
384 throw new WireParseException("bad label type");
601 throw new IllegalStateException("invalid label");
614 * Retrieve the nth label of a Name. This makes a copy of the label; changing
616 * @param n The label to be retrieved. The first label is 0.
622 byte [] label = new byte[len];
623 System.arraycopy(name, pos, label, 0, len);
624 return label;
628 * Convert the nth label in a Name to a String
629 * @param n The label to be converted to a (printable) String. The first
630 * label is 0.
708 throw new IllegalStateException("invalid label");
741 throw new IllegalStateException("invalid label");