Lines Matching defs:id
292 * u1 byte_length; // byte length of id
293 * u1 id[byte_length]; // zone name string
329 * u2 nentries; // number of id-pairs
508 * @param originalId the given custom id (before normalized such as "GMT+9")
513 String id = toCustomID(gmtOffset);
515 ZoneInfo zi = getFromCache(id);
517 zi = new ZoneInfo(id, gmtOffset);
518 zi = addToCache(id, zi);
519 if (!id.equals(originalId)) {
552 * @return a ZoneInfo instance created for the specified id, or
554 * id.
556 public static ZoneInfo getZoneInfo(String id) {
558 if ("GMT".equals(id))
560 ZoneInfo zi = getFromCache(id);
563 if (aliases != null && aliases.get(id) != null) {
566 zi = createZoneInfo(id);
570 zi = addToCache(id, zi);
575 synchronized static ZoneInfo getFromCache(String id) {
579 return zoneInfoObjects.get(id);
582 synchronized static ZoneInfo addToCache(String id, ZoneInfo zi) {
586 ZoneInfo zone = zoneInfoObjects.get(id);
591 zoneInfoObjects.put(id, zi);
595 private static ZoneInfo createZoneInfo(String id) {
596 byte[] buf = readZoneInfoFile(getFileName(id));
614 System.err.println("ZoneInfo: wrong magic number: " + id);
620 + buf[index - 1] + "): " + id);
727 System.err.println("ZoneInfo: corrupted zoneinfo file: " + id);
732 System.err.println("ZoneInfo: wrong file size: " + id);
736 return new ZoneInfo(id, rawOffset, dstSavings, checksum,