Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_ashmem.cpp128 NAPIAshmem *newNapiAshmem = nullptr; in CreateAshmemFromExisting() local
129 napi_unwrap(env, jsAshmem, (void **)&newNapiAshmem); in CreateAshmemFromExisting()
130 NAPI_ASSERT(env, newNapiAshmem != nullptr, "newNapiAshmem is null"); in CreateAshmemFromExisting()
131 newNapiAshmem->SetAshmem(newAshmem); in CreateAshmemFromExisting()
257 NAPIAshmem *newNapiAshmem = nullptr; in getNewAshmemConstructor() local
258 napi_unwrap(env, jsAshmem, (void **)&newNapiAshmem); in getNewAshmemConstructor()
259 if (newNapiAshmem == nullptr) { in getNewAshmemConstructor()
263 newNapiAshmem->SetAshmem(newAshmem); in getNewAshmemConstructor()