/freebsd-11-stable/sys/dev/ct/ |
H A D | bshw_machdep.c | 61 #include <dev/ct/ctvar.h> 62 #include <dev/ct/ct_machdep.h> 63 #include <dev/ct/bshwvar.h> 82 bshw_synch_setup(struct ct_softc *ct, struct targ_info *ti) argument 84 struct ct_bus_access_handle *chp = &ct->sc_ch; 86 struct bshw_softc *bs = ct->ct_hw; 101 bshw_bus_reset(struct ct_softc *ct) argument 103 struct scsi_low_softc *slp = &ct->sc_sclow; 104 struct ct_bus_access_handle *chp = &ct->sc_ch; 105 struct bshw_softc *bs = ct 182 bshw_lc_smit_stop(struct ct_softc *ct) argument 191 bshw_lc_smit_start(struct ct_softc *ct, int count, u_int direction) argument 207 bshw_lc_smit_fstat(struct ct_softc *ct, int wc, int read) argument 237 bshw_smit_xfer_stop(struct ct_softc *ct) argument 284 bshw_smit_xfer_start(struct ct_softc *ct) argument 387 bshw_dma_xfer_start(struct ct_softc *ct) argument 448 bshw_dma_xfer_stop(struct ct_softc *ct) argument 521 bshw_dmastart(struct ct_softc *ct) argument 567 bshw_dmadone(struct ct_softc *ct) argument 594 bshw_dma_init_texa(struct ct_softc *ct) argument 609 bshw_dma_init_sc98(struct ct_softc *ct) argument 635 bshw_dma_start_sc98(struct ct_softc *ct) argument 644 bshw_dma_stop_sc98(struct ct_softc *ct) argument 653 bshw_dma_start_elecom(struct ct_softc *ct) argument 662 bshw_dma_stop_elecom(struct ct_softc *ct) argument [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | pcrtc.c | 175 struct clocktime ct; local 177 clock_ts_to_ct(ts, &ct); 181 rtc_outb(bin2bcd(ct.sec)); /* Write back Seconds */ 182 rtc_outb(bin2bcd(ct.min)); /* Write back Minutes */ 183 rtc_outb(bin2bcd(ct.hour)); /* Write back Hours */ 185 rtc_outb(bin2bcd(ct.day)); /* Write back Day */ 186 rtc_outb((ct.mon << 4) | ct.dow); /* Write back Month and DOW */ 187 rtc_outb(bin2bcd(ct.year % 100)); /* Write back Year */ 198 struct clocktime ct; local [all...] |
/freebsd-11-stable/sys/powerpc/mpc85xx/ |
H A D | ds1553_core.c | 91 struct clocktime ct; local 102 ct.nsec = 0; 103 ct.sec = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_SECONDS) & 105 ct.min = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_MINUTES) & 107 ct.hour = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_HOURS) & 109 ct.dow = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DAYOFWEEK) & 111 ct.day = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DATE) & 113 ct.mon = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_MONTH) & 115 ct.year = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_YEAR)); 120 ct 134 struct clocktime ct; local [all...] |
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | aw_rtc.c | 219 struct clocktime ct; local 228 ct.sec = GET_SEC_VALUE(rtime); 229 ct.min = GET_MIN_VALUE(rtime); 230 ct.hour = GET_HOUR_VALUE(rtime); 231 ct.day = GET_DAY_VALUE(rdate); 232 ct.mon = GET_MON_VALUE(rdate); 233 ct.year = GET_YEAR_VALUE(rdate) + YEAR_OFFSET; 234 ct.dow = -1; 236 ct.nsec = 0; 238 return (clock_ct_to_ts(&ct, t 245 struct clocktime ct; local [all...] |
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_error.cpp | 37 #define PUSH_MSG(ct, ident) \ 38 "\tpushing on stack: %s (%s)\n", cons_text_c[(ct)], get_src((ident)) 75 static char *__kmp_pragma(int ct, ident_t const *ident) { argument 83 if (0 < ct && ct < cons_text_c_num) { 84 cons = cons_text_c[ct]; 107 enum cons_type ct, // Construct type. 110 char *construct = __kmp_pragma(ct, ident); 116 enum cons_type ct, // First construct type. 120 char *construct1 = __kmp_pragma(ct, iden 106 __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident ) argument 115 __kmp_error_construct2(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident, struct cons_data const *cons ) argument 206 __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident) argument 227 __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident) argument 244 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint32 seq ) argument 330 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint32 seq ) argument 377 __kmp_pop_workshare(int gtid, enum cons_type ct, ident_t const *ident) argument 405 __kmp_pop_sync(int gtid, enum cons_type ct, ident_t const *ident) argument 431 __kmp_check_barrier(int gtid, enum cons_type ct, ident_t const *ident) argument [all...] |
/freebsd-11-stable/sys/arm/at91/ |
H A D | at91_rtc.c | 258 struct clocktime ct; local 282 ct.nsec = 0; 283 ct.sec = RTC_TIMR_SEC(timr); 284 ct.min = RTC_TIMR_MIN(timr); 285 ct.hour = RTC_TIMR_HR(timr); 286 ct.year = RTC_CALR_CEN(calr) * 100 + RTC_CALR_YEAR(calr); 287 ct.mon = RTC_CALR_MON(calr); 288 ct.day = RTC_CALR_DAY(calr); 289 ct.dow = -1; 290 return clock_ct_to_ts(&ct, t 301 struct clocktime ct; local [all...] |
/freebsd-11-stable/sys/dev/mc146818/ |
H A D | mc146818.c | 108 struct clocktime ct; local 132 ct.nsec = 0; 133 ct.sec = FROMREG((*sc->sc_mcread)(dev, MC_SEC)); 134 ct.min = FROMREG((*sc->sc_mcread)(dev, MC_MIN)); 135 ct.hour = FROMREG((*sc->sc_mcread)(dev, MC_HOUR)); 137 ct.dow = FROMREG((*sc->sc_mcread)(dev, MC_DOW)) - 1; 138 ct.day = FROMREG((*sc->sc_mcread)(dev, MC_DOM)); 139 ct.mon = FROMREG((*sc->sc_mcread)(dev, MC_MONTH)); 149 ct.year = year; 151 return (clock_ct_to_ts(&ct, t 194 struct clocktime ct; local [all...] |
/freebsd-11-stable/crypto/heimdal/kuser/ |
H A D | kswitch.c | 74 rtbl_t ct; local 76 ct = rtbl_create(); 78 rtbl_add_column_by_id(ct, 0, "#", 0); 79 rtbl_add_column_by_id(ct, 1, "Principal", 0); 80 rtbl_set_column_affix_by_id(ct, 1, " ", ""); 81 rtbl_add_column_by_id(ct, 2, "Type", 0); 82 rtbl_set_column_affix_by_id(ct, 2, " ", ""); 100 rtbl_add_column_entry_by_id(ct, 0, num); 101 rtbl_add_column_entry_by_id(ct, 1, name); 102 rtbl_add_column_entry_by_id(ct, [all...] |
H A D | klist.c | 77 print_cred(krb5_context context, krb5_creds *cred, rtbl_t ct, int do_flags) argument 87 rtbl_add_column_entry(ct, COL_ISSUED, 90 rtbl_add_column_entry(ct, COL_ISSUED, 94 rtbl_add_column_entry(ct, COL_EXPIRES, 97 rtbl_add_column_entry(ct, COL_EXPIRES, N_(">>>Expired<<<", "")); 101 rtbl_add_column_entry(ct, COL_PRINCIPAL, str); 127 rtbl_add_column_entry(ct, COL_FLAGS, s); 240 rtbl_t ct = NULL; local 294 ct = rtbl_create(); 295 rtbl_add_column(ct, COL_ISSUE 392 struct ClearToken ct; local 495 rtbl_t ct; local [all...] |
/freebsd-11-stable/contrib/apr/strings/ |
H A D | apr_cpystrn.c | 92 const char *ct; local 151 ct = cp; 160 while (*ct != '\0') { 161 CHECK_QUOTATION(ct, isquoted); 162 DETERMINE_NEXTSTRING(ct, isquoted); 163 if (*ct != '\0') { 164 ct++; 167 SKIP_WHITESPACE(ct); 175 ct = cp; 178 (*argv_out)[argnum] = apr_palloc(token_context, cp - ct); [all...] |
/freebsd-11-stable/sys/arm/ti/am335x/ |
H A D | am335x_rtc.c | 153 struct clocktime ct; local 169 ct.dow = 0; 170 ct.nsec = 0; 171 ct.sec = FROMBCD(RTC_READ4(rtc_sc, RTC_SECONDS) & 0x7f); 172 ct.min = FROMBCD(RTC_READ4(rtc_sc, RTC_MINUTES) & 0x7f); 173 ct.hour = FROMBCD(RTC_READ4(rtc_sc, RTC_HOURS) & 0x3f); 174 ct.day = FROMBCD(RTC_READ4(rtc_sc, RTC_DAYS) & 0x3f); 175 ct.mon = FROMBCD(RTC_READ4(rtc_sc, RTC_MONTHS) & 0x1f); 176 ct.year = FROMBCD(RTC_READ4(rtc_sc, RTC_YEARS) & 0xff); 177 ct [all...] |
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | vrtc.c | 180 struct clocktime ct; local 203 clock_ts_to_ct(&ts, &ct); 205 KASSERT(ct.sec >= 0 && ct.sec <= 59, ("invalid clocktime sec %d", 206 ct.sec)); 207 KASSERT(ct.min >= 0 && ct.min <= 59, ("invalid clocktime min %d", 208 ct.min)); 209 KASSERT(ct.hour >= 0 && ct 281 struct clocktime ct; local [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | d1_srtp.c | 243 int ct = 0; local 249 ct = sk_SRTP_PROTECTION_PROFILE_num(clnt); /* -1 if clnt == 0 */ 252 if (ct == 0) { 258 if ((2 + ct * 2 + 1) > maxlen) { 265 s2n(ct * 2, p); 266 for (i = 0; i < ct; i++) { 275 *len = 2 + ct * 2 + 1; 285 int ct; local 299 n2s(d, ct); 303 if (ct 390 int ct; local [all...] |
/freebsd-11-stable/sys/dev/mk48txx/ |
H A D | mk48txx.c | 161 struct clocktime ct; local 176 ct.nsec = 0; 177 ct.sec = FROMBCD(FROMREG(MK48TXX_ISEC, MK48TXX_SEC_MASK)); 178 ct.min = FROMBCD(FROMREG(MK48TXX_IMIN, MK48TXX_MIN_MASK)); 179 ct.hour = FROMBCD(FROMREG(MK48TXX_IHOUR, MK48TXX_HOUR_MASK)); 180 ct.day = FROMBCD(FROMREG(MK48TXX_IDAY, MK48TXX_DAY_MASK)); 183 ct.dow = FROMREG(MK48TXX_IWDAY, MK48TXX_WDAY_MASK) - 1; 189 ct.dow = -1; 191 ct.mon = FROMBCD(FROMREG(MK48TXX_IMON, MK48TXX_MON_MASK)); 202 ct 222 struct clocktime ct; local [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | ratectrl.c | 272 CTime_T *ct = NULL; local 373 ct = &chBest->ch_Times[ticks % CHTSIZE]; 375 if (ct->ct_Ticks != ticks) 377 ct->ct_Ticks = ticks; 378 ct->ct_Count = 0; 381 ++ct->ct_Count; 395 if (ct != NULL && ((clflags & SM_CLFL_EXC) != 0)) 400 prv = &(ct->ct_Count); 404 else if (ratelimit < 0 && ct->ct_Count > 0) 405 --ct 506 CTime_T *ct; local [all...] |
/freebsd-11-stable/tests/sys/opencrypto/ |
H A D | cryptotest.py | 100 ct = data['CT'].decode('hex') 116 self.assertEqual(rct, ct, `data`) 121 args = (ct, iv, aad, tag) 150 ct = data['CIPHERTEXT'].decode('hex') 153 pt, ct = ct, pt 157 self.assertEqual(r, ct) 179 ct = data['CT'].decode('hex') 185 pt, ct = ct, p [all...] |
H A D | cryptodev.py | 418 ct = _spdechex('f42c33853ecc5ce2949865fdb83de3bff1089e9360c94f830baebfaff72836ab5236f77212f1e7396c8c54ac73d81986375a6e9e299cfeca5ba051ed25e8d1affa5beaf6c1d2b45e90802408f2ced21663497e906de5f29341e5e52ddfea5363d628b3eb7806835e17bae051b3a6da3f8e2941fe44384eac17a9d298d2c331ca8320c775b5d53263a5e905059d891b21dede2d8110fd427c7bd5a9a274ddb47b1945ee79522203b6e297d0e399ef') 424 print ' ct:', ct.encode('hex') 426 assert ct == enc 428 dec = c.decrypt(ct, iv) 439 ct = _spdechex('f42c33853ecc5ce2949865fdb83de3bff1089e9360c94f830baebfaff72836ab5236f77212f1e7396c8c54ac73d81986375a6e9e299cfeca5ba051ed25e8d1affa5beaf6c1d2b45e90802408f2ced21663497e906de5f29341e5e52ddfea5363d628b3eb7806835e17bae051b3a6da3f8e2941fe44384eac17a9d298d2c331ca8320c775b5d53263a5e905059d891b21dede2d8110fd427c7bd5a9a274ddb47b1945ee79522203b6e297d0e399ef3768') 445 print ' ct:', ct.encode('hex') 447 assert ct == enc 449 dec = c.decrypt(ct, i [all...] |
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | check_y2k.c | 406 clocktime_t ct; local 412 ct.day = 1; 413 ct.month = 1; 414 ct.year = year; 415 ct.hour = ct.minute = ct.second = ct.usecond = 0; 416 ct.utcoffset = 0; 417 ct [all...] |
H A D | cmd_args.c | 116 int ct = STACKCT_OPT( TRUSTEDKEY ); local 131 } while (--ct > 0); 151 int ct; local 155 ct = STACKCT_OPT( VAR ); 161 } while (--ct > 0); 165 int ct = STACKCT_OPT( DVAR ); local 173 } while (--ct > 0);
|
/freebsd-11-stable/sys/contrib/ck/src/ |
H A D | ck_epoch.c | 240 ck_epoch_recycle(struct ck_epoch *global, void *ct) argument 259 ck_pr_store_ptr(&record->ct, ct); 275 void *ct) 286 record->ct = ct; 313 ck_pr_store_ptr(&record->ct, NULL); 412 ck_epoch_wait_cb_t *cb, void *ct) 416 cb(global, cr, ct); 426 ck_epoch_wait_cb_t *cb, void *ct) 274 ck_epoch_register(struct ck_epoch *global, struct ck_epoch_record *record, void *ct) argument 411 epoch_block(struct ck_epoch *global, struct ck_epoch_record *cr, ck_epoch_wait_cb_t *cb, void *ct) argument 425 ck_epoch_synchronize_wait(struct ck_epoch *global, ck_epoch_wait_cb_t *cb, void *ct) argument 546 ck_epoch_barrier_wait(struct ck_epoch_record *record, ck_epoch_wait_cb_t *cb, void *ct) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/tls/ |
H A D | tlsv1_client_read.c | 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, argument 86 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 88 "received content type 0x%x", ct); 346 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, argument 355 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 357 "received content type 0x%x", ct); 387 return tls_process_server_key_exchange(conn, ct, in_dat 815 tls_process_certificate_status(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1013 tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1110 tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1174 tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1240 tls_process_server_change_cipher_spec(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1311 tls_process_server_finished(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1444 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 1475 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument [all...] |
/freebsd-11-stable/bin/ed/ |
H A D | buf.c | 51 int len, ct; local 67 if ((ct = fread(sfbuf, sizeof(char), len, sfp)) < 0 || ct != len) { 84 int len, ct; local 113 if ((ct = fwrite(cs, sizeof(char), len, sfp)) < 0 || ct != len) {
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | stack.c | 71 int i, ct, dIdx; local 82 for (i = 0, dIdx = 0, ct = arg_list->useCt; --ct >= 0; i++) { 122 int i, ct, dIdx; local 130 for (i = 0, dIdx = 0, ct = arg_list->useCt; --ct >= 0; i++) {
|
/freebsd-11-stable/usr.bin/systat/ |
H A D | cmds.c | 154 struct cmdtab *ct, *found; local 160 for (ct = cmdtab; (p = ct->c_name); ct++) { 163 return (ct); 168 found = ct;
|
/freebsd-11-stable/sys/geom/bde/ |
H A D | g_bde_crypt.c | 83 MD5_CTX ct; local 90 MD5Init(&ct); 91 MD5Update(&ct, sc->key.salt, 8); 92 MD5Update(&ct, buf2, sizeof buf2); 93 MD5Update(&ct, sc->key.salt + 8, 8); 94 MD5Final(buf, &ct); 96 MD5Init(&ct); 98 MD5Update(&ct, &sc->key.mkey[buf[t]], 1); 100 MD5Update(&ct, buf2, sizeof buf2); 103 MD5Final(buf, &ct); [all...] |