Home
last modified time | relevance | path

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

1234

/freebsd-12.1/usr.bin/localedef/
H A Dmonetary.c52 (void) memset(&mon, 0, sizeof (mon)); in init_monetary()
79 mon.positive_sign = str; in add_monetary_str()
82 mon.negative_sign = str; in add_monetary_str()
107 mon.frac_digits = str; in add_monetary_num()
110 mon.p_cs_precedes = str; in add_monetary_num()
116 mon.n_cs_precedes = str; in add_monetary_num()
122 mon.p_sign_posn = str; in add_monetary_num()
125 mon.n_sign_posn = str; in add_monetary_num()
146 mon.mon_grouping = str; in add_monetary_num()
158 mon.mon_grouping = NULL; in reset_monetary_group()
[all …]
H A Dtime.c125 add_list(tm.mon, str, 12); in add_time_list()
162 if (tm.mon[11] != NULL) in check_time_list()
199 free((char *)tm.mon[i]); in reset_time_list()
200 tm.mon[i] = NULL; in reset_time_list()
241 if (putl_category(tm.mon[i], f) == EOF) { in dump_time()
/freebsd-12.1/contrib/ntp/ntpd/
H A Dntp_monitor.c126 mon_entry *mon in remove_from_hash() argument
241 mon_entry *mon; in mon_stop() local
277 mon_entry *mon; in mon_clearinterface() local
344 for (; mon != NULL; mon = mon->hash_next) in ntp_monitor()
356 mon->count++; in ntp_monitor()
370 mon->leak = max(0, mon->leak); in ntp_monitor()
455 mon = oldest; in ntp_monitor()
467 mon = oldest; in ntp_monitor()
479 mon->first = mon->last; in ntp_monitor()
480 mon->count = 1; in ntp_monitor()
[all …]
H A Dntp_control.c3787 mon_entry * mon, in send_mru_entry() argument
4004 mon_entry * mon; in read_mru_list() local
4142 mon = NULL; in read_mru_list()
4146 mon != NULL; in read_mru_list()
4147 mon = mon->hash_next) in read_mru_list()
4150 if (mon != NULL) { in read_mru_list()
4153 mon = NULL; in read_mru_list()
4176 mon = PREV_DLIST(mon_mru_list, mon, mru); in read_mru_list()
4190 mon = PREV_DLIST(mon_mru_list, mon, mru)) { in read_mru_list()
4208 prior_mon = mon; in read_mru_list()
[all …]
/freebsd-12.1/contrib/apr-util/misc/
H A Dapr_date.c149 int mint, mon; in apr_date_parse_http() local
245 for (mon = 0; mon < 12; mon++) in apr_date_parse_http()
249 if (mon == 12) in apr_date_parse_http()
252 if ((ds.tm_mday == 31) && (mon == 3 || mon == 5 || mon == 8 || mon == 10)) in apr_date_parse_http()
256 if ((mon == 1) && in apr_date_parse_http()
264 ds.tm_mon = mon; in apr_date_parse_http()
323 int mint, mon; in apr_date_parse_rfc() local
578 for (mon = 0; mon < 12; mon++) in apr_date_parse_rfc()
582 if (mon == 12) in apr_date_parse_rfc()
585 if ((ds.tm_mday == 31) && (mon == 3 || mon == 5 || mon == 8 || mon == 10)) in apr_date_parse_rfc()
[all …]
/freebsd-12.1/usr.bin/at/
H A Dparsetime.c458 (tm->tm_mon > mon ||(tm->tm_mon == mon && tm->tm_mday > mday))) in assign_date()
462 tm->tm_mon = mon; in assign_date()
559 mday = mon; in month()
560 mon = x; in month()
566 mon /= 10000; in month()
569 year = mon % 100; in month()
570 mon /= 100; in month()
572 mday = mon % 100; in month()
573 mon /= 100; in month()
578 mon--; in month()
[all …]
/freebsd-12.1/sys/kern/
H A Dsubr_clock.c165 if (ct->mon < 1 || ct->mon > 12 || ct->day < 1 || in clock_ct_to_ts()
189 for (i = 1; i < ct->mon; i++) in clock_ct_to_ts()
226 bct->year, bct->mon, bct->day, in clock_bcd_to_ts()
232 ct.mon = FROMBCD(bct->mon); in clock_bcd_to_ts()
278 ct->mon = i; in clock_ts_to_ct()
299 KASSERT(ct->mon >= 1 && ct->mon <= 12, in clock_ts_to_ct()
331 bct->mon = TOBCD(ct.mon); in clock_ts_to_bcd()
348 bct->year, bct->mon, bct->day, in clock_print_bcd()
353 bct->year, bct->mon, bct->day, in clock_print_bcd()
366 ct->year, ct->mon, ct->day, in clock_print_ct()
[all …]
/freebsd-12.1/usr.sbin/rpc.statd/
H A Dtest.c32 struct mon *argp; in sm_mon_1()
95 struct mon mon; in main() local
112 mon.mon_id.mon_name = argv[1]; in main()
113 mon.mon_id.my_id.my_name = argv[1]; in main()
114 mon.mon_id.my_id.my_prog = SM_PROG; in main()
115 mon.mon_id.my_id.my_vers = SM_VERS; in main()
116 mon.mon_id.my_id.my_proc = 1; /* have it call sm_stat() !!! */ in main()
122 if (res = sm_mon_1(&mon, cli)) in main()
/freebsd-12.1/sys/nlm/
H A Dsm_inter.h37 struct mon { struct
41 typedef struct mon mon; typedef
81 extern struct sm_stat_res * sm_mon_1(struct mon *, CLIENT *);
82 extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
101 extern bool_t xdr_mon(XDR *, mon*);
/freebsd-12.1/contrib/ofed/infiniband-diags/src/
H A Drdma-ndd.c56 struct udev_monitor *mon; variable
271 mon = udev_monitor_new_from_netlink(udev, "udev"); in get_udev_fd()
272 if (!mon) { in get_udev_fd()
277 udev_monitor_filter_add_match_subsystem_devtype(mon, "infiniband", NULL); in get_udev_fd()
278 udev_monitor_enable_receiving(mon); in get_udev_fd()
279 return udev_monitor_get_fd(mon); in get_udev_fd()
286 dev = udev_monitor_receive_device(mon); in process_udev_event()
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Deapol_test.py28 self.mon = wpaspy.Ctrl(os.path.join(wpas_ctrl, ifname))
29 self.mon.attach()
61 while self.mon.pending():
62 ev = self.mon.recv()
71 if not self.mon.pending(timeout=remaining):
/freebsd-12.1/tools/tools/netrate/tcpp/
H A Drunit.pl13 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
14 $mon++;
16 $date = sprintf("%04d%02d%02d", $year, $mon, $mday);
/freebsd-12.1/sys/mips/cavium/
H A Docteon_ds1337.c87 CT_CHECK(ct->mon < 1 || ct->mon > 12, "month"); in validate_ct_struct()
131 ct.mon = bcd2bin(reg[5] & 0x1f); /* Month field is 1..12 */ in cvmx_rtc_ds1337_read()
180 reg[5] = bin2bcd(ct.mon); in cvmx_rtc_ds1337_write()
/freebsd-12.1/contrib/wpa/src/common/
H A Dwpa_helpers.c99 int get_wpa_cli_event2(struct wpa_ctrl *mon, in get_wpa_cli_event2() argument
110 fd = wpa_ctrl_get_fd(mon); in get_wpa_cli_event2()
132 if (wpa_ctrl_recv(mon, buf, &len) < 0) { in get_wpa_cli_event2()
156 int get_wpa_cli_event(struct wpa_ctrl *mon, in get_wpa_cli_event() argument
159 return get_wpa_cli_event2(mon, event, NULL, buf, buf_size); in get_wpa_cli_event()
H A Dwpa_helpers.h21 int get_wpa_cli_event(struct wpa_ctrl *mon,
23 int get_wpa_cli_event2(struct wpa_ctrl *mon,
/freebsd-12.1/contrib/ntp/ntpq/
H A Dntpq-subs.c2466 mru *mon; in add_mru() local
2472 for (mon = hash_table[hash]; mon != NULL; mon = mon->hlink) in add_mru()
2475 if (mon != NULL) { in add_mru()
2498 if (NULL == mon) { in add_mru()
2499 mon = emalloc(sizeof(*mon)); in add_mru()
2502 ZERO(*mon); in add_mru()
2504 return mon; in add_mru()
2514 mon = add_mru(mon); \
2540 mru *mon; in collect_mru_list() local
2975 if (mon != NULL) in collect_mru_list()
[all …]
/freebsd-12.1/contrib/ntp/scripts/build/
H A DupdateBEDate26 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
39 printf { $OFILE } "%s-%s-%s %02d:%02d", $mday,$m_abbr[$mon],$year,$hour,$min;
/freebsd-12.1/include/rpcsvc/
H A Dsm_inter.x56 struct sm_stat_res SM_MON(struct mon) = 2;
89 struct mon{ struct
/freebsd-12.1/sys/amd64/vmm/io/
H A Dvrtc.c215 KASSERT(ct.mon >= 1 && ct.mon <= 12, ("invalid clocktime month %d", in secs_to_rtc()
216 ct.mon)); in secs_to_rtc()
253 rtc->month = rtcset(rtc, ct.mon); in secs_to_rtc()
358 error = rtcget(rtc, rtc->month, &ct.mon); in rtc_to_secs()
359 if (error || ct.mon < 1 || ct.mon > 12) { in rtc_to_secs()
360 VM_CTR2(vm, "Invalid RTC month %#x/%d", rtc->month, ct.mon); in rtc_to_secs()
381 ct.year, ct.mon, ct.day); in rtc_to_secs()
/freebsd-12.1/usr.bin/locale/tests/
H A Dlocale_test.sh77 mon \
144 mon \
/freebsd-12.1/sys/sys/
H A Dclock.h82 int mon; /* month (1 - 12) */ member
118 uint8_t mon; /* month (1 - 12) */ member
/freebsd-12.1/sys/arm/nvidia/
H A Das3722_rtc.c63 ct.mon = bcd2bin(buf[4] & 0x1F); in as3722_rtc_gettime()
88 buf[4] = bin2bcd(ct.mon); in as3722_rtc_settime()
/freebsd-12.1/contrib/ntp/scripts/monitoring/
H A Dntploopwatch1500 local($sec,$min,$hour,$mday,$mon,$year)
1537 $mon = $1 - 1;
1553 warn("$0: implausible month day $1 for month ".($mon+1)." (".
1554 $MaxNumDaysPerMonth[$mon].")$mon\n"),
1556 if $1 < 1 || $1 > $MaxNumDaysPerMonth[$mon];
1641 $mon = 0 if $last > $[ + 4;
1642 local($rtime) = &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 0);
1648 &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 1)
/freebsd-12.1/sys/powerpc/pseries/
H A Drtas_dev.c124 ct.mon = tod[2]; in rtas_gettime()
146 error = rtas_call_method(token, 7, 1, ct.year, ct.mon, ct.day, ct.hour, in rtas_settime()
/freebsd-12.1/crypto/openssh/
H A Dmonitor.c1753 mon->m_recvfd = pair[0]; in monitor_openfds()
1754 mon->m_sendfd = pair[1]; in monitor_openfds()
1761 mon->m_log_recvfd = pair[0]; in monitor_openfds()
1762 mon->m_log_sendfd = pair[1]; in monitor_openfds()
1764 mon->m_log_recvfd = mon->m_log_sendfd = -1; in monitor_openfds()
1772 struct monitor *mon; in monitor_init() local
1774 mon = xcalloc(1, sizeof(*mon)); in monitor_init()
1775 monitor_openfds(mon, 1); in monitor_init()
1777 return mon; in monitor_init()
1781 monitor_reinit(struct monitor *mon) in monitor_reinit() argument
[all …]

1234