/freebsd-11-stable/contrib/libreadline/ |
H A D | xmalloc.c | 52 to hold BYTES number of bytes. If the memory cannot be allocated, 55 xmalloc (bytes) 56 size_t bytes; 60 temp = malloc (bytes); 67 xrealloc (pointer, bytes) 69 size_t bytes; 73 temp = pointer ? realloc (pointer, bytes) : malloc (bytes);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | hash.c | 35 unsigned long long bytes = inlen; local 49 padded[119] = bytes >> 61; 50 padded[120] = bytes >> 53; 51 padded[121] = bytes >> 45; 52 padded[122] = bytes >> 37; 53 padded[123] = bytes >> 29; 54 padded[124] = bytes >> 21; 55 padded[125] = bytes >> 13; 56 padded[126] = bytes >> 5; 57 padded[127] = bytes << [all...] |
H A D | buffer.c | 81 buffer_consume_ret(Buffer *buffer, u_int bytes) argument 83 int ret = sshbuf_consume(buffer, bytes); 93 buffer_consume(Buffer *buffer, u_int bytes) argument 95 if (buffer_consume_ret(buffer, bytes) == -1) 100 buffer_consume_end_ret(Buffer *buffer, u_int bytes) argument 102 int ret = sshbuf_consume_end(buffer, bytes); 112 buffer_consume_end(Buffer *buffer, u_int bytes) argument 114 if (buffer_consume_end_ret(buffer, bytes) == -1)
|
/freebsd-11-stable/stand/libsa/ |
H A D | zalloc_protos.h | 32 Library void *znalloc(struct MemPool *mpool, uintptr_t bytes); 33 Library void zfree(struct MemPool *mpool, void *ptr, uintptr_t bytes); 34 Library void zextendPool(MemPool *mp, void *base, uintptr_t bytes);
|
H A D | zalloc.c | 68 * Allocation and frees of 0 bytes are valid operations. 89 znalloc(MemPool *mp, uintptr_t bytes) argument 96 bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK; 98 if (bytes == 0) 106 if (bytes <= mp->mp_Size - mp->mp_Used) { 111 if (bytes > mn->mr_Bytes) 122 if (mn->mr_Bytes == bytes) { 125 mn = (MemNode *)((char *)mn + bytes); 127 mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes; 148 zfree(MemPool *mp, void *ptr, uintptr_t bytes) argument 257 zextendPool(MemPool *mp, void *base, uintptr_t bytes) argument [all...] |
H A D | zalloc_malloc.c | 54 Malloc(size_t bytes, const char *file, int line) argument 59 bytes += MALLOCALIGN + 1; 61 bytes += MALLOCALIGN; 64 while ((res = znalloc(&MallocPool, bytes)) == NULL) { 65 int incr = (bytes + BLKEXTENDMASK) & ~BLKEXTENDMASK; 80 res->ga_Bytes = bytes; 82 *((signed char *)res + bytes - 1) = -2; 91 size_t bytes; local 117 bytes = res->ga_Bytes; 118 zfree(&MallocPool, res, bytes); 129 uintptr_t bytes = (uintptr_t)n1 * (uintptr_t)n2; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBSymbolCustom.cpp | 20 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) { argument 21 RawSymbol->getDataBytes(bytes);
|
/freebsd-11-stable/contrib/gcclibs/libdecnumber/ |
H A D | decimal128.h | 62 /* Decimal 128-bit type, accessible by bytes */ 65 uint8_t bytes[DECIMAL128_Bytes]; /* decimal128: 1, 5, 12, 110 bits */ member in struct:__anon1446 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[ [all...] |
H A D | decimal32.h | 54 /* Decimal 32-bit type, accessible by bytes */ 57 uint8_t bytes[DECIMAL32_Bytes]; /* decimal32: 1, 5, 6, 20 bits */ member in struct:__anon1447 71 #define decimal32Sign(d) ((unsigned)(d)->bytes[0]>>7) 74 #define decimal32Comb(d) (((d)->bytes[0] & 0x7c)>>2) 77 #define decimal32ExpCon(d) ((((d)->bytes[0] & 0x03)<<4) \ 78 | ((unsigned)(d)->bytes[1]>>4)) 82 (d)->bytes[0]|=((unsigned)(b)<<7);} 88 (d)->bytes[0]|=(uint8_t)((e)>>4); \ 89 (d)->bytes[1]|=(uint8_t)(((e)&0x0F)<<4);}
|
H A D | decimal64.h | 58 /* Decimal 64-bit type, accessible by bytes */ 61 uint8_t bytes[DECIMAL64_Bytes]; /* decimal64: 1, 5, 8, 50 bits */ member in struct:__anon1448 75 #define decimal64Sign(d) ((unsigned)(d)->bytes[0]>>7) 78 #define decimal64Comb(d) (((d)->bytes[0] & 0x7c)>>2) 81 #define decimal64ExpCon(d) ((((d)->bytes[0] & 0x03)<<6) \ 82 | ((unsigned)(d)->bytes[1]>>2)) 86 (d)->bytes[0]|=((unsigned)(b)<<7);} 92 (d)->bytes[0]|=(uint8_t)((e)>>6); \ 93 (d)->bytes[1]|=(uint8_t)(((e)&0x3F)<<2);}
|
/freebsd-11-stable/contrib/ldns/compat/ |
H A D | calloc.c | 11 # define bzero(buf, bytes) ((void) memset (buf, 0, bytes))
|
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | vatpit.h | 42 int vatpit_handler(struct vm *vm, int vcpuid, bool in, int port, int bytes, 45 int bytes, uint32_t *eax);
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | post.c | 42 post_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, argument 47 if (bytes != 1)
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Endian.h | 22 uint8_t bytes[sizeof(uint32_t)]; member in union:lldb_private::endian::EndianTest 26 return static_cast<lldb::ByteOrder>(endianTest.bytes[0]); 29 // ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];
|
H A D | UUID.h | 26 /// Creates a UUID from the data pointed to by the bytes argument. No special 28 static UUID fromData(const void *bytes, uint32_t num_bytes) { argument 29 if (bytes) 30 return fromData({reinterpret_cast<const uint8_t *>(bytes), num_bytes}); 34 /// Creates a uuid from the data pointed to by the bytes argument. No special 36 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } argument 38 /// Creates a UUID from the data pointed to by the bytes argument. Data 39 /// consisting purely of zero bytes is treated as an invalid UUID. 40 static UUID fromOptionalData(const void *bytes, uint32_ argument 49 fromOptionalData(llvm::ArrayRef<uint8_t> bytes) argument 95 UUID(llvm::ArrayRef<uint8_t> bytes) argument [all...] |
/freebsd-11-stable/sys/amd64/pci/ |
H A D | 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); 117 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument 123 return (pciereg_cfgread(bus, slot, func, reg, bytes)); 125 return (pcireg_cfgread(bus, slot, func, reg, bytes)); 132 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument 147 if (reg == PCIR_INTLINE && bytes 160 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument 180 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument 206 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument 232 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument 314 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument 345 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument [all...] |
/freebsd-11-stable/contrib/pam_modules/pam_passwdqc/ |
H A D | passwdqc_random.c | 44 unsigned char bytes[2]; local 60 if (read_loop(fd, bytes, sizeof(bytes)) != sizeof(bytes)) { 65 i = (((int)bytes[1] & 0x0f) << 8) | (int)bytes[0]; 78 i = ((int)bytes[1] & 0x70) >> 4; 86 memset(bytes, 0, sizeof(bytes));
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_ioport.h | 35 bool in, int port, int bytes, uint32_t *val);
|
/freebsd-11-stable/contrib/xz/src/common/ |
H A D | tuklib_mbstr.h | 25 extern size_t tuklib_mbstr_width(const char *str, size_t *bytes); 35 /// \param bytes If this is not NULL, *bytes is set to the
|
/freebsd-11-stable/sys/arm64/acpica/ |
H A D | pci_cfgreg.c | 47 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument 59 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
|
/freebsd-11-stable/contrib/apr/random/unix/ |
H A D | apr_random.c | 48 apr_size_t bytes) 52 (void)bytes; 57 apr_size_t bytes) 60 arc4random_buf(random, bytes); 66 apr_size_t bytes) 69 arc4random_buf(random, bytes); 47 apr_random_add_entropy(apr_random_t *g,const void *entropy_, apr_size_t bytes) argument
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_c.inc | 43 // Space allocated in mmapped regions (bytes) 45 // Maximum total allocated space (bytes) 47 // Space in freed fastbin blocks (bytes) 49 // Total allocated space (bytes) 52 // Total free space (bytes)
|
/freebsd-11-stable/sys/libkern/ |
H A D | murmur3_32.c | 42 * length of the input is always a multiple of 4 bytes. 47 const uint8_t *bytes; local 52 bytes = data; 59 k = le32dec(bytes); 60 bytes += 4; 77 k |= bytes[2] << 16; 79 k |= bytes[1] << 8; 81 k |= bytes[0]; 103 * length in bytes.
|
/freebsd-11-stable/crypto/openssl/crypto/rand/ |
H A D | rand_egd.c | 66 * RAND_query_egd_bytes(path, buf, bytes) 67 * will actually query "bytes" bytes of entropy form the egd-socket located 70 * The number of bytes is not limited by the maximum chunk size of EGD, 71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks 72 * of entropy bytes are requested. The connection is left open until the 76 * num the number of bytes read from the EGD socket. This number is either 77 * the number of bytes requested or smaller, if the EGD pool is 82 * RAND_egd_bytes(path, bytes) wil 99 RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument 109 RAND_egd_bytes(const char *path, int bytes) argument 138 RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument 274 RAND_egd_bytes(const char *path, int bytes) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
H A D | Opcode.cpp | 49 s->Printf("%2.2x", m_data.inst.bytes[i]); 55 // Add spaces to make sure bytes display comes out even in case opcodes aren't 90 swap_buf[0] = m_data.inst.bytes[2]; 91 swap_buf[1] = m_data.inst.bytes[3]; 92 swap_buf[2] = m_data.inst.bytes[0]; 93 swap_buf[3] = m_data.inst.bytes[1]; 110 swap_buf[0] = m_data.inst.bytes[1]; 111 swap_buf[1] = m_data.inst.bytes[0]; 112 swap_buf[2] = m_data.inst.bytes[3]; 113 swap_buf[3] = m_data.inst.bytes[ [all...] |