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

/illumos-gate/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 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];
278 p = tm_info.deformat;
309 p = tm_info
[all...]
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.c100 tm_info.deformat = b[TM_UT];
105 tm_info.deformat = b[TM_DEFAULT];
106 tm_info.format = b;
107 if (!(tm_info.deformat = state.format))
108 tm_info.deformat = tm_info.format[TM_DEFAULT];
527 #define native_lc_time(li) ((li->data=(void*)(tm_info.format=tm_data.format)),(tm_info.deformat=tm_info.format[TM_DEFAULT]))
553 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...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c126 if (mod->tm_info->tmi_version != version) {
160 if (mod->tm_info != NULL)
181 if ((mod->tm_info = topo_mod_zalloc(mod, sizeof (topo_imodinfo_t)))
184 if ((mod->tm_info->tmi_ops = topo_mod_alloc(mod,
188 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc);
189 if (mod->tm_info->tmi_desc == NULL)
192 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme);
193 if (mod->tm_info->tmi_scheme == NULL)
197 mod->tm_info->tmi_version = (topo_version_t)mip->tmi_version;
198 mod->tm_info
[all...]
H A Dtopo_builtin.c70 if ((*bp->bltin_init)(mp, version) != 0 || mp->tm_info == NULL) {
87 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.c53 if (mod->tm_info->tmi_ops->tmo_release != NULL)
54 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);
/illumos-gate/usr/src/lib/libcmd/common/
H A Ddate.c235 if (tm_info.flags & TM_UTC)
297 tm_info.flags = TM_DATESTYLE;
327 tm_info.flags |= TM_LEAP;
346 tm_info.flags |= TM_UTC;
485 tm_info.flags = 0;
/illumos-gate/usr/src/lib/libast/common/include/
H A Dtm.h162 #define tm_info (*_tm_infop_) macro
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dtm.h173 #define tm_info (*_tm_infop_) macro
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c236 mdb_printf("%-12s 0x%-34p %-30s\n", "tm_info", tm.tm_info,

Completed in 164 milliseconds