Searched refs:ct (Results 1 - 25 of 164) sorted by relevance

1234567

/freebsd-11-stable/sys/mips/cavium/
H A Docteon_ds1337.c73 static int validate_ct_struct(struct clocktime *ct) argument
77 if (!ct)
80 CT_CHECK(ct->sec < 0 || ct->sec > 60, "second"); /* + Leap sec */
81 CT_CHECK(ct->min < 0 || ct->min > 59, "minute");
82 CT_CHECK(ct->hour < 0 || ct->hour > 23, "hour");
83 CT_CHECK(ct->day < 1 || ct
101 struct clocktime ct; local
156 struct clocktime ct; local
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dcook.c92 unsigned int ct = 0; local
95 z[ct] = pzIn[ct];
96 if (++ct >= 2)
98 } while (IS_HEX_DIGIT_CHAR(pzIn[ct]));
99 z[ct] = NUL;
101 return ct + 1;
115 unsigned int ct = 0; local
117 z[ct++] = *--pzIn;
118 while (IS_OCT_DIGIT_CHAR(pzIn[ct])) {
296 unsigned int ct; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangUtil.cpp17 bool ClangUtil::IsClangType(const CompilerType &ct) { argument
19 if (!ct)
22 if (llvm::dyn_cast_or_null<ClangASTContext>(ct.GetTypeSystem()) == nullptr)
25 if (!ct.GetOpaqueQualType())
31 QualType ClangUtil::GetQualType(const CompilerType &ct) { argument
33 if (!IsClangType(ct))
36 return QualType::getFromOpaquePtr(ct.GetOpaqueQualType());
39 QualType ClangUtil::GetCanonicalQualType(const CompilerType &ct) { argument
40 if (!IsClangType(ct))
43 return GetQualType(ct)
46 RemoveFastQualifiers(const CompilerType &ct) argument
[all...]
/freebsd-11-stable/sys/arm/nvidia/
H A Das3722_rtc.c47 struct clocktime ct; local
58 ct.nsec = 0;
59 ct.sec = bcd2bin(buf[0] & 0x7F);
60 ct.min = bcd2bin(buf[1] & 0x7F);
61 ct.hour = bcd2bin(buf[2] & 0x3F);
62 ct.day = bcd2bin(buf[3] & 0x3F);
63 ct.mon = bcd2bin(buf[4] & 0x1F);
64 ct.year = bcd2bin(buf[5] & 0x7F) + AS3722_RTC_START_YEAR;
65 ct.dow = -1;
67 return clock_ct_to_ts(&ct, t
74 struct clocktime ct; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_clock.c141 clock_ct_to_ts(const struct clocktime *ct, struct timespec *ts) argument
147 clock_print_ct(ct, 9);
156 year = ct->year;
163 if (ct->mon < 1 || ct->mon > 12 || ct->day < 1 ||
164 ct->day > days_in_month(year, ct->mon) ||
165 ct->hour > 23 || ct
203 struct clocktime ct; local
250 clock_ts_to_ct(const struct timespec *ts, struct clocktime *ct) argument
299 struct clocktime ct; local
343 clock_print_ct(const struct clocktime *ct, int nsdigits) argument
363 struct clocktime ct; local
[all...]
/freebsd-11-stable/sys/rpc/
H A Dclnt_vc.c135 struct ct_data *ct = NULL; /* client handle */ local
148 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
150 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF);
151 ct->ct_threads = 0;
152 ct->ct_closing = FALSE;
153 ct->ct_closed = FALSE;
154 ct->ct_upcallrefs = 0;
211 ct
292 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
586 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
612 struct ct_data *ct = (struct ct_data *)cl->cl_private; local
746 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
797 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
849 struct ct_data *ct = (struct ct_data *) arg; local
1071 clnt_vc_upcallsdone(struct ct_data *ct) argument
[all...]
H A Dclnt_bck.c123 struct ct_data *ct = NULL; /* client handle */ local
133 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
135 mtx_init(&ct->ct_lock, "ct->ct_lock", NULL, MTX_DEF);
136 ct->ct_threads = 0;
137 ct->ct_closing = FALSE;
138 ct->ct_closed = FALSE;
139 ct->ct_upcallrefs = 0;
140 ct
194 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
474 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
507 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
533 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
553 struct ct_data *ct = (struct ct_data *)arg; local
[all...]
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_error.h23 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...]
/freebsd-11-stable/crypto/openssl/crypto/aes/
H A Daes_locl.h68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); }
71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_decapsulate_token.c41 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 Dgss_encapsulate_token.c41 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-11-stable/sys/dev/ct/
H A Dct_isa.c65 #include <dev/ct/ctvar.h>
66 #include <dev/ct/bshwvar.h>
103 "ct", ct_isa_methods, sizeof(struct ct_isa_softc),
108 DRIVER_MODULE(ct, isa, ct_isa_driver, ct_devclass, 0, 0);
169 struct ct_softc *ct = &pct->sc_ct; local
170 struct ct_bus_access_handle *chp = &ct->sc_ch;
171 struct scsi_low_softc *slp = &ct->sc_sclow;
179 if (ct_space_map(dev, hw, &ct->port_res, &ct->mem_res) != 0) {
184 chp->ch_io = ct
341 ct_space_unmap(device_t dev, struct ct_softc *ct) argument
369 ct_isa_dmasync_before(struct ct_softc *ct) argument
377 ct_isa_dmasync_after(struct ct_softc *ct) argument
[all...]
H A Dct.c1 /* $NecBSD: ct.c,v 1.13.12.5 2001/06/26 07:31:53 honda Exp $ */
57 #include <dev/ct/ctvar.h>
58 #include <dev/ct/ct_machdep.h>
169 cthw_phase_bypass(struct ct_softc *ct, u_int8_t ph) argument
171 struct ct_bus_access_handle *chp = &ct->sc_ch;
178 cthw_bus_reset(struct ct_softc *ct) argument
184 if (ct->ct_bus_reset != NULL)
185 ((*ct->ct_bus_reset) (ct));
227 panic("ct
285 ct_make_synch_table(struct ct_softc *ct) argument
342 ctattachsubr(struct ct_softc *ct) argument
357 cthw_attention(struct ct_softc *ct) argument
374 ct_attention(struct ct_softc *ct) argument
391 ct_targ_init(struct ct_softc *ct, struct targ_info *ti, int action) argument
428 ct_world_start(struct ct_softc *ct, int fdone) argument
458 ct_start_selection(struct ct_softc *ct, struct slccb *cb) argument
530 ct_msg(struct ct_softc *ct, struct targ_info *ti, u_int msg) argument
582 ct_xfer(struct ct_softc *ct, u_int8_t *data, int len, int direction, u_int *statp) argument
643 ct_io_xfer(struct ct_softc *ct) argument
695 ct_phase_error(struct ct_softc *ct, u_int8_t scsi_status) argument
741 ct_reselected(struct ct_softc *ct, u_int8_t scsi_status) argument
784 ct_target_nexus_establish(struct ct_softc *ct, int lun, int dir) argument
804 ct_lun_nexus_establish(struct ct_softc *ct) argument
815 ct_ccb_nexus_establish(struct ct_softc *ct) argument
841 ct_unbusy(struct ct_softc *ct) argument
864 ct_catch_intr(struct ct_softc *ct) argument
884 struct ct_softc *ct = arg; local
895 struct ct_softc *ct = arg; local
[all...]
/freebsd-11-stable/sys/modules/ct/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/ct
5 KMOD= ct
6 SRCS= bshw_machdep.c ct.c ct_isa.c
/freebsd-11-stable/sys/contrib/ncsw/user/env/
H A Dstdlib.c32 strtok(char *s, const char *ct) argument
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DClangUtil.h25 static bool IsClangType(const CompilerType &ct);
27 static clang::QualType GetQualType(const CompilerType &ct);
29 static clang::QualType GetCanonicalQualType(const CompilerType &ct);
31 static CompilerType RemoveFastQualifiers(const CompilerType &ct);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dcallb.c89 static callb_table_t *ct = &callb_table; variable
111 mutex_enter(&ct->ct_lock);
113 while ((cp = ct->ct_freelist) != NULL) {
114 ct->ct_freelist = cp->c_next;
115 ct->ct_ncallb--;
118 if (ct->ct_ncallb == 0)
121 mutex_exit(&ct->ct_lock);
122 tsleep(ct, 0, "callb", hz / 4);
123 mutex_enter(&ct->ct_lock);
125 if (ct
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Dclnt_vc.c169 struct ct_data *ct = NULL; /* client handle */ local
183 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
184 if ((cl == (CLIENT *)NULL) || (ct == (struct ct_data *)NULL)) {
191 ct->ct_addr.buf = NULL;
251 ct->ct_closeit = FALSE;
256 ct->ct_fd = fd;
257 ct->ct_wait.tv_usec = 0;
258 ct->ct_waitset = FALSE;
259 ct
319 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
462 struct ct_data *ct; local
474 struct ct_data *ct; local
522 struct ct_data *ct; local
640 struct ct_data *ct = (struct ct_data *) cl->cl_private; local
680 struct ct_data *ct = (struct ct_data *)ctp; local
734 struct ct_data *ct = (struct ct_data *)ctp; local
[all...]
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_calltree.c271 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
664 struct pmcpl_ct_node *ct; local
732 struct pmcpl_ct_node *ct; local
824 pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct, uintfptr_t paddr, int pline) argument
888 pmcpl_ct_node_printself(struct pmcpl_ct_node *ct) argument
959 pmcpl_ct_printnode(struct pmcpl_ct_node *ct) argument
979 pmcpl_ct_bfs(struct pmcpl_ct_node *ct) argument
1017 _pmcpl_ct_expand_inline(struct pmcpl_ct_node *ct) argument
[all...]
/freebsd-11-stable/sys/dev/efidev/
H A Defirtc.c134 struct clocktime ct; local
142 ct.sec = tm.tm_sec;
143 ct.min = tm.tm_min;
144 ct.hour = tm.tm_hour;
145 ct.day = tm.tm_mday;
146 ct.mon = tm.tm_mon;
147 ct.year = tm.tm_year;
148 ct.nsec = tm.tm_nsec;
150 clock_dbgprint_ct(dev, CLOCK_DBG_READ, &ct);
151 return (clock_ct_to_ts(&ct, t
157 struct clocktime ct; local
[all...]
/freebsd-11-stable/sys/arm/mv/
H A Drtc.c131 struct clocktime ct; local
139 ct.nsec = 0;
140 ct.sec = FROMBCD(val & 0x7f);
141 ct.min = FROMBCD((val & 0x7f00) >> 8);
142 ct.hour = FROMBCD((val & 0x3f0000) >> 16);
143 ct.dow = FROMBCD((val & 0x7000000) >> 24) - 1;
147 ct.day = FROMBCD(val & 0x7f);
148 ct.mon = FROMBCD((val & 0x1f00) >> 8);
149 ct.year = YEAR_BASE + FROMBCD((val & 0xff0000) >> 16);
151 return (clock_ct_to_ts(&ct, t
157 struct clocktime ct; local
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dpcf2123_rtc.c103 struct clocktime ct; local
126 ct.nsec = 0;
127 ct.sec = FROMBCD(rxTimedate[1] & 0x7f);
128 ct.min = FROMBCD(rxTimedate[2] & 0x7f);
129 ct.hour = FROMBCD(rxTimedate[3] & 0x3f);
131 ct.dow = FROMBCD(rxTimedate[5] & 0x3f);
133 ct.day = FROMBCD(rxTimedate[4] & 0x3f);
134 ct.mon = FROMBCD(rxTimedate[6] & 0x1f);
135 ct.year = YEAR_BASE + FROMBCD(rxTimedate[7]);
137 return (clock_ct_to_ts(&ct, t
143 struct clocktime ct; local
[all...]
/freebsd-11-stable/sys/powerpc/pseries/
H A Drtas_dev.c106 struct clocktime ct; local
121 ct.year = tod[1];
122 ct.mon = tod[2];
123 ct.day = tod[3];
124 ct.hour = tod[4];
125 ct.min = tod[5];
126 ct.sec = tod[6];
127 ct.nsec = tod[7];
129 return (clock_ct_to_ts(&ct, ts));
135 struct clocktime ct; local
[all...]
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_misc.c37 struct clocktime ct; local
40 clock_ts_to_ct(&ts, &ct);
44 host_wellness_time->hour= (uint8_t)bin2bcd(ct.hour);
45 host_wellness_time->min = (uint8_t)bin2bcd(ct.min);
46 host_wellness_time->sec= (uint8_t)bin2bcd(ct.sec);
48 host_wellness_time->month = (uint8_t)bin2bcd(ct.mon);
49 host_wellness_time->day = (uint8_t)bin2bcd(ct.day);
50 host_wellness_time->century = (uint8_t)bin2bcd(ct.year / 100);
51 host_wellness_time->year = (uint8_t)bin2bcd(ct.year % 100);
/freebsd-11-stable/crypto/heimdal/lib/gssapi/
H A Dgsstool.c79 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...]

Completed in 167 milliseconds

1234567