Searched refs:size (Results 201 - 225 of 5652) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/gcclibs/libiberty/
H A Dsetenv.c86 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-10.3-release/contrib/openbsm/bin/auditdistd/
H A Dsubr.h42 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-10.3-release/contrib/xz/src/liblzma/check/
H A Dcrc32_small.c4 /// \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 Dcrc64_small.c4 /// \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.3-release/contrib/sendmail/libsm/
H A Dheap.c62 ** 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 Dsetvbuf.c31 ** 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.3-release/lib/libc/db/hash/
H A Dpage.h73 #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.3-release/lib/libc/gen/
H A Dgetpagesize.c58 size_t size; local
70 size = sizeof value;
71 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
H A Dfmtmsg.c38 /* 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.3-release/crypto/openssh/
H A Dmonitor_mm.h34 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-10.3-release/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_crc32.c49 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.3-release/sys/boot/i386/kgzldr/
H A Dlib.c35 #define MEMSIZ 0x8000 /* Memory pool size */
50 kzipmalloc(int size) argument
55 if (memtot + size > MEMSIZ)
58 memtot += size;
/freebsd-10.3-release/contrib/apr-util/misc/
H A Dapr_rmm.c53 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-10.3-release/contrib/binutils/gas/
H A Dinput-file.c212 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-10.3-release/contrib/binutils/libiberty/
H A Dsetenv.c86 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-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.c40 double size = 250.5; local
48 size *= 1.78;
53 asprintf(&json, FMT, size, idx, odd, even, action);
/freebsd-10.3-release/sys/kern/
H A Dsubr_busdma_bufalloc.c46 * 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-10.3-release/sys/dev/twa/
H A Dtw_osl_inline.h159 * 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.3-release/usr.bin/ipcs/
H A Dipc.h56 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.3-release/tools/tools/bus_autoconf/
H A Dbus_usb.c159 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.3-release/lib/libc/inet/
H A Dinet_net_ntop.c45 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.3-release/sys/contrib/octeon-sdk/cvmx-malloc/
H A Darena.c53 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.3-release/contrib/libarchive/libarchive/test/
H A Dread_open_memory.c57 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.3-release/crypto/heimdal/lib/krb5/
H A Dstore_emem.c39 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.3-release/lib/libc/db/btree/
H A Dbt_utils.c82 &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...]

Completed in 166 milliseconds

1234567891011>>