Searched refs:size (Results 126 - 150 of 6289) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/libkern/
H A Dbsearch.c56 bsearch(key, base0, nmemb, size, compar)
60 size_t size;
69 p = base + (lim >> 1) * size;
74 base = (const char *)p + size;
/freebsd-10-stable/lib/libc/stdlib/
H A Dmerge.c98 mergesort(base, nmemb, size, cmp)
101 size_t size;
110 if (size < PSIZE / 2) { /* Pointers must fit into 2 * size. */
123 if (!(size % ISIZE) && !(((char *)base - (char *)0) % ISIZE))
126 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL)
130 setup(list1, list2, nmemb, size, cmp);
131 last = list2 + nmemb * size;
154 while ((b += size) < t && cmp(q, b) >sense)
160 EXPONENTIAL: for (i = size; ;
[all...]
/freebsd-10-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_filter_uudecode.c81 size_t size; local
100 size = extra * 1024;
101 /* Add extra text size of which is from 1K bytes to
103 while (size) {
104 if (size > sizeof(extradata)-1) {
107 size -= sizeof(extradata)-1;
109 memcpy(p, extradata_ptr, size-1);
110 p += size-1;
117 size = extra * 1024 + uusize;
125 read_open_memory(a, buff, size,
[all...]
/freebsd-10-stable/sys/dev/drm2/
H A Ddrm_buffer.c29 * Multipart buffer for coping data which is larger than the page size.
44 * size: The number of bytes to allocate.
46 int drm_buffer_alloc(struct drm_buffer **buf, int size) argument
48 int nr_pages = size / PAGE_SIZE + 1;
59 size, nr_pages);
63 (*buf)->size = size;
68 malloc(min(PAGE_SIZE, size - idx * PAGE_SIZE),
75 idx + 1, size, nr_pages);
102 * size
104 drm_buffer_copy_from_user(struct drm_buffer *buf, void __user *user_data, int size) argument
[all...]
/freebsd-10-stable/contrib/sendmail/include/sm/
H A Dheap.h32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup)
44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size)
45 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size)
47 # define sm_heap_register(ptr, size, file, line, grp) (true)
87 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0)
88 # define sm_pmalloc_x(size) sm_malloc_tagged_
[all...]
/freebsd-10-stable/sys/contrib/ia64/libuwx/src/
H A Duwx_str.c59 pool->size = STRPOOLSIZE;
88 int size; local
97 if (pool->size - pool->used >= len)
101 size = STRPOOLSIZE;
102 if (len > size)
103 size = len;
104 size += sizeof(struct uwx_str_pool) - STRPOOLSIZE;
106 pool = (struct uwx_str_pool *) malloc(size);
108 pool = (struct uwx_str_pool *) (*env->allocate_cb)(size);
112 pool->size
[all...]
/freebsd-10-stable/lib/libc/stdio/
H A Dsetvbuf.c51 setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) argument
58 * Verify arguments. The `int' limit on `size' is due to this
59 * particular implementation. Note, buf and size are ignored
63 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
88 * Find optimal I/O size for seek optimization. This also returns
93 if (size == 0) {
95 size = iosize;
100 if ((buf = malloc(size)) == NULL) {
103 * failure, but try again with file system size.
106 if (size !
[all...]
H A Dsetbuffer.c42 setbuffer(FILE *fp, char *buf, int size) argument
45 (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, (size_t)size);
/freebsd-10-stable/sbin/hastd/
H A Dhast_compression.c44 allzeros(const void *data, size_t size) argument
50 PJDLOG_ASSERT((size % sizeof(*p)) == 0);
62 size >>= 3; /* divide by 8 */
63 if ((p[0] | p[size >> 1] | p[size - 1]) != 0)
66 for (i = 0; i < size; i++)
74 uint32_t size; local
80 newbuf = malloc(sizeof(size));
86 size = htole32((uint32_t)*sizep);
87 bcopy(&size, newbu
96 uint32_t size; local
208 size_t size; local
256 size_t size; local
[all...]
H A Dcrc32.h17 crc32(const void *buf, size_t size) argument
23 while (size--)
/freebsd-10-stable/contrib/binutils/gas/
H A Dliteral.c30 with some sort of GP register, so the size of the pool must be kept down
37 size down. */
45 add_to_literal_pool (sym, addend, sec, size)
49 int size;
61 size... Probably correct, but unwise to rely on. */
66 fixp = fixp->fx_next, offset += size)
73 p = frag_more (size);
74 memset (p, 0, size);
76 switch (size)
87 fix_new (frag_now, p - frag_now->fr_literal, size, sy
[all...]
/freebsd-10-stable/contrib/gperf/src/
H A Dbool-array.icc32 Bool_Array::Bool_Array (unsigned int size)
33 : _size (size),
35 _storage_array (new unsigned int [size])
37 memset (_storage_array, 0, size * sizeof (_storage_array[0]));
39 fprintf (stderr, "\nbool array size = %d, total bytes = %d\n",
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dhuge.h20 void *huge_malloc(size_t size, bool zero);
21 void *huge_palloc(size_t size, size_t alignment, bool zero);
22 void *huge_ralloc_no_move(void *ptr, size_t oldsize, size_t size,
24 void *huge_ralloc(void *ptr, size_t oldsize, size_t size, size_t extra,
/freebsd-10-stable/contrib/libstdc++/include/ext/pb_ds/detail/hash_fn/
H A Ddirect_mask_range_hashing_imp.hpp56 notify_resized(size_type size) argument
57 { mask_based_base::notify_resized(size); }
/freebsd-10-stable/contrib/llvm/lib/TableGen/
H A DTableGenBackend.cpp26 assert((MAX_LINE_LEN - Prefix.str().size() - Suffix.size() > 0) &&
29 const size_t e = MAX_LINE_LEN - Suffix.size();
43 size_t PSLen = Suffix.size() + Prefix.size();
44 PosE = Pos + ((MAX_LINE_LEN > (Desc.size() - PSLen)) ?
45 Desc.size() :
49 } while(Pos < Desc.size());
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.cpp54 const size_t initial_size = info_array.size();
55 const uint32_t size = m_map.GetSize(); local
56 for (uint32_t i=0; i<size; ++i)
62 return info_array.size() - initial_size;
68 const uint32_t size = m_map.GetSize(); local
69 for (uint32_t i=0; i<size; ++i)
79 const uint32_t size = m_map.GetSize(); local
80 for (uint32_t i=0; i<size; ++i)
/freebsd-10-stable/contrib/xz/src/liblzma/simple/
H A Dsimple_encoder.c17 lzma_simple_props_size(uint32_t *size, const void *options) argument
20 *size = (opt == NULL || opt->start_offset == 0) ? 0 : 4;
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dgetcwd.c46 getcwd(char *path, size_t size) argument
52 strlcpy(path, xxx, size);
/freebsd-10-stable/lib/libc/gen/
H A Dgetbootfile.c45 size_t size = sizeof name; local
50 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dpmadvise.c14 posix_madvise(void *address, size_t size, int how) argument
19 if (madvise(address, size, how) == -1) {
/freebsd-10-stable/sys/contrib/xz-embedded/freebsd/
H A Dxz_config.h57 #define kmalloc(size, flags) xz_malloc(size)
59 #define vmalloc(size) xz_malloc(size)
62 #define memeq(a, b, size) (memcmp((a), (b), (size)) == 0)
63 #define memzero(buf, size) bzero((buf), (size))
H A Dxz_malloc.c36 xz_malloc(unsigned long size) argument
40 addr = malloc(size, XZ_DEC, M_NOWAIT);
/freebsd-10-stable/sys/contrib/xz-embedded/userspace/
H A Dxz_config.h27 #define kmalloc(size, flags) malloc(size)
29 #define vmalloc(size) malloc(size)
32 #define memeq(a, b, size) (memcmp(a, b, size) == 0)
33 #define memzero(buf, size) memset(buf, 0, size)
43 * small code size. You may be able to save a few bytes by #defining
103 * could save a few bytes in code size
[all...]
/freebsd-10-stable/sys/dev/tdfx/
H A Dtdfx_io.h74 #define _IOCV(dir,type,nr,size) \
78 ((size) << _IOC_SIZESHIFT))
82 #define _IORV(type,nr,size) _IOCV(_IOC_READ,(type),(nr),sizeof(size))
83 #define _IOWV(type,nr,size) _IOCV(_IOC_WRITE,(type),(nr),sizeof(size))
84 #define _IOWRV(type,nr,size) _IOCV(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
/freebsd-10-stable/sys/powerpc/include/
H A Dkdb.h42 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
45 __syncicache(addr, size);

Completed in 308 milliseconds

1234567891011>>