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

/bionic/libc/kernel/common/linux/netfilter/
H A Dxt_sctp.h49 #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)
53 #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.h47 #define bytes(type) (sizeof(type) * 8) macro
49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
53 #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.c199 void* valloc(size_t bytes) { argument
200 /* assume page size of 4096 bytes */
201 return memalign( getpagesize(), bytes );
220 void* malloc(size_t bytes) { argument
221 return __libc_malloc_dispatch->malloc(bytes);
229 void* realloc(void* oldMem, size_t bytes) { argument
230 return __libc_malloc_dispatch->realloc(oldMem, bytes);
232 void* memalign(size_t alignment, size_t bytes) { argument
233 return __libc_malloc_dispatch->memalign(alignment, bytes);
H A Dmalloc_debug_leak.c336 size_t offset, bytes; local
340 /* first check the bytes in the sentinel header */
346 "corrupted %d bytes before allocation",
355 bytes = *(size_t *)(buffer + offset);
357 buf = (char*)mem + bytes;
362 "corrupted %d bytes after allocation",
363 func, buffer, bytes, i+1);
368 *allocated = bytes;
373 void* chk_malloc(size_t bytes) argument
375 char* buffer = (char*)dlmalloc(bytes
418 chk_realloc(void* mem, size_t bytes) argument
444 chk_memalign(size_t alignment, size_t bytes) argument
454 fill_malloc(size_t bytes) argument
465 size_t bytes = dlmalloc_usable_size(mem); local
470 fill_realloc(void* mem, size_t bytes) argument
485 fill_memalign(size_t alignment, size_t bytes) argument
500 leak_malloc(size_t bytes) argument
583 leak_realloc(void* oldMem, size_t bytes) argument
604 leak_memalign(size_t alignment, size_t bytes) argument
[all...]
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
3908 internal_realloc(mstate m, void* oldmem, size_t bytes) argument
3979 internal_memalign(mstate m, size_t alignment, size_t bytes) argument
4197 dlmalloc(size_t bytes) argument
4443 dlrealloc(void* oldmem, size_t bytes) argument
4466 dlmemalign(size_t alignment, size_t bytes) argument
4481 dlvalloc(size_t bytes) argument
4488 dlpvalloc(size_t bytes) argument
4513 dlmalloc_set_max_allowed_footprint(size_t bytes) argument
4644 mspace_malloc(mspace msp, size_t bytes) argument
4868 mspace_realloc(mspace msp, void* oldmem, size_t bytes) argument
4948 mspace_memalign(mspace msp, size_t alignment, size_t bytes) argument
5028 mspace_set_max_allowed_footprint(mspace msp, size_t bytes) argument
[all...]
/bionic/libc/kernel/common/linux/
H A Dtelephony.h168 unsigned int bytes; member in union:telephony_exception
H A Dpkt_sched.h28 __u64 bytes; member in struct:tc_stats
H A Dsoundcard.h396 int bytes; member in struct:audio_buf_info
422 int bytes; member in struct:count_info
/bionic/libc/kernel/common/linux/mtd/
H A Dnand.h144 int bytes; member in struct:nand_ecc_ctrl

Completed in 213 milliseconds