Searched refs:valloc (Results 1 - 25 of 55) sorted by relevance

123

/external/clang/test/Analysis/
H A Dmalloc-protoype.c7 void valloc(int i);
16 valloc(1);
H A Dunix-fns.c20 void *valloc(size_t);
160 char *foo = valloc(0); // expected-warning{{Call to 'valloc' has an allocation size of 0 bytes}}
166 char *foo = valloc(sz); // no-warning
1299 // CHECK-NEXT: <string>Call to &apos;valloc&apos; has an allocation size of 0 bytes</string>
1301 // CHECK-NEXT: <string>Call to &apos;valloc&apos; has an allocation size of 0 bytes</string>
1304 // CHECK-NEXT: <key>description</key><string>Call to &apos;valloc&apos; has an allocation size of 0 bytes</string>
H A Dmalloc-interprocedural.c6 void *valloc(size_t);
H A Duninit-const.c8 void *valloc(size_t);
/external/valgrind/memcheck/tests/
H A Dmemalign_test.c16 a[i] = valloc(11111 * (i+1));
17 /* check valloc really is returning page-aligned memory */
H A Dundef_malloc_args.c52 new_p = valloc(size);
H A Dmemalign_test.stderr.exp9 by 0x........: valloc (vg_replace_malloc.c:...)
/external/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h22 #define je_valloc JEMALLOC_N(valloc)
/external/ltp/android/include/
H A Dbionic-compat.h34 static inline void *valloc(size_t size) function
/external/compiler-rt/lib/scudo/
H A Dscudo_interceptors.cpp43 INTERCEPTOR(void*, valloc, uptr size) {
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_malloc_mac.cc45 SCOPED_INTERCEPTOR_RAW(valloc, size); \
/external/e2fsprogs/lib/ext2fs/
H A Dinline.c69 *p = valloc(size);
/external/jemalloc/include/jemalloc/
H A Djemalloc_mangle.h33 # define valloc je_valloc macro
H A Djemalloc_mangle_jet.h33 # define valloc jet_valloc macro
H A Djemalloc_protos.h.in64 void JEMALLOC_NOTHROW *@je_@valloc(size_t size) JEMALLOC_CXX_THROW
/external/libchrome/base/allocator/
H A Dallocator_shim_override_libc_symbols.h43 SHIM_ALWAYS_EXPORT void* valloc(size_t size) __THROW {
/external/ltp/testcases/kernel/io/direct_io/
H A Ddiotest5.c92 (struct iovec *)valloc(sizeof(struct iovec) * nvector)) == NULL) {
93 tst_resm(TFAIL, "valloc() buf1 failed: %s", strerror(errno));
97 (struct iovec *)valloc(sizeof(struct iovec) * nvector)) == NULL) {
98 tst_resm(TFAIL, "valloc buf2 failed: %s", strerror(errno));
102 if ((iovp->iov_base = valloc(bufsize)) == NULL) {
103 tst_resm(TFAIL, "valloc for iovp->iov_base: %s",
110 if ((iovp->iov_base = valloc(bufsize)) == NULL) {
111 tst_resm(TFAIL, "valloc, iov2 for iovp->iov_base: %s",
H A Ddiotest1.c133 buf = valloc(bufsize);
136 tst_brkm(TFAIL | TERRNO, cleanup, "valloc() failed");
H A Ddiotest2.c88 if ((buf1 = valloc(bufsize)) == 0) {
89 tst_resm(TFAIL, "valloc() buf1 failed: %s", strerror(errno));
92 if ((buf2 = valloc(bufsize)) == 0) {
93 tst_resm(TFAIL, "valloc() buf2 failed: %s", strerror(errno));
H A Ddiotest3.c100 if ((buf1 = valloc(bufsize)) == 0) {
101 tst_resm(TFAIL | TERRNO, "valloc for buf1 failed");
104 if ((buf2 = valloc(bufsize)) == 0) {
105 tst_resm(TFAIL | TERRNO, "valloc for buf2 failed");
/external/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc135 INTERCEPTOR(void*, valloc, uptr size) {
172 void* (*valloc)(uptr size); member in struct:MallocDebugL
183 WRAP(valloc)};
/external/e2fsprogs/e2fsck/
H A Dmtrace.h74 extern __ptr_t valloc __P ((size_t __size));
173 /* List of blocks allocated with `memalign' (or `valloc'). */
/external/ltp/testcases/kernel/mem/mem/
H A Dmem02.c27 >KEYS: < calloc, malloc, free, realloc, valloc
34 < In the case of valloc, allocate memory and free it (do this for
35 < several iterations). Check if valloc returns unaligned pointers.
36 < If valloc causes a SIGSEGV, that means a failure has occured.
186 * Check out for valloc failures
205 memptr = valloc(size);
208 * Check to see if valloc returns unaligned data.
229 * on_mem_fault() is a signal handler used by the valloc test-case
/external/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc117 INTERCEPTOR(void*, valloc, uptr size) {
286 INTERCEPT_FUNCTION(valloc);
/external/valgrind/massif/tests/
H A Ddeep-B.stderr.exp13 Massif: valloc

Completed in 545 milliseconds

123