| /NextBSD/cddl/contrib/dtracetoolkit/Examples/ |
| HD | py_malloc_example.txt | 4 allocation, and to print distribution plots of the requested bytes. Here you 15 libpython2.4.so.1.0`_PyUnicode_New, total bytes = 2 21 libpython2.4.so.1.0`find_key, total bytes = 16 27 libpython2.4.so.1.0`PyInterpreterState_New, total bytes = 36 33 libpython2.4.so.1.0`_PyImport_Init, total bytes = 60 39 libpython2.4.so.1.0`PyThreadState_New, total bytes = 84 45 libpython2.4.so.1.0`pmerge, total bytes = 132 52 libpython2.4.so.1.0`PyThread_allocate_lock, total bytes = 144 58 libpython2.4.so.1.0`convertsimple, total bytes = 210 64 libc.so.1`strdup, total bytes = 451 [all …]
|
| /NextBSD/lib/libstand/ |
| HD | zalloc.c | 89 znalloc(MemPool *mp, uintptr_t bytes) in znalloc() argument 96 bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK; in znalloc() 98 if (bytes == 0) in znalloc() 106 if (bytes <= mp->mp_Size - mp->mp_Used) { in znalloc() 111 if (bytes > mn->mr_Bytes) in znalloc() 122 if (mn->mr_Bytes == bytes) { in znalloc() 125 mn = (MemNode *)((char *)mn + bytes); in znalloc() 127 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes; in znalloc() 130 mp->mp_Used += bytes; in znalloc() 148 zfree(MemPool *mp, void *ptr, uintptr_t bytes) in zfree() argument [all …]
|
| HD | zalloc_malloc.c | 54 Malloc(size_t bytes, const char *file, int line) in Malloc() argument 59 bytes += MALLOCALIGN + 1; in Malloc() 61 bytes += MALLOCALIGN; in Malloc() 64 while ((res = znalloc(&MallocPool, bytes)) == NULL) { in Malloc() 65 int incr = (bytes + BLKEXTENDMASK) & ~BLKEXTENDMASK; in Malloc() 80 res->ga_Bytes = bytes; in Malloc() 82 *((signed char *)res + bytes - 1) = -2; in Malloc() 91 size_t bytes; in Free() local 117 bytes = res->ga_Bytes; in Free() 118 zfree(&MallocPool, res, bytes); in Free() [all …]
|
| /NextBSD/crypto/openssh/ |
| HD | hash.c | 35 unsigned long long bytes = inlen; in crypto_hash_sha512() local 49 padded[119] = bytes >> 61; in crypto_hash_sha512() 50 padded[120] = bytes >> 53; in crypto_hash_sha512() 51 padded[121] = bytes >> 45; in crypto_hash_sha512() 52 padded[122] = bytes >> 37; in crypto_hash_sha512() 53 padded[123] = bytes >> 29; in crypto_hash_sha512() 54 padded[124] = bytes >> 21; in crypto_hash_sha512() 55 padded[125] = bytes >> 13; in crypto_hash_sha512() 56 padded[126] = bytes >> 5; in crypto_hash_sha512() 57 padded[127] = bytes << 3; in crypto_hash_sha512() [all …]
|
| HD | bufbn.c | 102 u_int bits, bytes; in buffer_get_bignum_ret() local 117 bytes = (bits + 7) / 8; in buffer_get_bignum_ret() 118 if (bytes > 8 * 1024) { in buffer_get_bignum_ret() 119 error("buffer_get_bignum_ret: cannot handle BN of size %d", bytes); in buffer_get_bignum_ret() 122 if (buffer_len(buffer) < bytes) { in buffer_get_bignum_ret() 127 if (BN_bin2bn(bin, bytes, value) == NULL) { in buffer_get_bignum_ret() 131 if (buffer_consume_ret(buffer, bytes) == -1) { in buffer_get_bignum_ret() 151 u_int bytes; in buffer_put_bignum2_ret() local 164 bytes = BN_num_bytes(value) + 1; /* extra padding byte */ in buffer_put_bignum2_ret() 165 if (bytes < 2) { in buffer_put_bignum2_ret() [all …]
|
| HD | progressmeter.c | 88 format_rate(char *buf, int size, off_t bytes) in format_rate() argument 92 bytes *= 100; in format_rate() 93 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++) in format_rate() 94 bytes = (bytes + 512) / 1024; in format_rate() 97 bytes = (bytes + 512) / 1024; in format_rate() 100 (long long) (bytes + 5) / 100, in format_rate() 101 (long long) (bytes + 5) / 10 % 10, in format_rate() 107 format_size(char *buf, int size, off_t bytes) in format_size() argument 111 for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++) in format_size() 112 bytes = (bytes + 512) / 1024; in format_size() [all …]
|
| /NextBSD/sys/amd64/pci/ |
| HD | pci_cfgreg.c | 52 int bytes); 54 unsigned reg, unsigned bytes); 56 unsigned reg, int data, unsigned bytes); 57 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes); 58 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes); 122 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() argument 128 return (pciereg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread() 130 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread() 137 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() argument 149 if (reg == PCIR_INTLINE && bytes == 1) { in pci_cfgregread() [all …]
|
| /NextBSD/tools/tools/crypto/ |
| HD | README | 19 0.129 sec, 2048 des crypts, 8 bytes, 127120 byte/sec, 1.0 Mb/sec 20 0.129 sec, 2048 des crypts, 16 bytes, 253915 byte/sec, 1.9 Mb/sec 21 0.129 sec, 2048 des crypts, 32 bytes, 508942 byte/sec, 3.9 Mb/sec 22 0.128 sec, 2048 des crypts, 64 bytes, 1020135 byte/sec, 7.8 Mb/sec 23 0.134 sec, 2048 des crypts, 128 bytes, 1954869 byte/sec, 14.9 Mb/sec 24 0.142 sec, 2048 des crypts, 256 bytes, 3698107 byte/sec, 28.2 Mb/sec 25 0.190 sec, 2048 des crypts, 1024 bytes, 11037700 byte/sec, 84.2 Mb/sec 26 0.264 sec, 2048 des crypts, 2048 bytes, 15891127 byte/sec, 121.2 Mb/sec 27 0.403 sec, 2048 des crypts, 4096 bytes, 20828998 byte/sec, 158.9 Mb/sec 28 0.687 sec, 2048 des crypts, 8192 bytes, 24426602 byte/sec, 186.4 Mb/sec [all …]
|
| /NextBSD/crypto/openssl/doc/ |
| HD | standards.txt | 31 (Format: TXT=25661 bytes) (Status: INFORMATIONAL) 34 TXT=32407 bytes) (Status: INFORMATIONAL) 37 TXT=35222 bytes) (Status: INFORMATIONAL) 40 (Format: TXT=170401 bytes) (Status: PROPOSED STANDARD) 43 January 1998. (Format: TXT=19048 bytes) (Status: INFORMATIONAL) 46 March 1998. (Format: TXT=69679 bytes) (Status: INFORMATIONAL) 54 C. Adams. June 1999. (Format: TXT=43243 bytes) (Status: PROPOSED 58 (TLS). A. Medvinsky, M. Hur. October 1999. (Format: TXT=13763 bytes) 62 B. Kaliski. September 2000. (Format: TXT=68692 bytes) (Status: 66 M. Nystrom, B. Kaliski. November 2000. (Format: TXT=27794 bytes) [all …]
|
| /NextBSD/contrib/gcclibs/libdecnumber/ |
| HD | decimal128.c | 117 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), 0); in decimal128FromNumber() 124 d128->bytes[0] = top; in decimal128FromNumber() 144 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber() 162 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), pad); in decimal128FromNumber() 165 msd = ((unsigned) d128->bytes[1] << 2) & 0x0c; /* top 2 bits */ in decimal128FromNumber() 166 msd |= ((unsigned) d128->bytes[2] >> 6); /* low 2 bits */ in decimal128FromNumber() 167 d128->bytes[1] &= 0xfc; in decimal128FromNumber() 168 d128->bytes[2] &= 0x3f; in decimal128FromNumber() 175 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber() 200 uInt top = d128->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal128ToNumber() [all …]
|
| HD | decimal32.c | 117 decDensePackCoeff (dn, d32->bytes, sizeof (d32->bytes), 0); in decimal32FromNumber() 124 d32->bytes[0] = top; in decimal32FromNumber() 144 d32->bytes[0] = (uByte) (comb << 2); in decimal32FromNumber() 162 decDensePackCoeff (dn, d32->bytes, sizeof (d32->bytes), pad); in decimal32FromNumber() 165 msd = ((unsigned) d32->bytes[1] >> 4); in decimal32FromNumber() 166 d32->bytes[1] &= 0x0f; in decimal32FromNumber() 172 d32->bytes[0] = (uByte) (comb << 2); in decimal32FromNumber() 197 uInt top = d32->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal32ToNumber() 241 wk.bytes[0] = 0; /* clear all but coecon */ in decimal32ToNumber() 242 wk.bytes[1] &= 0x0f; /* .. */ in decimal32ToNumber() [all …]
|
| HD | decimal64.c | 117 decDensePackCoeff (dn, d64->bytes, sizeof (d64->bytes), 0); in decimal64FromNumber() 124 d64->bytes[0] = top; in decimal64FromNumber() 144 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber() 161 decDensePackCoeff (dn, d64->bytes, sizeof (d64->bytes), pad); in decimal64FromNumber() 164 msd = ((unsigned) d64->bytes[1] >> 2) & 0x0f; in decimal64FromNumber() 165 d64->bytes[1] &= 0x03; in decimal64FromNumber() 171 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber() 196 uInt top = d64->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal64ToNumber() 240 wk.bytes[0] = 0; /* clear all but coecon */ in decimal64ToNumber() 241 wk.bytes[1] &= 0x03; /* .. */ in decimal64ToNumber() [all …]
|
| HD | decimal128.h | 65 uint8_t bytes[DECIMAL128_Bytes]; /* decimal128: 1, 5, 12, 110 bits */ member 79 #define decimal128Sign(d) ((unsigned)(d)->bytes[0]>>7) 82 #define decimal128Comb(d) (((d)->bytes[0] & 0x7c)>>2) 85 #define decimal128ExpCon(d) ((((d)->bytes[0] & 0x03)<<10) \ 86 | ((unsigned)(d)->bytes[1]<<2) \ 87 | ((unsigned)(d)->bytes[2]>>6)) 91 (d)->bytes[0]|=((unsigned)(b)<<7);} 97 (d)->bytes[0]|=(uint8_t)((e)>>10); \ 98 (d)->bytes[1] =(uint8_t)(((e)&0x3fc)>>2); \ 99 (d)->bytes[2]|=(uint8_t)(((e)&0x03)<<6);}
|
| /NextBSD/contrib/netbsd-tests/ipf/expected/ |
| HD | f29 | 27 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 28 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0 33 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 34 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0 39 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 40 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0 45 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 46 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
| /NextBSD/usr.sbin/bhyve/ |
| HD | inout.c | 66 default_inout(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in default_inout() argument 70 switch (bytes) { in default_inout() 106 int addrsize, bytes, flags, in, port, prot, rep; in emulate_inout() local 116 bytes = vmexit->u.inout.bytes; in emulate_inout() 121 assert(bytes == 1 || bytes == 2 || bytes == 4); in emulate_inout() 159 vis->seg_name, &vis->seg_desc, index, bytes, in emulate_inout() 166 bytes, prot, iov, nitems(iov), &fault); in emulate_inout() 175 if (vie_alignment_check(vis->paging.cpl, bytes, in emulate_inout() 183 vm_copyin(ctx, vcpu, iov, &val, bytes); in emulate_inout() 185 retval = handler(ctx, vcpu, in, port, bytes, &val, arg); in emulate_inout() [all …]
|
| /NextBSD/sys/i386/pci/ |
| HD | pci_cfgreg.c | 93 int bytes); 94 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes); 95 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes); 98 unsigned reg, unsigned bytes); 100 unsigned reg, int data, unsigned bytes); 201 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() argument 207 return (pciereg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread() 209 return (pcireg_cfgread(bus, slot, func, reg, bytes)); in pci_docfgregread() 216 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() argument 225 if (reg == PCIR_INTLINE && bytes == 1) { in pci_cfgregread() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/ |
| HD | Value.h | 60 uint8_t bytes[kMaxByteSize]; member 76 SetBytes(vector.bytes, vector.length, vector.byte_order); 87 SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order) in SetBytes() 92 ::memcpy(this->bytes, bytes, length < kMaxByteSize ? length : kMaxByteSize); in SetBytes() 110 if (length == 1) scalar = *(const uint8_t *)bytes; in GetAsScalar() 111 else if (length == 2) scalar = *(const uint16_t *)bytes; in GetAsScalar() 112 else if (length == 4) scalar = *(const uint32_t *)bytes; in GetAsScalar() 113 else if (length == 8) scalar = *(const uint64_t *)bytes; in GetAsScalar() 115 else if (length >= 16) scalar = *(const __uint128_t *)bytes; in GetAsScalar() 117 else if (length >= 16) scalar = *(const uint64_t *)bytes; in GetAsScalar() [all …]
|
| /NextBSD/lib/libefi/ |
| HD | libefi.c | 106 int c, bytes; in libefi_utf8_to_ucs2() local 112 bytes = 0; in libefi_utf8_to_ucs2() 121 if (bytes != 0) { in libefi_utf8_to_ucs2() 127 bytes = 3; in libefi_utf8_to_ucs2() 130 bytes = 2; in libefi_utf8_to_ucs2() 133 bytes = 1; in libefi_utf8_to_ucs2() 136 bytes = 0; in libefi_utf8_to_ucs2() 140 if (bytes > 0) { in libefi_utf8_to_ucs2() 142 bytes--; in libefi_utf8_to_ucs2() 143 } else if (bytes == 0) { in libefi_utf8_to_ucs2() [all …]
|
| /NextBSD/contrib/libxo/tests/gettext/saved/ |
| HD | gt_01.X.out | 1 …ymay</owner><target>ouchcay</target><bytes>0</bytes><bytes>1</bytes><bytes>2</bytes><bytes>3</byte…
|
| HD | gt_01.XP.out | 12 <bytes>0</bytes> 13 <bytes>1</bytes> 14 <bytes>2</bytes> 15 <bytes>3</bytes> 16 <bytes>4</bytes>
|
| /NextBSD/contrib/apr/random/unix/ |
| HD | apr_random.c | 43 unsigned int bytes; member 122 g->pools[n].bytes = g->pools[n].pool_size = 0; in apr_random_init() 206 hash_add(g->key_hash,g->pools[n].pool,g->pools[n].bytes); in rekey() 207 g->pools[n].bytes = 0; in rekey() 227 apr_size_t bytes) in apr_random_add_entropy() argument 232 for (n = 0; n < bytes; ++n) { in apr_random_add_entropy() 238 if (p->pool_size < p->bytes+1) { in apr_random_add_entropy() 239 unsigned char *np = apr_palloc(g->apr_pool,(p->bytes+1)*2); in apr_random_add_entropy() 241 memcpy(np,p->pool,p->bytes); in apr_random_add_entropy() 243 p->pool_size = (p->bytes+1)*2; in apr_random_add_entropy() [all …]
|
| /NextBSD/crypto/openssl/crypto/cms/ |
| HD | cms_att.c | 99 const void *bytes, int len) in CMS_signed_add1_attr_by_OBJ() argument 101 if (X509at_add1_attr_by_OBJ(&si->signedAttrs, obj, type, bytes, len)) in CMS_signed_add1_attr_by_OBJ() 107 int nid, int type, const void *bytes, int len) in CMS_signed_add1_attr_by_NID() argument 109 if (X509at_add1_attr_by_NID(&si->signedAttrs, nid, type, bytes, len)) in CMS_signed_add1_attr_by_NID() 116 const void *bytes, int len) in CMS_signed_add1_attr_by_txt() argument 118 if (X509at_add1_attr_by_txt(&si->signedAttrs, attrname, type, bytes, len)) in CMS_signed_add1_attr_by_txt() 165 const void *bytes, int len) in CMS_unsigned_add1_attr_by_OBJ() argument 167 if (X509at_add1_attr_by_OBJ(&si->unsignedAttrs, obj, type, bytes, len)) in CMS_unsigned_add1_attr_by_OBJ() 174 const void *bytes, int len) in CMS_unsigned_add1_attr_by_NID() argument 176 if (X509at_add1_attr_by_NID(&si->unsignedAttrs, nid, type, bytes, len)) in CMS_unsigned_add1_attr_by_NID() [all …]
|
| /NextBSD/contrib/gcc/ |
| HD | dfp.c | 160 buf[0] = *(uint32_t *) d32.bytes; in encode_decimal32() 162 buf[0] = dfp_byte_swap (*(uint32_t *) d32.bytes); in encode_decimal32() 179 *((uint32_t *) d32.bytes) = (uint32_t) buf[0]; in decode_decimal32() 181 *((uint32_t *) d32.bytes) = dfp_byte_swap ((uint32_t) buf[0]); in decode_decimal32() 205 buf[0] = *(uint32_t *) &d64.bytes[0]; in encode_decimal64() 206 buf[1] = *(uint32_t *) &d64.bytes[4]; in encode_decimal64() 210 buf[1] = dfp_byte_swap (*(uint32_t *) &d64.bytes[0]); in encode_decimal64() 211 buf[0] = dfp_byte_swap (*(uint32_t *) &d64.bytes[4]); in encode_decimal64() 230 *((uint32_t *) &d64.bytes[0]) = (uint32_t) buf[0]; in decode_decimal64() 231 *((uint32_t *) &d64.bytes[4]) = (uint32_t) buf[1]; in decode_decimal64() [all …]
|
| /NextBSD/lib/libc/isc/ |
| HD | ev_streams.c | 48 static void consume(evStream *str, size_t bytes); 232 consume(evStream *str, size_t bytes) { in consume() argument 233 while (bytes > 0U) { in consume() 234 if (bytes < (size_t)str->iovCur->iov_len) { in consume() 235 str->iovCur->iov_len -= bytes; in consume() 237 ((u_char *)str->iovCur->iov_base + bytes); in consume() 238 str->ioDone += bytes; in consume() 239 bytes = 0; in consume() 241 bytes -= str->iovCur->iov_len; in consume() 271 int bytes; in writable() local [all …]
|
| /NextBSD/contrib/pam_modules/pam_passwdqc/ |
| HD | passwdqc_random.c | 44 unsigned char bytes[2]; in _passwdqc_random() local 60 if (read_loop(fd, bytes, sizeof(bytes)) != sizeof(bytes)) { in _passwdqc_random() 65 i = (((int)bytes[1] & 0x0f) << 8) | (int)bytes[0]; in _passwdqc_random() 78 i = ((int)bytes[1] & 0x70) >> 4; in _passwdqc_random() 86 memset(bytes, 0, sizeof(bytes)); in _passwdqc_random()
|