/freebsd-11.0-release/usr.sbin/fifolog/lib/ |
H A D | fifolog_create.c | 44 fifolog_create(const char *fn, off_t size, ssize_t recsize) argument 86 /* If no configured size, or too large for disk, use device size */ 88 if (i == 0 && (size == 0 || size > ms)) 89 size = ms; 91 if (size == 0 && S_ISREG(st.st_mode)) 92 size = st.st_size; 94 if (size == 0) 95 size [all...] |
/freebsd-11.0-release/contrib/xz/src/liblzma/check/ |
H A D | crc32_small.c | 4 /// \brief CRC32 calculation (size-optimized) 49 lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc) 55 while (size != 0) { 57 --size;
|
H A D | crc64_small.c | 4 /// \brief CRC64 calculation (size-optimized) 41 lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc) 47 while (size != 0) { 49 --size;
|
/freebsd-11.0-release/contrib/sendmail/libsm/ |
H A D | heap.c | 62 ** The behaviour of malloc with size==0 is platform dependent (it 66 ** two choices: "size = 1" or "return NULL". We use the former in the 70 ** use size. 73 #define MALLOC_SIZE(size) ((size) == 0 ? 1 : (size)) 79 ** size -- size of requested memory. 94 sm_malloc_x(size) 95 size_t size; [all...] |
H A D | setvbuf.c | 31 ** If 'size' is == 0 then an "optimal" size will be selected. 32 ** If 'buf' is == NULL then space will be allocated at 'size'. 39 ** size -- size of 'buf' 47 sm_io_setvbuf(fp, timeout, buf, mode, size) 52 size_t size; 63 ** Verify arguments. The `int' limit on `size' is due to this 64 ** particular implementation. Note, buf and size are ignored 70 mode != SM_IO_NOW) || (int) size < [all...] |
/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/ |
H A D | subr.h | 42 int vsnprlcat(char *str, size_t size, const char *fmt, va_list ap); 43 int snprlcat(char *str, size_t size, const char *fmt, ...); 51 int adist_random(unsigned char *buf, size_t size);
|
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-nflog.c | 74 uint16_t size; local 105 size = tlv->tlv_length; 106 if (size % 4 != 0) 107 size += 4 - size % 4; 110 if (size < sizeof(nflog_tlv_t)) { 117 if (caplen < size || length < size) { 136 p += size; 137 h_size += size; [all...] |
/freebsd-11.0-release/lib/libc/db/hash/ |
H A D | page.h | 73 #define PAIRSIZE(K,D) (2*sizeof(u_int16_t) + (K)->size + (D)->size) 75 #define KEYSIZE(K) (4*sizeof(u_int16_t) + (K)->size);
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | getpagesize.c | 58 size_t size; local 70 size = sizeof value; 71 if (sysctl(mib, nitems(mib), &value, &size, NULL, 0) == -1)
|
/freebsd-11.0-release/crypto/openssh/ |
H A D | monitor_mm.h | 34 size_t size; member in struct:mm_share 41 size_t size; member in struct:mm_master 50 #define MM_ADDRESS_END(x) (void *)((char *)(x)->address + (x)->size)
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugLocStream.cpp | 17 if (Lists.back().EntryOffset == Entries.size()) { 29 if (Entries.back().ByteOffset != DWARFBytes.size()) 37 assert(Lists.back().EntryOffset <= Entries.size() &&
|
/freebsd-11.0-release/contrib/libstdc++/include/ext/pb_ds/detail/hash_fn/ |
H A D | mod_based_range_hashing.hpp | 74 notify_resized(size_type size); 94 notify_resized(size_type size) argument 96 m_size = size;
|
/freebsd-11.0-release/contrib/libstdc++/include/ext/pb_ds/detail/resize_policy/ |
H A D | hash_load_check_resize_trigger_size_base.hpp | 44 * Contains an base holding size for some resize policies. 73 set_size(size_type size) argument 74 { m_size = size; } 95 set_size(size_type size) { } argument
|
/freebsd-11.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXMachineFunctionInfo.h | 35 for (unsigned i = 0, e = ImageHandleList.size(); i != e; ++i) 40 return ImageHandleList.size()-1; 45 assert(ImageHandleList.size() > Idx && "Bad index");
|
/freebsd-11.0-release/contrib/gcclibs/libiberty/ |
H A D | setenv.c | 86 register size_t size; local 92 size = 0; 99 ++size; 108 (size + 2) * sizeof (char *)); 110 new_environ = (char **) malloc ((size + 2) * sizeof (char *)); 118 new_environ[size] = (char *) malloc (namelen + 1 + vallen); 119 if (new_environ[size] == NULL) 129 size * sizeof (char *)); 131 memcpy (new_environ[size], name, namelen); 132 new_environ[size][namele [all...] |
/freebsd-11.0-release/contrib/binutils/gas/ |
H A D | input-file.c | 212 int size; 214 size = fread (buf, sizeof (char), buflen, f_in); 215 if (size < 0) 218 size = 0; 220 return size; 229 register int size; 238 size = do_scrub_chars (input_file_get, where, BUFFER_SIZE); 240 size = fread (where, sizeof (char), BUFFER_SIZE, f_in); 241 if (size < 0) 244 size 210 int size; local 227 register int size; local [all...] |
/freebsd-11.0-release/contrib/apr-util/misc/ |
H A D | apr_rmm.c | 53 apr_size_t size; member in struct:rmm_block_t 72 apr_size_t size; member in struct:apr_rmm_t 97 static apr_rmm_off_t find_block_of_size(apr_rmm_t *rmm, apr_size_t size) argument 106 if (blk->size == size) 109 if (blk->size >= size) { 114 if (!bestsize || (blk->size < bestsize)) { 115 bestsize = blk->size; 123 if (bestsize > RMM_BLOCK_SIZE + size) { 309 apr_size_t size; local 332 apr_size_t size; local 360 apr_size_t size, oldsize; local [all...] |
/freebsd-11.0-release/contrib/binutils/libiberty/ |
H A D | setenv.c | 86 register size_t size; local 92 size = 0; 99 ++size; 108 (size + 2) * sizeof (char *)); 110 new_environ = (char **) malloc ((size + 2) * sizeof (char *)); 118 new_environ[size] = (char *) malloc (namelen + 1 + vallen); 119 if (new_environ[size] == NULL) 129 size * sizeof (char *)); 131 memcpy (new_environ[size], name, namelen); 132 new_environ[size][namele [all...] |
/freebsd-11.0-release/contrib/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_vector.h | 80 void Resize(uptr size) { argument 81 if (size == 0) { 86 EnsureSize(size); 87 if (old_size < size) { 88 for (uptr i = old_size; i < size; i++) 99 void EnsureSize(uptr size) { argument 100 if (size <= Size()) 102 if (size <= (uptr)(last_ - begin_)) { 103 end_ = begin_ + size; 110 if (cap < size) [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
H A D | tst.usdt.c | 42 double size = 250.5; local 50 size *= 1.78; 55 asprintf(&json, FMT, size, idx, odd, even, action);
|
/freebsd-11.0-release/sys/kern/ |
H A D | subr_busdma_bufalloc.c | 46 * We manage buffer zones up to a page in size. Buffers larger than a page can 48 * efficiently as what we can do here. Also, a page is the largest size for 57 * smallest supported allocation size of 32 through the largest supported page 58 * size of 64K. If you up the biggest page size number, up the array size too. 59 * Basically the size of the array needs to be log2(maxsize)-log2(minsize)+1, 63 #error Unsupported page size 87 * Each uma zone is created with an alignment of size-1, meaning that 88 * the alignment is equal to the size ( 133 busdma_bufalloc_findzone(busdma_bufalloc_t ba, bus_size_t size) argument 150 busdma_bufalloc_alloc_uncacheable(uma_zone_t zone, vm_size_t size, uint8_t *pflag, int wait) argument 169 busdma_bufalloc_free_uncacheable(void *item, vm_size_t size, uint8_t pflag) argument [all...] |
/freebsd-11.0-release/sys/dev/twa/ |
H A D | tw_osl_inline.h | 159 * size -- # of bytes to read 166 TW_INT32 offset, TW_INT32 size) 173 if (size == 4) 176 else if (size == 2) 193 * size -- # of bytes to write 200 TW_INT32 offset, TW_INT32 value, TW_INT32 size) 207 if (size == 4) 209 else if (size == 2) 225 * size -- # of bytes to be read 229 #define tw_osl_read_pci_config(ctlr_handle, offset, size) \ 165 tw_osl_read_reg_inline(struct tw_cl_ctlr_handle *ctlr_handle, TW_INT32 offset, TW_INT32 size) argument 199 tw_osl_write_reg_inline(struct tw_cl_ctlr_handle *ctlr_handle, TW_INT32 offset, TW_INT32 value, TW_INT32 size) argument [all...] |
/freebsd-11.0-release/sys/boot/i386/kgzldr/ |
H A D | lib.c | 35 #define MEMSIZ 0x8000 /* Memory pool size */ 50 kzipmalloc(int size) argument 55 if (memtot + size > MEMSIZ) 58 memtot += size;
|
/freebsd-11.0-release/usr.bin/ipcs/ |
H A D | ipc.h | 56 size_t size; member in struct:scgs_vector 59 void kget(int idx, void *addr, size_t size); 60 void sysctlgatherstruct(void *addr, size_t size, struct scgs_vector *vec);
|
/freebsd-11.0-release/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_crc32.c | 49 XZ_EXTERN uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) argument 53 while (size != 0) { 55 --size;
|