Lines Matching defs:entry
406 * The entry below combines two previously separate entries for
526 * to search the hash table for the appropriate timezone entry. If
527 * the entry for zonename is found in the hash table, return a pointer
528 * to the entry.
885 state_t *entry, *new_entry;
901 entry = find_zone(zonename);
902 if (entry == NULL) {
917 entry = find_zone(zonename);
925 * new_entry points newly allocated entry. If it was NULL, it
928 if (entry == NULL) {
931 * No timezone entry found in hash table, so load it,
932 * and create a new timezone entry.
938 entry = new_entry;
940 if (entry == NULL || newzonename == NULL) {
955 return (entry);
982 entry->zonerules = ZONERULES_INVALID;
983 entry->charsbuf_size = TZ_MAX_CHARS;
984 entry->chars = charsbuf;
985 entry->default_tzname0 = _tz_gmt;
986 entry->default_tzname1 = _tz_spaces;
987 entry->zonename = newzonename;
990 if (load_zoneinfo(zonename + 1, entry) != 0) {
991 (void) load_posixinfo(_posix_gmt0, entry);
993 } else if (load_posixinfo(zonename, entry) != 0) {
994 if (load_zoneinfo(zonename, entry) != 0) {
995 (void) load_posixinfo(_posix_gmt0, entry);
998 entry->last_ats_idx = -1;
1004 reg_zone(entry);
1009 curr_zonerules = entry->zonerules;
1010 namecache = entry->zonename;
1011 daylight = entry->daylight;
1012 lclzonep = entry;
2456 /* no TZ entry in the file */
2525 * allocate new entry. This entry is never freed, so use lmalloc