Home
last modified time | relevance | path

Searched refs:data (Results 4051 - 4075 of 31865) sorted by relevance

1...<<161162163164165166167168169170>>...1275

/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dcert_crl_common.c32 CfFree(encodingBlob.data); in CloneCertificateObj()
36 CfFree(encodingBlob.data); in CloneCertificateObj()
52 CfFree(encodingBlob.data); in CloneCrlObj()
56 CfFree(encodingBlob.data); in CloneCrlObj()
62 if (certs == NULL|| certs->data == NULL) { in FreeCertArrayData()
66 CfObjDestroy(certs->data[i]); in FreeCertArrayData()
68 CF_FREE_PTR(certs->data); in FreeCertArrayData()
78 CfObjDestroy(crls->data[i]); in FreeCrlArrayData()
80 CF_FREE_PTR(crls->data); in FreeCrlArrayData()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
H A Dcm_request.cpp80 if (memcpy_s(outBlob->data, outBlob->size, outData, outLen) != EOK) { in CmReadRequestReply()
99 MessageParcel data; in SendRequest() local
103 data.WriteInterfaceToken(SA_KEYSTORE_SERVICE_DESCRIPTOR); in SendRequest()
105 data.WriteUint32(0); in SendRequest()
107 data.WriteUint32(outBlob->size); in SendRequest()
109 data.WriteUint32(inBlob->size); in SendRequest()
110 data.WriteBuffer(inBlob->data, static_cast<size_t>(inBlob->size)); in SendRequest()
112 int error = cmProxy->SendRequest(static_cast<uint32_t>(type), data, reply, option); in SendRequest()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/installdlpsandboxstub_fuzzer/
H A Dinstalldlpsandboxstub_fuzzer.cpp32 static void FuzzTest(const uint8_t* data, size_t size) in FuzzTest() argument
34 if ((data == nullptr) || (size < MIN_SIZE)) { in FuzzTest()
38 int32_t userId = *(reinterpret_cast<const int32_t *>(data + offsize)); in FuzzTest()
40 DLPFileAccess dlpFileAccess = *(reinterpret_cast<const DLPFileAccess *>(data + offsize)); in FuzzTest()
42 std::string uri(reinterpret_cast<const char*>(data + offsize), size - offsize); in FuzzTest()
67 bool InstallDlpSandboxFuzzTest(const uint8_t* data, size_t size) in InstallDlpSandboxFuzzTest() argument
69 FuzzTest(data, size); in InstallDlpSandboxFuzzTest()
83 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
85 /* Run your code on data */ in LLVMFuzzerTestOneInput()
86 OHOS::InstallDlpSandboxFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/base/sensors/sensor/test/fuzztest/services/sensorenablestub_fuzzer/
H A Dsensorenablestub_fuzzer.cpp41 size_t GetObject(T &object, const uint8_t *data, size_t size) in GetObject() argument
47 errno_t ret = memcpy_s(&object, objectSize, data, objectSize); in GetObject()
78 bool OnRemoteRequestFuzzTest(const uint8_t *data, size_t size) in OnRemoteRequestFuzzTest() argument
85 startPos += GetObject<int32_t>(sensorId, data + startPos, size - startPos); in OnRemoteRequestFuzzTest()
88 startPos += GetObject<int64_t>(samplingPeriod, data + startPos, size - startPos); in OnRemoteRequestFuzzTest()
91 GetObject<int64_t>(maxReportDelay, data + startPos, size - startPos); in OnRemoteRequestFuzzTest()
103 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
105 /* Run your code on data */ in LLVMFuzzerTestOneInput()
106 if (data == nullptr) { in LLVMFuzzerTestOneInput()
115 OHOS::Sensors::OnRemoteRequestFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/base/sensors/miscdevice/test/fuzztest/vibrator/setparameters_fuzzer/
H A Dsetparameters_fuzzer.cpp38 size_t GetObject(const uint8_t *data, size_t size, T &object) in GetObject() argument
44 errno_t ret = memcpy_s(&object, objectSize, data, objectSize); in GetObject()
74 bool SetParametersFuzzTest(const uint8_t *data, size_t size) in SetParametersFuzzTest() argument
76 if (data == nullptr || size < U32_AT_SIZE) { in SetParametersFuzzTest()
82 startPos += GetObject<int32_t>(data + startPos, size - startPos, parameter.intensity); in SetParametersFuzzTest()
83 startPos += GetObject<int32_t>(data + startPos, size - startPos, parameter.frequency); in SetParametersFuzzTest()
84 GetObject<int32_t>(data + startPos, size - startPos, parameter.reserved); in SetParametersFuzzTest()
89 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
91 OHOS::SetParametersFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/sensors/sensor/test/fuzztest/services/service/reportsensorsysevent_fuzzer/
H A Dreportsensorsysevent_fuzzer.cpp40 size_t GetObject(T &object, const uint8_t *data, size_t size) in GetObject() argument
46 errno_t ret = memcpy_s(&object, objectSize, data, objectSize); in GetObject()
77 bool ReportSensorSysEventFuzzTest(const uint8_t *data, size_t size) in ReportSensorSysEventFuzzTest() argument
82 startPos += GetObject<int32_t>(sensorId, data + startPos, size - startPos); in ReportSensorSysEventFuzzTest()
84 startPos += GetObject<bool>(enable, data + startPos, size - startPos); in ReportSensorSysEventFuzzTest()
86 startPos += GetObject<int32_t>(pid, data + startPos, size - startPos); in ReportSensorSysEventFuzzTest()
93 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
95 /* Run your code on data */ in LLVMFuzzerTestOneInput()
96 if (data == nullptr) { in LLVMFuzzerTestOneInput()
105 OHOS::Sensors::ReportSensorSysEventFuzzTest(data, siz in LLVMFuzzerTestOneInput()
[all...]
/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockdump_fuzzer/
H A Dscreenlockdump_fuzzer.cpp48 MessageParcel data; in FuzzScreenlockCallback() local
49 data.WriteInterfaceToken(SCREENLOCK_SYSTEMABILITY_INTERFACE_TOKEN); in FuzzScreenlockCallback()
50 data.WriteBuffer(rawData, size); in FuzzScreenlockCallback()
51 data.RewindRead(0); in FuzzScreenlockCallback()
56 mScreenlock->OnRemoteRequest(code, data, reply, option); in FuzzScreenlockCallback()
85 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
91 /* Run your code on data */ in LLVMFuzzerTestOneInput()
92 OHOS::FuzzScreenlockCallback(data, size); in LLVMFuzzerTestOneInput()
93 OHOS::FuzzScreenlockDisplayPowerEvent(data, size); in LLVMFuzzerTestOneInput()
94 OHOS::FuzzScreenlockDump(data, siz in LLVMFuzzerTestOneInput()
[all...]
/base/update/sys_installer/frameworks/ipc_server/include/
H A Dmodule_update_stub.h31 MessageParcel &data, MessageParcel &reply, MessageOption &option)>;
33 int32_t OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply,
40 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
42 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
44 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
46 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
49 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
51 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
53 MessageParcel &data, MessageParcel &reply, MessageOption &option) const;
/base/update/updater/test/fuzztest/applypatch_fuzzer/
H A Dapplypatch_fuzzer.cpp31 bool WriteDataToFile(const char* data, size_t size, const char* filePath, bool isAppend = false) in WriteDataToFile() argument
43 ofs.write(data, size); in WriteDataToFile()
48 void FuzzApplyPatch(const uint8_t* data, size_t size) in FuzzApplyPatch() argument
50 FuzzedDataProvider fdp(data, size); in FuzzApplyPatch()
52 const char* bspatchPath = "/data/applyPatchfuzzBspatch"; in FuzzApplyPatch()
53 const char* imgpatchPath = "/data/applyPatchfuzzImgpatch"; in FuzzApplyPatch()
54 const char* oldFilePath = "/data/applyPatchfuzzOldFile"; in FuzzApplyPatch()
55 const char* newFilePath = "/data/applyPatchfuzzNewFile"; in FuzzApplyPatch()
57 bool ret = WriteDataToFile(reinterpret_cast<const char*>(data), size, oldFilePath); in FuzzApplyPatch()
61 ret &= WriteDataToFile(reinterpret_cast<const char*>(data), siz in FuzzApplyPatch()
75 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/base/usb/usb_manager/utils/native/include/
H A Dusb_common.h66 * Used to signify direction of data for USBEndpoint is OUT, host to device
71 * Used to signify direction of data for USBEndpoint is IN, device to host
110 #define WRITE_PARCEL_NO_RET(parcel, type, data) \
112 if (!(parcel).Write##type(data)) { \
113 USB_HILOGE(MODULE_COMMON, "%{public}s write " #data " failed", __func__); \
118 #define WRITE_PARCEL_AND_RETURN_FALSE_WHEN_FAIL(type, parcel, data) \
120 if (!(parcel).Write##type(data)) { \
121 USB_HILOGE(MODULE_COMMON, "%{public}s write " #data " failed", __func__); \
134 #define WRITE_PARCEL_WITH_RET(parcel, type, data, retval) \
136 if (!(parcel).Write##type(data)) { \
[all...]
/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_feature.c82 if (request->data == NULL) { in OnMessage()
87 const RequestData *data = (const RequestData *)request->data; in OnMessage() local
88 int32_t result = StartRemoteAbility(data->want, data->callerInfo, data->callback); in OnMessage()
89 FreeRequestData(data->want, data->callerInfo); in OnMessage()
102 HandleBytesReceived(request->msgValue, request->data, request->len); in OnMessage()
/foundation/ability/form_fwk/test/fuzztest/formproviderdata_fuzzer/
H A Dformproviderdata_fuzzer.cpp35 // convert fuzz input data to an integer in GetU32Data()
38 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
44 std::string picName(data, size); in DoSomethingInterestingWithMyAPI()
46 int32_t sizes = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
48 int fd = static_cast<int>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
52 std::string jsonDataString(data, size); in DoSomethingInterestingWithMyAPI()
57 int32_t imageDataState = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
72 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
74 /* Run your code on data */ in LLVMFuzzerTestOneInput()
75 if (data in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/fuzztest/forminfordbstoragemgr_fuzzer/
H A Dforminfordbstoragemgr_fuzzer.cpp35 // convert fuzz input data to an integer in GetU32Data()
38 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
41 std::string aa(data, size); in DoSomethingInterestingWithMyAPI()
42 std::string bb(data, size); in DoSomethingInterestingWithMyAPI()
47 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
49 std::string formInfoStorags(data, size); in DoSomethingInterestingWithMyAPI()
56 std::string formId(data, size); in DoSomethingInterestingWithMyAPI()
65 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
67 /* Run your code on data */ in LLVMFuzzerTestOneInput()
68 if (data in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/form_fwk/test/mock/src/
H A Dmock_distributed_sched.cpp41 MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest()
47 if (!EnforceInterfaceToken(data)) { in OnRemoteRequest()
51 return (this->*func)(data, reply); in OnRemoteRequest()
55 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
58 bool DistributedSchedStub::EnforceInterfaceToken(MessageParcel &data) in EnforceInterfaceToken() argument
60 u16string interfaceToken = data.ReadInterfaceToken(); in EnforceInterfaceToken()
64 int32_t DistributedSchedStub::StartRemoteShareFormInner(MessageParcel &data, MessageParcel &reply) in StartRemoteShareFormInner() argument
66 std::string deviceId = data.ReadString(); in StartRemoteShareFormInner()
67 shared_ptr<AppExecFwk::FormShareInfo> formShareInfo(data.ReadParcelable<AppExecFwk::FormShareInfo>()); in StartRemoteShareFormInner()
40 OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/foundation/ability/ability_runtime/frameworks/native/ability/native/auto_startup_callback/
H A Dauto_startup_callback_stub.cpp38 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest()
41 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
49 return OnAutoStartupOnInner(data, reply); in OnRemoteRequest()
52 return OnAutoStartupOffInner(data, reply); in OnRemoteRequest()
57 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
60 int32_t AutoStartupCallBackStub::OnAutoStartupOnInner(MessageParcel &data, MessageParcel &reply) in OnAutoStartupOnInner() argument
62 sptr<AutoStartupInfo> info = data.ReadParcelable<AutoStartupInfo>(); in OnAutoStartupOnInner()
83 int32_t AutoStartupCallBackStub::OnAutoStartupOffInner(MessageParcel &data, MessageParcel &reply) in OnAutoStartupOffInner() argument
85 sptr<AutoStartupInfo> info = data.ReadParcelable<AutoStartupInfo>(); in OnAutoStartupOffInner()
37 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/foundation/CastEngine/castengine_wifi_display/services/interaction/domain/rpc/
H A Ddomain_rpc_service_proxy.cpp32 MessageParcel data; in SetListenerObject() local
36 (void)data.WriteRemoteObject(object); in SetListenerObject()
38 int error = Remote()->SendRequest(DomainServiceMsg::SET_LISTENER_OBJ, data, reply, option); in SetListenerObject()
50 MessageParcel data; in GetSubSystemAbility() local
54 data.WriteInt32(type); in GetSubSystemAbility()
56 int error = Remote()->SendRequest(DomainServiceMsg::GET_SUBSYSTEM, data, reply, option); in GetSubSystemAbility()
68 MessageParcel data; in DoRpcCommand() local
71 IpcMsgEncoder::GetInstance().DomainMsgEncode(data, msg); in DoRpcCommand()
73 int error = Remote()->SendRequest(DomainServiceMsg::DOMAIN_MSG, data, reply, option); in DoRpcCommand()
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrevent_fuzzer/
H A Dabilityappmgrevent_fuzzer.cpp36 // convert fuzz input data to an integer in GetU32Data()
40 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
44 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
49 int32_t appUid = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
50 int64_t restartTime = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
54 int32_t abilityType = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
55 int32_t extensionType = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
64 /* Run your code on data */ in LLVMFuzzerTestOneInput()
65 if (data in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/services/dataobsmgr/src/
H A Ddata_ability_observer_stub.cpp36 int DataAbilityObserverStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, in OnRemoteRequest() argument
42 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
53 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
55 return (this->*HANDLES[code])(data, reply); in OnRemoteRequest()
59 * @brief Called back to notify that the data being observed has changed.
63 int32_t DataAbilityObserverStub::OnChangeInner(MessageParcel &data, MessageParcel &reply) in OnChangeInner() argument
70 * @brief Called back to notify that the data being observed has changed.
74 int32_t DataAbilityObserverStub::OnChangeExtInner(MessageParcel &data, MessageParcel &reply) in OnChangeExtInner() argument
77 if (!ChangeInfo::Unmarshalling(changeInfo, data)) { in OnChangeExtInner()
85 * @brief Called back to notify that the data bein
89 OnChangePreferencesInner(MessageParcel &data, MessageParcel &reply) OnChangePreferencesInner() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/stop_user_callback_stub_test/
H A Dstop_user_callback_stub_test.cpp62 MessageParcel data; in HWTEST_F() local
66 data.WriteString16(value); in HWTEST_F()
67 auto result = backStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F()
83 MessageParcel data; in HWTEST_F() local
87 data.WriteInterfaceToken(metaDescriptor_); in HWTEST_F()
88 auto result = backStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F()
104 MessageParcel data; in HWTEST_F() local
108 data.WriteInterfaceToken(metaDescriptor_); in HWTEST_F()
109 auto result = backStub->OnRemoteRequest(code, data, reply, option); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/toolstestobserver_fuzzer/
H A Dtoolstestobserver_fuzzer.cpp43 // convert fuzz input data to an integer in GetU32Data()
48 bool DoSomethingInterestingWithMyAPI(const char *data, size_t size) in DoSomethingInterestingWithMyAPI() argument
51 std::string stringParam(data, size); in DoSomethingInterestingWithMyAPI()
52 std::string cmd(data, size); in DoSomethingInterestingWithMyAPI()
53 int64_t resultCode = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
54 int64_t timeoutSec = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
55 int64_t timeoutMs = static_cast<int64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
67 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
69 /* Run your code on data */ in LLVMFuzzerTestOneInput()
70 if (data in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_base/test/fuzztest/wantfirst_fuzzer/
H A Dwantfirst_fuzzer.cpp36 // convert fuzz input data to an integer in GetU32Data()
39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 unsigned int flags = static_cast<unsigned int>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
45 std::string entity(data, size); in DoSomethingInterestingWithMyAPI()
49 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
51 std::string deviceId(data, size); in DoSomethingInterestingWithMyAPI()
53 std::string moduleName(data, size); in DoSomethingInterestingWithMyAPI()
62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
64 /* Run your code on data */ in LLVMFuzzerTestOneInput()
65 if (data in LLVMFuzzerTestOneInput()
[all...]
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessibility_common_event.h37 void OnReceiveEvent(const EventFwk::CommonEventData &data);
47 void OnReceiveEvent(const EventFwk::CommonEventData &data) override
49 registry_.OnReceiveEvent(data);
56 void HandleUserAdded(const EventFwk::CommonEventData &data) const;
57 void HandleUserRemoved(const EventFwk::CommonEventData &data) const;
58 void HandleUserSwitched(const EventFwk::CommonEventData &data) const;
60 void HandlePackageRemoved(const EventFwk::CommonEventData &data) const;
61 void HandlePackageChanged(const EventFwk::CommonEventData &data) const;
62 void HandlePackageAdd(const EventFwk::CommonEventData &data) const;
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/verify/
H A Dverify_manager_host.cpp40 int VerifyManagerHost::OnRemoteRequest(uint32_t code, MessageParcel& data, in OnRemoteRequest() argument
46 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
54 return HandleVerify(data, reply); in OnRemoteRequest()
56 return HandleDeleteAbc(data, reply); in OnRemoteRequest()
59 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
63 ErrCode VerifyManagerHost::HandleVerify(MessageParcel& data, MessageParcel& reply) in HandleVerify() argument
68 if (!data.ReadStringVector(&abcPaths)) { in HandleVerify()
81 ErrCode VerifyManagerHost::HandleDeleteAbc(MessageParcel& data, MessageParcel& reply) in HandleDeleteAbc() argument
85 std::string path = data.ReadString(); in HandleDeleteAbc()
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/core/
H A Dindex.js47 } else if (key === 'data') {
69 * @param {Object} data the data to be observe
71 function initState(vm, data) {
75 if (typeof data === 'function') {
76 data = data.call(vm, vm);
81 vm.data = data;
87 Object.keys(data)
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixmanagerhostipml_fuzzer/
H A Dquickfixmanagerhostipml_fuzzer.cpp40 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
45 std::string targetPath(data, size); in DoSomethingInterestingWithMyAPI()
47 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
50 std::string fileName(data, size); in DoSomethingInterestingWithMyAPI()
51 int32_t fd = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI()
52 std::string path(data, size); in DoSomethingInterestingWithMyAPI()
63 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
65 /* Run your code on data */ in LLVMFuzzerTestOneInput()
66 if (data == nullptr) { in LLVMFuzzerTestOneInput()
82 if (memcpy_s(ch, size + 1, data, siz in LLVMFuzzerTestOneInput()
[all...]

Completed in 16 milliseconds

1...<<161162163164165166167168169170>>...1275