Searched refs:malloc (Results 1 - 25 of 960) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A DWredundant-decls-1.c6 void *malloc (__SIZE_TYPE__); /* { dg-bogus "redundant" } */
7 void *malloc (__SIZE_TYPE__); /* { dg-warning "redundant" } */
H A Dm-un-2.c5 extern void* malloc (size_t);
16 malloc,
24 ._malloc = malloc,
30 ._malloc = malloc,
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20000314-2.c1 extern void malloc(__SIZE_TYPE__ size);
5 malloc(100);
H A D20060208-1.c2 /* { dg-skip-if "can't take address of malloc" { nvptx-*-* } { "*" } { "" } } */
4 extern void *malloc (size_t);
6 void *(*const foo) (size_t) = malloc;
H A Dpr59134.c3 extern void* malloc(__SIZE_TYPE__) __attribute__((malloc));
13 str *s = malloc (sizeof (str) + sizeof (int));
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb32.C4 void malloc(unsigned int);
7 void A::malloc(unsigned int) {} function in class:A
11 a.malloc(3); // <-- line 10
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dpr11001-strlen-1.c6 extern void *malloc (__SIZE_TYPE__);
13 return malloc (strlen (str) + 1);
H A Dpr11001-strlen-2.c6 extern void *malloc (__SIZE_TYPE__);
13 return malloc (strlen (str) + 1);
H A Dpr11001-strlen-3.c6 extern void *malloc (__SIZE_TYPE__);
13 return malloc (strlen (str) + 1);
H A Dpr49920.c6 extern void *malloc (size_t);
15 MR_tempr1 = (unsigned int)((char *) malloc (sizeof (unsigned int)) + 4);
20 MR_tempr2 = (unsigned int)((char *) malloc (2 * sizeof (unsigned int)));
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tm/
H A Dmemopt-10.c5 extern void *malloc (__SIZE_TYPE__) __attribute__((malloc,transaction_safe));
11 p = malloc (sizeof (*p) * 100);
15 malloc is outside of the transaction. We can use the logging
H A Dmemopt-9.c5 extern void *malloc (__SIZE_TYPE__) __attribute__((malloc,transaction_safe));
15 p = malloc (sizeof (*p) * 100);
16 lp = malloc (sizeof (*lp) * 100);
H A Dmemopt-12.c6 extern void *malloc (__SIZE_TYPE__) __attribute__((malloc,transaction_safe));
14 p1 = malloc (sizeof (*p1)*5000);
18 p2 = malloc (sizeof (*p2)*6000);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash31.C7 void* malloc(int);
13 bp = (struct mbuf *) malloc( 10 /*(unsigned) (size + sizeof(struct mbuf))*/);
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/asan/
H A Dpr63316.c8 extern void *malloc (__SIZE_TYPE__);
17 int *p = (int *) malloc (sizeof (int));
H A Dsleep-before-dying-1.c4 /* { dg-options "-fno-builtin-malloc -fno-builtin-free" } */
9 char *x = (char*)malloc(10);
H A Duse-after-free-1.c2 /* { dg-options "-fno-builtin-malloc -fno-builtin-free" } */
7 char *x = (char*)malloc(10);
21 /* { dg-output " #0 0x\[0-9a-f\]+ +(in _*(interceptor_|wrap_|)malloc|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
H A Dstrip-path-prefix-1.c4 /* { dg-options "-fno-builtin-malloc -fno-builtin-free" } */
9 char *x = (char*)malloc(10);
H A Dsanity-check-pure-c-1.c2 /* { dg-options "-fno-builtin-malloc -fno-builtin-free" } */
7 char *x = (char*)malloc(10);
15 /* { dg-output " #0 \[^\n\r]*(in _*(interceptor_|wrap_)malloc|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
/haiku-buildtools/gcc/fixincludes/tests/base/sys/
H A Dmman.h19 extern void* malloc( size_t );
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/lto/
H A Dpr54702_0.c8 void* p = malloc (1);
/haiku-buildtools/legacy/gcc/gcc/config/mn10200/
H A Dxm-mn10200.h43 extern char *malloc (), *realloc (), *calloc ();
45 extern void *malloc (), *realloc (), *calloc ();
/haiku-buildtools/legacy/gcc/gcc/config/mn10300/
H A Dxm-mn10300.h43 extern char *malloc (), *realloc (), *calloc ();
45 extern void *malloc (), *realloc (), *calloc ();
/haiku-buildtools/legacy/gcc/gcc/config/v850/
H A Dxm-v850.h39 extern char *malloc (), *realloc (), *calloc ();
41 extern void *malloc (), *realloc (), *calloc ();
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/tm/
H A Dmalloc.c12 p = (char *)malloc(123);
17 z = (char *)malloc (666);
20 /* { dg-final { scan-tree-dump-times " malloc .666" 1 "tmmark" { target { ! { *-*-solaris2* && c++ } } } } } */
21 /* Solaris 2 headers are C++-aware and declare std::malloc. */
22 /* { dg-final { scan-tree-dump-times " std::malloc .666" 1 "tmmark" { target { *-*-solaris2* && c++ } } } } */

Completed in 327 milliseconds

1234567891011>>