Searched refs:num (Results 151 - 175 of 3431) sorted by relevance

1234567891011>>

/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbf_buff.c15 static int buffer_write(BIO *h, const char *buf, int num);
89 int i, num = 0; local
98 num = 0;
110 num += i;
112 return num;
129 return ((num > 0) ? num : i);
131 return num;
133 num += i;
135 return num;
160 int i, num = 0; local
235 buffer_ctrl(BIO *b, int cmd, long num, void *ptr) argument
423 int num = 0, i, flag; local
[all...]
H A Dbss_sock.c30 static int sock_write(BIO *h, const char *buf, int num);
83 bi->num = 0;
95 BIO_closesocket(a->num);
111 ret = ktls_read_record(b->num, out, outl);
114 ret = readsocket(b->num, out, outl);
134 ret = ktls_send_ctrl_message(b->num, record_type, in, inl);
141 ret = writesocket(b->num, in, inl);
150 static long sock_ctrl(BIO *b, int cmd, long num, void *ptr) argument
161 b->num = *((int *)ptr);
162 b->shutdown = (int)num;
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/
H A Dciphercommon_hw.c51 int num = dat->num; local
53 CRYPTO_ofb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->block);
54 dat->num = num;
62 int num = dat->num; local
64 CRYPTO_cfb128_encrypt(in, out, len, dat->ks, dat->iv, &num, dat->enc,
66 dat->num = num;
74 int num = dat->num; local
86 int num = dat->num; local
114 unsigned int num = dat->num; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Dbf_buff.c15 static int buffer_write(BIO *h, const char *buf, int num);
91 int i, num = 0; local
100 num = 0;
112 num += i;
114 return num;
131 return ((num > 0) ? num : i);
133 return num;
135 num += i;
137 return num;
162 int i, num = 0; local
237 buffer_ctrl(BIO *b, int cmd, long num, void *ptr) argument
428 int num = 0, i, flag; local
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/asn1/
H A Devp_asn1.c32 int ret, num; local
42 num = ret;
44 num = max_len;
45 memcpy(data, p, num);
50 int32_t num; member in struct:__anon26
55 ASN1_EMBED(asn1_int_oct, num, INT32),
61 int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data,
67 atmp.num = num;
83 int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num,
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/stack/
H A Dstack.c27 int num; member in struct:stack_st
57 if (sk->num == 0) {
66 memcpy(ret->data, sk->data, sizeof(void *) * sk->num);
88 if (sk->num == 0) {
95 ret->num_alloc = sk->num > min_nodes ? sk->num : min_nodes;
102 for (i = 0; i < ret->num; ++i) {
166 if (n > max_nodes - st->num)
170 num_alloc = st->num + n;
177 * At this point, |st->num_alloc| and |st->num| ar
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/rsa/
H A Drsa_pk1.c46 int num)
60 if (num < RSA_PKCS1_PADDING_SIZE)
64 if (num == flen) {
73 if ((num != (flen + 1)) || (*(p++) != 0x01)) {
156 int num)
159 /* |em| is the encoded message, zero-padded to exactly |num| bytes */
172 if (flen > num || num < RSA_PKCS1_PADDING_SIZE) {
178 em = OPENSSL_malloc(num);
189 for (from += flen, em += num,
44 RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
154 RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
[all...]
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/
H A Dstrerror.c51 isc__strerror(int num, char *buf, size_t size) { argument
54 unsigned int unum = (unsigned int)num;
62 msg = strerror(num);
69 unsigned int unum = (unsigned int)num;
73 if (num >= 0 && num < sys_nerr)
74 snprintf(buf, size, "%s", sys_errlist[num]);
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Daverage.c8 #define num 10 macro
10 static int my_list[num] = {3,4,2,0,2,1,8,3,6,7};
26 last = num-1;
/netbsd-current/tests/usr.bin/find/
H A Dt_find.sh65 num=$(jot -r 1 0 99)
66 atf_check -o ignore -e ignore -s exit:$num -x "find / -exit $num"
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Daverage.c8 #define num 10 macro
10 static int my_list[num] = {3,4,2,0,2,1,8,3,6,7};
26 last = num-1;
/netbsd-current/external/bsd/bc/dist/
H A Dnumber.h96 void bc_free_num (bc_num *num);
98 bc_num bc_copy_num (bc_num num);
100 void bc_init_num (bc_num *num);
102 void bc_str2num (bc_num *num, char *str, int scale);
104 char *bc_num2str (bc_num num);
106 void bc_int2num (bc_num *num, int val);
108 long bc_num2long (bc_num num);
112 char bc_is_zero (bc_num num);
114 char bc_is_near_zero (bc_num num, int scale);
116 char bc_is_neg (bc_num num);
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/
H A Dmem.c177 void *CRYPTO_malloc(size_t num, const char *file, int line) argument
181 return malloc_impl(num, file, line);
183 if (num == 0)
196 return malloc(num);
199 void *CRYPTO_zalloc(size_t num, const char *file, int line) argument
203 ret = CRYPTO_malloc(num, file, line);
205 memset(ret, 0, num);
210 void *CRYPTO_realloc(void *str, size_t num, const char *file, int line) argument
214 return realloc_impl(str, num, file, line);
217 return CRYPTO_malloc(num, fil
228 CRYPTO_clear_realloc(void *str, size_t old_len, size_t num, const char *file, int line) argument
266 CRYPTO_clear_free(void *str, size_t num, const char *file, int line) argument
301 CRYPTO_mem_debug_malloc(void *addr, size_t num, int flag, const char *file, int line) argument
307 CRYPTO_mem_debug_realloc(void *addr1, void *addr2, size_t num, int flag, const char *file, int line) argument
[all...]
/netbsd-current/crypto/external/bsd/netpgp/dist/src/libbn/
H A Drand.c45 RAND_bytes(unsigned char *buf, int num) argument
51 if (buf == NULL || num < 0) {
54 for (i = 0 ; i < num ; i += sizeof(r)) {
56 cc = MIN(sizeof(r), (size_t)(num - i));
/netbsd-current/games/hack/
H A Dhack.search.c75 int num; local
83 for (lx = u.ux; (num = levl[lx - 1][u.uy].typ) && num != CORR; lx--);
84 for (hx = u.ux; (num = levl[hx + 1][u.uy].typ) && num != CORR; hx++);
85 for (ly = u.uy; (num = levl[u.ux][ly - 1].typ) && num != CORR; ly--);
86 for (hy = u.uy; (num = levl[u.ux][hy + 1].typ) && num != CORR; hy++);
87 num
[all...]
/netbsd-current/games/monop/
H A Dcards.c240 int num; local
251 num = atoi(thiscard->actioncode+2);
259 play[i].money -= num;
260 num = num * (num_play - 1);
262 cur_p->money += num;
268 play[i].money += num;
269 num = num * (num_play - 1);
271 cur_p->money -= num;
[all...]
/netbsd-current/external/cddl/osnet/sys/kern/
H A Dstring.c82 numtos(unsigned long num, char *s) argument
89 *cp++ = "0123456789"[num % 10];
90 num /= 10;
91 } while (num);
/netbsd-current/lib/libc/string/
H A Dstrerror.c53 strerror(int num)
56 return strerror_l(num, _current_locale());
72 strerror_l(int num, locale_t loc) argument
94 error = _strerror_lr(num, buf, NL_TEXTMAX, loc);
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/include/isc/
H A Dstrerror.h43 isc__strerror(int num, char *buf, size_t bufsize);
/netbsd-current/external/bsd/ntp/dist/lib/isc/win32/include/isc/
H A Dstrerror.h40 isc__strerror(int num, char *buf, size_t bufsize);
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_oneport.tdir/
H A Dfwd_oneport.conf3 num-threads: 1
13 num-queries-per-thread: 1024
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/
H A Dudivmod.c24 extern unsigned long __udivmodsi4(unsigned long num, unsigned long den,
H A Dudivhi3.c24 extern unsigned short __udivmodhi4(unsigned short num, unsigned short den,
/netbsd-current/external/gpl3/gdb.old/dist/sim/igen/
H A Dmisc.c96 unsigned long long num = 0; local
144 num = (num * 2) + (ch - '0');
155 num = (num * 10) + (ch - '0');
166 num = (num * 8) + (ch - '0');
177 num = (num * 16) + (ch - '0');
181 num
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Drsa_test.c246 int num; local
253 num = RSA_public_encrypt(plen, ptext_ex, ctext, key, en_pad_type);
254 if (!TEST_int_eq(num, clentmp))
257 num = RSA_private_decrypt(num, ctext, ptext, key, de_pad_type);
259 if (!TEST_int_gt(num, 0) || !TEST_mem_eq(ptext, num, ptext_ex, plen))
262 if (!TEST_int_lt(num, 0))
313 int num; local
323 num
[all...]

Completed in 400 milliseconds

1234567891011>>