Home
last modified time | relevance | path

Searched refs:buffer_new (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/account/os_account/frameworks/domain_account/src/
H A Ddomain_account_callback_stub.cpp67 void *buffer_new = nullptr; in ProcOnResult() local
68 buffer_new = malloc(size); in ProcOnResult()
69 if (buffer_new == nullptr) { in ProcOnResult()
72 if (memcpy_s(buffer_new, size, buffer, size) != EOK) { in ProcOnResult()
73 free(buffer_new); in ProcOnResult()
74 buffer_new = nullptr; in ProcOnResult()
78 if (!parcel.ParseFrom(reinterpret_cast<uintptr_t>(buffer_new), size)) { in ProcOnResult()
80 free(buffer_new); in ProcOnResult()
81 buffer_new = nullptr; in ProcOnResult()