Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 25 of 269) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/localedef/
H A Dmonetary.c36 (void) memset(&mon, 0, sizeof (mon)); in init_monetary()
63 mon.positive_sign = str; in add_monetary_str()
66 mon.negative_sign = str; in add_monetary_str()
91 mon.frac_digits = str; in add_monetary_num()
94 mon.p_cs_precedes = str; in add_monetary_num()
100 mon.n_cs_precedes = str; in add_monetary_num()
106 mon.p_sign_posn = str; in add_monetary_num()
109 mon.n_sign_posn = str; in add_monetary_num()
130 mon.mon_grouping = str; in add_monetary_num()
142 mon.mon_grouping = NULL; in reset_monetary_group()
[all …]
H A Dtime.c109 add_list(tm.mon, str, 12); in add_time_list()
146 if (tm.mon[11] != NULL) in check_time_list()
183 free((char *)tm.mon[i]); in reset_time_list()
184 tm.mon[i] = NULL; in reset_time_list()
226 if (putl_category(tm.mon[i], f) == EOF) { in dump_time()
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DSystemMonitor.java175 ResourceMonitor mon = null; in setResourceMonitors() local
194 mon = get(res); in setResourceMonitors()
196 mon.resetData(stats[i]); in setResourceMonitors()
198 mon = new ResourceMonitor(res, 50); in setResourceMonitors()
202 mon.put(stats[i], sl); in setResourceMonitors()
207 monitored.put(res, mon); in setResourceMonitors()
209 mon.initialize(); in setResourceMonitors()
244 List compList = mon.getComponents(); in getNext()
292 mon.updateDerived(); in getNext()
317 ResourceMonitor mon = get(res); in getUtilization() local
[all …]
H A DObjective.java355 Monitor mon = solver.getMonitor(); in examine() local
374 mon.getUtilization(res), in examine()
1100 ResourceMonitor mon; in examine() local
1110 mon = solver.getMonitor().get((Resource)elem); in examine()
1123 StatisticList sl = (StatisticList) mon.get("utilization"); in examine()
1161 checkShort(mon, elem, val); in examine()
1299 private void checkShort(ResourceMonitor mon, Element elem, double val) in checkShort() argument
1329 mon.resetData("utilization"); in checkShort()
H A DDecisionHistory.java550 public void expireAndMeasureImprovements(Monitor mon) in expireAndMeasureImprovements() argument
556 if (mon.isValid()) { in expireAndMeasureImprovements()
561 double utilization = mon. in expireAndMeasureImprovements()
584 int cutoff = mon.getSampleCount() - DECISION_LIFETIME; in expireAndMeasureImprovements()
H A DSystemSolver.java365 public boolean examine(Monitor mon) throws PoolsException, in examine() argument
372 dh.expireAndMeasureImprovements(mon); in examine()
712 ResourceMonitor mon = getMonitor().get(move.getMove(). in applyMove() local
714 mon.resetData("utilization"); in applyMove()
715 mon = getMonitor().get(move.getMove().getTo()); in applyMove()
716 mon.resetData("utilization"); in applyMove()
H A DSolver.java60 public boolean examine(Monitor mon) throws PoolsException, in examine() argument
/illumos-gate/usr/src/cmd/cal/
H A Dcal.c64 static char mon[] = { variable
230 mon[2] = 29; in cal()
231 mon[9] = 30; in cal()
239 mon[2] = 28; in cal()
246 mon[9] = 19; in cal()
256 d += mon[i]; in cal()
259 for (i = 1; i <= mon[m]; i++) { in cal()
260 if (i == 3 && mon[m] == 19) { in cal()
262 mon[m] += 11; in cal()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxscan.c42 int mon; member
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian…
82 if (set->mon >= 0) in gen()
84 if (set->year < 0 && set->mon < tm->tm_mon) in gen()
86 tm->tm_mon = set->mon; in gen()
92 if (set->mon < 0) in gen()
100 if (set->mon < 0) in gen()
244 set.mon = n; in scan()
291 set.mon = n - 1; in scan()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c61 static time_t hs_date_to_gmtime(int year, int mon, int day, int gmtoff);
242 hs_date_to_gmtime(year, mon, day, gmtoff) in hs_date_to_gmtime() argument
244 int mon;
253 (mon < 1) || (mon > 12) ||
269 sum += cp[mon - 1];
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dsm_inter.x44 struct sm_stat_res SM_MON(struct mon) = 2;
78 struct mon{ struct
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_glue.c515 if (ct->mon < 1 || ct->mon > 12 || ct->day < 1 || in clock_ct_to_ts()
516 ct->day > days_in_month(year, ct->mon) || in clock_ct_to_ts()
535 for (i = 1; i < ct->mon; i++) in clock_ct_to_ts()
571 ct->mon = i; in clock_ts_to_ct()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Drelease.c85 static char mon[] = "janfebmaraprmayjunjulaugsepoctnovdec"; variable
172 if (!(m = string(s, mon, elementsof(mon), 3, &t))) in date()
/illumos-gate/usr/src/tools/codesign/
H A Dcodesign_server.pl209 my ($sec, $min, $hr, $day, $mon, $yr) = localtime(time);
211 $yr+1900, $mon+1, $day, $hr, $min, $sec);
/illumos-gate/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c276 int mon = BCD_TO_BYTE(rtc.rtc_mon); in todpc_setalarm() local
283 if (adom > dpm[mon]) { in todpc_setalarm()
289 adom = dpm[mon]; in todpc_setalarm()
292 for (amon = mon; in todpc_setalarm()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.h80 mon id; /* mon information: mon_name, my_id */
97 mon id; /* Monitor information */
H A Dsm_proc.c80 static void insert_mon(mon *monp);
82 static int statd_call_lockd(mon *monp, int state);
116 mon *monp = arg1; in sm_mon_svc()
415 insert_mon(mon *monp) in insert_mon()
434 (void) memcpy(&new->id, monp, sizeof (mon)); in insert_mon()
653 mon *monp; in send_notice()
670 (void) memcpy(&minfop->id, monp, sizeof (mon)); in send_notice()
749 statd_call_lockd(mon *monp, int state) in statd_call_lockd()
/illumos-gate/usr/src/uts/common/sys/
H A Dfem.h424 extern int fem_install(struct vnode *v, fem_t *mon, void *arg, femhow_t how,
426 extern int fem_is_installed(struct vnode *v, fem_t *mon, void *arg);
427 extern int fem_uninstall(struct vnode *v, fem_t *mon, void *arg);
435 extern int fsem_is_installed(struct vfs *v, fsem_t *mon, void *arg);
436 extern int fsem_install(struct vfs *v, fsem_t *mon, void *arg, femhow_t how,
438 extern int fsem_uninstall(struct vfs *v, fsem_t *mon, void *arg);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dtimelocal.h37 const char *mon[12]; member
/illumos-gate/usr/src/lib/storage/liba5k/
H A DMakefile.com30 mon.o
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvrtc.c357 ASSERT(ct.mon >= 1 && ct.mon <= 12); in vrtc_time_to_cmos()
395 rtc->month = rtc_enc(rtc, ct.mon); in vrtc_time_to_cmos()
562 ct.mon = rtc_dec(rtc, rtc->month, &err); in vrtc_cmos_to_secs()
563 if (err || ct.mon < 1 || ct.mon > 12) { in vrtc_cmos_to_secs()
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dclock.h59 int mon; /* month (1 - 12) */ member
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c1481 (tp)->tm_mon = mon; \
1709 carry = (mon < m) ? 1 : 0; in tz_next_time()
1730 mon = tm->tm_mon; in tz_next_time()
1743 tm_setup(&tmp, yr, mon, day, hr, min, -1); in tz_next_time()
1786 d1 = days_in_mon(mon, yr); in tz_next_time()
1787 if ((mon != 1 && day > d1) || (mon == 1 && day > 29)) { in tz_next_time()
1793 mon == (next_ge((mon + 1)%12 + 1, in tz_next_time()
1810 if (mon == 11) { in tz_next_time()
1814 tmp2.tm_mon = mon + 1; in tz_next_time()
1819 } else if (mon == 1 && day > d1) { in tz_next_time()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c1000 mon, in gtime() local
1008 || (mon = tm -> tm_mon + 1) < 1 || mon > 12) in gtime()
1019 if (dysize (year) == 366 && mon >= 3) in gtime()
1021 while (--mon) in gtime()
1022 result += dmsize[mon - 1]; in gtime()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c388 uint32_t mon, rec; in solo_configure_mixer() local
414 mon = dev->ctrls[CTL_MONSRC].val; in solo_configure_mixer()
423 solo_setmixer(dev, 0x1a, mon & (1 << INPUT_MIC) ? v : 0); in solo_configure_mixer()
427 solo_setmixer(dev, 0x3e, mon & (1 << INPUT_LINE) ? v : 0); in solo_configure_mixer()
431 solo_setmixer(dev, 0x38, mon & (1 << INPUT_CD) ? v : 0); in solo_configure_mixer()
435 solo_setmixer(dev, 0x3a, mon & (1 << INPUT_AUX) ? v : 0); in solo_configure_mixer()
440 solo_setmixer(dev, 0x6d, mon & (1 << INPUT_MONO) ? v : 0); in solo_configure_mixer()

1234567891011