OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:malloc
(Results
526 - 550
of
2813
) sorted by null
<<
21
22
23
24
25
26
27
28
29
30
>>
/external/clang/test/Analysis/
unix-fns.c
14
void *
malloc
(size_t);
80
// PR 2899 - warn of zero-sized allocations to
malloc
().
82
char* foo =
malloc
(0); // expected-warning{{Call to '
malloc
' has an allocation size of 0 bytes}}
88
char* foo =
malloc
(size); // no-warning
709
// CHECK-NEXT: <string>Call to '
malloc
' has an allocation size of 0 bytes</string>
711
// CHECK-NEXT: <string>Call to '
malloc
' has an allocation size of 0 bytes</string>
714
// CHECK-NEXT: <key>description</key><string>Call to '
malloc
' has an allocation size of 0 bytes</string>
[
all
...]
/external/e2fsprogs/lib/blkid/
dev.c
117
iter =
malloc
(sizeof(struct blkid_struct_dev_iterate));
136
new_type =
malloc
(strlen(search_type)+1);
137
new_value =
malloc
(strlen(search_value)+1);
/external/e2fsprogs/lib/ext2fs/
finddev.c
49
dp =
malloc
(sizeof(struct dir_list));
52
dp->name =
malloc
(strlen(name)+1);
103
cp =
malloc
(strlen(path)+1);
/external/elfutils/libelf/
elf_getdata_rawchunk.c
121
rawchunk =
malloc
(size);
153
/* A
malloc
'd block is always sufficiently aligned. */
156
buffer =
malloc
(size);
171
buffer =
malloc
(size);
/external/hyphenation/
example.c
129
lcword = (char *)
malloc
(k+1);
130
hyphens = (char *)
malloc
(k+5);
168
hyphword = (char *)
malloc
(k+1+nHyphCount);
/external/icu4c/extra/uconv/
uwmsg.c
202
gInfoMessages = (UChar **)
malloc
((U_ERROR_WARNING_LIMIT-U_ERROR_WARNING_START)*sizeof(UChar*));
206
gErrMessages = (UChar **)
malloc
(U_ERROR_LIMIT*sizeof(UChar*));
254
msg = (UChar*)
malloc
((strlen(textMsg)+1)*sizeof(msg[0]));
/external/jpeg/
jmemname.c
20
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
21
extern void *
malloc
JPP((size_t size));
139
* routines
malloc
() and free().
145
return (void *)
malloc
(sizeofobject);
165
return (void FAR *)
malloc
(sizeofobject);
/external/linux-tools-perf/util/
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));
/external/llvm/include/llvm/Support/
Allocator.h
36
void *Allocate(size_t Size, size_t /*Alignment*/) { return
malloc
(Size); }
39
T *Allocate() { return static_cast<T*>(
malloc
(sizeof(T))); }
43
return static_cast<T*>(
malloc
(sizeof(T)*Num));
103
/// defaults to MallocSlabAllocator, which wraps
malloc
, but it could be
/external/qemu/distrib/jpeg-6b/
jmemname.c
20
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
21
extern void *
malloc
JPP((size_t size));
139
* routines
malloc
() and free().
145
return (void *)
malloc
(sizeofobject);
165
return (void FAR *)
malloc
(sizeofobject);
/external/qemu/
envlist.c
32
if ((envlist =
malloc
(sizeof (*envlist))) == NULL)
168
if ((entry =
malloc
(sizeof (*entry))) == NULL)
232
penv = env =
malloc
((envlist->el_count + 1) * sizeof (char *));
/external/valgrind/main/memcheck/tests/
mempool2.c
46
p = (pool *)
malloc
(sizeof(pool));
47
p->where = p->mem = (char *)
malloc
(SUPERBLOCK_SIZE);
65
l = (level_list *)
malloc
(sizeof(level_list));
121
// p1 is a
malloc
-backed pool
134
"\n------ out of range reads in
malloc
-backed pool ------\n\n");
144
"\n------ read free in
malloc
-backed pool ------\n\n");
154
"\n------ double free in
malloc
-backed pool ------\n\n");
/external/webkit/Source/WebKit/android/plugins/
ANPSystemInterface.cpp
68
char* storage = (char*)
malloc
(length + 1);
76
char* incognitoStorage = (char*)
malloc
(length + strlen(incognitoPath) + 1);
190
char* file = (char*)
malloc
(strlen(path) + strlen(separator) + strlen(entry->d_name) + 1);
/frameworks/av/libvideoeditor/vss/src/
VideoEditorResampler.cpp
59
mTmpInBuffer = (int16_t*)
malloc
(dataSize);
109
context->mInput = (int16_t*)
malloc
( (inSampleRate * MAX_SAMPLEDURATION_FOR_CONVERTION *
159
pTmpBuffer = (int32_t*)
malloc
(outFrameCount * 2 * sizeof(int32_t));
/frameworks/av/media/libmedia/
MediaScanner.cpp
55
mSkipList = (char *)
malloc
(PROPERTY_VALUE_MAX * sizeof(char));
64
mSkipIndex = (int *)
malloc
(PROPERTY_VALUE_MAX * sizeof(int));
87
char* pathBuffer = (char *)
malloc
(PATH_MAX + 1);
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
perf_log.c
103
perf->pLog = (PERF_LOG_Private *)
malloc
(sizeof (PERF_LOG_Private));
118
(unsigned long *)
malloc
(sizeof (unsigned long) * me->uBufSize);
119
me->fOutFile = (char *)
malloc
(strlen(config->trace_file) + 34);
/external/giflib/
gifalloc.c
60
Object = (ColorMapObject *)
malloc
(sizeof(ColorMapObject));
258
New->ExtensionBlocks=(ExtensionBlock *)
malloc
(sizeof(ExtensionBlock));
270
ep->Bytes = (char *)
malloc
(ep->ByteCount);
348
GifFile->SavedImages = (SavedImage *)
malloc
(sizeof(SavedImage));
380
sp->RasterBits = (unsigned char *)
malloc
(sizeof(GifPixelType) *
393
sp->ExtensionBlocks = (ExtensionBlock *)
malloc
(
/external/openssl/crypto/pkcs7/
example.c
97
data=
malloc
(total);
114
/* For this case, I will
malloc
the return strings */
148
*str1=
malloc
(os1->length+1);
149
*str2=
malloc
(os2->length+1);
261
data=
malloc
(total);
278
/* For this case, I will
malloc
the return strings */
315
*str1=
malloc
(os1->length+1);
316
*str2=
malloc
(os2->length+1);
/external/valgrind/main/massif/tests/
ignoring.post.exp
40
99.22% (1,024B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
48
98.46% (512B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
61
98.46% (512B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
87
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
102
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
117
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
132
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
147
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
163
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
183
97.96% (768B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc
[
all
...]
/build/tools/rgb2565/
to565.c
48
int* error =
malloc
((width+2) * 3 * sizeof(int));
49
int* next_error =
malloc
((width+2) * 3 * sizeof(int));
/dalvik/vm/jdwp/
ExpandBuf.cpp
45
newBuf = (ExpandBuf*)
malloc
(sizeof(*newBuf));
46
newBuf->storage = (u1*)
malloc
(kInitialStorage);
/development/tools/line_endings/
line_endings.c
62
Node* root =
malloc
(sizeof(Node));
67
node->next =
malloc
(sizeof(Node));
/external/blktrace/btt/
misc.c
120
struct file_info *fip =
malloc
(sizeof(*fip));
129
struct buf_info *bip =
malloc
(sizeof(*bip));
/external/chromium/sdch/open-vcdiff/
configure.ac
44
AC_CHECK_HEADERS([
malloc
.h])
/external/chromium/sdch/open-vcdiff/testdata/
configure.ac.v0.1
32
AC_CHECK_HEADERS([
malloc
.h])
Completed in 3242 milliseconds
<<
21
22
23
24
25
26
27
28
29
30
>>