/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/ |
H A D | fms_form_ashmem_test.cpp | 113 * @tc.name: WriteToAshmem 114 * @tc.desc: Verify function WriteToAshmem return value is false 123 form_ashmem_->WriteToAshmem(name, data, size); in HWTEST_F() 124 EXPECT_FALSE(form_ashmem_->WriteToAshmem(name, data, size)); in HWTEST_F() 218 * @tc.name: WriteToAshmem 219 * @tc.desc: Verify function WriteToAshmem return value is false 230 form_ashmem_->WriteToAshmem(name, data, size); in HWTEST_F() 232 EXPECT_FALSE(form_ashmem_->WriteToAshmem(name, data, size)); in HWTEST_F() 238 * @tc.name: WriteToAshmem 239 * @tc.desc: Verify function WriteToAshmem retur [all...] |
H A D | mock_ashmem.cpp | 39 bool Ashmem::WriteToAshmem(const void *data, int32_t size, int32_t offset) in WriteToAshmem() function in OHOS::Ashmem
|
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_ashmem.cpp | 62 bool FormAshmem::WriteToAshmem(std::string name, char *data, int32_t size) in WriteToAshmem() function in OHOS::AppExecFwk::FormAshmem 80 ret = ashmem_->WriteToAshmem(data, size, 0); in WriteToAshmem()
|
H A D | form_provider_data.cpp | 398 if (!formAshmem.WriteToAshmem(picName, data.get(), size)) { in WriteImageDataToParcel() 420 if (!formAshmem->WriteToAshmem(entry.first, entry.second.first.get(), entry.second.second)) { in ConvertRawImageData()
|
/foundation/ability/form_fwk/test/unittest/fms_form_provider_data_new_leg_test/ |
H A D | mock_form_ashmem.cpp | 20 bool FormAshmem::WriteToAshmem(std::string name, char *data, int32_t size) in WriteToAshmem() function in OHOS::AppExecFwk::FormAshmem
|
/foundation/ability/form_fwk/interfaces/inner_api/include/ |
H A D | form_ashmem.h | 32 bool WriteToAshmem(std::string name, char *data, int32_t size);
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | ashmem.h | 161 bool WriteToAshmem(const void *data, int32_t size, int32_t offset);
|
/foundation/ability/form_fwk/test/fuzztest/formashmem_fuzzer/ |
H A D | formashmem_fuzzer.cpp | 43 formAshmem.WriteToAshmem(name, nullptr, sizes); in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/ |
H A D | rs_ashmem_helper.h | 30 bool WriteToAshmem(const void *data, size_t size);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/ |
H A D | rs_ashmem_helper.cpp | 44 bool AshmemAllocator::WriteToAshmem(const void *data, size_t size) in WriteToAshmem() function in OHOS::Rosen::AshmemAllocator
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/ |
H A D | rs_ashmem_helper.cpp | 44 bool AshmemAllocator::WriteToAshmem(const void *data, size_t size) in WriteToAshmem() function in OHOS::Rosen::AshmemAllocator
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/ |
H A D | rs_ashmem_test.cpp | 135 ASSERT_FALSE(ashmemAllocator->WriteToAshmem(nullptr, arrBytes)); in HWTEST_F() 136 ASSERT_FALSE(ashmemAllocator->WriteToAshmem(arr, arrBytes + 5)); in HWTEST_F() 137 ashmemAllocator->WriteToAshmem(arr, arrBytes); in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/buffer_manager/ |
H A D | shared_buffer.cpp | 59 auto ret = ashmem_->WriteToAshmem(address, bytes, 0); in CopyFrom()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/ |
H A D | data_operation_callback.cpp | 141 if (!ashmem->WriteToAshmem(buffer->GetData(), buffer->GetSize() * sizeof(uint8_t), 0)) { in CreateAshmemFromArrayBuffer()
|
/foundation/multimedia/media_foundation/src/common/ |
H A D | share_memory.cpp | 68 if (!sharedMem_->WriteToAshmem(in, (int32_t)writeSize, (int32_t)start)) { in Write() 69 MEDIA_LOG_E("sharedMem_ WriteToAshmem failed"); in Write()
|
/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | share_memory.cpp | 62 if (!sharedMem_->WriteToAshmem(in, (int32_t)writeSize, (int32_t)start)) { in Write() 63 MEDIA_LOG_E("sharedMem_ WriteToAshmem failed"); in Write()
|
/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_ashmem.h | 65 static napi_value WriteToAshmem(napi_env env, napi_callback_info info);
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_template.cpp | 89 if (!mem->WriteToAshmem(vecValue.data(), size, 0)) {
in Set()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_ashmem_helper_test.cpp | 152 ashmemAllocator.WriteToAshmem(nullptr, size); in HWTEST_F() 153 ASSERT_FALSE(ashmemAllocator.WriteToAshmem(nullptr, size)); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_ashmem_helper.cpp | 102 bool AshmemAllocator::WriteToAshmem(const void *data, size_t size) in WriteToAshmem() function in OHOS::Rosen::AshmemAllocator 109 ROSEN_LOGE("AshmemAllocator::WriteToAshmem memcpy_s failed, err:%{public}d", err); in WriteToAshmem() 233 if (!ashmemAllocator->WriteToAshmem(reinterpret_cast<void*>(dataParcel->GetData()), dataSize)) { in CreateAshmemParcel() 234 ROSEN_LOGE("CreateAshmemParcel: WriteToAshmem failed"); in CreateAshmemParcel()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/ |
H A D | bundle_resource_host.cpp | 222 if (!ashmem->WriteToAshmem(reinterpret_cast<uint8_t *>(tempParcel.GetData()), dataSize, offset)) { in WriteParcelableIntoAshmem()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_ashmem.cpp | 585 napi_value NAPIAshmem::WriteToAshmem(napi_env env, napi_callback_info info) in WriteToAshmem() function in OHOS::NAPIAshmem 636 result = napiAshmem->GetAshmem()->WriteToAshmem(array.data(), size * BYTE_SIZE_32, offset * BYTE_SIZE_32); in WriteToAshmem() 692 napiAshmem->GetAshmem()->WriteToAshmem(array.data(), size * BYTE_SIZE_32, offset * BYTE_SIZE_32); in WriteAshmem() 792 if (!napiAshmem->GetAshmem()->WriteToAshmem(data, size, offset)) { in WriteDataToAshmem() 793 ZLOGE(LOG_LABEL, "WriteToAshmem fail"); in WriteDataToAshmem() 900 DECLARE_NAPI_FUNCTION("writeToAshmem", NAPIAshmem::WriteToAshmem), in AshmemExport()
|
/foundation/communication/ipc/ipc/test/moduletest/native/common/ |
H A D | ipc_core_module_test.cpp | 554 ret = ashmem->WriteToAshmem(ashmemString.c_str(), strlen(ashmemString.c_str()), 0); in HWTEST_F() 674 ret = ashmem->WriteToAshmem(ashmemString.c_str(), strlen(ashmemString.c_str()), 0); in HWTEST_F()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_cache_mgr.cpp | 165 if (!formAshmem->WriteToAshmem(key, reinterpret_cast<char *>(blob.data()), in InnerGetImageData()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | prepared_model_service.cpp | 81 ret = cache->WriteToAshmem(buffer, size, 0); in ExportModelCache()
|