/freebsd-current/tools/regression/sockets/unix_cmsg/ |
H A D | uc_check_time.c | 48 struct timeval ct, dt; local 50 if (gettimeofday(&ct, NULL) < 0) 52 timersub(&ct, bt, &dt); 62 struct timespec ct; local 64 if (clock_gettime(CLOCK_REALTIME, &ct) < 0) 66 timespecsub(&ct, bt, &ct); 67 if (!timespeccmp(&ct, &max_diff_ts, <)) 76 struct timespec ct; local 78 if (clock_gettime(CLOCK_MONOTONIC, &ct) < [all...] |
/freebsd-current/sys/rpc/ |
H A D | clnt_vc.c | 134 struct ct_data *ct = NULL; /* client handle */ local 147 ct = (struct ct_data *)mem_alloc(sizeof (*ct)); 149 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF); 150 ct->ct_threads = 0; 151 ct->ct_closing = FALSE; 152 ct->ct_closed = FALSE; 153 ct->ct_upcallrefs = 0; 154 ct 294 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 611 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 637 struct ct_data *ct = (struct ct_data *)cl->cl_private; local 805 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 859 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 942 struct ct_data *ct = (struct ct_data *) arg; local 1259 clnt_vc_upcallsdone(struct ct_data *ct) argument 1277 struct ct_data *ct = (struct ct_data *)cl->cl_private; local [all...] |
H A D | clnt_bck.c | 120 struct ct_data *ct = NULL; /* client handle */ local 130 ct = (struct ct_data *)mem_alloc(sizeof (*ct)); 132 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF); 133 ct->ct_threads = 0; 134 ct->ct_closing = FALSE; 135 ct->ct_closed = FALSE; 136 ct->ct_upcallrefs = 0; 137 ct 191 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 487 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 520 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 546 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 570 struct ct_data *ct; local [all...] |
/freebsd-current/sys/kern/ |
H A D | subr_clock.c | 135 clock_ct_to_ts(const struct clocktime *ct, struct timespec *ts) argument 141 clock_print_ct(ct, 9); 150 year = ct->year; 157 if (ct->mon < 1 || ct->mon > 12 || ct->day < 1 || 158 ct->day > days_in_month(year, ct->mon) || 159 ct->hour > 23 || ct 197 struct clocktime ct; local 244 clock_ts_to_ct(const struct timespec *ts, struct clocktime *ct) argument 307 struct clocktime ct; local 351 clock_print_ct(const struct clocktime *ct, int nsdigits) argument 371 struct clocktime ct; local [all...] |
/freebsd-current/contrib/ntp/sntp/libopts/ |
H A D | cook.c | 87 unsigned int ct = 0; local 90 z[ct] = pzIn[ct]; 91 if (++ct >= 2) 93 } while (IS_HEX_DIGIT_CHAR(pzIn[ct])); 94 z[ct] = NUL; 96 return ct + 1; 110 unsigned int ct = 0; local 112 z[ct++] = *--pzIn; 113 while (IS_OCT_DIGIT_CHAR(pzIn[ct])) { 291 unsigned int ct; local [all...] |
/freebsd-current/sys/arm/nvidia/ |
H A D | as3722_rtc.c | 44 struct clocktime ct; local 55 ct.nsec = 0; 56 ct.sec = bcd2bin(buf[0] & 0x7F); 57 ct.min = bcd2bin(buf[1] & 0x7F); 58 ct.hour = bcd2bin(buf[2] & 0x3F); 59 ct.day = bcd2bin(buf[3] & 0x3F); 60 ct.mon = bcd2bin(buf[4] & 0x1F); 61 ct.year = bcd2bin(buf[5] & 0x7F) + AS3722_RTC_START_YEAR; 62 ct.dow = -1; 64 return clock_ct_to_ts(&ct, t 71 struct clocktime ct; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangUtil.cpp | 17 bool ClangUtil::IsClangType(const CompilerType &ct) { argument 19 if (!ct) 22 if (!ct.GetTypeSystem().dyn_cast_or_null<TypeSystemClang>()) 25 if (!ct.GetOpaqueQualType()) 36 QualType ClangUtil::GetQualType(const CompilerType &ct) { argument 38 if (!IsClangType(ct)) 41 return QualType::getFromOpaquePtr(ct.GetOpaqueQualType()); 44 QualType ClangUtil::GetCanonicalQualType(const CompilerType &ct) { argument 45 if (!IsClangType(ct)) 48 return GetQualType(ct) 51 RemoveFastQualifiers(const CompilerType &ct) argument [all...] |
H A D | ClangUtil.h | 25 static bool IsClangType(const CompilerType &ct); 31 static clang::QualType GetQualType(const CompilerType &ct); 33 static clang::QualType GetCanonicalQualType(const CompilerType &ct); 35 static CompilerType RemoveFastQualifiers(const CompilerType &ct);
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_error.h | 23 void __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct, 25 void __kmp_error_construct2(kmp_i18n_id_t id, enum cons_type ct, 32 void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident); 34 void __kmp_push_sync(int gtid, enum cons_type ct, ident_t const *ident, 37 void __kmp_push_sync(int gtid, enum cons_type ct, ident_t const *ident, 41 void __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident); 43 void __kmp_check_sync(int gtid, enum cons_type ct, ident_t const *ident, 46 void __kmp_check_sync(int gtid, enum cons_type ct, ident_t const *ident, 51 enum cons_type __kmp_pop_workshare(int gtid, enum cons_type ct, 53 void __kmp_pop_sync(int gtid, enum cons_type ct, ident_ [all...] |
H A D | kmp_error.cpp | 43 #define PUSH_MSG(ct, ident) \ 44 "\tpushing on stack: %s (%s)\n", cons_text_c[(ct)], get_src((ident)) 81 static char *__kmp_pragma(int ct, ident_t const *ident) { argument 89 if (0 < ct && ct < cons_text_c_num) { 90 cons = cons_text_c[ct]; 113 enum cons_type ct, // Construct type. 116 char *construct = __kmp_pragma(ct, ident); 122 enum cons_type ct, // First construct type. 126 char *construct1 = __kmp_pragma(ct, iden 112 __kmp_error_construct(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident ) argument 121 __kmp_error_construct2(kmp_i18n_id_t id, enum cons_type ct, ident_t const *ident, struct cons_data const *cons ) argument 212 __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident) argument 233 __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident) argument 250 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint32 seq ) argument 336 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint32 seq ) argument 383 __kmp_pop_workshare(int gtid, enum cons_type ct, ident_t const *ident) argument 411 __kmp_pop_sync(int gtid, enum cons_type ct, ident_t const *ident) argument 434 __kmp_check_barrier(int gtid, enum cons_type ct, ident_t const *ident) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | callb.c | 90 static callb_table_t *ct = &callb_table; variable 112 mutex_enter(&ct->ct_lock); 114 while ((cp = ct->ct_freelist) != NULL) { 115 ct->ct_freelist = cp->c_next; 116 ct->ct_ncallb--; 119 if (ct->ct_ncallb == 0) 122 mutex_exit(&ct->ct_lock); 123 tsleep(ct, 0, "callb", hz / 4); 124 mutex_enter(&ct->ct_lock); 126 if (ct [all...] |
/freebsd-current/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_decapsulate_token.c | 41 GSSAPIContextToken ct; local 54 &ct, NULL); 60 if (der_heim_oid_cmp(&ct.thisMech, &o) == 0) { 62 output_token->value = ct.innerContextToken.data; 63 output_token->length = ct.innerContextToken.length; 64 der_free_oid(&ct.thisMech); 66 free_GSSAPIContextToken(&ct);
|
H A D | gss_encapsulate_token.c | 41 GSSAPIContextToken ct; local 45 ret = der_get_oid (oid->elements, oid->length, &ct.thisMech, &size); 51 ct.innerContextToken.data = input_token->value; 52 ct.innerContextToken.length = input_token->length; 56 &ct, &size, ret); 57 der_free_oid(&ct.thisMech);
|
/freebsd-current/crypto/openssl/crypto/aes/ |
H A D | aes_local.h | 21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } 24 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
|
/freebsd-current/sys/powerpc/pseries/ |
H A D | rtas_dev.c | 104 struct clocktime ct; local 119 ct.year = tod[1]; 120 ct.mon = tod[2]; 121 ct.day = tod[3]; 122 ct.hour = tod[4]; 123 ct.min = tod[5]; 124 ct.sec = tod[6]; 125 ct.nsec = tod[7]; 127 return (clock_ct_to_ts(&ct, ts)); 133 struct clocktime ct; local [all...] |
/freebsd-current/sys/contrib/ncsw/user/env/ |
H A D | stdlib.c | 32 strtok(char *s, const char *ct) argument
|
/freebsd-current/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-function-mocker.h | 416 #define MOCK_METHOD0_WITH_CALLTYPE(ct, m, ...) \ 417 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 0, __VA_ARGS__) 418 #define MOCK_METHOD1_WITH_CALLTYPE(ct, m, ...) \ 419 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 1, __VA_ARGS__) 420 #define MOCK_METHOD2_WITH_CALLTYPE(ct, m, ...) \ 421 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 2, __VA_ARGS__) 422 #define MOCK_METHOD3_WITH_CALLTYPE(ct, m, ...) \ 423 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 3, __VA_ARGS__) 424 #define MOCK_METHOD4_WITH_CALLTYPE(ct, m, ...) \ 425 GMOCK_INTERNAL_MOCK_METHODN(, ct, [all...] |
/freebsd-current/usr.sbin/pmcstat/ |
H A D | pmcpl_calltree.c | 271 pmcpl_ct_instr_add(struct pmcpl_ct_node *ct, int pmcin, argument 277 for (i = 0; i<ct->pct_ninstr; i++) { 278 if (ct->pct_instr[i].pctf_func == pc) { 279 in = &ct->pct_instr[i]; 286 pmcpl_ct_instr_grow(ct->pct_ninstr, &ct->pct_instr_c, &ct->pct_instr); 287 in = &ct->pct_instr[ct->pct_ninstr]; 292 ct 302 struct pmcpl_ct_node *ct; local 331 pmcpl_ct_node_free(struct pmcpl_ct_node *ct) argument 367 pmcpl_ct_node_dumptop(int pmcin, struct pmcpl_ct_node *ct, struct pmcpl_ct_sample *rsamples, int x, int *y) argument 465 struct pmcpl_ct_node *ct; local 667 struct pmcpl_ct_node *ct; local 735 struct pmcpl_ct_node *ct; local 827 pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct, uintfptr_t paddr, int pline) argument 891 pmcpl_ct_node_printself(struct pmcpl_ct_node *ct) argument 962 pmcpl_ct_printnode(struct pmcpl_ct_node *ct) argument 982 pmcpl_ct_bfs(struct pmcpl_ct_node *ct) argument 1020 _pmcpl_ct_expand_inline(struct pmcpl_ct_node *ct) argument [all...] |
/freebsd-current/sys/dev/efidev/ |
H A D | efirtc.c | 131 struct clocktime ct; local 139 ct.sec = tm.tm_sec; 140 ct.min = tm.tm_min; 141 ct.hour = tm.tm_hour; 142 ct.day = tm.tm_mday; 143 ct.mon = tm.tm_mon; 144 ct.year = tm.tm_year; 145 ct.nsec = tm.tm_nsec; 147 clock_dbgprint_ct(dev, CLOCK_DBG_READ, &ct); 148 return (clock_ct_to_ts(&ct, t 154 struct clocktime ct; local [all...] |
/freebsd-current/sys/arm/mv/ |
H A D | rtc.c | 130 struct clocktime ct; local 138 ct.nsec = 0; 139 ct.sec = FROMBCD(val & 0x7f); 140 ct.min = FROMBCD((val & 0x7f00) >> 8); 141 ct.hour = FROMBCD((val & 0x3f0000) >> 16); 142 ct.dow = FROMBCD((val & 0x7000000) >> 24) - 1; 146 ct.day = FROMBCD(val & 0x7f); 147 ct.mon = FROMBCD((val & 0x1f00) >> 8); 148 ct.year = YEAR_BASE + FROMBCD((val & 0xff0000) >> 16); 150 return (clock_ct_to_ts(&ct, t 156 struct clocktime ct; local [all...] |
/freebsd-current/sys/dev/dialog/da9063/ |
H A D | da9063_rtc.c | 63 da9063_rtc_read_ct(struct da9063_rtc_softc *sc, struct clocktime *ct) argument 96 ct->nsec = 0; 97 ct->dow = -1; 98 ct->sec = sec & DA9063_COUNT_S_COUNT_SEC_MASK; 99 ct->min = min & DA9063_COUNT_MI_COUNT_MIN_MASK; 100 ct->hour = hour & DA9063_COUNT_H_COUNT_HOUR_MASK; 101 ct->day = day & DA9063_COUNT_D_COUNT_DAY_MASK; 102 ct->mon = mon & DA9063_COUNT_MO_COUNT_MONTH_MASK; 103 ct->year = (year & DA9063_COUNT_Y_COUNT_YEAR_MASK) + 110 da9063_rtc_write_ct(struct da9063_rtc_softc *sc, struct clocktime *ct) argument 149 struct clocktime ct, oldct; local 191 struct clocktime ct; local [all...] |
/freebsd-current/lib/libc/rpc/ |
H A D | clnt_vc.c | 204 struct ct_data *ct = NULL; /* client handle */ local 216 ct = (struct ct_data *)mem_alloc(sizeof (*ct)); 217 if ((cl == (CLIENT *)NULL) || (ct == (struct ct_data *)NULL)) { 224 ct->ct_addr.buf = NULL; 248 ct->ct_closeit = FALSE; 253 ct->ct_fd = fd; 254 ct->ct_wait.tv_usec = 0; 255 ct->ct_waitset = FALSE; 256 ct 316 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 454 struct ct_data *ct; local 466 struct ct_data *ct; local 514 struct ct_data *ct; local 627 struct ct_data *ct = (struct ct_data *) cl->cl_private; local 667 struct ct_data *ct = (struct ct_data *)ctp; local 721 struct ct_data *ct = (struct ct_data *)ctp; local [all...] |
/freebsd-current/crypto/heimdal/lib/gssapi/ |
H A D | gsstool.c | 79 rtbl_t ct; local 88 ct = rtbl_create(); 89 if (ct == NULL) 92 rtbl_set_separator(ct, " "); 93 rtbl_add_column(ct, COL_OID, 0); 94 rtbl_add_column(ct, COL_NAME, 0); 95 rtbl_add_column(ct, COL_DESC, 0); 96 rtbl_add_column(ct, COL_SASL, 0); 105 rtbl_add_column_entryv(ct, COL_OID, "%.*s", 115 rtbl_add_column_entryv(ct, COL_NAM 140 rtbl_t ct; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/icp/algs/aes/ |
H A D | aes_impl_aesni.c | 37 const uint32_t pt[4], uint32_t ct[4]); 39 const uint32_t ct[4], uint32_t pt[4]); 76 * ct Output block (crypto text). Can overlap with pt 80 uint32_t ct[4]) 83 aes_encrypt_intel(rk, Nr, pt, ct); 98 * ct Input block (crypto text) 102 aes_aesni_decrypt(const uint32_t rk[], int Nr, const uint32_t ct[4], argument 106 aes_decrypt_intel(rk, Nr, ct, pt); 79 aes_aesni_encrypt(const uint32_t rk[], int Nr, const uint32_t pt[4], uint32_t ct[4]) argument
|
/freebsd-current/sys/powerpc/mpc85xx/ |
H A D | ds1553_core.c | 90 struct clocktime ct; local 101 ct.nsec = 0; 102 ct.sec = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_SECONDS) & 104 ct.min = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_MINUTES) & 106 ct.hour = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_HOURS) & 108 ct.dow = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DAYOFWEEK) & 110 ct.day = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DATE) & 112 ct.mon = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_MONTH) & 114 ct.year = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_YEAR)); 119 ct 133 struct clocktime ct; local [all...] |