Lines Matching refs:bytes

1288 Void_t* mALLOc(size_t bytes)  in mALLOc()  argument
1290 Void_t* mALLOc(bytes) size_t bytes; in mALLOc()
1310 return malloc_simple(bytes);
1324 if ((long)bytes < 0) return NULL;
1326 nb = request2size(bytes); /* padded request size; */
1351 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1379 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1403 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1413 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1469 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1478 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1527 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1542 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(victim), bytes, SIZE_SZ, false);
1714 Void_t* rEALLOc(Void_t* oldmem, size_t bytes) in rEALLOc() argument
1716 Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes; in rEALLOc()
1741 if (!bytes) {
1747 if ((long)bytes < 0) return NULL;
1750 if (oldmem == NULL) return mALLOc(bytes);
1763 nb = request2size(bytes);
1775 newmem = mALLOc(bytes);
1805 VALGRIND_RESIZEINPLACE_BLOCK(chunk2mem(oldp), 0, bytes, SIZE_SZ);
1806 VALGRIND_MAKE_MEM_DEFINED(chunk2mem(oldp), bytes);
1816 VALGRIND_RESIZEINPLACE_BLOCK(chunk2mem(oldp), 0, bytes, SIZE_SZ);
1817 VALGRIND_MAKE_MEM_DEFINED(chunk2mem(oldp), bytes);
1847 VALGRIND_MALLOCLIKE_BLOCK(newmem, bytes, SIZE_SZ, false);
1865 VALGRIND_MALLOCLIKE_BLOCK(newmem, bytes, SIZE_SZ, false);
1878 VALGRIND_MALLOCLIKE_BLOCK(newmem, bytes, SIZE_SZ, false);
1886 newmem = mALLOc (bytes);
1906 VALGRIND_RESIZEINPLACE_BLOCK(oldmem, 0, bytes, SIZE_SZ);
1907 VALGRIND_MAKE_MEM_DEFINED(oldmem, bytes);
1957 Void_t* mEMALIGn(size_t alignment, size_t bytes) in mEMALIGn() argument
1959 Void_t* mEMALIGn(alignment, bytes) size_t alignment; size_t bytes; in mEMALIGn()
1972 if ((long)bytes < 0) return NULL;
1976 return memalign_simple(alignment, bytes);
1982 if (alignment <= MALLOC_ALIGNMENT) return mALLOc(bytes);
1990 nb = request2size(bytes);
2007 m = (char*)(mALLOc(bytes));
2018 m = (char*)(mALLOc(bytes + extra));
2079 VALGRIND_MALLOCLIKE_BLOCK(chunk2mem(p), bytes, SIZE_SZ, false);
2113 Void_t* vALLOc(size_t bytes) in vALLOc() argument
2115 Void_t* vALLOc(bytes) size_t bytes; in vALLOc()
2118 return mEMALIGn (malloc_getpagesize, bytes);
2128 Void_t* pvALLOc(size_t bytes) in pvALLOc() argument
2130 Void_t* pvALLOc(bytes) size_t bytes; in pvALLOc()
2134 return mEMALIGn (pagesize, (bytes + pagesize - 1) & ~(pagesize - 1));