/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/ |
H A D | subr.h | 44 int vsnprlcat(char *str, size_t size, const char *fmt, va_list ap); 45 int snprlcat(char *str, size_t size, const char *fmt, ...); 53 int adist_random(unsigned char *buf, size_t size);
|
/freebsd-10.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-10.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-10.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 *)((u_char *)(x)->address + (x)->size)
|
/freebsd-10.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-10.0-release/lib/libc/gen/ |
H A D | getpagesize.c | 58 size_t size; local 70 size = sizeof value; 71 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
|
H A D | fmtmsg.c | 38 /* Maximum valid size for a MSGVERB. */ 100 strlcat(output, ": ", size) 103 strlcat(output, "\n", size) 106 strlcat(output, " ", size) 116 size_t size; local 120 size = 32; 122 size += strlen(label); 124 size += strlen(sevname); 126 size += strlen(text); 128 size [all...] |
/freebsd-10.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-10.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;
|
/freebsd-10.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-10.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, int size, u_int8_t *pflag, int wait) argument 169 busdma_bufalloc_free_uncacheable(void *item, int size, u_int8_t pflag) argument [all...] |
/freebsd-10.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-10.0-release/tools/tools/bus_autoconf/ |
H A D | bus_usb.c | 159 const char *module, const uint8_t *ptr, uint16_t size) 175 if (format_get_field(type, "mfl_vendor", ptr, size)) 177 if (format_get_field(type, "mfl_product", ptr, size)) 179 if (format_get_field(type, "mfl_dev_lo", ptr, size)) 181 if (format_get_field(type, "mfl_dev_hi", ptr, size)) 183 if (format_get_field(type, "mfl_dev_class", ptr, size)) 185 if (format_get_field(type, "mfl_dev_subclass", ptr, size)) 187 if (format_get_field(type, "mfl_dev_protocol", ptr, size)) 189 if (format_get_field(type, "mfl_int_class", ptr, size)) 191 if (format_get_field(type, "mfl_int_subclass", ptr, size)) 158 usb_import_entry(struct usb_device_id *id, const char *type, const char *module, const uint8_t *ptr, uint16_t size) argument [all...] |
/freebsd-10.0-release/contrib/libarchive/libarchive/test/ |
H A D | read_open_memory.c | 57 size_t size, size_t read_size, int fullapi); 61 read_open_memory(struct archive *a, void *buff, size_t size, size_t read_size) argument 63 return read_open_memory_internal(a, buff, size, read_size, 2); 71 read_open_memory_minimal(struct archive *a, void *buff, size_t size, size_t read_size) argument 73 return read_open_memory_internal(a, buff, size, read_size, 1); 80 read_open_memory_seek(struct archive *a, void *buff, size_t size, size_t read_size) argument 82 return read_open_memory_internal(a, buff, size, read_size, 3); 87 size_t size, size_t read_size, int level) 98 mine->end = mine->start + size; 140 ssize_t size; local 86 read_open_memory_internal(struct archive *a, void *buff, size_t size, size_t read_size, int level) argument [all...] |
/freebsd-10.0-release/lib/libc/inet/ |
H A D | inet_net_ntop.c | 45 size_t size); 47 size_t size); 51 * inet_net_ntop(af, src, bits, dst, size) 60 inet_net_ntop(af, src, bits, dst, size) 65 size_t size; 69 return (inet_net_ntop_ipv4(src, bits, dst, size)); 71 return (inet_net_ntop_ipv6(src, bits, dst, size)); 80 * inet_net_ntop_ipv4(src, bits, dst, size) 92 inet_net_ntop_ipv4(src, bits, dst, size) 96 size_t size; 171 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument [all...] |
/freebsd-10.0-release/sys/contrib/octeon-sdk/cvmx-malloc/ |
H A D | arena.c | 53 size_t size; /* Current size in bytes. */ member in struct:_heap_info 180 fprintf(stderr, "Heap %p, size %10lx:\n", heap, (long)heap->size); 186 fprintf(stderr, "chunk %p size %10lx", p, (long)p->size); 190 } else if(p->size == (0|PREV_INUSE)) { 203 static mstate cvmx_new_arena(void *addr, size_t size) argument 211 debug_printf("cvmx_new_arena called, addr: %p, size %ld\n", addr, size); 243 cvmx_add_arena(cvmx_arena_list_t *arena_list, void *ptr, size_t size) argument [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 46 for(size_t i = 0; i < Sources.size(); ++i) 54 for(size_t i = 0; i < Sources.size(); ++i) { 64 for(size_t i = 0; i < Sources.size(); ++i) 70 for(size_t i = 0; i < Sources.size(); ++i) 78 for(size_t i = 0; i < Sources.size(); ++i) 87 for (size_t i = 0; i < Sources.size(); ++i) 93 for(size_t i = 0; i < Sources.size(); ++i) 101 for(size_t i = 0; i < Sources.size(); ++i) 112 for(size_t i = 0; i < Sources.size(); ++i) 117 for(size_t i = 0; i < Sources.size(); [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | store_emem.c | 39 size_t size; member in struct:emem_storage 45 emem_fetch(krb5_storage *sp, void *data, size_t size) argument 48 if((size_t)(s->base + s->len - s->ptr) < size) 49 size = s->base + s->len - s->ptr; 50 memmove(data, s->ptr, size); 51 sp->seek(sp, size, SEEK_CUR); 52 return size; 56 emem_store(krb5_storage *sp, const void *data, size_t size) argument 59 if(size > (size_t)(s->base + s->size [all...] |
/freebsd-10.0-release/lib/libc/db/btree/ |
H A D | bt_utils.c | 82 &key->size, &rkey->data, &rkey->size)) 86 if (bl->ksize > rkey->size) { 91 rkey->size = bl->ksize; 94 key->size = bl->ksize; 97 key->size = bl->ksize; 107 &data->size, &rdata->data, &rdata->size)) 112 if (bl->dsize + 1 > rdata->size) { 117 rdata->size [all...] |
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | tcpwdist.d | 6 * This measures the size of writes from applications to the TCP level, which 7 * may well be much larger than the MTU size (this is application writes not 9 * traffic, and the size of the writes by that application. It uses a simple 28 * value TCP write payload size in bytes 70 this->size = msgdsize(args[1]); 73 @Size[pid, curpsinfo->pr_psargs] = quantize(this->size);
|
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Net/ |
H A D | tcpwdist.d | 6 * This measures the size of writes from applications to the TCP level, which 7 * may well be much larger than the MTU size (this is application writes not 9 * traffic, and the size of the writes by that application. It uses a simple 28 * value TCP write payload size in bytes 70 this->size = msgdsize(args[1]); 73 @Size[pid, curpsinfo->pr_psargs] = quantize(this->size);
|
/freebsd-10.0-release/contrib/groff/src/roff/troff/ |
H A D | dictionary.cpp | 26 // is `p' a good size for a hash table 41 dictionary::dictionary(int n) : size(n), used(0), threshold(0.5), factor(1.5) 52 for (i = int(s.hash() % size); 54 i == 0 ? i = size - 1: --i) 69 if ((double)used/(double)size >= threshold || used + 1 >= size) { 70 int old_size = size; 71 size = int(size*factor); 72 while (!is_good_size(size)) [all...] |
/freebsd-10.0-release/contrib/libstdc++/include/ext/pb_ds/detail/bin_search_tree_/ |
H A D | info_fn_imps.hpp | 58 size() const function in class:PB_DS_CLASS_C_DEC
|