OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:malloc
(Results
951 - 975
of
2813
) sorted by null
<<
31
32
33
34
35
36
37
38
39
40
>>
/system/core/libpixelflinger/codeflinger/tinyutils/
SharedBuffer.cpp
31
SharedBuffer* sb = static_cast<SharedBuffer *>(
malloc
(sizeof(SharedBuffer) + size));
/system/core/libsync/
sync.c
57
info =
malloc
(4096);
/system/core/sh/
options.h
39
unsigned char
malloc
; /* if parameter list dynamically allocated */
member in struct:shparam
/system/core/toolbox/
chmod.c
21
char *subpath =
malloc
(sizeof(char)*PATH_MAX);
dynarray.c
71
char *copy =
malloc
(slen+1);
getsebool.c
57
names =
malloc
(sizeof(char *) * len);
/bootable/recovery/applypatch/
imgdiff.c
194
unsigned char* img =
malloc
(st.st_size);
221
ZipFileEntry* temp_entries =
malloc
(cdcount * sizeof(ZipFileEntry));
238
char* filename =
malloc
(nlen+1);
287
*chunks =
malloc
((entrycount*2+2) * sizeof(ImageChunk));
314
curr->data =
malloc
(curr->len);
370
* respectively. Returns a
malloc
'd block of memory containing the
384
unsigned char* img =
malloc
(st.st_size + 4);
437
curr->data =
malloc
(allocated);
581
unsigned char* out =
malloc
(BUFFER_SIZE);
632
unsigned char* data =
malloc
(st.st_size)
[
all
...]
/external/blktrace/btt/
proc.c
121
this =
malloc
(sizeof(struct pn_info));
149
this =
malloc
(sizeof(struct pn_info));
165
return memset(
malloc
(sizeof(struct p_info)), 0, sizeof(struct p_info));
/external/clang/test/Analysis/
taint-generic.c
28
void *
malloc
(size_t);
143
int *buf1 = (int*)
malloc
(ts*sizeof(int)); // expected-warning {{Untrusted data is used to specify the buffer size}}
149
char *dst2 = (char*)
malloc
(ts*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}}
/external/clang/test/SemaTemplate/
example-dynarray.cpp
19
Start = (T*)
malloc
(sizeof(T) * other.size());
34
T* NewStart = (T*)
malloc
(sizeof(T) * other.size());
101
T* NewStart = (T*)
malloc
(sizeof(T) * NewCapacity);
/external/compiler-rt/lib/profile/
GCDAProfiling.c
124
filename =
malloc
(prefix_len + 1 + strlen(orig_filename) + 1);
272
old_ctrs =
malloc
(sizeof(uint64_t) * num_counters);
309
struct flush_fn_node *new_node =
malloc
(sizeof(struct flush_fn_node));
/external/e2fsprogs/e2fsck/
profile_helpers.c
55
list->list =
malloc
(list->max * sizeof(char *));
277
filenames = (char **)
malloc
((n_entries+1) * sizeof(char*));
284
filenames[i] = (char*)
malloc
(ent_len + 1);
286
/* if
malloc
fails, free the ones that worked */
/external/e2fsprogs/misc/
e2initrd_helper.c
97
buf =
malloc
(inode.i_size + 1);
132
ret =
malloc
(s+1);
159
ret =
malloc
(strlen(s)+1);
/external/icu4c/samples/ucnv/
flagcb.c
20
ctx = (FromUFLAGContext*)
malloc
(sizeof(FromUFLAGContext));
157
newCtx =
malloc
(sizeof(debugCBContext));
272
ctx =
malloc
(sizeof(debugCBContext));
/external/iproute2/tc/
tc.c
146
q =
malloc
(sizeof(*q));
150
q->id = strcpy(
malloc
(strlen(str)+1), str);
198
q =
malloc
(sizeof(*q));
/external/libpcap/
nametoaddr.c
410
e = ep = (u_char *)
malloc
(6);
448
ap = (u_char *)
malloc
(6);
478
ap = (u_char *)
malloc
(6);
pcap-nit.c
257
p = (pcap_t *)
malloc
(sizeof(*p));
293
p->buffer = (u_char *)
malloc
(p->bufsize);
324
p->dlt_list = (u_int *)
malloc
(sizeof(u_int) * 2);
/external/libsepol/src/
context.c
109
scontext =
malloc
(scontext_len);
160
scontext = (context_struct_t *)
malloc
(sizeof(context_struct_t));
301
con_cpy =
malloc
(con_str_len + 1);
user_record.c
35
(sepol_user_key_t *)
malloc
(sizeof(sepol_user_key_t));
267
(const char **)
malloc
(sizeof(char *) * user->num_roles);
305
sepol_user_t *user = (sepol_user_t *)
malloc
(sizeof(sepol_user_t));
/external/linux-tools-perf/bench/
sched-messaging.c
211
struct sender_context *snd_ctx =
malloc
(sizeof(struct sender_context)
215
barf("
malloc
()");
219
struct receiver_context *ctx =
malloc
(sizeof(*ctx));
222
barf("
malloc
()");
287
pth_tab =
malloc
(num_fds * 2 * num_groups * sizeof(pthread_t));
289
barf("main:
malloc
()");
/external/linux-tools-perf/
builtin-timechart.c
177
cursor =
malloc
(sizeof(struct per_pid));
204
c =
malloc
(sizeof(struct per_pidcomm));
248
c =
malloc
(sizeof(struct per_pidcomm));
256
sample =
malloc
(sizeof(struct cpu_sample));
380
pwr =
malloc
(sizeof(struct power_event));
398
pwr =
malloc
(sizeof(struct power_event));
439
we =
malloc
(sizeof(struct wake_event));
584
pwr =
malloc
(sizeof(struct power_event));
602
pwr =
malloc
(sizeof(struct power_event));
742
task_from =
malloc
(40)
[
all
...]
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
jitprofiling.c
28
#include <
malloc
.h>
311
dllName = (char*)
malloc
(sizeof(char) * (dNameLength + 1));
327
dllName = (char*)
malloc
(sizeof(char) * (dNameLength + 1));
/external/ppp/pppd/plugins/radius/
dict.c
89
vdict = (VENDOR_DICT *)
malloc
(sizeof (VENDOR_DICT));
183
(DICT_ATTR *)
malloc
(sizeof (DICT_ATTR)))
250
(DICT_VALUE *)
malloc
(sizeof (DICT_VALUE)))
/external/valgrind/main/VEX/useful/
x87_to_vex_and_back.c
152
UChar* x87_state0 =
malloc
(sizeof(Fpu_State));
153
UChar* x87_state1 =
malloc
(sizeof(Fpu_State));
154
UChar* vex_state =
malloc
(1000);
/external/valgrind/main/coregrind/
launcher-linux.c
338
new_line =
malloc
(strlen(VALGRIND_LAUNCHER) + 1
341
barf("
malloc
of new_line failed.");
348
new_env =
malloc
((j+2) * sizeof(char*));
350
barf("
malloc
of new_env failed.");
364
toolfile =
malloc
(strlen(valgrind_lib) + strlen(toolname) + strlen(platform) + 3);
366
barf("
malloc
of toolfile failed.");
Completed in 1113 milliseconds
<<
31
32
33
34
35
36
37
38
39
40
>>