Searched refs:bs (Results 51 - 75 of 142) sorted by relevance

123456

/opensolaris-onvv-gate/usr/src/common/openssl/crypto/asn1/
H A Dt_req.c200 ASN1_BIT_STRING *bs=NULL; local
215 bs=t->value.bit_string;
224 bs=at->value.asn1_string;
234 if (BIO_write(bp,(char *)bs->data,bs->length)
235 != bs->length)
H A Dt_x509.c111 ASN1_INTEGER *bs; local
140 bs=X509_get_serialNumber(x);
141 if (bs->length <= 4)
143 l=ASN1_INTEGER_get(bs);
156 neg=(bs->type == V_ASN1_NEG_INTEGER)?" (Negative)":"";
159 for (i=0; i<bs->length; i++)
161 if (BIO_printf(bp,"%02x%c",bs->data[i],
162 ((i+1 == bs->length)?'\n':':')) <= 0)
/opensolaris-onvv-gate/usr/src/common/openssl/apps/
H A Docsp.c76 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req,
108 OCSP_BASICRESP *bs = NULL; local
828 bs = OCSP_response_get1_basic(resp);
830 if (!bs)
838 if (req && ((i = OCSP_check_nonce(req, bs)) <= 0))
849 i = OCSP_basic_verify(bs, verify_other, store, verify_flags);
850 if (i < 0) i = OCSP_basic_verify(bs, NULL, store, 0);
862 if (!print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage))
883 OCSP_BASICRESP_free(bs);
954 static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUES argument
1026 OCSP_BASICRESP *bs = NULL; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c855 struct nis_sdata *bs, /* User buffer structure */
862 if (!bs)
865 if (!bs->buf) {
866 bs->buf = malloc(sz);
867 if (!bs->buf)
869 bs->size = sz;
873 } else if (bs->size < sz) {
876 free(bs->buf);
877 size_delta = - (bs->size);
878 bs
854 nis_get_static_storage( struct nis_sdata *bs, uint_t el, uint_t nel) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libshell/common/tests/
H A Dsubshell.sh106 integer BS=1024 nb=64 ss=60 bs no
107 for bs in $BS 1
113 set -- $(printf %.'$(($BS*$nb))'c x | dd bs='$bs')
118 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs -- expected $((BS*nb)), got ${no:-0}"
121 for bs in $BS 1
128 set -- $(printf %.'$(($BS*$nb))'c x | dd bs='$bs' 2>/dev/null)
133 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs and trailing redirection -- expected $((BS*nb)), got ${no:-0}"
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/
H A Dzap.c151 int bs = FZAP_BLOCK_SHIFT(zap); local
152 int hepb = 1<<(bs-4);
166 tbl->zt_blk << bs, tbl->zt_numblks << bs);
175 (tbl->zt_blk + b) << bs, FTAG, &db_old, DMU_READ_NO_PREFETCH);
181 (newblk + 2*b+0) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH));
188 (newblk + 2*b+1) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH));
203 tbl->zt_blk << bs, tbl->zt_numblks << bs, tx);
224 int bs local
272 int bs = FZAP_BLOCK_SHIFT(zap); local
502 int bs = FZAP_BLOCK_SHIFT(zap); local
935 int bs; local
1249 int bs = FZAP_BLOCK_SHIFT(zap); local
[all...]
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/dsa/
H A Ddsa_lib.c239 ASN1_INTEGER bs; local
246 bs.length=(i+7)/8;
247 bs.data=buf;
248 bs.type=V_ASN1_INTEGER;
252 i=i2d_ASN1_INTEGER(&bs,NULL);
/opensolaris-onvv-gate/usr/src/cmd/ptools/pmap/
H A Dpmap_common.c48 const lwpstack_t *bs = bp; local
50 uintptr_t b = (uintptr_t)bs->lwps_stack.ss_sp + bs->lwps_stack.ss_size;
/opensolaris-onvv-gate/usr/src/common/openssl/ssl/
H A Ds2_enc.c123 int bs; local
140 bs=ds->cipher->block_size;
141 /* This should be using (bs-1) and bs instead of 7 and 8, but
143 if (bs == 8)
H A Ds3_enc.c436 int bs,i; local
467 bs=EVP_CIPHER_block_size(ds->cipher);
471 if ((bs != 1) && send)
473 i=bs-((int)l%bs);
483 if (l == 0 || l%bs != 0)
489 /* otherwise, rec->length >= bs */
494 if ((bs != 1) && !send)
499 if (i > bs)
507 /* now i <= bs <
[all...]
H A Ds2_pkt.c516 unsigned int j,k,olen,p,mac_size,bs; local
545 bs=EVP_CIPHER_CTX_block_size(s->enc_read_ctx);
557 k=j-(j%bs);
563 else if ((bs <= 1) && (!s->s2->escape))
575 p=(j%bs);
576 p=(p == 0)?0:(bs-p);
/opensolaris-onvv-gate/usr/src/cmd/terminfo/
H A Dtermcap93 :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\
98 :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n:
122 :bs:co#80:ce=^P^U:cl=20^P^]:cm=%r^P^Q%.%.:dc=^X:\
129 :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
131 :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J:
134 :do=^J:le=^H:bs:hc:hd=\E9:hu=\E8:os:up=\E7:
139 :dc=.1*\E'D:up=\EY:nd=\EX:bs:am:mi:ti=\E"N:te=\E"N:\
145 :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\
149 :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
151 :al=\EE:am:bs
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c835 rpterr(char *bs, char *mp) argument
844 myname, bs);
850 myname, mp, bs);
855 myname, bs, mp);
859 myname, bs);
864 myname, bs, mp);
868 "%s: %s not a block device\n"), myname, bs);
872 myname, bs);
878 myname, bs);
886 myname, bs);
[all...]
/opensolaris-onvv-gate/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c193 char *bs, *be; local
225 bs = dirname;
226 while ((*bs == ' ') || (*bs == '\t')) /* trim blanks */
227 bs++;
228 be = bs + strlen(bs) - 1;
229 while (be > bs) { /* trim trailing blanks */
230 if ((*bs != ' ') && (*bs !
[all...]
/opensolaris-onvv-gate/usr/src/common/util/
H A Dstring.c74 char *digits, *sp, *bs; local
253 bs = va_arg(args, char *);
254 base = *bs++;
285 c = *bs++;
290 while ((c = *bs++) >= 32)
294 while ((c = *bs++) >= 32)
/opensolaris-onvv-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.h75 struct bs { struct
144 extern struct bs barray[];
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/x509v3/
H A Dv3_purp.c309 BASIC_CONSTRAINTS *bs; local
327 if((bs=X509_get_ext_d2i(x, NID_basic_constraints, NULL, NULL))) {
328 if(bs->ca) x->ex_flags |= EXFLAG_CA;
329 if(bs->pathlen) {
330 if((bs->pathlen->type == V_ASN1_NEG_INTEGER)
331 || !bs->ca) {
334 } else x->ex_pathlen = ASN1_INTEGER_get(bs->pathlen);
336 BASIC_CONSTRAINTS_free(bs);
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Dwborder.c54 * bs : bottom side.
79 chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
90 _BOTTOMSIDE = bs;
78 wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br) argument
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/ocsp/
H A Docsp_srv.c106 OCSP_RESPONSE *OCSP_response_create(int status, OCSP_BASICRESP *bs) argument
112 if (!bs) return rsp;
115 if (!ASN1_item_pack(bs, ASN1_ITEM_rptr(OCSP_BASICRESP), &rsp->responseBytes->response))
H A Docsp.h412 int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
428 int OCSP_resp_count(OCSP_BASICRESP *bs);
429 OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx);
430 int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last);
435 int OCSP_resp_find_status(OCSP_BASICRESP *bs, OCSP_CERTID *id, int *status,
458 OCSP_RESPONSE *OCSP_response_create(int status, OCSP_BASICRESP *bs);
549 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
/opensolaris-onvv-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c333 size_t bs = (eob - line); local
336 if ((nl = realloc(line, bs + BUFSZ)) == NULL) {
341 cp = line + bs;
/opensolaris-onvv-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c163 static int verify_bootblkfile(char *fn, boot_sector_t *bs,
1864 (void) memcpy(&(wbpb->bpb), &(ubpb.bs.bs_front.bs_bpb),
1866 (void) memcpy(&(wbpb->ebpb), &(ubpb.bs.bs_ebpb), sizeof (wbpb->ebpb));
1868 swap_pack_grabbpb(wbpb, &(ubpb.bs));
1872 (void) memcpy(&(wbpb->sunbpb), &(ubpb.bs.bs_sebpb),
1875 swap_pack_grabsebpb(wbpb, &(ubpb.bs));
1913 swap_pack_grab32bpb(wbpb, &(ubpb.bs));
2508 verify_bootblkfile(char *fn, boot_sector_t *bs, ulong_t *blkfilesize) argument
2520 } else if (read(bsfd, bs->buf, BPSEC) < BPSEC) {
2525 if ((bs
[all...]
H A Dmkfs_pcfs.h219 struct _boot_sector bs; member in union:_ubso
/opensolaris-onvv-gate/usr/src/cmd/ntfsprogs/
H A Dmkntfs.c3973 NTFS_BOOT_SECTOR *bs; local
4223 bs = ntfs_calloc(8192);
4224 if (!bs)
4226 memcpy(bs, boot_array, sizeof(boot_array));
4228 * Create the boot sector in bs. Note, that bs is already zeroed
4232 bs->bpb.bytes_per_sector = cpu_to_le16(opts.sector_size);
4233 bs->bpb.sectors_per_cluster = (u8)(g_vol->cluster_size /
4235 bs->bpb.media_type = 0xf8; /* hard disk */
4236 bs
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_bpb.h221 struct _boot_sector bs; member in union:_ubso

Completed in 388 milliseconds

123456