Home
last modified time | relevance | path

Searched refs:data (Results 4551 - 4575 of 58127) sorted by relevance

1...<<181182183184185186187188189190>>...2326

/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Drender_scheduler_host.cpp27 int RenderSchedulerHost::OnRemoteRequest(uint32_t code, MessageParcel &data, in OnRemoteRequest() argument
33 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
40 return HandleNotifyBrowserFd(data, reply); in OnRemoteRequest()
44 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
47 int RenderSchedulerHost::HandleNotifyBrowserFd(MessageParcel &data, MessageParcel &reply) in HandleNotifyBrowserFd() argument
49 int32_t ipcFd = data.ReadFileDescriptor(); in HandleNotifyBrowserFd()
50 int32_t sharedFd = data.ReadFileDescriptor(); in HandleNotifyBrowserFd()
51 int32_t crashFd = data.ReadFileDescriptor(); in HandleNotifyBrowserFd()
52 sptr<IRemoteObject> browser = data.ReadRemoteObject(); in HandleNotifyBrowserFd()
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dwindow_manager_service_handler_stub.h35 int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
39 int NotifyWindowTransitionInner(MessageParcel &data, MessageParcel &reply);
40 int GetFocusWindowInner(MessageParcel &data, MessageParcel &reply);
41 int StartingWindowCold(MessageParcel &data, MessageParcel &reply);
42 int StartingWindowHot(MessageParcel &data, MessageParcel &reply);
43 int CancelStartingWindowInner(MessageParcel &data, MessageParcel &reply);
44 int NotifyAnimationAbilityDiedInner(MessageParcel &data, MessageParcel &reply);
45 int MoveMissionsToForegroundInner(MessageParcel &data, MessageParcel &reply);
46 int MoveMissionsToBackgroundInner(MessageParcel &data, MessageParcel &reply);
/foundation/ability/ability_runtime/interfaces/inner_api/uri_permission/include/
H A Duri_permission_manager_stub.h33 int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
38 int HandleRevokeUriPermission(MessageParcel &data, MessageParcel &reply);
39 int HandleRevokeAllUriPermission(MessageParcel &data, MessageParcel &reply);
40 int HandleGrantUriPermission(MessageParcel &data, MessageParcel &reply);
41 int32_t HandleGrantUriPermissionPrivileged(MessageParcel &data, MessageParcel &reply);
42 int32_t HandleCheckUriAuthorization(MessageParcel &data, MessageParcel &reply);
43 int HandleBatchGrantUriPermission(MessageParcel &data, MessageParcel &reply);
44 int HandleRevokeUriPermissionManually(MessageParcel &data, MessageParcel &reply);
45 int HandleVerifyUriPermission(MessageParcel &data, MessageParcel &reply);
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_a2dp_sink_observer_stub.cpp34 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest()
38 if (BluetoothA2dpSinkObserverStub::GetDescriptor() != data.ReadInterfaceToken()) { in OnRemoteRequest()
47 errCode = OnConnectionStateChangedInner(data, reply); in OnRemoteRequest()
51 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
57 ErrCode BluetoothA2dpSinkObserverStub::OnConnectionStateChangedInner(MessageParcel &data, MessageParcel &reply) in OnConnectionStateChangedInner() argument
59 if (BluetoothA2dpSinkObserverStub::GetDescriptor() != data.ReadInterfaceToken()) { in OnConnectionStateChangedInner()
63 std::string addr = data.ReadString(); in OnConnectionStateChangedInner()
64 int state = data.ReadInt32(); in OnConnectionStateChangedInner()
65 int cause = data.ReadInt32(); in OnConnectionStateChangedInner()
33 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/
H A Ddistributed_bms_host.h32 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
34 int HandleGetRemoteAbilityInfo(Parcel &data, Parcel &reply);
35 int HandleGetRemoteAbilityInfos(Parcel &data, Parcel &reply);
36 int HandleGetAbilityInfo(Parcel &data, Parcel &reply);
37 int HandleGetAbilityInfos(Parcel &data, Parcel &reply);
38 int HandleGetDistributedBundleInfo(Parcel &data, Parcel &reply);
39 int HandleGetDistributedBundleName(Parcel &data, Parcel &reply);
41 bool GetParcelableInfos(Parcel &data, std::vector<T> &parcelableInfos);
43 bool WriteParcelableVector(std::vector<T> &parcelableVector, Parcel &data);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/textblobbuilder_fuzzer/
H A Dtext_blob_builder_fuzzer.cpp29 bool TextBlobBuilderFuzzTest001(const uint8_t* data, size_t size) in TextBlobBuilderFuzzTest001() argument
31 if (data == nullptr) { in TextBlobBuilderFuzzTest001()
35 g_data = data; in TextBlobBuilderFuzzTest001()
47 bool TextBlobBuilderFuzzTest002(const uint8_t* data, size_t size) in TextBlobBuilderFuzzTest002() argument
49 if (data == nullptr) { in TextBlobBuilderFuzzTest002()
53 g_data = data; in TextBlobBuilderFuzzTest002()
68 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
70 /* Run your code on data */ in LLVMFuzzerTestOneInput()
71 OHOS::Rosen::Drawing::TextBlobBuilderFuzzTest001(data, size); in LLVMFuzzerTestOneInput()
72 OHOS::Rosen::Drawing::TextBlobBuilderFuzzTest002(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystem_service_callback_stub.cpp23 int32_t MediaKeySystemServiceCallbackStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, in OnRemoteRequest() argument
28 if (data.ReadInterfaceToken() != GetDescriptor()) { in OnRemoteRequest()
34 ret = MediaKeySystemServiceCallbackStub::HandleSendEvent(data); in OnRemoteRequest()
38 ret = IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
44 int32_t MediaKeySystemServiceCallbackStub::HandleSendEvent(MessageParcel &data) in HandleSendEvent() argument
47 int32_t event = data.ReadInt32(); in HandleSendEvent()
48 int32_t extra = data.ReadInt32(); in HandleSendEvent()
49 uint32_t dataSize = data.ReadUint32(); in HandleSendEvent()
51 "The size of event data is too large."); in HandleSendEvent()
54 customizedData.emplace_back(data in HandleSendEvent()
[all...]
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Dui_extension_ability_connection.cpp33 MessageParcel data; in OnAbilityConnectDone() local
36 data.WriteInt32(SIGNAL_NUM); in OnAbilityConnectDone()
37 data.WriteString16(u"bundleName"); in OnAbilityConnectDone()
38 data.WriteString16(Str8ToStr16(GetScreenCaptureSystemParam() in OnAbilityConnectDone()
40 data.WriteString16(u"abilityName"); in OnAbilityConnectDone()
41 data.WriteString16(Str8ToStr16(GetScreenCaptureSystemParam() in OnAbilityConnectDone()
43 data.WriteString16(u"parameters"); in OnAbilityConnectDone()
44 data.WriteString16(Str8ToStr16(commandStr_)); in OnAbilityConnectDone()
46 remoteObject->SendRequest(IAbilityConnection::ON_ABILITY_CONNECT_DONE, data, reply, option); in OnAbilityConnectDone()
/foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/
H A Dsystem_ability_status_change_stub.h28 int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) override;
34 static int32_t LocalOnAddSystemAbility(SystemAbilityStatusChangeStub* stub, MessageParcel& data, in LocalOnAddSystemAbility() argument
37 return stub->OnAddSystemAbilityInner(data, reply); in LocalOnAddSystemAbility()
39 static int32_t LocalOnRemoveSystemAbility(SystemAbilityStatusChangeStub* stub, MessageParcel& data, in LocalOnRemoveSystemAbility() argument
42 return stub->OnRemoveSystemAbilityInner(data, reply); in LocalOnRemoveSystemAbility()
44 int32_t OnAddSystemAbilityInner(MessageParcel& data, MessageParcel& reply);
45 int32_t OnRemoveSystemAbilityInner(MessageParcel& data, MessageParcel& reply);
47 static bool EnforceInterceToken(MessageParcel& data);
50 int32_t (*)(SystemAbilityStatusChangeStub* stub, MessageParcel& data, MessageParcel& reply);
H A Dsystem_process_status_change_stub.h28 int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) override;
31 MessageParcel& data, MessageParcel& reply) in LocalSystemProcessStarted()
33 return stub->OnSystemProcessStartedInner(data, reply); in LocalSystemProcessStarted()
36 MessageParcel& data, MessageParcel& reply) in LocalSystemProcessStopped()
38 return stub->OnSystemProcessStoppedInner(data, reply); in LocalSystemProcessStopped()
40 int32_t OnSystemProcessStartedInner(MessageParcel& data, MessageParcel& reply);
41 int32_t OnSystemProcessStoppedInner(MessageParcel& data, MessageParcel& reply);
42 static bool EnforceInterceToken(MessageParcel& data);
45 int32_t (*)(SystemProcessStatusChangeStub* stub, MessageParcel& data, MessageParcel& reply);
30 LocalSystemProcessStarted(SystemProcessStatusChangeStub *stub, MessageParcel& data, MessageParcel& reply) LocalSystemProcessStarted() argument
35 LocalSystemProcessStopped(SystemProcessStatusChangeStub *stub, MessageParcel& data, MessageParcel& reply) LocalSystemProcessStopped() argument
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/streamdepacketizer_fuzzer/
H A Dstreamdepacketizer_fuzzer.cpp29 void DepacketizeHeaderTest(const uint8_t* data, size_t size) in DepacketizeHeaderTest() argument
31 if ((data == nullptr) || (size < Communication::SoftBus::MAX_STREAM_LEN - OVERHEAD_LEN)) { in DepacketizeHeaderTest()
35 if (memcpy_s(tmp, sizeof(tmp) - 1, data, sizeof(tmp) - 1) != EOK) { in DepacketizeHeaderTest()
43 void DepacketizeBufferTest(const uint8_t* data, size_t size) in DepacketizeBufferTest() argument
45 if ((data == nullptr) || (size < Communication::SoftBus::MAX_STREAM_LEN - OVERHEAD_LEN)) { in DepacketizeBufferTest()
49 if (memcpy_s(tmp, sizeof(tmp) - 1, data, sizeof(tmp) - 1) != EOK) { in DepacketizeBufferTest()
59 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
61 /* Run your code on data */ in LLVMFuzzerTestOneInput()
62 OHOS::DepacketizeHeaderTest(data, size); in LLVMFuzzerTestOneInput()
63 OHOS::DepacketizeBufferTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/communication/dsoftbus/tests/core/adapter/fuzztest/softbusrsacrypto_fuzzer/
H A Dsoftbusrsacrypto_fuzzer.cpp28 bool SoftBusRsaEncryptFuzzTest(const uint8_t *data, size_t size) in SoftBusRsaEncryptFuzzTest() argument
32 PublicKey peerPublicKey = { data, size }; in SoftBusRsaEncryptFuzzTest()
34 if (SoftBusRsaEncrypt(data, size, &peerPublicKey, &encryptedData, &encryptedDataLen) != SOFTBUS_OK) { in SoftBusRsaEncryptFuzzTest()
42 bool SoftBusRsaDecryptFuzzTest(const uint8_t *data, size_t size) in SoftBusRsaDecryptFuzzTest() argument
47 if (SoftBusRsaDecrypt(data, size, &decryptedData, &decryptedDataLen) != SOFTBUS_OK) { in SoftBusRsaDecryptFuzzTest()
57 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
59 if (data == nullptr || size == 0) { in LLVMFuzzerTestOneInput()
63 OHOS::SoftBusRsaEncryptFuzzTest(data, size); in LLVMFuzzerTestOneInput()
64 OHOS::SoftBusRsaDecryptFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/activemetanode_fuzzer/
H A Dactivemetanode_fuzzer.cpp27 void GenMetaNodeConfig(const uint8_t *data, size_t size) in GenMetaNodeConfig() argument
29 memcpy_s(meta.udid, UDID_BUF_LEN, data, size); in GenMetaNodeConfig()
30 memcpy_s(meta.deviceName, DEVICE_NAME_BUF_LEN, data, size); in GenMetaNodeConfig()
33 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
35 if (data == nullptr || size == 0) { in DoSomethingInterestingWithMyAPI()
38 GenMetaNodeConfig(data, size); in DoSomethingInterestingWithMyAPI()
49 if (memcpy_s(tmp, size, data, size - 1) != EOK) { in DoSomethingInterestingWithMyAPI()
65 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
67 /* Run your code on data */ in LLVMFuzzerTestOneInput()
68 OHOS::DoSomethingInterestingWithMyAPI(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/callbackonnotifyunregresult_fuzzer/
H A Dcallbackonnotifyunregresult_fuzzer.cpp24 void CallbackOnNotifyRegResultFuzzTest(const uint8_t* data, size_t size) in CallbackOnNotifyRegResultFuzzTest() argument
26 if ((data == nullptr) || (size < sizeof(int32_t))) { in CallbackOnNotifyRegResultFuzzTest()
29 std::string devId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
30 std::string dhId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
31 std::string reqId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
32 int32_t status = *(reinterpret_cast<const int32_t*>(data)); in CallbackOnNotifyRegResultFuzzTest()
33 std::string dataStr(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
47 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
49 /* Run your code on data */ in LLVMFuzzerTestOneInput()
50 OHOS::DistributedHardware::CallbackOnNotifyRegResultFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/callbackonnotifyregresult_fuzzer/
H A Dcallbackonnotifyregresult_fuzzer.cpp24 void CallbackOnNotifyRegResultFuzzTest(const uint8_t* data, size_t size) in CallbackOnNotifyRegResultFuzzTest() argument
26 if ((data == nullptr) || (size < sizeof(int32_t))) { in CallbackOnNotifyRegResultFuzzTest()
29 std::string devId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
30 std::string dhId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
31 std::string reqId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
32 int32_t status = *(reinterpret_cast<const int32_t*>(data)); in CallbackOnNotifyRegResultFuzzTest()
33 std::string dataStr(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyRegResultFuzzTest()
47 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
49 /* Run your code on data */ in LLVMFuzzerTestOneInput()
50 OHOS::DistributedHardware::CallbackOnNotifyRegResultFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/callbackonnotifyresourceinfo_fuzzer/
H A Dcallbackonnotifyresourceinfo_fuzzer.cpp32 void CallbackOnNotifyResourceInfoFuzzTest(const uint8_t* data, size_t size) in CallbackOnNotifyResourceInfoFuzzTest() argument
34 if ((data == nullptr) || (size < sizeof(int32_t))) { in CallbackOnNotifyResourceInfoFuzzTest()
37 ResourceEventType type = resourceEventType[data[0] % DC_RESOURCE_SIZE]; in CallbackOnNotifyResourceInfoFuzzTest()
38 std::string subtype(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyResourceInfoFuzzTest()
39 std::string networkId(reinterpret_cast<const char*>(data), size); in CallbackOnNotifyResourceInfoFuzzTest()
40 bool isSensitive = data[0] % DC_RESOURCE_VALUE; in CallbackOnNotifyResourceInfoFuzzTest()
41 bool isSameAccout = data[0] % DC_RESOURCE_VALUE; in CallbackOnNotifyResourceInfoFuzzTest()
55 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
57 /* Run your code on data */ in LLVMFuzzerTestOneInput()
58 OHOS::DistributedHardware::CallbackOnNotifyResourceInfoFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/fuzztest/sinkipccallbackonnotifyresourceinfo_fuzzer/
H A Dsinkipccallbackonnotifyresourceinfo_fuzzer.cpp30 void SinkIpcCallbackOnNotifyResourceInfoFuzzTest(const uint8_t* data, size_t size) in SinkIpcCallbackOnNotifyResourceInfoFuzzTest() argument
32 if ((data == nullptr) || (size < (sizeof(int32_t)))) { in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
36 ResourceEventType type = resourceEventType[data[0] % DC_RESOURCE_SIZE]; in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
37 std::string subtype(reinterpret_cast<const char*>(data), size); in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
38 std::string networkId(reinterpret_cast<const char*>(data), size); in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
39 bool isSensitive = data[0] % DC_RESOURCE_VALUE; in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
40 bool isSameAccout = data[0] % DC_RESOURCE_VALUE; in SinkIpcCallbackOnNotifyResourceInfoFuzzTest()
49 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
51 /* Run your code on data */ in LLVMFuzzerTestOneInput()
52 OHOS::DistributedHardware::SinkIpcCallbackOnNotifyResourceInfoFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/device_manager/test/servicesfuzztest/devicepublish_fuzzer/
H A Ddevice_publish_fuzzer.cpp39 void DevicePublishFuzzTest(const uint8_t* data, size_t size) in DevicePublishFuzzTest() argument
41 if ((data == nullptr) || (size < sizeof(int32_t))) { in DevicePublishFuzzTest()
44 std::string bundleName(reinterpret_cast<const char*>(data), size); in DevicePublishFuzzTest()
47 publishInfo.publishId = *(reinterpret_cast<const int32_t*>(data)); in DevicePublishFuzzTest()
48 publishInfo.mode = *(reinterpret_cast<const DmDiscoverMode*>(data)); in DevicePublishFuzzTest()
49 publishInfo.freq = *(reinterpret_cast<const DmExchangeFreq*>(data)); in DevicePublishFuzzTest()
51 int32_t publishId = *(reinterpret_cast<const int32_t*>(data)); in DevicePublishFuzzTest()
62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
64 /* Run your code on data */ in LLVMFuzzerTestOneInput()
65 OHOS::DistributedHardware::DevicePublishFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Dcloud_sync_callback_stub.cpp25 opToInterfaceMap_[SERVICE_CMD_ON_SYNC_STATE_CHANGED] = [this](MessageParcel &data, MessageParcel &reply) { in CloudSyncCallbackStub()
26 return this->HandleOnSyncStateChanged(data, reply); in CloudSyncCallbackStub()
31 MessageParcel &data, in OnRemoteRequest()
35 if (data.ReadInterfaceToken() != GetDescriptor()) { in OnRemoteRequest()
41 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
44 return memberFunc(data, reply); in OnRemoteRequest()
47 int32_t CloudSyncCallbackStub::HandleOnSyncStateChanged(MessageParcel &data, MessageParcel &reply) in HandleOnSyncStateChanged() argument
49 CloudSyncState state = CloudSyncState(data.ReadInt32()); in HandleOnSyncStateChanged()
50 ErrorType error = ErrorType(data.ReadInt32()); in HandleOnSyncStateChanged()
30 OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_source_callback/callbackonnotifyregresult_fuzzer/
H A Dcallbackonnotifyregresult_fuzzer.cpp29 void OnNotifyRegResultFuzzTest(const uint8_t* data, size_t size) in OnNotifyRegResultFuzzTest() argument
31 if ((data == nullptr) || (size < sizeof(int32_t))) { in OnNotifyRegResultFuzzTest()
35 std::string devId(reinterpret_cast<const char*>(data), size); in OnNotifyRegResultFuzzTest()
36 std::string dhId(reinterpret_cast<const char*>(data), size); in OnNotifyRegResultFuzzTest()
37 std::string reqId(reinterpret_cast<const char*>(data), size); in OnNotifyRegResultFuzzTest()
38 int32_t status = *(reinterpret_cast<const int32_t*>(data)); in OnNotifyRegResultFuzzTest()
39 std::string dataStr(reinterpret_cast<const char*>(data), size); in OnNotifyRegResultFuzzTest()
50 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
52 /* Run your code on data */ in LLVMFuzzerTestOneInput()
53 OHOS::DistributedHardware::OnNotifyRegResultFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_source_callback/callbackonnotifyunregresult_fuzzer/
H A Dcallbackonnotifyunregresult_fuzzer.cpp29 void OnNotifyUnregResultFuzzTest(const uint8_t* data, size_t size) in OnNotifyUnregResultFuzzTest() argument
31 if ((data == nullptr) || (size < sizeof(int32_t))) { in OnNotifyUnregResultFuzzTest()
35 std::string devId(reinterpret_cast<const char*>(data), size); in OnNotifyUnregResultFuzzTest()
36 std::string dhId(reinterpret_cast<const char*>(data), size); in OnNotifyUnregResultFuzzTest()
37 std::string reqId(reinterpret_cast<const char*>(data), size); in OnNotifyUnregResultFuzzTest()
38 int32_t status = *(reinterpret_cast<const int32_t*>(data)); in OnNotifyUnregResultFuzzTest()
39 std::string dataStr(reinterpret_cast<const char*>(data), size); in OnNotifyUnregResultFuzzTest()
51 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
53 /* Run your code on data */ in LLVMFuzzerTestOneInput()
54 OHOS::DistributedHardware::OnNotifyUnregResultFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A DperformanceCaculate.h20 #define DRAWING_PERFORMANCE_TEST_JS_RETURN(data) \
22 return (data); \
24 #define DRAWING_PERFORMANCE_TEST_NAP_RETURN(data) \
26 return (data); \
28 #define DRAWING_PERFORMANCE_TEST_SKIA_RETURN(data) \
30 return (data); \
39 #define DRAWING_PERFORMANCE_TEST_JS_RETURN(data)
40 #define DRAWING_PERFORMANCE_TEST_NAP_RETURN(data)
41 #define DRAWING_PERFORMANCE_TEST_SKIA_RETURN(data)
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
H A Dfallback_platform.c13 const u8 *data; in firmware_fallback_platform() local
24 rc = efi_get_embedded_fw(fw_priv->fw_name, &data, &size); in firmware_fallback_platform()
28 if (fw_priv->data && size > fw_priv->allocated_size) in firmware_fallback_platform()
31 rc = security_kernel_post_load_data((u8 *)data, size, LOADING_FIRMWARE, in firmware_fallback_platform()
36 if (!fw_priv->data) in firmware_fallback_platform()
37 fw_priv->data = vmalloc(size); in firmware_fallback_platform()
38 if (!fw_priv->data) in firmware_fallback_platform()
41 memcpy(fw_priv->data, data, size); in firmware_fallback_platform()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/
H A Dserial-sh7720.c10 unsigned short data; in sh7720_sci_init_pins() local
16 data = __raw_readw(PORT_PTCR); in sh7720_sci_init_pins()
17 __raw_writew((data & 0xfc03), PORT_PTCR); in sh7720_sci_init_pins()
20 data = __raw_readw(PORT_PVCR); in sh7720_sci_init_pins()
21 __raw_writew((data & 0xfc03), PORT_PVCR); in sh7720_sci_init_pins()
26 data = __raw_readw(PORT_PTCR); in sh7720_sci_init_pins()
27 __raw_writew((data & 0xffc3), PORT_PTCR); in sh7720_sci_init_pins()
30 data = __raw_readw(PORT_PVCR); in sh7720_sci_init_pins()
31 __raw_writew((data & 0xffc3), PORT_PVCR); in sh7720_sci_init_pins()
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/
H A Dptrace-fpu.c9 int ptrace_get_fpr(struct task_struct *child, int index, unsigned long *data) in ptrace_get_fpr() argument
23 *data = ((u32 *)child->thread.fp_state.fpr)[fpidx]; in ptrace_get_fpr()
25 memcpy(data, &child->thread.TS_FPR(fpidx), sizeof(long)); in ptrace_get_fpr()
27 *data = child->thread.fp_state.fpscr; in ptrace_get_fpr()
29 *data = 0; in ptrace_get_fpr()
35 int ptrace_put_fpr(struct task_struct *child, int index, unsigned long data) in ptrace_put_fpr() argument
49 ((u32 *)child->thread.fp_state.fpr)[fpidx] = data; in ptrace_put_fpr()
51 memcpy(&child->thread.TS_FPR(fpidx), &data, sizeof(long)); in ptrace_put_fpr()
53 child->thread.fp_state.fpscr = data; in ptrace_put_fpr()

Completed in 12 milliseconds

1...<<181182183184185186187188189190>>...2326