OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:allocated_buf
(Results
1 - 2
of
2
) sorted by null
/bionic/libc/bionic/
getcwd.cpp
42
char*
allocated_buf
= NULL;
local
50
buf =
allocated_buf
= static_cast<char*>(malloc(allocated_size));
61
free(
allocated_buf
);
67
if (
allocated_buf
!= NULL) {
69
buf = strdup(
allocated_buf
);
70
free(
allocated_buf
);
72
buf =
allocated_buf
;
/external/chromium_org/third_party/libwebp/utils/
bit_writer.c
210
uint8_t*
allocated_buf
;
local
225
allocated_buf
= (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
226
if (
allocated_buf
== NULL) {
231
memcpy(
allocated_buf
, bw->buf_, current_size);
234
bw->buf_ =
allocated_buf
;
Completed in 886 milliseconds