OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:malloc
(Results
601 - 625
of
4430
) sorted by null
<<
21
22
23
24
25
26
27
28
29
30
>>
/prebuilts/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/stl/
_tempbuf.c
43
_Tp* __tmp = (_Tp*)
malloc
((size_t)__len * sizeof(_Tp));
/system/core/adb/
adb_client.h
19
** a
malloc
'd string of its response upon success or NULL
/system/core/include/cutils/
misc.h
24
/* Load an entire file into a
malloc
'd chunk of memory
/system/core/libcutils/
load_file.c
37
data = (char*)
malloc
(sz + 1);
native_handle.c
30
native_handle_t* h =
malloc
(
strdup16to8.c
43
* dst =
malloc
(strnlen16to8(utf16,len)+1)
47
* when it detects one. A careless user will try to
malloc
113
* its
malloc
(SIZE_MAX) in case of overflow.
161
ret =
malloc
(len + 1);
/system/extras/micro_bench/
micro_bench.c
87
uint8_t *b =
malloc
(sz);
111
uint8_t *a =
malloc
(sz);
113
uint8_t *b =
malloc
(sz);
139
int *b =
malloc
(sz);
/external/llvm/docs/HistoricalNotes/
2001-02-09-AdveCommentsResponse.txt
93
> I still have some major concerns about including
malloc
and free in the
98
malloc
/free are either built in functions or actual opcodes. They provide
103
implementation may want to override the default
malloc
/free behavior of
104
the program. To do this, they simply implement a "
malloc
" and
106
defined
malloc
/free function (which return/take void*'s, not type'd
108
fall back on a system
malloc
/free.
116
> problems with
malloc
listed above.
/external/valgrind/main/coregrind/
m_commandline.c
52
/* Read the contents of .valgrindrc in 'dir' into
malloc
'd memory. */
53
// Note that we deliberately don't free the
malloc
'd memory. See
73
f_clo = VG_(
malloc
)("commandline.rdv.1", stat_buf.size+1);
166
tmp_xarray = VG_(newXA)( VG_(
malloc
), "commandline.sua.1",
172
= VG_(newXA)( VG_(
malloc
), "commandline.sua.2",
178
= VG_(newXA)( VG_(
malloc
), "commandline.sua.3",
214
// VG_(
malloc
)(). We do not free f1_clo and f2_clo as they get
/external/blktrace/
blkrawverify.c
131
bit =
malloc
(sizeof(struct blk_io_trace)); \
148
struct blk_io_trace *bit =
malloc
(sizeof(struct blk_io_trace));
198
pdu_buf =
malloc
(bit->pdu_len);
282
char *ofname =
malloc
(1024);
283
char *fname =
malloc
(1024);
/external/blktrace/btt/
seek.c
52
oname =
malloc
(strlen(seek_name) + strlen(str) + 32);
81
sbp =
malloc
(sizeof(struct seek_bkt));
170
mp->modes =
malloc
(sizeof(long long));
210
struct seeki *sip =
malloc
(sizeof(struct seeki));
225
oname =
malloc
(strlen(sps_name) + strlen(str) + 32);
/external/e2fsprogs/intl/
bindtextdom.c
155
result = (char *)
malloc
(len);
193
result = (char *)
malloc
(len);
225
(struct binding *)
malloc
(offsetof (struct binding, domainname) + len);
252
result = (char *)
malloc
(len);
283
result = (char *)
malloc
(len);
/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/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);
/system/extras/ext4_utils/
simg2img.c
32
/* This will be
malloc
'ed with the size of blk_sz from the sparse file header */
193
if ( (copybuf =
malloc
(COPY_BUF_SIZE)) == 0) {
194
fprintf(stderr, "Cannot
malloc
copy buf\n");
239
if ( (zerobuf =
malloc
(sparse_header.blk_sz)) == 0) {
240
fprintf(stderr, "Cannot
malloc
zero buf\n");
/system/extras/libublock/
ublock.c
352
ub_ctx =
malloc
(sizeof(struct ublock_ctx));
359
in_buf =
malloc
(size);
360
out_buf =
malloc
(size);
392
ub_ctx->in_buf =
malloc
(ub_ctx->max_buf);
393
ub_ctx->out_buf =
malloc
(ub_ctx->max_buf);
/system/vold/
Devmapper.cpp
43
char *buffer = (char *)
malloc
(1024 * 64);
50
char *buffer2 = (char *)
malloc
(DEVMAPPER_BUFFER_SIZE);
134
char *buffer = (char *)
malloc
(DEVMAPPER_BUFFER_SIZE);
168
char *buffer = (char *)
malloc
(DEVMAPPER_BUFFER_SIZE);
265
char *buffer = (char *)
malloc
(DEVMAPPER_BUFFER_SIZE);
/external/icu4c/test/cintltst/
cmsgtst.c
63
testCasePatterns[i]=(UChar*)
malloc
(sizeof(UChar) * strSize);
68
testResultStrings[i] = (UChar*)
malloc
(sizeof(UChar) * strSize);
111
str=(UChar*)
malloc
(sizeof(UChar) * 7);
114
result=(UChar*)
malloc
(sizeof(UChar) * 1);
158
result=(UChar*)
malloc
(sizeof(UChar) * resultlength);
206
result = (UChar*)
malloc
(U_SIZEOF_UCHAR*resultLength+2);
278
str=(UChar*)
malloc
(sizeof(UChar) * 15);
283
result=(UChar*)
malloc
(sizeof(UChar) * 1);
411
result=(UChar*)
malloc
(sizeof(UChar) * resultlength);
488
str=(UChar*)
malloc
(sizeof(UChar) * 25)
[
all
...]
/external/valgrind/main/massif/tests/
basic2.post.exp
39
00.00% (0B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
45
98.04% (3,600B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
52
98.04% (7,600B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
59
98.04% (10,800B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
66
98.04% (14,400B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
73
98.04% (11,200B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
80
98.04% (8,000B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
87
98.04% (4,800B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
94
98.04% (1,600B) (heap allocation functions)
malloc
/new/new[], --alloc-fns, etc.
/ndk/sources/host-tools/sed-4.2.1/sed/
utils.c
142
p =
MALLOC
(1, struct open_file);
452
/* Panic on failing
malloc
*/
484
/* Return a
malloc
()'d copy of a string */
489
char *ret =
MALLOC
(strlen(str)+1, char);
493
/* Return a
malloc
()'d copy of a block of memory */
503
/* Release a
malloc
'd block of memory */
515
nor do we care, as long as it doesn't mind being aligned by
malloc
. */
529
struct buffer *b =
MALLOC
(1, struct buffer);
530
b->b =
MALLOC
(MIN_ALLOCATE, char);
/external/libpcap/
inet.c
98
if ((newsa =
malloc
(sa_length)) == NULL)
187
en_name =
malloc
(en_name_len + 1);
190
"
malloc
: %s", pcap_strerror(errno));
214
curdev =
malloc
(sizeof(pcap_if_t));
217
"
malloc
: %s", pcap_strerror(errno));
228
"
malloc
: %s", pcap_strerror(errno));
239
"
malloc
: %s", pcap_strerror(errno));
390
curaddr =
malloc
(sizeof(pcap_addr_t));
393
"
malloc
: %s", pcap_strerror(errno));
402
"
malloc
: %s", pcap_strerror(errno))
[
all
...]
/bionic/libc/bionic/
malloc_debug_qemu.c
84
* this is not the pointer that is returned to the
malloc
's caller. Pointer
90
/* Number of bytes requested by the
malloc
's caller. */
93
/* Byte size of the prefix data. Actual pointer returned to the
malloc
's
123
* actually allocated in previous calls to
malloc
, calloc, memalign, or realloc.
135
* have to be exact pointer returned to
malloc
's caller, but can point
365
/* Gets pointer, returned to
malloc
caller for the given allocation decriptor.
369
* Pointer to the allocated memory returned to the
malloc
caller.
392
* desc - Descriptor for the memory block, allocated in
malloc
handler.
593
"<libc_pid=%03u, pid=%03u>:
malloc
: Access violation test failed:\n"
611
/* Initializes
malloc
debugging instrumentation for the emulator
[
all
...]
/external/aac/libSYS/src/mips/
genericStds_mips.cpp
134
printf("Unable to access sram. Fallback to
malloc
\n");
138
return
malloc
(MIPS_SRAM_SIZE);
145
printf("Unable to access sram. Fallback to
malloc
\n");
151
ptr = (unsigned long *)
malloc
(MIPS_SRAM_SIZE);
204
addr =
malloc
(MIPS_SRAM_SIZE);
220
return
malloc
(MIPS_SRAM_SIZE);
/external/clang/lib/StaticAnalyzer/Checkers/
MallocOverflowSecurityChecker.cpp
1
// MallocOverflowSecurityChecker.cpp - Check for
malloc
overflows -*- C++ -*-=//
12
// code looks like '
malloc
(n * 4)', and an attacker can make 'n' be
100
// We've found the right structure of
malloc
argument, now save
217
BR.EmitBasicReport(D, "
malloc
() size overflow", categories::UnixAPI,
232
// A list of variables referenced in possibly overflowing
malloc
operands.
252
if (FnInfo->isStr ("
malloc
") || FnInfo->isStr ("_MALLOC")) {
/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
(
Completed in 586 milliseconds
<<
21
22
23
24
25
26
27
28
29
30
>>