/openbsd/lib/libcrypto/pem/ |
H A D | pvkfmt.c | 223 nbyte = (bitlen + 7) >> 3; in blob_length() 254 unsigned int bitlen, magic; in do_b2i() local 321 nbyte = (bitlen + 7) >> 3; in b2i_dss() 372 nbyte = (bitlen + 7) >> 3; in b2i_rsa() 500 if (bitlen == 0) in do_i2b() 524 write_ledword(&p, bitlen); in do_i2b() 553 int bitlen; in check_bitlen_dsa() local 569 return bitlen; in check_bitlen_dsa() 579 int nbyte, hnbyte, bitlen; in check_bitlen_rsa() local 588 return bitlen; in check_bitlen_rsa() [all …]
|
/openbsd/usr.sbin/tcpdump/ |
H A D | print-domain.c | 78 int bitlen, bytelen; in ns_nskip() local 84 if ((bitlen = *cp++) == 0) in ns_nskip() 85 bitlen = 256; in ns_nskip() 101 int bitlen, slen, b; in blabel_print() local 107 if ((bitlen = *cp) == 0) in blabel_print() 108 bitlen = 256; in blabel_print() 109 slen = (bitlen + 3) / 4; in blabel_print() 127 printf("/%d]", bitlen); in blabel_print() 130 printf(".../%d]", bitlen); in blabel_print() 143 int bitlen, elt; in labellen() local [all …]
|
/openbsd/sys/dev/ofw/ |
H A D | ofw_misc.c | 631 uint32_t offset, bitlen; in nvmem_read_cell() local 661 bitlen = nc->nc_bitlen; in nvmem_read_cell() 670 if (bitlen >= 8) in nvmem_read_cell() 673 mask = (1 << bitlen) - 1; in nvmem_read_cell() 677 bitlen -= MIN(offset, bitlen); in nvmem_read_cell() 684 bitlen -= MIN(8 - offset, bitlen); in nvmem_read_cell() 706 uint32_t offset, bitlen; in nvmem_write_cell() local 736 bitlen = nc->nc_bitlen; in nvmem_write_cell() 745 if (bitlen >= 8) in nvmem_write_cell() 752 bitlen -= MIN(8 - offset, bitlen); in nvmem_write_cell() [all …]
|
/openbsd/regress/sys/netinet/bindconnect/ |
H A D | bindconnect.c | 97 int bytelen, bitlen, i; in in6_prefixlen2mask() local 101 bitlen = len % 8; in in6_prefixlen2mask() 105 if (bitlen) in in6_prefixlen2mask() 106 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
|
/openbsd/regress/sys/net/rtable/ |
H A D | util.c | 353 int bytelen, bitlen, i; in in6_prefixlen2mask() local 359 bitlen = len % 8; in in6_prefixlen2mask() 363 if (bitlen) in in6_prefixlen2mask() 364 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
|
/openbsd/sys/dev/acpi/ |
H A D | acpidebug.c | 154 value->v_field.bitlen); in db_aml_showvalue() 167 value->v_field.bitlen); in db_aml_showvalue()
|
H A D | dsdt.c | 825 val->v_field.bitpos, val->v_field.bitlen, in aml_showvalue() 2704 blen = fld->v_field.bitlen; in aml_rwindexfield() 2774 if (blen > fld->v_field.bitlen) in aml_rwfield() 2775 blen = fld->v_field.bitlen; in aml_rwfield() 2785 aml_rwgen(ref1, fld->v_field.bitpos, fld->v_field.bitlen, in aml_rwfield() 2807 fld->v_field.bitpos, fld->v_field.bitlen); in aml_rwfield() 2812 0, fld->v_field.bitlen); in aml_rwfield() 2856 field->v_field.bitlen = blen; in aml_createfield() 3022 aml_rwfield(rhs, 0, rhs->v_field.bitlen, &tmp, ACPI_IOREAD); in aml_store() 3040 aml_rwfield(lhs, 0, lhs->v_field.bitlen, rhs, ACPI_IOWRITE); in aml_store() [all …]
|
H A D | amltypes.h | 287 uint32_t bitlen; member
|
/openbsd/sys/netinet6/ |
H A D | in6.c | 1326 int bytelen, bitlen, i; in in6_prefixlen2mask() local 1337 bitlen = len % 8; in in6_prefixlen2mask() 1341 if (bitlen) in in6_prefixlen2mask() 1342 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
|
/openbsd/sbin/dhcp6leased/ |
H A D | engine.c | 1596 int bytelen, bitlen, i; in in6_prefixlen2mask() local 1603 bitlen = len % 8; in in6_prefixlen2mask() 1607 if (bitlen) in in6_prefixlen2mask() 1608 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
|
/openbsd/sbin/unwind/libunbound/validator/ |
H A D | val_nsec3.c | 299 size_t bitlen, skiplen; in nsec3_has_type() local 314 bitlen = d->rr_len[r] - skiplen; in nsec3_has_type() 316 return nsecbitmap_has_type_rdata(bitmap, bitlen, type); in nsec3_has_type()
|
/openbsd/usr.sbin/unbound/validator/ |
H A D | val_nsec3.c | 299 size_t bitlen, skiplen; in nsec3_has_type() local 314 bitlen = d->rr_len[r] - skiplen; in nsec3_has_type() 316 return nsecbitmap_has_type_rdata(bitmap, bitlen, type); in nsec3_has_type()
|
/openbsd/sbin/slaacd/ |
H A D | engine.c | 1639 int bytelen, bitlen, i; in in6_prefixlen2mask() local 1646 bitlen = len % 8; in in6_prefixlen2mask() 1650 if (bitlen) in in6_prefixlen2mask() 1651 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
|
/openbsd/sys/dev/ |
H A D | ipmi.c | 1088 getbits(u_int8_t *bytes, int bitpos, int bitlen) in getbits() argument 1093 bitpos += bitlen - 1; in getbits() 1094 for (v = 0; bitlen--;) { in getbits()
|
/openbsd/sys/dev/ic/ |
H A D | atw.c | 3378 int ack, bitlen, data_dur, remainder; in atw_compute_duration1() local 3386 bitlen = len * 8; in atw_compute_duration1() 3397 data_dur = (bitlen * 2) / rate; in atw_compute_duration1() 3398 remainder = (bitlen * 2) % rate; in atw_compute_duration1()
|
H A D | rtw.c | 2902 int ack, bitlen, data_dur, remainder; in rtw_compute_duration1() local 2910 bitlen = len * 8; in rtw_compute_duration1() 2921 data_dur = (bitlen * 2) / rate; in rtw_compute_duration1() 2922 remainder = (bitlen * 2) % rate; in rtw_compute_duration1()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | ChangeLog.3 | 16023 (extract_bitlist): Declare bitlen.
|