/freebsd/contrib/bearssl/tools/ |
H A D | files.c | 166 decode_pem(const void *src, size_t len, size_t *num) in decode_pem() argument 176 *num = 0; in decode_pem() 241 *num = VEC_LEN(pem_list); in decode_pem() 250 read_certificates(const char *fname, size_t *num) in read_certificates() argument 260 *num = 0; in read_certificates() 280 *num = 1; in read_certificates() 310 *num = VEC_LEN(cert_list); in read_certificates() 321 free_certificates(br_x509_certificate *certs, size_t num) in free_certificates() argument 325 for (u = 0; u < num; u ++) { in free_certificates()
|
H A D | chain.c | 106 size_t u, num; in do_chain() local 116 xcs = read_certificates(fname, &num); in do_chain() 122 (unsigned long)num, num > 1 ? "s" : ""); in do_chain() 124 for (u = 0; u < num; u ++) { in do_chain()
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | alpha-mont.pl | 33 $num="a5"; # int num); 82 sextl $num,$num 84 cmplt $num,4,AT 88 s8addq $num,16,AT 135 cmplt $j,$num,$tj 237 cmplt $j,$num,$tj #U0 # borrow $tj 270 cmplt $i,$num,$tj # borrow $tj 274 s8addq $num,sp,$tj # &tp[num]
|
/freebsd/contrib/bc/src/ |
H A D | library.c | 578 assert(num != NULL && BCL_NUM_ARRAY(num) != NULL); in bcl_num_dtor() 586 num->n.num = NULL; in bcl_num_dtor() 593 BclNum* num; in bcl_num_free() local 693 BclNum* num; in bcl_num_neg() local 705 assert(num != NULL && BCL_NUM_ARRAY(num) != NULL); in bcl_num_neg() 713 BclNum* num; in bcl_num_setNeg() local 725 assert(num != NULL && BCL_NUM_ARRAY(num) != NULL); in bcl_num_setNeg() 733 BclNum* num; in bcl_num_scale() local 745 assert(num != NULL && BCL_NUM_ARRAY(num) != NULL); in bcl_num_scale() 803 assert(num != NULL && BCL_NUM_ARRAY(num) != NULL); in bcl_num_len() [all …]
|
/freebsd/contrib/libcbor/test/ |
H A D | assertions.h | 14 void assert_uint8(cbor_item_t* item, uint8_t num); 15 void assert_uint16(cbor_item_t* item, uint16_t num); 16 void assert_uint32(cbor_item_t* item, uint32_t num); 17 void assert_uint64(cbor_item_t* item, uint64_t num);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430RegisterInfo.td | 13 class MSP430Reg<bits<4> num, string n, list<string> alt = []> : Register<n> { 14 field bits<4> Num = num; 16 let HWEncoding{3-0} = num; 18 let DwarfNumbers = [num]; 21 class MSP430RegWithSubregs<bits<4> num, string n, list<Register> subregs, 24 field bits<4> Num = num; 26 let HWEncoding{3-0} = num; 28 let DwarfNumbers = [num];
|
/freebsd/crypto/openssl/crypto/ |
H A D | param_build_set.c | 23 const char *key, int num) in DEFINE_SPECIAL_STACK_OF_CONST() 26 return OSSL_PARAM_BLD_push_int(bld, key, num); in DEFINE_SPECIAL_STACK_OF_CONST() 29 return OSSL_PARAM_set_int(p, num); in DEFINE_SPECIAL_STACK_OF_CONST() 34 const char *key, long num) in ossl_param_build_set_long() argument 37 return OSSL_PARAM_BLD_push_long(bld, key, num); in ossl_param_build_set_long() 40 return OSSL_PARAM_set_long(p, num); in ossl_param_build_set_long()
|
/freebsd/crypto/openssl/apps/ |
H A D | x509.c | 467 email = ++num; in x509_main() 473 serial = ++num; in x509_main() 479 modulus = ++num; in x509_main() 488 text = ++num; in x509_main() 491 subject = ++num; in x509_main() 494 issuer = ++num; in x509_main() 506 pprint = ++num; in x509_main() 512 enddate = ++num; in x509_main() 515 noout = ++num; in x509_main() 518 ext = ++num; in x509_main() [all …]
|
H A D | dhparam.c | 87 int text = 0, ret = 1, num = 0, g = 0; in dhparam_main() local 156 if (!opt_int(argv[0], &num) || num <= 0) in dhparam_main() 164 if (g && !num) in dhparam_main() 165 num = DEFBITS; in dhparam_main() 178 if (num && !g) in dhparam_main() 181 if (num) { in dhparam_main() 199 alg, num, dsaparam ? "" : "safe "); in dhparam_main() 209 if (EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, num) <= 0) { in dhparam_main() 214 if (EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, num) <= 0) { in dhparam_main()
|
H A D | engine.c | 153 int num; in util_verbose() local 161 ((num = ENGINE_ctrl(e, ENGINE_CTRL_GET_FIRST_CMD_TYPE, in util_verbose() 173 if ((flags = ENGINE_ctrl(e, ENGINE_CTRL_GET_CMD_FLAGS, num, in util_verbose() 178 if ((len = ENGINE_ctrl(e, ENGINE_CTRL_GET_NAME_LEN_FROM_CMD, num, in util_verbose() 182 if (ENGINE_ctrl(e, ENGINE_CTRL_GET_NAME_FROM_CMD, num, name, in util_verbose() 191 if (ENGINE_ctrl(e, ENGINE_CTRL_GET_DESC_FROM_CMD, num, desc, in util_verbose() 227 num = ENGINE_ctrl(e, ENGINE_CTRL_GET_NEXT_CMD_TYPE, num, NULL, NULL); in util_verbose() 228 } while (num > 0); in util_verbose() 242 int loop, res, num = sk_OPENSSL_STRING_num(cmds); in util_do_cmds() local 244 if (num < 0) { in util_do_cmds() [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bm_portal.c | 371 uint8_t num, in BmPortalRelease() argument 391 for (i = 0; i < num; i++) { in BmPortalRelease() 400 rel_commit(p_BmPortal, flags, num); in BmPortalRelease() 407 uint8_t num) in BmPortalAcquire() argument 420 (num & BM_MCC_VERB_ACQUIRE_BUFCOUNT))); in BmPortalAcquire() 422 ret = num = (uint8_t)(mcr->verb & BM_MCR_VERB_ACQUIRE_BUFCOUNT); in BmPortalAcquire() 423 ASSERT_COND(num <= 8); in BmPortalAcquire() 424 while (num--) { in BmPortalAcquire() 425 bufs[num].bpid = bpid; in BmPortalAcquire() 426 bufs[num].hi = mcr->acquire.bufs[num].hi; in BmPortalAcquire() [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | crypto.h.in | 96 # define OPENSSL_malloc(num) \ argument 97 CRYPTO_malloc(num, OPENSSL_FILE, OPENSSL_LINE) 98 # define OPENSSL_zalloc(num) \ argument 99 CRYPTO_zalloc(num, OPENSSL_FILE, OPENSSL_LINE) 100 # define OPENSSL_realloc(addr, num) \ argument 102 # define OPENSSL_clear_realloc(addr, old_num, num) \ argument 104 # define OPENSSL_clear_free(addr, num) \ argument 114 # define OPENSSL_secure_malloc(num) \ argument 116 # define OPENSSL_secure_zalloc(num) \ argument 120 # define OPENSSL_secure_clear_free(addr, num) \ argument [all …]
|
/freebsd/sys/dev/sdhci/ |
H A D | sdhci_pci.c | 178 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_read_1() 180 return bus_read_1(sc->mem_res[slot->num], off); in sdhci_pci_read_1() 189 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_write_1() 191 bus_write_1(sc->mem_res[slot->num], off, val); in sdhci_pci_write_1() 199 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_read_2() 201 return bus_read_2(sc->mem_res[slot->num], off); in sdhci_pci_read_2() 210 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_write_2() 212 bus_write_2(sc->mem_res[slot->num], off, val); in sdhci_pci_write_2() 220 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_read_4() 231 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_write_4() [all …]
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_oaep.c | 151 const unsigned char *from, int flen, int num, in RSA_padding_check_PKCS1_OAEP() argument 154 return RSA_padding_check_PKCS1_OAEP_mgf1(to, tlen, from, flen, num, in RSA_padding_check_PKCS1_OAEP() 160 int num, const unsigned char *param, in RSA_padding_check_PKCS1_OAEP_mgf1() argument 199 if (num < flen || num < 2 * mdlen + 2) { in RSA_padding_check_PKCS1_OAEP_mgf1() 204 dblen = num - mdlen - 1; in RSA_padding_check_PKCS1_OAEP_mgf1() 211 em = OPENSSL_malloc(num); in RSA_padding_check_PKCS1_OAEP_mgf1() 223 for (from += flen, em += num, i = 0; i < num; i++) { in RSA_padding_check_PKCS1_OAEP_mgf1() 320 OPENSSL_clear_free(em, num); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_regs_mcdi_aoe.h | 291 #define MC_CMD_FC_IN_WRITE32_LEN(num) (12+4*(num)) argument 537 #define MC_CMD_FC_IN_IO_REL_WRITE32_LEN(num) (16+4*(num)) argument 1041 #define MC_CMD_FC_IN_SPI_WRITE_LEN(num) (12+4*(num)) argument 1264 #define MC_CMD_FC_OUT_READ32_LEN(num) (0+4*(num)) argument 1876 #define MC_CMD_FC_OUT_IO_REL_READ32_LEN(num) (0+4*(num)) argument 2031 #define MC_CMD_FC_OUT_DMA_READ_LEN(num) (0+1*(num)) argument 2145 #define MC_CMD_FC_OUT_SPI_READ_LEN(num) (0+4*(num)) argument 2428 #define MC_CMD_AOE_IN_JTAG_WRITE_LEN(num) (8+4*(num)) argument 2776 #define MC_CMD_AOE_OUT_FAN_FAILURES_LEN(num) (0+4*(num)) argument 2826 #define MC_CMD_AOE_OUT_JTAG_WRITE_LEN(num) (8+4*(num)) argument [all …]
|
/freebsd/contrib/libedit/ |
H A D | read.c | 456 int num; in noedit_wgets() local 458 while ((num = (*el->el_read->read_char)(el, lp->lastchar)) == 1) { in noedit_wgets() 468 if (num == -1 && errno == EINTR) in noedit_wgets() 481 int num; /* how many chars we have read at NL */ in el_wgets() local 520 for (num = -1; num == -1;) { /* while still editing this line */ in el_wgets() 574 num = 0; in el_wgets() 575 else if (num == -1) { in el_wgets() 578 num = 1; in el_wgets() 583 num = (int)(el->el_line.lastchar - el->el_line.buffer); in el_wgets() 611 *nread = num != -1 ? num : 0; in el_wgets() [all …]
|
/freebsd/bin/test/ |
H A D | test.c | 461 int num; in t_lex() local 466 num = find_op(s); in t_lex() 467 if (((TOKEN_TYPE(num) == UNOP || TOKEN_TYPE(num) == BUNOP) in t_lex() 470 (num == RPAREN && isrparenoperand())) in t_lex() 472 return num; in t_lex() 480 int num; in isunopoperand() local 488 num = find_op(s); in isunopoperand() 489 return TOKEN_TYPE(num) == BINOP && in isunopoperand() 497 int num; in islparenoperand() local 506 num = find_op(s); in islparenoperand() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_file.c | 90 int fd, kq, n, num, status; in ATF_TC_BODY() local 109 for (num = 0; num < NLINES;) { in ATF_TC_BODY() 111 num += n; in ATF_TC_BODY() 130 (void)printf("file(%d): %s", num, buffer); in ATF_TC_BODY()
|
/freebsd/usr.bin/tip/tip/ |
H A D | value.c | 288 int num; in vinterp() local 301 num = 0; in vinterp() 304 num = (num<<3)+(c-'0'); in vinterp() 318 num = (num<<3)+(c-'0'); in vinterp() 320 num = (num<<3)+(c-'0'); in vinterp() 325 *p++ = num; in vinterp()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | e_rc2.c | 132 long num = 0; in rc2_get_asn1_type_and_iv() local 141 i = ASN1_TYPE_get_int_octetstring(type, &num, iv, l); in rc2_get_asn1_type_and_iv() 144 key_bits = rc2_magic_to_meth((int)num); in rc2_get_asn1_type_and_iv() 159 long num; in rc2_set_asn1_type_and_iv() local 163 num = rc2_meth_to_magic(c); in rc2_set_asn1_type_and_iv() 165 i = ASN1_TYPE_set_int_octetstring(type, num, c->oiv, j); in rc2_set_asn1_type_and_iv()
|
/freebsd/share/examples/perfmon/ |
H A D | perfmon.c | 51 int c, fd, num; in main() local 122 num = 0; in main() 123 if (ioctl(fd, PMIOSTART, &num) < 0) in main() 128 if (ioctl(fd, PMIOSTOP, &num) < 0) in main() 135 if (ioctl(fd, PMIOSTART, &num) < 0) in main() 143 if (ioctl(fd, PMIOSTOP, &num) < 0) in main()
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_hash.h | 66 n = c->num; in HASH_UPDATE() 76 c->num = 0; in HASH_UPDATE() 86 c->num += (unsigned int)len; in HASH_UPDATE() 101 c->num = (unsigned int)len; in HASH_UPDATE() 112 size_t n = c->num; in HASH_FINAL() 134 c->num = 0; in HASH_FINAL()
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | designware-pcie.txt | 24 - num-ib-windows: number of inbound address translation windows 25 - num-ob-windows: number of outbound address translation windows 28 - num-lanes: number of lanes to use (this property should be specified unless 42 - num-viewport: number of view ports configured in hardware. If a platform 65 num-lanes = <1>; 74 num-ib-windows = <6>; 75 num-ob-windows = <2>; 76 num-lanes = <1>;
|
/freebsd/tests/sys/cddl/zfs/tests/snapshot/ |
H A D | snapshot_019_pos.ksh | 74 for ((num=0; $num<100; num=$num+1)); do
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_object.c | 53 int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num) in a2d_ASN1_OBJECT() argument 62 if (num == 0) in a2d_ASN1_OBJECT() 64 else if (num == -1) in a2d_ASN1_OBJECT() 65 num = strlen(buf); in a2d_ASN1_OBJECT() 69 num--; in a2d_ASN1_OBJECT() 77 if (num <= 0) { in a2d_ASN1_OBJECT() 82 num--; in a2d_ASN1_OBJECT() 84 if (num <= 0) in a2d_ASN1_OBJECT() 93 if (num <= 0) in a2d_ASN1_OBJECT() 95 num--; in a2d_ASN1_OBJECT()
|