| /src/bin/sh/ |
| machdep.h | 47 #define SHELL_ALIGN(nbytes) (((nbytes) + SHELL_SIZE) & ~SHELL_SIZE)
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| swab.c | 42 swab (char *from, char *to, int nbytes) 44 while(nbytes >= 2) { 49 nbytes -= 2;
|
| net_write.c | 49 net_write (rk_socket_t fd, const void *buf, size_t nbytes) 53 size_t rem = nbytes; 65 return nbytes - rem; 73 return nbytes; 79 net_write(rk_socket_t sock, const void *buf, size_t nbytes) 83 size_t rem = nbytes; 112 return nbytes - rem; 121 return nbytes - rem; 130 return nbytes;
|
| eread.c | 45 eread (int fd, void *buf, size_t nbytes) 49 ret = net_read (fd, buf, nbytes);
|
| ewrite.c | 45 ewrite (int fd, const void *buf, size_t nbytes) 49 ret = net_write (fd, buf, nbytes);
|
| /src/external/bsd/libuuid_ul/lib/libuuid_ul/ |
| randutils.h | 37 random_get_bytes(void *buf, size_t nbytes) 39 arc4random_buf(buf, nbytes);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| interrupt.c | 21 int nbytes; local 31 nbytes = read (0, &x, 1); 32 if (nbytes < 0) 42 else if (nbytes == 0)
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| interrupt.c | 21 int nbytes; local 31 nbytes = read (0, &x, 1); 32 if (nbytes < 0) 42 else if (nbytes == 0)
|
| /src/lib/libc/arch/mips/gen/ |
| cacheflush.c | 37 _cacheflush(void *addr, size_t nbytes, int whichcache) 42 cfa.nbytes = nbytes;
|
| /src/sys/crypto/aes/arch/arm/ |
| aes_armv8.c | 126 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 130 KASSERT(nbytes % 16 == 0); 133 aesarmv8_cbc_enc(enc, in, out, nbytes, iv, nrounds); 139 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 143 KASSERT(nbytes % 16 == 0); 147 if (nbytes % 128) { 148 aesarmv8_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds); 149 in += nbytes % 128; 150 out += nbytes % 128; 151 nbytes -= nbytes % 128 [all...] |
| aes_neon_subr.c | 83 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 88 KASSERT(nbytes); 91 for (; nbytes; nbytes -= 16, in += 16, out += 16) { 101 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 106 KASSERT(nbytes); 107 KASSERT(nbytes % 16 == 0); 110 cv = loadblock(in + nbytes - 16); 113 if (nbytes % 32) { 114 KASSERT(nbytes % 32 == 16) [all...] |
| /src/sys/crypto/aes/arch/x86/ |
| aes_ni.c | 124 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 128 KASSERT(nbytes % 16 == 0); 131 aesni_cbc_enc(enc, in, out, nbytes, iv, nrounds); 137 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 141 KASSERT(nbytes % 16 == 0); 145 if (nbytes % 128) { 146 aesni_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds); 147 in += nbytes % 128; 148 out += nbytes % 128; 149 nbytes -= nbytes % 128 [all...] |
| aes_sse2_4x32_impl.c | 99 size_t nbytes, uint8_t iv[static 16], uint32_t nrounds) 102 if (nbytes == 0) 105 aes_sse2_4x32_cbc_enc(enc, in, out, nbytes, iv, nrounds); 112 size_t nbytes, uint8_t iv[static 16], uint32_t nrounds) 115 if (nbytes == 0) 118 aes_sse2_4x32_cbc_dec(dec, in, out, nbytes, iv, nrounds); 125 size_t nbytes, uint8_t tweak[static 16], uint32_t nrounds) 128 if (nbytes == 0) 131 aes_sse2_4x32_xts_enc(enc, in, out, nbytes, tweak, nrounds); 138 size_t nbytes, uint8_t tweak[static 16], uint32_t nrounds [all...] |
| aes_ssse3_impl.c | 89 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 93 if (nbytes == 0) 96 aes_ssse3_cbc_enc(enc, in, out, nbytes, iv, nrounds); 102 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 106 if (nbytes == 0) 109 aes_ssse3_cbc_dec(dec, in, out, nbytes, iv, nrounds); 115 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 119 if (nbytes == 0) 122 aes_ssse3_xts_enc(enc, in, out, nbytes, iv, nrounds); 128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16] [all...] |
| aes_ssse3_subr.c | 80 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 85 KASSERT(nbytes); 88 for (; nbytes; nbytes -= 16, in += 16, out += 16) { 98 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16], 103 KASSERT(nbytes); 104 KASSERT(nbytes % 16 == 0); 107 cv = loadblock(in + nbytes - 16); 112 if ((nbytes -= 16) == 0) 114 cv = loadblock(in + nbytes - 16) [all...] |
| aes_sse2_4x32_subr.h | 49 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t); 51 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t); 53 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t); 55 uint8_t[static 16], size_t nbytes, uint8_t[static 16], uint32_t);
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| entropy.c | 43 * lutil_entropy() provides nbytes of entropy in buf. 54 int lutil_entropy( unsigned char *buf, ber_len_t nbytes ) 56 if( nbytes == 0 ) return 0; 69 rc = read( fd, buf, nbytes ); 73 nbytes-=rc; 76 } while( nbytes > 0 ); 79 return nbytes > 0 ? -1 : 0; 92 if(!CryptGenRandom(hProv, (DWORD) nbytes, (BYTE *) buf)) { 143 for( n = 0; n < nbytes; n += 16 ) { 163 lutil_MD5Update( &ctx, buf, nbytes ); [all...] |
| /src/sys/arch/mips/include/ |
| sysarch.h | 39 size_t nbytes; member in struct:mips_cacheflush_args 45 size_t nbytes; member in struct:mips_cachectl_args
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_random.h | 7 int ntp_crypto_random_buf(void *buf, size_t nbytes);
|
| /src/usr.bin/hexdump/ |
| odsyntax.c | 60 int nbytes; member in struct:odformat 224 int nbytes = 0; local 232 nbytes = 1; 238 nbytes = sizeof(float); 241 nbytes = sizeof(double); 244 nbytes = sizeof(long double); 253 nbytes = strtol(type_string, &tmp, 10); 256 nbytes = 8; 265 nbytes = sizeof(char); 268 nbytes = sizeof(short) [all...] |
| /src/lib/libc/string/ |
| swab.c | 39 swab(const void *__restrict src, void *__restrict dst, ssize_t nbytes) 48 if (nbytes <= 1) 52 * Round nbytes/2 down; we ignore the last byte altogether if 53 * nbytes is odd. This way, if the destination array is 57 for (n = nbytes/2; n --> 0; p += 2, q += 2) {
|
| /src/sys/external/bsd/drm2/include/linux/ |
| kfifo.h | 75 _init_kfifo(struct kfifo_meta *meta, size_t nbytes) 81 meta->kfm_nbytes = nbytes; 97 _kfifo_alloc(struct kfifo_meta *meta, void *bufp, size_t nbytes, gfp_t gfp) 101 buf = kmalloc(nbytes, gfp); 108 _init_kfifo(meta, nbytes); 139 const size_t nbytes = meta->kfm_nbytes; local 141 return (head <= tail ? tail - head : nbytes + tail - head); 157 const size_t nbytes = meta->kfm_nbytes; local 164 if (size <= nbytes - head) { 167 } else if (size <= nbytes + tail - head) 192 const size_t nbytes = meta->kfm_nbytes; local 230 const size_t nbytes = meta->kfm_nbytes; local [all...] |
| /src/external/gpl2/groff/dist/src/libs/libbib/ |
| map.c | 43 char *mapread(int fd, int nbytes) 45 char *p = (char *)mmap((void *)0, (size_t)nbytes, PROT_READ, 72 char *mapread(int fd, int nbytes)
|
| /src/sbin/nvmectl/ |
| humanize_bignum.c | 107 BIGNUM *nbytes = NULL, *max = NULL; local 113 if ((nbytes = BN_dup(bytes)) == NULL) 149 if (BN_is_negative(nbytes)) { 152 BN_set_negative(nbytes, 0); 159 BN_mul(t1, nbytes, BN_value_100(), NULL); 160 BN_swap(nbytes, t1); 195 for (i = 0; BN_cmp(nbytes, max) >= 0 && i < maxscale; i++) { 196 if (BN_div(t1, t2, nbytes, divisor, NULL) == 0) 198 BN_swap(nbytes, t1); 209 if (BN_div(t1, t2, nbytes, divisor, NULL) == 0 [all...] |
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_random_private.h | 34 int archive_random(void *buf, size_t nbytes);
|