Lines Matching refs:data
42 private static String nullName(byte[] data, int where, int off) { in nullName() argument
47 while (end < data.length && data[end] != '\0') in nullName()
50 return new String(data, where + off, end - (where + off)); in nullName()
53 public static ZoneInfo make(String name, byte[] data) { in make() argument
54 int ntransition = read4(data, 32); in make()
55 int ngmtoff = read4(data, 36); in make()
60 transitions[i] = read4(data, base + 4 * i); in make()
65 type[i] = data[base + i]; in make()
72 gmtoff[i] = read4(data, base + 6 * i); in make()
73 isdst[i] = data[base + 6 * i + 4]; in make()
74 abbrev[i] = data[base + 6 * i + 5]; in make()
79 return new ZoneInfo(name, transitions, type, gmtoff, isdst, abbrev, data, base); in make()
82 private static int read4(byte[] data, int off) { in read4() argument
83 return ((data[off ] & 0xFF) << 24) | in read4()
84 ((data[off + 1] & 0xFF) << 16) | in read4()
85 ((data[off + 2] & 0xFF) << 8) | in read4()
86 ((data[off + 3] & 0xFF) << 0); in read4()
91 byte[] data, int abbrevoff) { in ZoneInfo() argument
114 mDaylightName = nullName(data, abbrevoff, in ZoneInfo()
118 mStandardName = nullName(data, abbrevoff, in ZoneInfo()