OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:malloc
(Results
1176 - 1200
of
4430
) sorted by null
<<
41
42
43
44
45
46
47
48
49
50
>>
/ndk/sources/host-tools/make-3.81/glob/
glob.c
150
extern char *
malloc
(), *realloc ();
202
return (char *)
malloc
(n);
221
# include <
malloc
.h>
396
char *onealt = (char *)
malloc
(strlen (pattern) - 1);
831
char *dircopy =
malloc
(len);
960
pglob->gl_pathv[pglob->gl_pathc] =
malloc
(dir_len + 1
1139
char *new = (char *)
malloc
(dirlen + 1 + eltlen);
1279
names->name = (char *)
malloc
(1);
[
all
...]
/external/mdnsresponder/mDNSShared/
dnsextd.c
248
newSource = ( EventSource*)
malloc
( sizeof *newSource );
409
// returned value is allocated with
Malloc
, and contains sufficient extra
456
pkt =
malloc
(allocsize);
457
require_action_quiet( pkt, exit, err = mStatus_NoMemoryErr; LogErr( "RecvPacket", "
malloc
" ) );
790
cr =
malloc
(size);
791
if (!cr) { LogErr("CopyCacheRecord", "
malloc
"); return NULL; }
812
new =
malloc
(sizeof(RRTableElem *) * newnbuckets);
813
if (!new) { LogErr("RehashTable", "
malloc
"); return; }
[
all
...]
/external/valgrind/main/memcheck/
mc_leakcheck.c
63
// - heap-allocated blocks. A block is a mempool chunk or a
malloc
chunk
148
// ==20397== at 0x4C2694E:
malloc
(vg_replace_malloc.c:177)
154
// ==20397== at 0x4C2694E:
malloc
(vg_replace_malloc.c:177)
170
// ==20397== at 0x4C2694E:
malloc
(vg_replace_malloc.c:177)
183
// some special treatment because they can be within
malloc
'd blocks.
332
// mempool chunk, and every
malloc
region that *doesn't* contain a
339
// First we collect all the
malloc
chunks into an array and sort it.
350
// Then we build an array containing a Bool for each
malloc
chunk,
358
//
malloc
chunk containing the mempool chunk.
367
// Possibly invalidate the
malloc
holding the beginning of this chunk
[
all
...]
mc_malloc_wrappers.c
3
/*---
malloc
/free wrappers for detecting errors and updating bits. ---*/
62
/*--- Tracking
malloc
'd and free'd blocks ---*/
65
/* Record
malloc
'd blocks. */
180
MC_Chunk* mc = VG_(
malloc
)("mc.cMC.1 (a MC_Chunk)", sizeof(MC_Chunk));
193
management is working correctly, any pointer returned by VG_(
malloc
)
278
void* MC_(
malloc
) ( ThreadId tid, SizeT n )
function
280
if (complain_about_silly_args(n, "
malloc
")) {
597
mp = VG_(
malloc
)("mc.cm.1", sizeof(MC_Mempool));
607
VG_(
malloc
) should be noaccess as far as the client is
/external/bluetooth/glib/glib/
gslice.c
82
* as a fallback, on system without even valloc(), a
malloc
(3)-based page
107
#define NATIVE_MALLOC_PADDING P2ALIGNMENT /* per-page padding left for native
malloc
(3) see [1] */
281
{ "always-
malloc
", 1 << 0 },
286
if (flags & (1 << 0)) /* always-
malloc
*/
368
return 0; /* use
malloc
() */
823
else /* delegate to system
malloc
*/
882
else /* delegate to system
malloc
*/
[
all
...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
JPEGTest.c
262
Data = (uchar *)
malloc
(itemlen);
728
imageinfo = (IMAGE_INFO *)
malloc
(sizeof (IMAGE_INFO ) );
729
pPortParamType = (OMX_PORT_PARAM_TYPE*)
malloc
(sizeof(OMX_PORT_PARAM_TYPE));
730
pParamPortDef = (OMX_PARAM_PORTDEFINITIONTYPE*)
malloc
(sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
731
pInPortDef = (OMX_PARAM_PORTDEFINITIONTYPE*)
malloc
(sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
732
pOutPortDef = (OMX_PARAM_PORTDEFINITIONTYPE*)
malloc
(sizeof(OMX_PARAM_PORTDEFINITIONTYPE));
733
pScaleFactor = (OMX_CONFIG_SCALEFACTORTYPE*)
malloc
(sizeof(OMX_CONFIG_SCALEFACTORTYPE));
734
pPortType = (OMX_PORT_PARAM_TYPE*)
malloc
(sizeof(OMX_PORT_PARAM_TYPE));
735
pSectionDecode = (OMX_CUSTOM_IMAGE_DECODE_SECTION*)
malloc
(sizeof(OMX_CUSTOM_IMAGE_DECODE_SECTION));
736
pSubRegionDecode = (OMX_CUSTOM_IMAGE_DECODE_SUBREGION*)
malloc
(sizeof(OMX_CUSTOM_IMAGE_DECODE_SUBREGION))
[
all
...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
drm_api.c
42
T_DRM_Session_Node* s = (T_DRM_Session_Node *)
malloc
(sizeof(T_DRM_Session_Node));
303
pRightsNode = (T_DRM_Rights_Info_Node *)
malloc
(sizeof(T_DRM_Rights_Info_Node));
528
pRo =
malloc
(roAmount * sizeof(T_DRM_Rights));
539
pNumOfPriority =
malloc
(sizeof(int32_t) * roAmount);
722
/* Check if the length is larger than DRM max
malloc
length */
728
buf = (uint8_t *)
malloc
(bufLen);
812
/* Check if the length is larger than DRM max
malloc
length */
818
s->rawContent = (uint8_t *)
malloc
(s->rawContentLen);
857
s->infoStruct = (T_DRM_Dcf_Node *)
malloc
(sizeof(T_DRM_Dcf_Node));
868
s->infoStruct = (T_DRM_DM_Base64_Node *)
malloc
(sizeof(T_DRM_DM_Base64_Node))
[
all
...]
/external/chromium/base/
process_util_unittest.cc
25
#include <
malloc
.h>
39
#include <
malloc
/
malloc
.h>
747
TEST_F(OutOfMemoryDeathTest,
Malloc
) {
750
value_ =
malloc
(test_size_);
793
// hopefully overridden
malloc
, even g_try_malloc should fail. This tests
794
// that the run-time symbol resolution is overriding
malloc
for shared
/external/icu4c/i18n/unicode/
umsg.h
64
* str=(UChar*)
malloc
(sizeof(UChar) * (strlen("disturbance in force") +1));
66
* tzID=(UChar*)
malloc
(sizeof(UChar) * 4);
97
* str=(UChar*)
malloc
(sizeof(UChar) * 10);
106
* result=(UChar*)
malloc
(sizeof(UChar) * resultlength);
131
* str=(UChar*)
malloc
(sizeof(UChar) * 25);
133
* str1=(UChar*)
malloc
(sizeof(UChar) * 25);
144
* result=(UChar*)
malloc
(sizeof(UChar) * resultlength);
/external/icu4c/test/cintltst/
cdtrgtst.c
75
pat=(UChar*)
malloc
(sizeof(UChar) * resultlength);
90
temp=(UChar*)
malloc
(sizeof(UChar) * 10);
220
myDate=(UChar*)
malloc
(sizeof(UChar) * 11);
253
pat=(UChar*)
malloc
(sizeof(UChar) * (resultlength));
398
datestr=(UChar*)
malloc
(sizeof(UChar) * (strlen(tests[i])+1));
408
datestr=(UChar*)
malloc
(sizeof(UChar) * (strlen(tests[i+1])+1));
610
/*result1=(UChar*)
malloc
(sizeof(UChar) * resultlength);*/ /*this leaks*/
/external/icu4c/tools/tzcode/
zdump.c
21
#include "stdlib.h" /* for exit,
malloc
, atoi */
409
fakeargv = (char **)
malloc
((size_t) (argc + count) * sizeof *argv);
411
if ((fakeargv = (char **)
malloc
((size_t) (argc + count) * sizeof *argv)) == NULL) {
437
fakeenv = (char **)
malloc
((size_t) ((i + 2) *
440
(fakeenv[0] = (char *)
malloc
(longest + 4)) == NULL) {
1003
if ((pzonename =
malloc
(strlen(relpath) + 1)) == NULL) {
1008
if ((pentry =
malloc
(sizeof(listentry))) == NULL) {
/external/libpcap/
pcap.c
234
*dlt_buffer = (int*)
malloc
(sizeof(**dlt_buffer));
237
"
malloc
: %s", pcap_strerror(errno));
246
"
malloc
: %s", pcap_strerror(errno));
760
p =
malloc
(sizeof(*p));
858
malloc
(full_pcap_version_string_len);
875
full_pcap_version_string =
malloc
(full_pcap_version_string_len);
904
malloc
(full_pcap_version_string_len);
/external/libselinux/src/
label_file.c
114
data->stem_arr[num].buf =
malloc
(stem_len + 1);
243
cp = anchored_regex =
malloc
(len + 3);
260
*errbuf =
malloc
(errsz);
488
malloc
(sizeof(spec_t) * data->nspec)))
501
spec_copy =
malloc
(sizeof(spec_t) * data->nspec);
580
clean_key =
malloc
(strlen(key) + 1);
671
data = (struct saved_data *)
malloc
(sizeof(*data));
/external/srec/portable/src/
pmalloc.c
34
#undef
malloc
macro
49
* (the default), the memory is allocated via
malloc
(). This code works under PSOS and
70
/*
malloc
function */
96
/* The memory pool can either be statically allocated or require a one-time system
malloc
.
162
* a static memory pool. Otherwise, perform a one-time
malloc
from the OS.
169
/* TODO: is
malloc
of binsFirstFreeCell safe under PSOS in all conditions ? */
170
memBuffer = (char *)
malloc
(memSize);