Home
last modified time | relevance | path

Searched refs:data (Results 10626 - 10650 of 66225) sorted by relevance

1...<<421422423424425426427428429430>>...2649

/base/web/webview/test/fuzztest/executejavascriptcode_fuzzer/
H A Dexecutejavascriptcode_fuzzer.cpp25 bool ExecuteJavaScriptCodeFuzzTest(const uint8_t* data, size_t size) in ExecuteJavaScriptCodeFuzzTest() argument
27 if ((data == nullptr) || (size == 0)) { in ExecuteJavaScriptCodeFuzzTest()
34 std::string code((const char *)data, size); in ExecuteJavaScriptCodeFuzzTest()
42 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
44 /* Run your code on data */ in LLVMFuzzerTestOneInput()
45 OHOS::ExecuteJavaScriptCodeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/loadurl_fuzzer/
H A Dloadurl_fuzzer.cpp23 bool LoadUrlFuzzTest(const uint8_t* data, size_t size) in LoadUrlFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in LoadUrlFuzzTest()
32 std::string url((const char *)data, size); in LoadUrlFuzzTest()
40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
42 /* Run your code on data */ in LLVMFuzzerTestOneInput()
43 OHOS::LoadUrlFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/loadwithdataandbaseurl_fuzzer/
H A Dloadwithdataandbaseurl_fuzzer.cpp23 bool LoadWithDataAndBaseUrlFuzzTest(const uint8_t* data, size_t size) in LoadWithDataAndBaseUrlFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in LoadWithDataAndBaseUrlFuzzTest()
32 std::string baseUrl((const char *)data, size); in LoadWithDataAndBaseUrlFuzzTest()
43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
45 /* Run your code on data */ in LLVMFuzzerTestOneInput()
46 OHOS::LoadWithDataAndBaseUrlFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/loadwithdata_fuzzer/
H A Dloadwithdata_fuzzer.cpp23 bool LoadWithDataFuzzTest(const uint8_t* data, size_t size) in LoadWithDataFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in LoadWithDataFuzzTest()
32 std::string datas((const char *)data, size); in LoadWithDataFuzzTest()
41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
43 /* Run your code on data */ in LLVMFuzzerTestOneInput()
44 OHOS::LoadWithDataFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/ashmemcreate_fuzzer/
H A Dashmemcreate_fuzzer.cpp28 bool AshmemCreateFuzzTest(const uint8_t* data, size_t size) in AshmemCreateFuzzTest() argument
30 if ((data == nullptr) || (size == 0)) { in AshmemCreateFuzzTest()
38 if (memcpy_s(name, size, data, size) != 0) { in AshmemCreateFuzzTest()
53 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
55 /* Run your code on data */ in LLVMFuzzerTestOneInput()
56 OHOS::AshmemCreateFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiodevicedesc_fuzzer/
H A Daudiodevicedesc_fuzzer.cpp26 bool AudioDeviceDescFuzzTest(const uint8_t* data, size_t size) in AudioDeviceDescFuzzTest() argument
28 if ((data == nullptr) || (size == 0)) { in AudioDeviceDescFuzzTest()
32 std::string name((const char*) data, size); in AudioDeviceDescFuzzTest()
43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
45 /* Run your code on data */ in LLVMFuzzerTestOneInput()
46 OHOS::AudioDeviceDescFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrmanagedevice_fuzzer/
H A Dusbmgrmanagedevice_fuzzer.cpp29 bool UsbMgrManageDeviceFuzzTest(const uint8_t* data, size_t /* size */) in UsbMgrManageDeviceFuzzTest() argument
39 *reinterpret_cast<const int32_t *>(data), *reinterpret_cast<const int32_t *>(data + OFFSET), true); in UsbMgrManageDeviceFuzzTest()
49 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
54 /* Run your code on data */ in LLVMFuzzerTestOneInput()
55 OHOS::USB::UsbMgrManageDeviceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_paste_data_record_adapter_impl.h37 void GetHtmlText(void* data) override;
39 void GetPlainText(void* data) override;
45 bool SetCustomData(void* data) override;
47 void GetUri(void* data) override;
49 void GetCustomData(void* data) override;
/base/web/webview/test/fuzztest/ohos_adapter/media_adapter/mediacodeclistadapterimpl_fuzzer/
H A Dmediacodeclistadapterimpl_fuzzer.cpp26 bool MediaCodecListAdapterImplFuzzTest(const uint8_t* data, size_t size) in MediaCodecListAdapterImplFuzzTest() argument
28 if (data == nullptr || size == 0) { in MediaCodecListAdapterImplFuzzTest()
35 std::string mime(reinterpret_cast<const char*>(data), size); in MediaCodecListAdapterImplFuzzTest()
46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
48 OHOS::MediaCodecListAdapterImplFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/media_adapter/ohosbufferadapterimpl_fuzzer/
H A Dohosbufferadapterimpl_fuzzer.cpp25 bool OhosBufferAdapterImplFuzzTest(const uint8_t* data, size_t size) in OhosBufferAdapterImplFuzzTest() argument
27 if ((data == nullptr) || (size == 0)) { in OhosBufferAdapterImplFuzzTest()
32 uint8_t* addr = const_cast<uint8_t*>(data); in OhosBufferAdapterImplFuzzTest()
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::OhosBufferAdapterImplFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/getkeyboardtype_fuzzer/
H A Dgetkeyboardtype_fuzzer.cpp25 bool GetKeyboardTypeFuzzTest(const uint8_t* data, size_t size) in GetKeyboardTypeFuzzTest() argument
27 if ((data == nullptr) || (size < sizeof(int32_t))) { in GetKeyboardTypeFuzzTest()
32 if (memcpy_s(&deviceId, sizeof(int32_t), data, sizeof(int32_t)) != 0) { in GetKeyboardTypeFuzzTest()
42 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
44 /* Run your code on data */ in LLVMFuzzerTestOneInput()
45 OHOS::GetKeyboardTypeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/registerdevlistener_fuzzer/
H A Dregisterdevlistener_fuzzer.cpp29 bool RegisterDevListenerFuzzTest(const uint8_t* data, size_t size) in RegisterDevListenerFuzzTest() argument
31 if ((data == nullptr) || (size == 0)) { in RegisterDevListenerFuzzTest()
36 std::string type((const char*)data, size); in RegisterDevListenerFuzzTest()
43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
45 /* Run your code on data */ in LLVMFuzzerTestOneInput()
46 OHOS::RegisterDevListenerFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/addhtmlrecord_fuzzer/
H A Daddhtmlrecord_fuzzer.cpp23 bool AddHtmlRecordFuzzTest(const uint8_t* data, size_t size) in AddHtmlRecordFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in AddHtmlRecordFuzzTest()
28 std::string html((const char*)data, size); in AddHtmlRecordFuzzTest()
41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
43 /* Run your code on data */ in LLVMFuzzerTestOneInput()
44 OHOS::AddHtmlRecordFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getmimetype_fuzzer/
H A Dgetmimetype_fuzzer.cpp23 bool GetMimeTypeFuzzTest(const uint8_t* data, size_t size) in GetMimeTypeFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in GetMimeTypeFuzzTest()
28 std::string text((const char*)data, size); in GetMimeTypeFuzzTest()
41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
43 /* Run your code on data */ in LLVMFuzzerTestOneInput()
44 OHOS::GetMimeTypeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getimgdata_fuzzer/
H A Dgetimgdata_fuzzer.cpp24 bool GetImgDataFuzzTest(const uint8_t* data, size_t size) in GetImgDataFuzzTest() argument
26 if ((data == nullptr) || (size == 0)) { in GetImgDataFuzzTest()
29 std::string text((const char*)data, size); in GetImgDataFuzzTest()
43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
45 /* Run your code on data */ in LLVMFuzzerTestOneInput()
46 OHOS::GetImgDataFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getrecordat_fuzzer/
H A Dgetrecordat_fuzzer.cpp24 bool GetRecordAtFuzzTest(const uint8_t* data, size_t size) in GetRecordAtFuzzTest() argument
26 if ((data == nullptr) || (size < sizeof(size_t))) { in GetRecordAtFuzzTest()
30 if (memcpy_s(&index, sizeof(size_t), data, sizeof(size_t)) != 0) { in GetRecordAtFuzzTest()
43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
45 /* Run your code on data */ in LLVMFuzzerTestOneInput()
46 OHOS::GetRecordAtFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setplaintext_fuzzer/
H A Dsetplaintext_fuzzer.cpp23 bool SetPlainTextFuzzTest(const uint8_t* data, size_t size) in SetPlainTextFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in SetPlainTextFuzzTest()
28 std::string text((const char*)data, size); in SetPlainTextFuzzTest()
38 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
40 /* Run your code on data */ in LLVMFuzzerTestOneInput()
41 OHOS::SetPlainTextFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/ohos_nweb/initandrun_fuzzer/
H A Dinitandrun_fuzzer.cpp26 bool InitAndRunFuzzTest(const uint8_t* data, size_t size) in InitAndRunFuzzTest() argument
28 const std::string path("/data/app/el1/bundle/public/com.ohos.nweb"); in InitAndRunFuzzTest()
33 if (data == nullptr) { in InitAndRunFuzzTest()
36 std::string pathTmp(reinterpret_cast<const char*>(data), size); in InitAndRunFuzzTest()
43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
45 /* Run your code on data */ in LLVMFuzzerTestOneInput()
46 OHOS::InitAndRunFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/registerarkjsfunction_fuzzer/
H A Dregisterarkjsfunction_fuzzer.cpp23 bool RegisterArkJSfunctionFuzzTest(const uint8_t* data, size_t size) in RegisterArkJSfunctionFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in RegisterArkJSfunctionFuzzTest()
32 const std::string object_name((const char *)data, size); in RegisterArkJSfunctionFuzzTest()
41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
43 /* Run your code on data */ in LLVMFuzzerTestOneInput()
44 OHOS::RegisterArkJSfunctionFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/web/webview/test/fuzztest/unregisterarkjsfunction_fuzzer/
H A Dunregisterarkjsfunction_fuzzer.cpp23 bool UnregisterArkJSfunctionFuzzTest(const uint8_t* data, size_t size) in UnregisterArkJSfunctionFuzzTest() argument
25 if ((data == nullptr) || (size == 0)) { in UnregisterArkJSfunctionFuzzTest()
32 const std::string object_name((const char *)data, size); in UnregisterArkJSfunctionFuzzTest()
40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
42 /* Run your code on data */ in LLVMFuzzerTestOneInput()
43 OHOS::UnregisterArkJSfunctionFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dmpp_allocator.h34 MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
35 MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
36 MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
37 MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
38 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data);
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dmpp_allocator.h34 MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
35 MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
36 MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
37 MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
38 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data);
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dmpp_allocator.h35 MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
36 MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
37 MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
38 MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
39 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data);
/device/soc/rockchip/common/hardware/mpp/include/
H A Dmpp_allocator.h34 MPP_RET (*alloc)(MppAllocator allocator, MppBufferInfo *data);
35 MPP_RET (*free)(MppAllocator allocator, MppBufferInfo *data);
36 MPP_RET (*import)(MppAllocator allocator, MppBufferInfo *data);
37 MPP_RET (*release)(MppAllocator allocator, MppBufferInfo *data);
38 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data);
/foundation/ability/idl_tool/test/native/src/
H A Dtest_service.cpp52 ErrCode TestService::TestIntTransaction(int data) in TestIntTransaction() argument
54 ZLOGE(LABEL, " TestService:read from client data = %{public}d", data); in TestIntTransaction()
58 ErrCode TestService::TestStringTransaction(const std::string &data) in TestStringTransaction() argument
60 ZLOGE(LABEL, "TestService:read string from client data = %{public}s", data.c_str()); in TestStringTransaction()
61 return data.size(); in TestStringTransaction()

Completed in 23 milliseconds

1...<<421422423424425426427428429430>>...2649