Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 1998) sorted by relevance

12345678910>>...80

/freebsd-12-stable/contrib/xz/src/common/
Dtuklib_integer.h72 # define bswap16(num) bswap_16(num) argument
75 # define bswap32(num) bswap_32(num) argument
78 # define bswap64(num) bswap_64(num) argument
89 # define bswap16(num) BSWAP_16(num) argument
92 # define bswap32(num) BSWAP_32(num) argument
95 # define bswap64(num) BSWAP_64(num) argument
98 # define conv16be(num) BE_16(num) argument
101 # define conv32be(num) BE_32(num) argument
104 # define conv64be(num) BE_64(num) argument
107 # define conv16le(num) LE_16(num) argument
[all …]
/freebsd-12-stable/sys/kern/
Dposix4_mib.c61 #define P1B_SYSCTL(num, name) \ argument
62 SYSCTL_INT(_p1003_1b, num, name, CTLFLAG_RD | CTLFLAG_CAPRD, \
63 facility + num - 1, 0, "");
64 #define P1B_SYSCTL_RW(num, name) \ argument
65 SYSCTL_PROC(_p1003_1b, num, name, CTLTYPE_INT | CTLFLAG_RW, NULL, num, \
72 #define P1B_SYSCTL(num, name) \ argument
74 facility + num - 1, 0, "");
75 #define P1B_SYSCTL_RW(num, name) \ argument
77 num, p31b_sysctl_proc, "I", "");
107 #define P31B_VALID(num) ((num) >= 1 && (num) < CTL_P1003_1B_MAXID) argument
[all …]
/freebsd-12-stable/lib/libnetbsd/
Dstrsuftoll.c113 long long num, t; in __weak_alias() local
122 num = strtoll(val, &expr, 10); in __weak_alias()
131 t = num; in __weak_alias()
132 num *= 512; /* 1 block */ in __weak_alias()
133 if (t > num) in __weak_alias()
138 t = num; in __weak_alias()
139 num *= 1024; /* 1 kilobyte */ in __weak_alias()
140 if (t > num) in __weak_alias()
145 t = num; in __weak_alias()
146 num *= 1048576; /* 1 megabyte */ in __weak_alias()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/bio/
Dbf_buff.c15 static int buffer_write(BIO *h, const char *buf, int num);
91 int i, num = 0; in buffer_read() local
100 num = 0; in buffer_read()
112 num += i; in buffer_read()
114 return num; in buffer_read()
131 return ((num > 0) ? num : i); in buffer_read()
133 return num; in buffer_read()
135 num += i; in buffer_read()
137 return num; in buffer_read()
149 return ((num > 0) ? num : i); in buffer_read()
[all …]
Dbss_dgram.c45 static int dgram_write(BIO *h, const char *buf, int num);
54 static int dgram_sctp_write(BIO *h, const char *buf, int num);
188 BIO_closesocket(a->num); in dgram_clear()
216 if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_adjust_rcv_timeout()
225 if (getsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_adjust_rcv_timeout()
261 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_adjust_rcv_timeout()
266 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, &timeleft, in dgram_adjust_rcv_timeout()
286 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, in dgram_reset_rcv_timeout()
292 (b->num, SOL_SOCKET, SO_RCVTIMEO, &(data->socket_timeout), in dgram_reset_rcv_timeout()
316 ret = recvfrom(b->num, out, outl, flags, in dgram_read()
[all …]
Dbss_bio.c31 static int bio_write(BIO *bio, const char *buf, int num);
32 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr);
205 ossl_ssize_t num; in bio_nread0() local
228 num = peer_b->len; in bio_nread0()
229 if (peer_b->size < peer_b->offset + num) in bio_nread0()
231 num = peer_b->size - peer_b->offset; in bio_nread0()
232 assert(num > 0); in bio_nread0()
236 return num; in bio_nread0()
242 ossl_ssize_t num, available; in bio_nread() local
245 num = OSSL_SSIZE_MAX; in bio_nread()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/
Dmem.c164 int num = backtrace(addrs, OSSL_NELEM(addrs)); in shouldfail() local
166 backtrace_symbols_fd(addrs, num, md_tracefd); in shouldfail()
192 void *CRYPTO_malloc(size_t num, const char *file, int line) in CRYPTO_malloc() argument
198 return malloc_impl(num, file, line); in CRYPTO_malloc()
200 if (num == 0) in CRYPTO_malloc()
214 CRYPTO_mem_debug_malloc(NULL, num, 0, file, line); in CRYPTO_malloc()
215 ret = malloc(num); in CRYPTO_malloc()
216 CRYPTO_mem_debug_malloc(ret, num, 1, file, line); in CRYPTO_malloc()
218 ret = malloc(num); in CRYPTO_malloc()
222 ret = malloc(num); in CRYPTO_malloc()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/des/
Dofb_enc.c25 register int num = numbits; in DES_ofb_encrypt() local
29 if (num > 64) in DES_ofb_encrypt()
31 if (num > 32) { in DES_ofb_encrypt()
33 if (num >= 64) in DES_ofb_encrypt()
36 mask1 = (1L << (num - 32)) - 1; in DES_ofb_encrypt()
38 if (num == 32) in DES_ofb_encrypt()
41 mask0 = (1L << num) - 1; in DES_ofb_encrypt()
63 if (num == 32) { in DES_ofb_encrypt()
66 } else if (num == 64) { in DES_ofb_encrypt()
69 } else if (num > 32) { /* && num != 64 */ in DES_ofb_encrypt()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/stack/
Dstack.c27 int num; member
57 if (sk->num == 0) { in OPENSSL_sk_dup()
66 memcpy(ret->data, sk->data, sizeof(void *) * sk->num); in OPENSSL_sk_dup()
88 if (sk->num == 0) { in OPENSSL_sk_deep_copy()
95 ret->num_alloc = sk->num > min_nodes ? sk->num : min_nodes; in OPENSSL_sk_deep_copy()
102 for (i = 0; i < ret->num; ++i) { in OPENSSL_sk_deep_copy()
166 if (n > max_nodes - st->num) in sk_reserve()
170 num_alloc = st->num + n; in sk_reserve()
239 if (st == NULL || st->num == max_nodes) in OPENSSL_sk_insert()
245 if ((loc >= st->num) || (loc < 0)) { in OPENSSL_sk_insert()
[all …]
/freebsd-12-stable/lib/libsecureboot/efi/
Defi_init.c40 size_t num; in ve_efi_init() local
53 xcs = efi_get_trusted_certs(&num); in ve_efi_init()
54 if (num > 0 && xcs != NULL) { in ve_efi_init()
55 num = ve_trust_anchors_add(xcs, num); in ve_efi_init()
56 free_certificates(xcs, num); in ve_efi_init()
58 xcs = efi_get_forbidden_certs(&num); in ve_efi_init()
59 if (num > 0 && xcs != NULL) { in ve_efi_init()
60 num = ve_forbidden_anchors_add(xcs, num); in ve_efi_init()
61 free_certificates(xcs, num); in ve_efi_init()
63 digests = efi_get_forbidden_digests(&num); in ve_efi_init()
[all …]
/freebsd-12-stable/tools/regression/poll/
Dsockpoll.c51 report(int num, const char *state, int expected, int got) in report() argument
54 printf("ok %-2d ", num); in report()
56 printf("not ok %-2d", num); in report()
99 int num; in main() local
101 num = 1; in main()
109 report(num++, "initial 0", POLLOUT, pfd0.revents); in main()
112 report(num++, "initial 1", POLLOUT, pfd1.revents); in main()
117 report(num++, "after large write", 0, pfd0.revents); in main()
120 report(num++, "other side after large write", POLLIN | POLLOUT, pfd1.revents); in main()
124 report(num++, "other side after close", POLLIN | POLLHUP, pfd1.revents); in main()
[all …]
/freebsd-12-stable/contrib/bearssl/test/
Dtest_speed.c41 long num; \
49 num = 10; \
57 for (k = num; k > 0; k --) { \
65 ((double)sizeof buf) * (double)num \
70 num <<= 1; \
86 long num; \
101 num = 10; \
109 for (k = num; k > 0; k --) { \
116 ((double)sizeof buf) * (double)num \
121 num <<= 1; \
[all …]
/freebsd-12-stable/contrib/gcclibs/libcpp/
Dexpr.c39 #define num_zerop(num) ((num.low | num.high) == 0) argument
461 append_digit (cpp_num num, int digit, int base, size_t precision) in append_digit() argument
483 overflow = !!(num.high >> (PART_PRECISION - shift)); in append_digit()
484 result.high = num.high << shift; in append_digit()
485 result.low = num.low << shift; in append_digit()
486 result.high |= num.low >> (PART_PRECISION - shift); in append_digit()
487 result.unsignedp = num.unsignedp; in append_digit()
491 add_low = num.low << 1; in append_digit()
492 add_high = (num.high << 1) + (num.low >> (PART_PRECISION - 1)); in append_digit()
512 num.low = result.low; in append_digit()
[all …]
/freebsd-12-stable/contrib/gcc/
Dvarray.h129 #define VARRAY_CHAR_INIT(va, num, name) \ argument
130 va = varray_init (num, VARRAY_DATA_C, name)
132 #define VARRAY_UCHAR_INIT(va, num, name) \ argument
133 va = varray_init (num, VARRAY_DATA_UC, name)
135 #define VARRAY_SHORT_INIT(va, num, name) \ argument
136 va = varray_init (num, VARRAY_DATA_S, name)
138 #define VARRAY_USHORT_INIT(va, num, name) \ argument
139 va = varray_init (num, VARRAY_DATA_US, name)
141 #define VARRAY_INT_INIT(va, num, name) \ argument
142 va = varray_init (num, VARRAY_DATA_I, name)
[all …]
/freebsd-12-stable/contrib/ldns/
Dduration.c218 char* str = NULL, *num = NULL; in ldns_duration2string() local
260 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string()
261 snprintf(num, count+2, "%uY", (unsigned int) duration->years); in ldns_duration2string()
262 str = strncat(str, num, count+2); in ldns_duration2string()
263 free((void*) num); in ldns_duration2string()
267 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string()
268 snprintf(num, count+2, "%uM", (unsigned int) duration->months); in ldns_duration2string()
269 str = strncat(str, num, count+2); in ldns_duration2string()
270 free((void*) num); in ldns_duration2string()
274 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/bn/asm/
Ds390x-mont.pl70 $num="%r1";
97 lgf $num,`$stdframe+$SIZE_T-4`($sp) # pull $num
98 sla $num,`log($SIZE_T)/log(2)` # $num to enumerate bytes
99 la $bp,0($num,$bp)
103 cghi $num,16 #
105 blr %r14 # if($num<16) return 0;
108 tmll $num,4
109 bnzr %r14 # if ($num&1) return 0;
112 cghi $num,96 #
113 bhr %r14 # if($num>96) return 0;
[all …]
Dbn-586.pl273 $num="ebp";
278 &mov($num,&wparam(2)); #
281 &and($num,0xfffffff8); # num / 8
303 &sub($num,8);
308 &mov($num,&wparam(2)); # get num
309 &and($num,7);
324 &dec($num) if ($i != 7-1);
375 $num="ebx";
379 &mov($num,&wparam(2)); #
381 &and($num,0xfffffff8); # num / 8
[all …]
Dx86_64-mont.pl89 $num="%r9"; # int num);
108 mov ${num}d,${num}d
111 test \$3,${num}d
113 cmp \$8,${num}d
122 test \$7,${num}d
141 neg $num
143 lea -16(%rsp,$num,8),%r10 # future alloca(8*(num+2))
144 neg $num # restore $num
171 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp
172 .cfi_cfa_expression %rsp+8,$num,8,mul,plus,deref,+8
[all …]
Dx86_64-mont5.pl74 $num="%r9"; # int num,
97 mov ${num}d,${num}d
100 test \$7,${num}d
125 neg $num
127 lea -280(%rsp,$num,8),%r10 # future alloca(8*(num+2)+256+8)
128 neg $num # restore $num
155 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp
156 .cfi_cfa_expression %rsp+8,$num,8,mul,plus,deref,+8
167 lea 24-112(%rsp,$num,8),%r10# place the mask after tp[num+3] (+ICache optimization)
293 cmp $num,$j
[all …]
Darmv4-mont.pl72 $num="r0"; # starts as num argument, but holds &tp[num-1]
90 $_rp="$num,#12*4";
92 $_bp="$num,#13*4";
94 $_n0="$num,#14*4";
95 $_num="$num,#15*4"; $_bpend=$_num;
140 mov $num,ip @ load num
150 mov $num,$num,lsl#2 @ rescale $num for byte count
151 sub sp,sp,$num @ alloca(4*num)
153 sub $num,$num,#4 @ "num=num-1"
154 add $tp,$bp,$num @ &bp[num-1]
[all …]
/freebsd-12-stable/libexec/rtld-elf/
Drtld_printf.c107 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) in ksprintn() argument
114 c = upper ? hex2ascii_upper(num % base) : in ksprintn()
115 hex2ascii(num % base); in ksprintn()
117 } while (num /= base); in ksprintn()
131 uintmax_t num; in kvprintf() local
138 num = 0; in kvprintf()
205 num = (u_int)va_arg(ap, int); in kvprintf()
207 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;) in kvprintf()
210 if (num == 0) in kvprintf()
215 if (num & (1 << (n - 1))) { in kvprintf()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DInstruction.def21 #define FIRST_TERM_INST(num)
25 #define HANDLE_TERM_INST(num, opcode, Class)
27 #define HANDLE_TERM_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
31 #define LAST_TERM_INST(num)
35 #define FIRST_UNARY_INST(num)
39 #define HANDLE_UNARY_INST(num, opcode, instclass)
41 #define HANDLE_UNARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
45 #define LAST_UNARY_INST(num)
49 #define FIRST_BINARY_INST(num)
53 #define HANDLE_BINARY_INST(num, opcode, instclass)
[all …]
/freebsd-12-stable/stand/libsa/
Dprintf.c61 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper);
206 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) in ksprintn() argument
213 c = hex2ascii(num % base); in ksprintn()
215 } while (num /= base); in ksprintn()
267 uintmax_t num; in kvprintf() local
274 num = 0; in kvprintf()
344 num = (u_int)va_arg(ap, int); in kvprintf()
346 for (q = ksprintn(nbuf, num, *p++, NULL, 0); *q;) in kvprintf()
349 if (num == 0) in kvprintf()
354 if (num & (1 << (n - 1))) { in kvprintf()
[all …]
/freebsd-12-stable/sys/dev/sound/pci/
Demuxkireg.h602 #define EMU_DSP_FX(num) (num) argument
604 #define EMU_DSP_IOL(base, num) (base + (num << 1)) argument
605 #define EMU_DSP_IOR(base, num) (EMU_DSP_IOL(base, num) + 1) argument
608 #define EMU_DSP_INL(num) (EMU_DSP_IOL(EMU_DSP_INL_BASE, num)) argument
609 #define EMU_DSP_INR(num) (EMU_DSP_IOR(EMU_DSP_INL_BASE, num)) argument
611 #define EMU_A_DSP_INL(num) (EMU_DSP_IOL(EMU_A_DSP_INL_BASE, num)) argument
612 #define EMU_A_DSP_INR(num) (EMU_DSP_IOR(EMU_A_DSP_INL_BASE, num)) argument
623 #define EMU_DSP_OUTL(num) (EMU_DSP_IOL(EMU_DSP_OUTL_BASE, num)) argument
624 #define EMU_DSP_OUTR(num) (EMU_DSP_IOR(EMU_DSP_OUTL_BASE, num)) argument
634 #define EMU_A_DSP_OUTL(num) (EMU_DSP_IOL(EMU_A_DSP_OUTL_BASE, num)) argument
[all …]
/freebsd-12-stable/sys/dev/mthca/
Dmthca_profile.c73 int num; in mthca_make_profile() member
101 profile[MTHCA_RES_QP].num = request->num_qp; in mthca_make_profile()
102 profile[MTHCA_RES_SRQ].num = request->num_srq; in mthca_make_profile()
103 profile[MTHCA_RES_EQP].num = request->num_qp; in mthca_make_profile()
104 profile[MTHCA_RES_RDB].num = request->num_qp * request->rdb_per_qp; in mthca_make_profile()
105 profile[MTHCA_RES_CQ].num = request->num_cq; in mthca_make_profile()
106 profile[MTHCA_RES_EQ].num = MTHCA_NUM_EQS; in mthca_make_profile()
107 profile[MTHCA_RES_MCG].num = request->num_mcg; in mthca_make_profile()
108 profile[MTHCA_RES_MPT].num = request->num_mpt; in mthca_make_profile()
109 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
[all …]

12345678910>>...80