Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/external/libyuv/files/unit_test/
Drotate_test.cc44 input = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
45 output_1 = static_cast<uint8*>(calloc(ow * oh, sizeof(uint8))); in TEST_F()
46 output_2 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
92 input = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
93 output_a1 = static_cast<uint8*>(calloc(ow * oh, sizeof(uint8))); in TEST_F()
94 output_b1 = static_cast<uint8*>(calloc(ow * oh, sizeof(uint8))); in TEST_F()
95 output_a2 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
96 output_b2 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
154 input = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
155 output_0 = static_cast<uint8*>(calloc(iw * ih, sizeof(uint8))); in TEST_F()
[all …]
/external/clang/test/Analysis/
Dmalloc-sizeof.c6 void *calloc(size_t nmemb, size_t size);
20 struct A *ap1 = calloc(1, sizeof(struct A)); in foo()
21 struct A *ap2 = calloc(2, sizeof(*ap1)); in foo()
22 …struct A *ap3 = calloc(2, sizeof(ap1)); // expected-warning {{Result of 'calloc' is converted to t… in foo()
23 …struct A *ap4 = calloc(3, sizeof(struct A*)); // expected-warning {{Result of 'calloc' is converte… in foo()
24 …struct A *ap5 = calloc(4, sizeof(struct B)); // expected-warning {{Result of 'calloc' is converted… in foo()
Dunix-fns.c12 void *calloc(size_t, size_t);
74 …char *foo = calloc(0, 42); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes… in test_calloc()
80 …char *foo = calloc(42, 0); // expected-warning{{Call to 'calloc' has an allocation size of 0 bytes… in test_calloc2()
86 char *foo = calloc(nmemb, size); // no-warning in test_calloc_nowarn()
Dmalloc-annotations.c6 void *calloc(size_t nmemb, size_t size);
243 char *buf = calloc(2,2); in callocNoFree()
249 char *buf = calloc(2,2); in callocZeroesGood()
258 char *buf = calloc(2,2); in callocZeroesBad()
/external/valgrind/main/memcheck/tests/
Dpartial_load.c14 p = calloc( sizeof(long)-1, 1 ); in main()
20 p = calloc( sizeof(long), 1 ); in main()
28 p = calloc( sizeof(short)-1, 1 ); in main()
34 p = calloc( sizeof(long), 1 ); in main()
Dmalloc3.stdout.exp3 calloc(0,1) = 0x........
4 calloc(0,-1) = 0x........
5 calloc(-1,-1) = 0x........
Dmalloc3.c19 p = calloc(0,1); in main()
23 p = calloc(0,-1); in main()
30 p = calloc(-1,-1); in main()
Dpartial_load_dflt.stderr.exp5 at 0x........: calloc (vg_replace_malloc.c:...)
11 at 0x........: calloc (vg_replace_malloc.c:...)
17 at 0x........: calloc (vg_replace_malloc.c:...)
Dpartial_load_dflt.stderr.exp645 at 0x........: calloc (vg_replace_malloc.c:...)
11 at 0x........: calloc (vg_replace_malloc.c:...)
17 at 0x........: calloc (vg_replace_malloc.c:...)
Dwrap6.c182 UInt* words = calloc(200, sizeof(UInt)); in fn_0()
208 UInt* words = calloc(200, sizeof(UInt)); in fn_1()
235 UInt* words = calloc(200, sizeof(UInt)); in fn_2()
263 UInt* words = calloc(200, sizeof(UInt)); in fn_3()
292 UInt* words = calloc(200, sizeof(UInt)); in fn_4()
322 UInt* words = calloc(200, sizeof(UInt)); in fn_5()
353 UInt* words = calloc(200, sizeof(UInt)); in fn_6()
386 UInt* words = calloc(200, sizeof(UInt)); in fn_7()
422 UInt* words = calloc(200, sizeof(UInt)); in fn_8()
459 UInt* words = calloc(200, sizeof(UInt)); in fn_9()
[all …]
/external/chromium/base/allocator/
Dgeneric_allocators.cc66 void* calloc(size_t n, size_t elem_size) __THROW { in calloc() function
86 return calloc(n, elem_size); in _recalloc()
101 return calloc(n, size); in _calloc_impl()
107 #undef calloc
130 return calloc(n, size); in _calloc_dbg()
/external/compiler-rt/lib/asan/
Dasan_malloc_win.cc54 void *calloc(size_t nmemb, size_t size) { in calloc() function
60 return calloc(n, size); in _calloc_dbg()
64 return calloc(nmemb, size); in _calloc_impl()
79 return calloc(n, elem_size); in _recalloc()
Dasan_malloc_linux.cc29 void* (*calloc)(size_t n_elements, size_t elem_size); member
35 malloc, free, calloc, realloc, memalign
72 INTERCEPTOR(void*, calloc, size_t nmemb, size_t size) { in INTERCEPTOR() argument
/external/valgrind/main/none/tests/ppc64/
Dlsw.c69 a2 = calloc(100,1); in main()
80 a2 = calloc(100,1); in main()
91 a2 = calloc(100,1); in main()
/external/valgrind/main/none/tests/ppc32/
Dlsw.c69 a2 = calloc(100,1); in main()
80 a2 = calloc(100,1); in main()
91 a2 = calloc(100,1); in main()
/external/ipsec-tools/src/racoon/
Dgenlist.c44 struct genlist *new = calloc(sizeof(struct genlist), 1); in genlist_init()
52 struct genlist_entry *entry = calloc(sizeof(struct genlist_entry), 1); in genlist_insert()
61 struct genlist_entry *entry = calloc(sizeof(struct genlist_entry), 1); in genlist_append()
143 cf = calloc(sizeof(struct conf), 1);
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c121 ifi = (struct ifi_info*)calloc(1, sizeof(struct ifi_info)); in get_ifi_info_linuxv6()
143 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
152 ifi->ifi_netmask = calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
156 sin6=calloc(1, sizeof(struct sockaddr_in6)); in get_ifi_info_linuxv6()
157 addrptr=calloc(1, sizeof(struct in6_addr)); in get_ifi_info_linuxv6()
305 ifi = (struct ifi_info*)calloc(1, sizeof(struct ifi_info)); in get_ifi_info()
335 ifi->ifi_addr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info()
359 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info()
381 ifi->ifi_brdaddr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info()
400 ifi->ifi_dstaddr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); in get_ifi_info()
[all …]
/external/llvm/test/CodeGen/Thumb2/
Dthumb2-tbh.ll15 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]
/external/mesa3d/src/mesa/program/
Dsymbol_table.c189 struct scope_level *const scope = calloc(1, sizeof(*scope)); in _mesa_symbol_table_push_scope()
208 struct _mesa_symbol_table_iterator *iter = calloc(1, sizeof(*iter)); in _mesa_symbol_table_iterator_ctor()
339 hdr = calloc(1, sizeof(*hdr)); in _mesa_symbol_table_add_symbol()
361 sym = calloc(1, sizeof(*sym)); in _mesa_symbol_table_add_symbol()
396 hdr = calloc(1, sizeof(*hdr)); in _mesa_symbol_table_add_global_symbol()
425 sym = calloc(1, sizeof(*sym)); in _mesa_symbol_table_add_global_symbol()
457 struct _mesa_symbol_table *table = calloc(1, sizeof(*table)); in _mesa_symbol_table_ctor()
/external/clang/test/Sema/
Dimplicit-builtin-redecl.c9 void *calloc(int, int, int); // expected-warning{{incompatible redeclaration of library function 'c…
13 calloc(0, 0, 0); in f1()
Dimplicit-builtin-decl.c10 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of libra…
15 int calloc = 1; in g() local
/external/openssh/openbsd-compat/
Dbsd-poll.c58 if ((readfds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll()
59 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll()
60 (exceptfds = calloc(nmemb, sizeof(fd_mask))) == NULL) { in poll()
/external/valgrind/main/none/tests/darwin/
Dapple-main-arg.c14 char *pargv = calloc((PATH_MAX+1), sizeof(char)), in main()
15 *pappl = calloc((PATH_MAX+1), sizeof(char)); in main()
/external/linux-tools-perf/
Dbuiltin-kvm.c64 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_record()
82 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_report()
100 rec_argv = calloc(rec_argc + 1, sizeof(char *)); in __cmd_buildid_list()
/external/elfutils/libelf/
Delf_newscn.c111 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList)
139 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr));
148 result->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr));

12345678910>>...16