OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:malloc
(Results
101 - 125
of
4430
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/llvm/include/llvm/Analysis/
MemoryBuiltins.h
26
//
malloc
Call Utility Functions.
29
/// isMalloc - Returns true if the value is either a
malloc
call or a bitcast of
30
/// the result of a
malloc
call
34
/// is a
malloc
call. Since CallInst::CreateMalloc() only creates calls, we
40
/// instruction is a bitcast of the result of a
malloc
call.
45
/// is a call to
malloc
whose array size can be determined and the array size
49
/// getMallocType - Returns the PointerType resulting from the
malloc
call.
50
/// The PointerType depends on the number of bitcast uses of the
malloc
call:
51
/// 0: PointerType is the
malloc
calls' return type.
56
/// getMallocAllocatedType - Returns the Type allocated by
malloc
call
[
all
...]
/external/clang/test/Analysis/
malloc-interprocedural.c
1
// RUN: %clang_cc1 -analyze -analyzer-checker=unix.
Malloc
-analyzer-ipa=inlining -analyzer-inline-max-stack-depth=5 -analyzer-inline-max-function-size=6 -analyzer-store=region -verify %s
6
void *
malloc
(size_t);
15
*d =
malloc
(size);
20
data =
malloc
(size);
80
char *v =
malloc
(12);
94
int *x = (int*)
malloc
(12);
/external/jpeg/
jmemnobs.c
11
* can be obtained from
malloc
().
23
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
24
extern void *
malloc
JPP((size_t size));
31
* routines
malloc
() and free().
37
return (void *)
malloc
(sizeofobject);
57
return (void FAR *)
malloc
(sizeofobject);
/external/llvm/lib/Analysis/
MemoryBuiltins.cpp
24
//
malloc
Call Utility Functions.
27
/// isMalloc - Returns true if the value is either a
malloc
call or a
28
/// bitcast of the result of a
malloc
call.
40
if (Callee->getName() != "
malloc
" &&
47
// Check
malloc
prototype.
58
/// is a
malloc
call. Since CallInst::CreateMalloc() only creates calls, we
78
/// instruction is a bitcast of the result of a
malloc
call.
96
// The size of the
malloc
's result type must be known to determine array size.
105
// If
malloc
call's arg can be determined to be a multiple of ElementSize,
117
/// is a call to
malloc
whose array size can be determined and the array siz
[
all
...]
/external/llvm/test/Transforms/GlobalOpt/
2009-11-16-MallocSingleStoreToGlobalVar.ll
2
; GlobalOpt was treating a non-optimizable array
malloc
as a non-array
malloc
3
; and optimizing the global object that the
malloc
was stored to as a single
20
%4 = call noalias i8* @
malloc
(i64 %3) nounwind ; <i8*> [#uses=1]
21
; CHECK: call noalias i8* @
malloc
30
declare noalias i8* @
malloc
(i64) nounwind
/external/qemu/distrib/jpeg-6b/
jmemnobs.c
11
* can be obtained from
malloc
().
23
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
24
extern void *
malloc
JPP((size_t size));
31
* routines
malloc
() and free().
37
return (void *)
malloc
(sizeofobject);
57
return (void FAR *)
malloc
(sizeofobject);
/external/valgrind/main/none/tests/amd64/
bug137714-amd64.c
20
UChar* dst =
malloc
(8);
42
UChar* dst =
malloc
(16);
67
UChar* regL =
malloc
(8);
68
UChar* regR =
malloc
(8);
89
UChar* regL =
malloc
(16);
90
UChar* regR =
malloc
(16);
/external/valgrind/main/none/tests/x86/
bug137714-x86.c
20
UChar* dst =
malloc
(8);
42
UChar* dst =
malloc
(16);
67
UChar* regL =
malloc
(8);
68
UChar* regR =
malloc
(8);
89
UChar* regL =
malloc
(16);
90
UChar* regR =
malloc
(16);
/external/bison/m4/
dmalloc.m4
9
[AC_MSG_CHECKING([if
malloc
debugging is wanted])
16
[Define if using the dmalloc debugging
malloc
package])
/external/llvm/test/Analysis/GlobalsModRef/
indirect-global.ll
7
declare i8* @
malloc
(i32)
9
%a = call i8* @
malloc
(i32 4)
/external/valgrind/main/VEX/test/
fpspeed.c
11
double* a1 =
malloc
(1000 * sizeof(double));
12
double* a2 =
malloc
(1000 * sizeof(double));
fstenv.c
13
unsigned int* buf =
malloc
(7*sizeof(int));
/external/valgrind/main/helgrind/tests/
free_is_write.c
11
the
malloc
'd area, then free it. */
28
s_mem =
malloc
(10);
/external/valgrind/main/memcheck/tests/
origin4-many.c
32
int* p_ui1 =
malloc
(sizeof(int));
33
int* p_ui2 =
malloc
(sizeof(int));
34
int* p_ui3 =
malloc
(sizeof(int));
35
int* p_ui4 =
malloc
(sizeof(int));
36
int* p_ui5 =
malloc
(sizeof(int));
37
int* p_ui6 =
malloc
(sizeof(int));
38
int* p_ui7 =
malloc
(sizeof(int));
39
int* p_ui8 =
malloc
(sizeof(int));
badrw.c
5
void* x =
malloc
(10);
holey_buffer_too_small.c
19
a =
malloc
(8);
25
a =
malloc
(8);
31
a =
malloc
(8);
37
a =
malloc
(8);
pipe.c
11
int *filedes =
malloc
(2 * sizeof(int));
realloc1.c
13
char* p =
malloc
(1);
trivialleak.stderr.exp
2
at 0x........:
malloc
(vg_replace_malloc.c:...)
trivialleak.stderr.exp2
2
at 0x........:
malloc
(vg_replace_malloc.c:...)
/external/clang/test/CodeGenCXX/
2010-03-09-AnonAggregate.cpp
5
// This test case causes crashes if
malloc
is configured to trip buffer overruns.
/external/icu4c/samples/layout/
arraymem.h
16
#define NEW_ARRAY(type,count) (type *)
malloc
((count) * sizeof(type))
/external/oprofile/libutil/
op_libiberty.h
21
#define OP_ATTRIB_MALLOC __attribute__((
malloc
))
40
/* Allocate memory without fail. If
malloc
fails, this will print a
46
realloc type functions are not suitable for attribute
malloc
since
67
#define xmalloc(s)
malloc
(s)
/external/valgrind/main/massif/tests/
big-alloc.c
12
malloc
(10 * 1024 * 1024);
/external/valgrind/main/tests/
Makefile.am
19
malloc
.h \
Completed in 1216 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>