Searched refs:size (Results 101 - 125 of 6422) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/xz/src/liblzma/check/
H A Dcrc64_fast.c30 lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc)
38 if (size > 4) {
41 --size;
44 const uint8_t *const limit = buf + (size & ~(size_t)(3));
45 size &= (size_t)(3);
64 while (size-- != 0)
/freebsd-11.0-release/contrib/ofed/libmthca/src/
H A Dbuf.c48 static int ibv_dontfork_range(void *base, size_t size) argument
53 static int ibv_dofork_range(void *base, size_t size) argument
60 int mthca_alloc_buf(struct mthca_buf *buf, size_t size, int page_size) argument
64 ret = posix_memalign(&buf->buf, page_size, align(size, page_size));
68 ret = ibv_dontfork_range(buf->buf, size);
73 buf->length = size;
/freebsd-11.0-release/contrib/libc++/src/
H A Dvalarray.cpp21 valarray<size_t> __indices(__size_.size());
22 size_t __k = __size_.size() != 0;
23 for (size_t __i = 0; __i < __size_.size(); ++__i)
26 if (__1d_.size())
32 size_t __i = __indices.size() - 1;
39 for (size_t __j = __i + 1; __j != __indices.size(); ++__j)
/freebsd-11.0-release/sys/dev/sound/midi/
H A Dmidiq.h40 #define MIDIQ_INIT(head, buf, size) do { \
42 (head).s=size; \
59 #define MIDIQ_ENQ(head, buf, size) do { \
64 MIN( (size), (head).s - (head).h) ), \
65 (size), (head).h, (head).t); \
66 MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); \
67 if( (head).s - (head).h < (size) ) { \
69 printf("#2 %p %p bytes copied %jd\n", (head).b, (buf) + (head).s - (head).h, (intmax_t)sizeof(*(head).b) * ((size) - (head).s + (head).h) ); \
70 MIDIQ_MOVE((head).b, (buf) + (head).s - (head).h, sizeof(*(head).b) * ((size) - (head).s + (head).h) ); \
72 (head).h+=(size); \
[all...]
/freebsd-11.0-release/lib/libc/stdio/
H A Dfwrite.c49 * Write `count' objects (each size `size') from memory to the given file.
53 fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict fp) argument
60 * ANSI and SUSv2 require a return value of 0 if size or count are 0.
62 if ((count == 0) || (size == 0))
67 * at least one of {count, size} is at least 2^16, since if both
71 if (((count | size) > 0xFFFF) &&
72 (count > SIZE_MAX / size)) {
78 n = count * size;
90 * generally slow and since this occurs whenever size
[all...]
/freebsd-11.0-release/sys/arm/xscale/ixp425/
H A Dixp425_mem.c69 uint32_t size, sdr_config; local
74 size = sdram_64bit[MCU_SDR_CONFIG_MCONF(sdr_config)];
76 size = sdram_other[MCU_SDR_CONFIG_MCONF(sdr_config)];
78 if (size == 0) {
80 size = 32 * 1024 * 1024;
83 return (size);
96 * be programmed to be the same size. We just assume
97 * it's done right and calculate 2x for the memory size.
/freebsd-11.0-release/contrib/pjdfstest/tests/granular/
H A D01.t23 expect 0 lstat ${n0} size
24 expect 0 -u 65534 -g 65534 stat ${n0} size
26 expect 0 lstat ${n0} size
27 expect EACCES -u 65534 -g 65534 stat ${n0} size
29 expect 0 -u 65534 -g 65534 stat ${n0} size
30 expect 0 lstat ${n0} size
/freebsd-11.0-release/contrib/tcsh/
H A Dtc.h54 size_t size; /* Allocated characters */ member in struct:strbuf
60 size_t size; /* Allocated characters */ member in struct:Strbuf
75 size_t size; /* Allocated space for string pointers */ member in struct:blk_buf
/freebsd-11.0-release/lib/libc/gen/
H A Dgetosreldate.c46 size_t size; local
57 size = sizeof value;
58 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
/freebsd-11.0-release/contrib/gcc/config/i386/
H A Dgmm_malloc.h34 _mm_malloc (size_t size, size_t align) argument
46 if (size == 0)
56 malloc_ptr = malloc (size + align);
H A Dpmm_malloc.h41 _mm_malloc (size_t size, size_t alignment) argument
45 return malloc (size);
48 if (posix_memalign (&ptr, alignment, size) == 0)
/freebsd-11.0-release/contrib/gcclibs/libiberty/
H A Dbsearch.c33 @deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
37 The size of each member is specified by @var{size}. The array contents
71 size_t nmemb, register size_t size,
79 p = base + (lim >> 1) * size;
84 base = (const char *)p + size;
70 bsearch(register const void *key, const void *base0, size_t nmemb, register size_t size, register int (*compar)(const void *, const void *)) argument
/freebsd-11.0-release/contrib/binutils/libiberty/
H A Dbsearch.c33 @deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
37 The size of each member is specified by @var{size}. The array contents
71 size_t nmemb, register size_t size,
79 p = base + (lim >> 1) * size;
84 base = (const char *)p + size;
70 bsearch(register const void *key, const void *base0, size_t nmemb, register size_t size, register int (*compar)(const void *, const void *)) argument
/freebsd-11.0-release/contrib/elftoolchain/libelf/
H A Delf_rawfile.c36 size_t size; local
39 size = e ? e->e_rawsize : 0;
48 *sz = size;
/freebsd-11.0-release/contrib/jemalloc/include/jemalloc/internal/
H A Dstats.h17 * Number of allocation requests that corresponded to the size of this
34 * Number of allocation requests that correspond to the size of this
41 * Current number of regions of this size class, including regions
52 /* Total number of runs created for this bin's size class. */
57 * this bin's size class.
76 * Number of allocation requests that correspond to this size class.
83 * Current number of runs of this size class, including runs currently
97 /* Current number of (multi-)chunk allocations of this size class. */
129 /* Per-size-category statistics. */
139 /* One element for each large size clas
176 stats_cactive_add(size_t size) argument
188 stats_cactive_sub(size_t size) argument
[all...]
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libnvpair/
H A Dnvpair_alloc_system.c34 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument
36 return (malloc(size));
41 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
/freebsd-11.0-release/sys/libkern/
H A Dscanc.c38 scanc(size, cp, table, mask0)
39 u_int size;
47 for (end = &cp[size]; cp < end; ++cp) {
H A Dbsearch.c56 bsearch(key, base0, nmemb, size, compar)
60 register size_t size;
69 p = base + (lim >> 1) * size;
74 base = (const char *)p + size;
/freebsd-11.0-release/lib/libc/resolv/
H A Dres_debug.h23 # define DprintQ(cond, args, query, size) /*empty*/
28 # define DprintQ(cond, args, query, size) if (cond) {\
30 res_pquery(statp, query, size, stdout);\
/freebsd-11.0-release/contrib/xz/src/liblzma/simple/
H A Dsimple_encoder.h19 extern lzma_ret lzma_simple_props_size(uint32_t *size, const void *options);
/freebsd-11.0-release/contrib/unbound/util/
H A Dregional.h69 /** total large size */
71 /** initial chunk size */
87 * @param size: length of first block.
90 struct regional* regional_create_custom(size_t size);
107 * Allocate size bytes of memory inside regional. The memory is
110 * @param size: number of bytes.
113 void *regional_alloc(struct regional *r, size_t size);
116 * Allocate size bytes of memory inside regional and copy INIT into it.
121 * @param size: number of bytes.
124 void *regional_alloc_init(struct regional* r, const void *init, size_t size);
[all...]
/freebsd-11.0-release/contrib/elftoolchain/size/
H A DMakefile5 PROG= size
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_util.h34 void * safe_malloc(size_t size);
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dnvpair_alloc_system.c32 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument
34 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg));
39 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
41 kmem_free(buf, size);
/freebsd-11.0-release/sys/mips/atheros/
H A Dar71xx_fixup.h34 u_int bus, u_int slot, u_int func, long int flash_addr, int size);

Completed in 258 milliseconds

1234567891011>>