OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:malloc
(Results
376 - 400
of
4430
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/linux-tools-perf/util/
values.c
9
values->pid =
malloc
(values->threads_max * sizeof(*values->pid));
10
values->tid =
malloc
(values->threads_max * sizeof(*values->tid));
11
values->value =
malloc
(values->threads_max * sizeof(*values->value));
17
values->counterrawid =
malloc
(values->counters_max
19
values->countername =
malloc
(values->counters_max
71
values->value[i] =
malloc
(values->counters_max * sizeof(**values->value));
136
counterwidth =
malloc
(values->counters * sizeof(*counterwidth));
cpumap.c
16
cpus =
malloc
(sizeof(*cpus) + nr_cpus * sizeof(int));
31
struct cpu_map *cpus =
malloc
(sizeof(*cpus) + payload_size);
171
struct cpu_map *cpus =
malloc
(sizeof(*cpus) + sizeof(int));
levenshtein.c
45
int *row0 =
malloc
(sizeof(int) * (len2 + 1));
46
int *row1 =
malloc
(sizeof(int) * (len2 + 1));
47
int *row2 =
malloc
(sizeof(int) * (len2 + 1));
/external/mdnsresponder/mDNSShared/
dnsextd_parser.y
202
keySpec = ( KeySpec* )
malloc
( sizeof( KeySpec ) );
223
zoneSpec = ( ZoneSpec* )
malloc
( sizeof( ZoneSpec ) );
245
zoneSpec = ( ZoneSpec* )
malloc
( sizeof( ZoneSpec ) );
332
elem = ( StringListElem* )
malloc
( sizeof( StringListElem ) );
456
zone = ( DNSZone* )
malloc
( sizeof( DNSZone ) );
482
DomainAuthInfo * authInfo =
malloc
( sizeof( DomainAuthInfo ) );
516
DomainAuthInfo * authInfo =
malloc
( sizeof( DomainAuthInfo ) );
/external/tremolo/Tremolo/
misc.c
76
pointers=(void **)
malloc
(sizeof(void **)*palloced);
77
insertlist=(long *)
malloc
(sizeof(long *)*palloced);
103
files=
malloc
(filecount*sizeof(*files));
104
file_bytes=
malloc
(filecount*sizeof(*file_bytes));
187
fprintf(stderr,"DEBUGGING
MALLOC
ERROR: freeing previously freed memory\n");
192
fprintf(stderr,"DEBUGGING
MALLOC
ERROR: freeing unmalloced memory\n");
216
ptr=
malloc
(bytes);
/system/core/libcutils/
dir_hash.c
149
char *name =
malloc
(strlen(de->d_name) + 1);
150
struct list *node =
malloc
(sizeof(struct list));
181
name =
malloc
(strlen(f->name) + strlen(directory_path) + 2);
207
keep =
malloc
(len + strlen(name) + 3);
208
res =
malloc
(sizeof(struct list));
285
list =
malloc
(count * sizeof(struct list *));
303
buf =
malloc
(len + 1);
/external/valgrind/main/coregrind/m_replacemalloc/
vg_replace_malloc.c
3
/*--- Replacements for
malloc
() et al, which run on the simulated ---*/
35
These functions are drop-in replacements for
malloc
() and friends.
40
that wishes to know about calls to
malloc
(). The tool must define all
106
through to
malloc
/free.
165
/*--- Replacing
malloc
() et al ---*/
183
/* Below are new versions of
malloc
, __builtin_new, free,
187
be found by the dynamic linker. But ALL client calls to
malloc
()
195
/*----------------------
malloc
----------------------*/
260
//
malloc
262
ALLOC_or_NULL(VG_Z_LIBSTDCXX_SONAME,
malloc
, malloc)
[
all
...]
/frameworks/rs/
rsFileA3D.cpp
33
mAlloc
= NULL;
57
if (
mAlloc
) {
58
free(
mAlloc
);
172
uint8_t *headerData = (uint8_t *)
malloc
(headerSize);
197
mAlloc
=
malloc
(mDataSize);
198
if (!
mAlloc
) {
201
mData = (uint8_t *)
mAlloc
;
202
len = fread(
mAlloc
, 1, mDataSize, f);
/external/clang/test/Analysis/
unix-fns.c
13
void *
malloc
(size_t);
60
// PR 2899 - warn of zero-sized allocations to
malloc
().
62
char* foo =
malloc
(0); // expected-warning{{Call to '
malloc
' has an allocation size of 0 bytes}}
68
char* foo =
malloc
(size); // no-warning
/external/compiler-rt/lib/asan/tests/
asan_mac_test.mm
66
char * volatile mem =
malloc
(size);
72
char * volatile mem =
malloc
(size);
167
char * volatile mem =
malloc
(10);
184
char * volatile mem =
malloc
(10);
202
char * volatile mem =
malloc
(10);
/external/icu4c/test/cintltst/
nfsprep.c
79
b1 = (UChar*)
malloc
(b1Len * U_SIZEOF_UCHAR);
95
b2 = (UChar*)
malloc
(b2Len * U_SIZEOF_UCHAR);
107
b3 = (char*)
malloc
(b3Len);
237
p = (char*)
malloc
(pLen);
250
s = (char*)
malloc
(pLen);
/external/jpeg/
jmem-android.c
22
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
23
extern void *
malloc
JPP((size_t size));
34
* routines
malloc
() and free().
40
return (void *)
malloc
(sizeofobject);
60
return (void FAR *)
malloc
(sizeofobject);
/external/libselinux/src/
context.c
27
(context_private_t *)
malloc
(sizeof(context_private_t));
28
context_t result = (context_t)
malloc
(sizeof(context_s_t));
71
n->component[i] = (char *)
malloc
(p - tok + 1);
132
n->current_str =
malloc
(total);
157
t = (char *)
malloc
(strlen(str) + 1);
/external/llvm/docs/HistoricalNotes/
2001-02-09-AdveComments.txt
50
o I still have some major concerns about including
malloc
and free in the
53
C, C++ Java and Fortran 90 would not be able to use our
malloc
anyway
58
Having a single
malloc
would just not suffice, and instead would simply
62
Instead, providing a default library version of
malloc
and free
72
problems with
malloc
listed above.
/external/qemu/distrib/jpeg-6b/
jmem-android.c
22
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
23
extern void *
malloc
JPP((size_t size));
34
* routines
malloc
() and free().
40
return (void *)
malloc
(sizeofobject);
60
return (void FAR *)
malloc
(sizeofobject);
/external/valgrind/main/include/
pub_tool_replacemalloc.h
3
/*---
Malloc
replacement. pub_tool_replacemalloc.h ---*/
34
/* If a tool replaces
malloc
() et al, the easiest way to do so is to
56
/* Some options that can be used by a tool if
malloc
() et al are replaced.
58
control over these aspects of Valgrind's version of
malloc
(). */
60
/* DEBUG: print
malloc
details? default: NO */
/external/valgrind/main/memcheck/perf/
many-loss-records.c
26
indirection at each
malloc
-ed level */
96
new =
malloc
(sz);
206
topblocks =
malloc
(sizeof(struct Chunk*) * stacks * malloc_fan);
209
printf ("total bytes
malloc
-ed: %ld\n", total_malloced);
210
printf ("total blocks
malloc
-ed: %d\n", blocknr);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
memory.c
59
// we need to call the `real'
malloc
and free, not our replacements
60
#undef
malloc
macro
90
if (!(pool =
malloc
(chunksize))) return 0;
128
ch =
malloc
(minreq);
131
ch =
malloc
(pool->chunksize);
/bootable/recovery/edify/
expr.c
28
// - return a
malloc
()'d string
54
Value* v =
malloc
(sizeof(Value));
71
char** strings =
malloc
(argc * sizeof(char*));
86
result =
malloc
(length+1);
152
char* err_src =
malloc
(len + 20);
330
Expr* e =
malloc
(sizeof(Expr));
334
e->argv =
malloc
(count * sizeof(Expr*));
406
char** args =
malloc
(count * sizeof(char*));
432
Value** args =
malloc
(count * sizeof(Value*));
459
char** args = (char**)
malloc
(argc * sizeof(char*))
[
all
...]
/external/checkpolicy/
queue.c
17
q = (queue_t)
malloc
(sizeof(struct queue_info));
33
newnode = (queue_node_ptr_t)
malloc
(sizeof(struct queue_node));
57
newnode = (queue_node_ptr_t)
malloc
(sizeof(struct queue_node));
/external/e2fsprogs/e2fsck/
mtrace.c
1
/* More debugging hooks for `
malloc
'.
89
hdr = (__ptr_t)
malloc
(size);
147
/* Be sure it doesn't
malloc
its buffer! */
/external/libffi/testsuite/libffi.call/
pyobjc-tc.c
50
point_type.elements =
malloc
(3 * sizeof(ffi_type*));
58
size_type.elements =
malloc
(3 * sizeof(ffi_type*));
66
rect_type.elements =
malloc
(3 * sizeof(ffi_type*));
/external/llvm/test/Transforms/GlobalOpt/
crash.ll
28
%C = call noalias i8* @
malloc
(i64 %B) nounwind
42
declare noalias i8* @
malloc
(i64) nounwind
52
%call = call i8* @
malloc
(i64 %mul)
/external/llvm/tools/llvm-stub/
llvm-stub.c
44
Args = (const char**)
malloc
(sizeof(char*) * (argc+2));
55
argv[0] = strcat(strcpy((char*)
malloc
(len + 5), argv[0]), ".exe");
61
Args[1] = strcat(strcpy((char*)
malloc
(strlen(argv[0])+4), argv[0]), ".bc");
/external/valgrind/main/memcheck/tests/
mempool.c
43
p = (pool *)
malloc
(sizeof(pool));
44
p->where = p->mem = (char *)
malloc
(SUPERBLOCK_SIZE);
62
l = (level_list *)
malloc
(sizeof(level_list));
Completed in 274 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>