Searched refs:sc (Results 1 - 25 of 1494) sorted by last modified time

1234567891011>>

/freebsd-9.3-release/crypto/openssl/ssl/
H A Ds3_clnt.c895 SESS_CERT *sc; local
985 sc = ssl_sess_cert_new();
986 if (sc == NULL)
991 s->session->sess_cert = sc;
993 sc->cert_chain = sk;
1036 sc->peer_cert_type = i;
1039 * Why would the following ever happen? We just created sc a couple
1042 if (sc->peer_pkeys[i].x509 != NULL)
1043 X509_free(sc->peer_pkeys[i].x509);
1044 sc
2553 SESS_CERT *sc; local
[all...]
H A Dssl_locl.h760 void ssl_sess_cert_free(SESS_CERT *sc);
H A Dssl_cert.c415 void ssl_sess_cert_free(SESS_CERT *sc) argument
419 if (sc == NULL)
422 i = CRYPTO_add(&sc->references, -1, CRYPTO_LOCK_SSL_SESS_CERT);
424 REF_PRINT("SESS_CERT", sc);
436 if (sc->cert_chain != NULL)
437 sk_X509_pop_free(sc->cert_chain, X509_free);
439 if (sc->peer_pkeys[i].x509 != NULL)
440 X509_free(sc->peer_pkeys[i].x509);
445 if (sc->peer_pkeys[i].privatekey != NULL)
446 EVP_PKEY_free(sc
466 ssl_set_peer_cert_type(SESS_CERT *sc, int type) argument
[all...]
H A Ds2_clnt.c128 static int ssl_rsa_public_encrypt(SESS_CERT *sc, int len, unsigned char *from,
997 SESS_CERT *sc = NULL; local
1023 sc = ssl_sess_cert_new();
1024 if (sc == NULL) {
1030 s->session->sess_cert = sc;
1032 sc->peer_pkeys[SSL_PKEY_RSA_ENC].x509 = x509;
1033 sc->peer_key = &(sc->peer_pkeys[SSL_PKEY_RSA_ENC]);
1047 if (!ssl_set_peer_cert_type(sc, SSL2_CT_X509_CERTIFICATE))
1057 static int ssl_rsa_public_encrypt(SESS_CERT *sc, in argument
[all...]
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_ioctl.c1522 struct linux_cdrom_subchnl sc; local
1535 error = copyin((void *)args->arg, &sc, sizeof(sc));
1538 sc.cdsc_audiostatus = bsdinfo.header.audio_status;
1539 sc.cdsc_adr = bsdinfo.what.position.addr_type;
1540 sc.cdsc_ctrl = bsdinfo.what.position.control;
1541 sc.cdsc_trk = bsdinfo.what.position.track_number;
1542 sc.cdsc_ind = bsdinfo.what.position.index_number;
1543 set_linux_cdrom_addr(&sc.cdsc_absaddr, sc
[all...]
/freebsd-9.3-release/sys/dev/kbd/
H A Dkbd.c529 genkbd_putc(genkbd_softc_t *sc, char c) argument
533 if (sc->gkb_q_length == KB_QSIZE)
536 p = (sc->gkb_q_start + sc->gkb_q_length) % KB_QSIZE;
537 sc->gkb_q[p] = c;
538 sc->gkb_q_length++;
542 genkbd_getc(genkbd_softc_t *sc, char *buf, size_t len) argument
546 if (sc->gkb_q_length == 0)
548 if (len >= sc->gkb_q_length)
549 len = sc
567 genkbd_softc_t *sc; local
602 genkbd_softc_t *sc; local
625 genkbd_softc_t *sc; local
704 genkbd_softc_t *sc; local
727 genkbd_softc_t *sc; local
[all...]
/freebsd-9.3-release/contrib/ntp/util/
H A Dpps-api.c31 Chew(struct timespec *tsa, struct timespec *tsc, unsigned sa, unsigned sc) argument
38 printf("%u %u ", sa, sc);
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dstring.c203 char sc, dc; local
208 for (s = string; (sc = *s) != '\0'; s++)
210 if (sc == dc) {
/freebsd-9.3-release/usr.sbin/pkg/
H A Dpkg.c592 struct sig_cert *sc; local
601 sc = NULL;
647 sc = calloc(1, sizeof(struct sig_cert));
648 sc->siglen = sbuf_len(sig);
649 sc->sig = calloc(1, sc->siglen);
650 memcpy(sc->sig, sbuf_data(sig), sc->siglen);
652 sc->certlen = sbuf_len(cert);
653 sc
705 struct sig_cert *sc; local
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dmux.c213 Channel *sc, *c = channel_by_id(cid); local
219 if ((sc = channel_by_id(c->remote_id)) == NULL)
223 sc->ctl_chan = -1;
224 if (sc->type != SSH_CHANNEL_OPEN &&
225 sc->type != SSH_CHANNEL_OPENING) {
226 debug2("%s: channel %d: not open", __func__, sc->self);
227 chan_mark_dead(sc);
229 if (sc->istate == CHAN_INPUT_OPEN)
230 chan_read_failed(sc);
231 if (sc
[all...]
/freebsd-9.3-release/contrib/file/magic/
H A DMakefile.am207 $(MAGIC_FRAGMENT_DIR)/sc \
/freebsd-9.3-release/contrib/file/src/
H A Dstrcasestr.c69 char c, sc; local
77 if ((sc = *s++) == 0)
79 } while ((char)tolower((unsigned char)sc) != c);
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_iter.c157 zfs_add_sort_column(zfs_sort_column_t **sc, const char *name, argument
176 if (*sc == NULL) {
178 *sc = col;
180 (*sc)->sc_last->sc_next = col;
181 (*sc)->sc_last = col;
188 zfs_free_sort_columns(zfs_sort_column_t *sc) argument
192 while (sc != NULL) {
193 col = sc->sc_next;
194 free(sc->sc_user_prop);
195 free(sc);
201 zfs_sort_only_by_name(const zfs_sort_column_t *sc) argument
286 zfs_sort_column_t *sc = (zfs_sort_column_t *)data; local
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c2870 uint_t sc; local
2874 for (sc = 0; sc < schildren; sc++) {
2876 schild[sc], B_FALSE);
/freebsd-9.3-release/lib/libiconv_modules/iconv_std/
H A Dcitrus_iconv_std.c423 struct _citrus_iconv_std_context *sc; local
431 sc = malloc(sz);
432 if (sc == NULL)
435 ptr = (char *)&sc[1];
437 init_encoding(&sc->sc_src_encoding, is->is_src_encoding,
440 init_encoding(&sc->sc_src_encoding, is->is_src_encoding,
444 init_encoding(&sc->sc_dst_encoding, is->is_dst_encoding,
447 init_encoding(&sc->sc_dst_encoding, is->is_dst_encoding,
450 cv->cv_closure = (void *)sc;
469 struct _citrus_iconv_std_context *sc local
[all...]
/freebsd-9.3-release/lib/libmd/
H A Drmd160c.c110 int sw,sc; local
126 sc=c->num&0x03;
131 p_c2l(data,l,sc);
149 if ((sc+len) < 4) /* ugly, add char's to a word */
152 p_c2l_p(data,l,sc,len);
160 p_c2l(data,l,sc);
218 sc=(int)len;
219 c->num=sc;
220 if (sc)
222 sw=sc>>
[all...]
H A Drmd_locl.h90 #define p_c2nl_p(c,l,sc,len) { \
91 switch (sc) \
136 #define p_c2l_p(c,l,sc,len) { \
137 switch (sc) \
H A Dsha0c.c124 int ew,ec,sw,sc; local
140 sc=c->num&0x03;
145 M_p_c2nl(data,l,sc);
161 if ((sc+len) < 4) /* ugly, add char's to a word */
164 M_p_c2nl_p(data,l,sc,len);
172 M_p_c2nl(data,l,sc);
H A Dsha1c.c152 int ew,ec,sw,sc; local
168 sc=c->num&0x03;
173 M_p_c2nl(data,l,sc);
189 if ((sc+len) < 4) /* ugly, add char's to a word */
192 M_p_c2nl_p(data,l,sc,len);
200 M_p_c2nl(data,l,sc);
H A Dsha_locl.h103 #define p_c2nl_p(c,l,sc,len) { \
104 switch (sc) \
149 #define p_c2l_p(c,l,sc,len) { \
150 switch (sc) \
/freebsd-9.3-release/lib/libpmc/
H A Dlibpmc.c3398 struct pmc_op_pmcsetcount sc; local
3400 sc.pm_pmcid = pmc;
3401 sc.pm_count = value;
3403 if (PMC_CALL(PMCSETCOUNT, &sc) < 0)
/freebsd-9.3-release/lib/libstand/
H A Ddosfs.c430 u_int sc; local
460 if (!(sc = cv2(bs->bpb.secs)) && !(sc = cv4(bs->bpb.lsecs)))
462 if (fs->lsndta > sc)
464 if ((fs->xclus = secblk(fs, sc - fs->lsndta) + 1) < LOCLUS)
467 sc = (secbyt(fs->spf) << 1) / (fs->fatsz >> 2) - 1;
468 if (fs->xclus > sc)
469 fs->xclus = sc;
/freebsd-9.3-release/lib/libdisk/
H A Dopen_disk.c49 u_int l, s, ty, sc, hd, alt; local
123 else if (!strcmp(a, "sc"))
202 else if (!strcmp(a, "sc"))
203 sc = o;
224 d->bios_sect = sc;
225 o = d->chunks->size / (hd * sc);
226 o *= (hd * sc);
227 o -= alt * hd * sc;
299 sc = d->bios_sect;
300 o = d->chunks->size / (hd * sc);
[all...]
/freebsd-9.3-release/lib/libthr/thread/
H A Dthr_sleepq.c80 struct sleepqueue_chain *sc; local
82 sc = SC_LOOKUP(wchan);
83 THR_LOCK_ACQUIRE_SPIN(curthread, &sc->sc_lock);
89 struct sleepqueue_chain *sc; local
92 sc = SC_LOOKUP(wchan);
93 THR_LOCK_RELEASE(curthread, &sc->sc_lock);
99 struct sleepqueue_chain *sc; local
102 sc = SC_LOOKUP(wchan);
103 LIST_FOREACH(sq, &sc->sc_queues, sq_hash)
112 struct sleepqueue_chain *sc; local
[all...]
/freebsd-9.3-release/lib/libc/powerpc/
H A DSYS.h40 sc

Completed in 307 milliseconds

1234567891011>>