OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:allocated_buf
(Results
1 - 3
of
3
) sorted by null
/bionic/libc/bionic/
getcwd.cpp
45
char*
allocated_buf
= NULL;
local
53
buf =
allocated_buf
= static_cast<char*>(malloc(allocated_size));
64
free(
allocated_buf
);
70
if (
allocated_buf
!= NULL) {
72
buf = strdup(
allocated_buf
);
73
free(
allocated_buf
);
75
buf =
allocated_buf
;
/external/opencv3/3rdparty/libwebp/utils/
bit_writer.c
200
uint8_t*
allocated_buf
;
local
214
allocated_buf
= (uint8_t*)malloc(allocated_size);
215
if (
allocated_buf
== NULL) {
219
memcpy(
allocated_buf
, bw->buf_, current_size);
221
bw->buf_ =
allocated_buf
;
223
memset(
allocated_buf
+ current_size, 0, allocated_size - current_size);
/external/webp/src/utils/
bit_writer.c
207
uint8_t*
allocated_buf
;
local
222
allocated_buf
= (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
223
if (
allocated_buf
== NULL) {
228
memcpy(
allocated_buf
, bw->buf_, current_size);
231
bw->buf_ =
allocated_buf
;
Completed in 1016 milliseconds