HomeSort by relevance Sort by last modified time
    Searched full:calloc (Results 1 - 25 of 1367) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/valgrind/main/memcheck/tests/
calloc-overflow.vgtest 1 prog: calloc-overflow
malloc3.stderr.exp 2 Warning: silly args (0,-1) to calloc()
malloc3.c 19 p = calloc(0,1);
20 printf("calloc(0,1) = 0x%lx\n", (unsigned long)p);
23 p = calloc(0,-1);
24 printf("calloc(0,-1) = 0x%lx\n", (unsigned long)p);
27 // We no longer get a warning with this due to the calloc overflow checking
30 p = calloc(-1,-1);
31 printf("calloc(-1,-1) = 0x%lx\n", (unsigned long)p);
malloc3.stdout.exp 3 calloc(0,1) = 0x........
4 calloc(0,-1) = 0x........
5 calloc(-1,-1) = 0x........
partial_load.c 14 p = calloc( sizeof(long)-1, 1 );
20 p = calloc( sizeof(long), 1 );
28 p = calloc( sizeof(short)-1, 1 );
34 p = calloc( sizeof(long), 1 );
inline.c 17 int* a = calloc(10, sizeof(int));
malloc_free_fill.stderr.exp 14 test calloc:
calloc-overflow.c 17 x = calloc(szB, 0x10);
inline.stderr.exp 5 at 0x........: calloc (vg_replace_malloc.c:...)
partial_load_dflt.stderr.exp 5 at 0x........: calloc (vg_replace_malloc.c:...)
11 at 0x........: calloc (vg_replace_malloc.c:...)
17 at 0x........: calloc (vg_replace_malloc.c:...)
  /external/clang/test/Sema/
implicit-builtin-redecl.c 9 void *calloc(int, int, int); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \
10 // expected-note{{'calloc' is a builtin with type 'void *}}
13 calloc(0, 0, 0);
implicit-builtin-decl.c 10 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \
11 // expected-note{{'calloc' is a builtin with type 'void *}}
15 int calloc = 1; local
  /external/bison/m4/
calloc.m4 0 # calloc.m4 serial 15
10 # Determine whether calloc (N, S) returns non-NULL when N*S is zero,
12 # If so, define HAVE_CALLOC. Otherwise, define calloc to rpl_calloc
13 # and arrange to use a calloc wrapper function that does work in that case.
17 # If 'calloc (0, 0)' is properly handled, run IF-WORKS, otherwise, IF-NOT.
22 AC_CACHE_CHECK([for GNU libc compatible calloc],
28 if (!calloc (0, 0))
30 if (calloc ((size_t) -1 / 8 + 1, 8))
56 # Report whether 'calloc (0, 0)' is properly handled, and replace calloc i
    [all...]
  /external/bison/lib/
calloc.c 0 /* calloc() function that is glibc compatible.
21 /* Only the AC_FUNC_CALLOC macro defines 'calloc' already in config.h. */
22 #ifdef calloc
24 # undef calloc macro
25 /* Whereas the gnulib module 'calloc-gnu' defines HAVE_CALLOC_GNU. */
35 /* Call the system's calloc below. */
36 #undef calloc macro
54 /* Defend against buggy calloc implementations that mishandle
65 result = calloc (n, s);
xmalloc.c 27 /* 1 if calloc is known to be compatible with GNU calloc. This
28 matters if we are not also using the calloc module, which defines
96 /* Test for overflow, since some calloc implementations don't have
98 HAVE_GNU_CALLOC, since GNU calloc catches overflow and never
101 || (! (p = calloc (n, s)) && (HAVE_GNU_CALLOC || n != 0)))
  /external/valgrind/main/none/tests/
timestamp.c 7 int* x = calloc(1,sizeof(int));
  /external/valgrind/main/massif/tests/
filter_stderr 11 perl -n -e 'print if !/^Massif: (malloc|calloc|realloc|memalign)_common$/' |
14 perl -n -e 'print if !/^Massif: malloc_zone_(malloc|calloc|realloc|memalign|valloc)$/'
  /external/clang/test/Analysis/
malloc-sizeof.c 6 void *calloc(size_t nmemb, size_t size);
22 struct A *ap1 = calloc(1, sizeof(struct A));
23 struct A *ap2 = calloc(2, sizeof(*ap1));
24 struct A *ap3 = calloc(2, sizeof(ap1)); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct A *'}}
25 struct A *ap4 = calloc(3, sizeof(struct A*)); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct A *'}}
26 struct A *ap5 = calloc(4, sizeof(struct B)); // expected-warning {{Result of 'calloc' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'struct B'}}
  /external/llvm/test/CodeGen/ARM/
2008-05-19-ScavengerAssert.ll 6 declare i8* @calloc(i32, i32)
13 %tmp158 = tail call i8* @calloc( i32 0, i32 4 ) ; <i8*> [#uses=0]
  /external/valgrind/main/none/tests/darwin/
apple-main-arg.c 14 char *pargv = calloc((PATH_MAX+1), sizeof(char)),
15 *pappl = calloc((PATH_MAX+1), sizeof(char));
  /ndk/sources/host-tools/sed-4.2.1/lib/
xmalloc.c 31 /* 1 if calloc is known to be compatible with GNU calloc. This
32 matters if we are not also using the calloc module, which defines
92 /* Test for overflow, since some calloc implementations don't have
94 HAVE_GNU_CALLOC, since GNU calloc catches overflow and never
97 || (! (p = calloc (n, s)) && (HAVE_GNU_CALLOC || n != 0)))
  /development/tools/yuv420sp2rgb/
debug.h 53 static inline void *CALLOC(unsigned int num_entries, unsigned int entry_size) {
54 void *m = calloc(num_entries, entry_size);
55 FAILIF(NULL == m, "calloc(%d, %d) failed!\n", num_entries, entry_size);
  /ndk/sources/host-tools/sed-4.2.1/m4/
malloc.m4 25 # Test whether malloc, realloc, calloc are POSIX compliant,
29 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
  /external/chromium/base/allocator/
generic_allocators.cc 66 void* calloc(size_t n, size_t elem_size) __THROW {
86 return calloc(n, elem_size);
101 return calloc(n, size);
107 #undef calloc macro
130 return calloc(n, size);
  /external/llvm/test/CodeGen/Thumb2/
thumb2-tbh.ll 15 declare noalias i8* @calloc(i32, i32) nounwind
44 %2 = call noalias i8* @calloc(i32 21, i32 1) nounwind ; <i8*> [#uses=0]
51 %5 = call noalias i8* @calloc(i32 22, i32 1) nounwind ; <i8*> [#uses=0]
55 %6 = call noalias i8* @calloc(i32 20, i32 1) nounwind ; <i8*> [#uses=0]
59 %7 = call noalias i8* @calloc(i32 14, i32 1) nounwind ; <i8*> [#uses=0]

Completed in 411 milliseconds

1 2 3 4 5 6 7 8 91011>>