Searched defs:bytes (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/kernel/common/linux/netfilter/
H A Dxt_sctp.h51 #define bytes(type) (sizeof(type) * 8) macro
52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
/bionic/libc/kernel/common/linux/netfilter_ipv4/
H A Dipt_sctp.h50 #define bytes(type) (sizeof(type) * 8) macro
51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
52 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
54 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
/bionic/libc/netbsd/isc/
H A Dev_streams.c43 static void consume(evStream *str, size_t bytes);
227 consume(evStream *str, size_t bytes) { argument
228 while (bytes > 0U) {
229 if (bytes < (size_t)str->iovCur->iov_len) {
230 str->iovCur->iov_len -= bytes;
232 ((u_char *)str->iovCur->iov_base + bytes);
233 str->ioDone += bytes;
234 bytes = 0;
236 bytes -= str->iovCur->iov_len;
262 /* Dribble out some bytes o
266 int bytes; local
289 int bytes; local
[all...]
/bionic/libc/bionic/
H A Dmalloc_debug_common.c198 void* valloc(size_t bytes) { argument
199 /* assume page size of 4096 bytes */
200 return memalign( getpagesize(), bytes );
219 void* malloc(size_t bytes) { argument
220 return __libc_malloc_dispatch->malloc(bytes);
228 void* realloc(void* oldMem, size_t bytes) { argument
229 return __libc_malloc_dispatch->realloc(oldMem, bytes);
231 void* memalign(size_t alignment, size_t bytes) { argument
232 return __libc_malloc_dispatch->memalign(alignment, bytes);
H A Dmalloc_debug_leak.c209 void* fill_malloc(size_t bytes) argument
211 void* buffer = dlmalloc(bytes);
213 memset(buffer, CHK_SENTINEL_VALUE, bytes);
220 size_t bytes = dlmalloc_usable_size(mem); local
221 memset(mem, CHK_FILL_FREE, bytes);
225 void* fill_realloc(void* mem, size_t bytes) argument
227 void* buffer = fill_malloc(bytes);
233 size_t size = (bytes < old_size)?(bytes):(old_size);
240 void* fill_memalign(size_t alignment, size_t bytes) argument
258 leak_malloc(size_t bytes) argument
341 leak_realloc(void* oldMem, size_t bytes) argument
362 leak_memalign(size_t alignment, size_t bytes) argument
[all...]
H A Dmalloc_debug_check.c404 void* chk_memalign(size_t alignment, size_t bytes) argument
408 return chk_malloc(bytes);
H A Dmalloc_debug_qemu.c90 /* Number of bytes requested by the malloc's caller. */
605 void* qemu_instrumented_malloc(size_t bytes);
608 void* qemu_instrumented_realloc(void* mem, size_t bytes);
609 void* qemu_instrumented_memalign(size_t alignment, size_t bytes);
705 * bytes (plus prefix, and suffix guards), and report allocation to the
709 qemu_instrumented_malloc(size_t bytes) argument
716 desc.requested_bytes = bytes;
721 malloc_pid, getpid(), bytes, mallocdesc_alloc_size(&desc));
736 malloc_pid, getpid(), bytes);
799 // Just let go zero bytes allocatio
868 qemu_instrumented_realloc(void* mem, size_t bytes) argument
974 qemu_instrumented_memalign(size_t alignment, size_t bytes) argument
[all...]
H A Ddlmalloc.c64 Supported pointer/size_t representation: 4 or 8 bytes
71 Alignment: 8 bytes (default)
74 if necessary (up to 128bytes), at the expense of using more space.
76 Minimum overhead per allocated chunk: 4 or 8 bytes (if 4byte sizes)
77 8 or 16 bytes (if 8byte sizes)
82 Minimum allocated size: 4-byte ptrs: 16 bytes (including overhead)
83 8-byte ptrs: 32 bytes (including overhead)
85 Even a request for zero bytes (i.e., malloc(0)) returns a
87 The maximum overhead wastage (i.e., number of extra bytes
91 32 bytes plu
3991 internal_realloc(mstate m, void* oldmem, size_t bytes) argument
4062 internal_memalign(mstate m, size_t alignment, size_t bytes) argument
4280 dlmalloc(size_t bytes) argument
4526 dlrealloc(void* oldmem, size_t bytes) argument
4549 dlmemalign(size_t alignment, size_t bytes) argument
4576 dlvalloc(size_t bytes) argument
4583 dlpvalloc(size_t bytes) argument
4608 dlmalloc_set_max_allowed_footprint(size_t bytes) argument
4739 mspace_malloc(mspace msp, size_t bytes) argument
4963 mspace_realloc(mspace msp, void* oldmem, size_t bytes) argument
5043 mspace_memalign(mspace msp, size_t alignment, size_t bytes) argument
5123 mspace_set_max_allowed_footprint(mspace msp, size_t bytes) argument
[all...]
/bionic/libc/kernel/common/linux/
H A Dtelephony.h187 unsigned int bytes; member in union:telephony_exception
H A Dpkt_sched.h34 __u64 bytes; member in struct:tc_stats
H A Dsoundcard.h426 int bytes; member in struct:audio_buf_info
451 int bytes; member in struct:count_info
/bionic/libc/kernel/common/linux/mtd/
H A Dnand.h136 int bytes; member in struct:nand_ecc_ctrl
/bionic/libc/kernel/common/sound/
H A Dasound.h824 } bytes; member in union:snd_ctl_elem_value::__anon583

Completed in 185 milliseconds