OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Calloc
(Results
1 - 7
of
7
) sorted by null
/bionic/libc/malloc_debug/tests/
malloc_debug_system_tests.cpp
231
static void
Calloc
() {
232
void* ptr =
calloc
(1, 1123);
238
Calloc
();
243
Calloc
();
369
"
calloc
",
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
st.c
56
#define
Calloc
(n,s) (char*)xcalloc((n),(s))
163
tbl->bins = (st_table_entry **)
Calloc
(size, sizeof(st_table_entry*));
327
new_bins = (st_table_entry**)
Calloc
(new_num_bins, sizeof(st_table_entry*));
362
Calloc
((unsigned)num_bins, sizeof(st_table_entry*));
/external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp
783
if (!TLI.getLibFunc("
calloc
", Func) || !TLI.has(Func))
789
Value *
Calloc
= M->getOrInsertFunction("
calloc
", Attrs, B.getInt8PtrTy(),
791
CallInst *CI = B.CreateCall(
Calloc
, { Num, Size }, "
calloc
");
793
if (const auto *F = dyn_cast<Function>(
Calloc
->stripPointerCasts()))
799
/// Fold memset[_chk](malloc(n), 0, n) -->
calloc
(1, n).
826
// Replace the malloc with a
calloc
. We need the data layout to know what the
831
Value *
Calloc
= emitCalloc(ConstantInt::get(SizeType, 1),
834
if (!
Calloc
)
[
all
...]
/external/compiler-rt/lib/asan/
asan_allocator.cc
564
void *
Calloc
(uptr nmemb, uptr size, BufferedStackTrace *stack) {
738
return instance.
Calloc
(nmemb, size, stack);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp
[
all
...]
SimplifyLibCalls.cpp
862
/// Fold memset[_chk](malloc(n), 0, n) -->
calloc
(1, n).
892
// Replace the malloc with a
calloc
. We need the data layout to know what the
897
Value *
Calloc
= emitCalloc(ConstantInt::get(SizeType, 1),
900
if (!
Calloc
)
903
Malloc->replaceAllUsesWith(
Calloc
);
906
return
Calloc
;
[
all
...]
/external/compiler-rt/lib/msan/tests/
msan_test.cc
351
TEST(MemorySanitizer,
Calloc
) {
352
S4 *x = (int*)Ident(
calloc
(1, sizeof(S4)));
363
char *x = Ident((char*)
calloc
(1, size));
[
all
...]
Completed in 1236 milliseconds