Searched refs:tm_info (Results 1 - 22 of 22) sorted by relevance

/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmtype.c48 tmset(tm_info.zone);
49 zp = tm_info.local;
53 if (zp == tm_info.local) zp = tm_data.zone;
H A Dtmlex.c57 if (tm_info.format != tm_data.format && tab >= tm_info.format && tab < tm_info.format + TM_NFORM)
59 tab = tm_data.format + (tab - tm_info.format);
60 if (suf && tab >= tm_info.format && tab < tm_info.format + TM_NFORM)
61 suf = tm_data.format + (suf - tm_info.format);
H A Dtmxleap.c43 tmset(tm_info.zone);
44 if (tm_info.flags & TM_ADJUST)
H A Dtmxtime.c61 tmset(tm_info.zone);
80 if (west != TM_UTCZONE && !(tm_info.flags & TM_UTC))
88 t += tm_info.zone->west * 60;
89 if (!tm_info.zone->daylight)
95 now = tmxsec(tmxtime(tm, tm_info.zone->west));
100 t += tm_info.zone->dst * 60;
106 if (!tm_info.zone->daylight)
113 now = tmxsec(tmxtime(tm, tm_info.zone->west));
124 if (tm_info.flags & TM_LEAP)
H A Dtminit.c67 * 2007-03-19 move tm_info from _tm_info_ to (*_tm_infop_)
185 tm_info.deformat = (n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdup(v) : tm_info.format[TM_DEFAULT];
188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
192 tm_info.flags |= ((Namval_t*)p)->value;
194 tm_info.flags &= ~((Namval_t*)p)->value;
257 * tm_info.local
260 tm_info.zone = tm_info.local = &local;
358 tmpoff(s, e - s, tm_info
[all...]
H A Dtmlocale.c116 tm_info.deformat = b[TM_UT];
121 tm_info.deformat = b[TM_DEFAULT];
122 tm_info.format = b;
123 if (!(tm_info.deformat = state.format))
124 tm_info.deformat = tm_info.format[TM_DEFAULT];
543 #define native_lc_time(li) ((li->data=(void*)(tm_info.format=tm_data.format)),(tm_info.deformat=tm_info.format[TM_DEFAULT]))
569 tm_info
[all...]
H A Dtmxfmt.c128 format = tm_info.deformat;
130 flags = tm_info.flags;
241 if (tm_info.deformat != tm_info.format[TM_DEFAULT])
242 format = tm_info.deformat;
244 format = tm_info.format[TM_DEFAULT];
260 p = tm_info.format[TM_CTIME];
269 p = tm_info.format[TM_DATE];
363 p = tm_info.format[TM_MERIDIAN + (tm->tm_hour >= 12)];
379 p = tm_info
[all...]
H A Dtmzone.c37 * otherwise type must be one of tm_info.zone[].type
58 tmset(tm_info.zone);
68 zp = tm_info.local;
89 if (zp == tm_info.local)
H A Dtmxmake.c55 tmset(tm_info.zone);
57 if ((tm_info.flags & (TM_ADJUST|TM_LEAP)) == (TM_ADJUST|TM_LEAP) && (n = tmxsec(t)))
70 if (tm_info.flags & TM_UTC)
73 tm->tm_zone = tm_info.zone;
H A Dtmxscan.c225 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0)
240 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0)
310 if ((n = tmlex(s, &u, tm_info.format + TM_MERIDIAN, TM_UT - TM_MERIDIAN, NiL, 0)) < 0)
357 p = tm_info.format[TM_DATE];
360 p = tm_info.format[TM_TIME];
388 tm_info.date = zp;
H A Dtmxdate.c210 tm_info.date = tm->tm_zone;
807 else if (f == -1 && isalpha(*t) && tmlex(t, &t, tm_info.format + TM_ORDINAL, TM_ORDINALS - TM_ORDINAL, NiL, 0) >= 0)
890 if (!dig2(x, m) || m > 12 || !dig2(x, m) || m > 31 || dig2(x, m) > 24 || dig2(x, m) > 60 || dig2(x, m) <= 60 && !(tm_info.flags & TM_DATESTYLE))
1009 switch (tmlex(s, &t, tm_info.format, TM_NFORM, tm_info.format + TM_MERIDIAN, 2))
1089 if (tmlex(s, &t, tm_info.format + TM_SUFFIXES, TM_PARTS - TM_SUFFIXES, NiL, 0) >= 0)
1187 if ((j = tmlex(s, &t, tm_info.format, TM_NFORM, tm_info.format + TM_SUFFIXES, TM_PARTS - TM_SUFFIXES)) >= 0)
1287 if ((k = tmlex(s, &t, tm_info.format + TM_LAST, TM_NOISE - TM_LAST, NiL, 0)) >= 0)
1332 if ((k = tmlex(s, &t, tm_info
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c133 if (mod->tm_info->tmi_version != version) {
171 if (mod->tm_info != NULL)
192 if ((mod->tm_info = topo_mod_zalloc(mod, sizeof (topo_imodinfo_t)))
195 if ((mod->tm_info->tmi_ops = topo_mod_alloc(mod,
199 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc);
200 if (mod->tm_info->tmi_desc == NULL)
203 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme);
204 if (mod->tm_info->tmi_scheme == NULL)
208 mod->tm_info->tmi_version = (topo_version_t)mip->tmi_version;
209 mod->tm_info
[all...]
H A Dtopo_builtin.c69 if ((*bp->bltin_init)(mp, version) != 0 || mp->tm_info == NULL) {
86 if (mp->tm_info != NULL) {
H A Dtopo_module.h77 topo_imodinfo_t *tm_info; /* Module info registered with handle */ member in struct:topo_mod
H A Dtopo_module.c50 if (mod->tm_info->tmi_ops->tmo_release != NULL)
51 mod->tm_info->tmi_ops->tmo_release(mod, node);
H A Dtopo_node.c173 if (mod->tm_info->tmi_ops->tmo_release != NULL)
174 mod->tm_info->tmi_ops->tmo_release(mod, node);
/osnet-11/usr/src/lib/libcmd/common/
H A Ddate.c244 if (tm_info.flags & TM_UTC)
306 tm_info.flags = TM_DATESTYLE;
336 tm_info.flags |= TM_LEAP;
372 tm_info.flags |= TM_UTC;
511 tm_info.flags = 0;
/osnet-11/usr/src/lib/libast/common/include/
H A Dtm.h162 #define tm_info (*_tm_infop_) macro
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro

Completed in 46 milliseconds