Home
last modified time | relevance | path

Searched refs:data (Results 9626 - 9650 of 43861) sorted by relevance

1...<<381382383384385386387388389390>>...1755

/foundation/ability/ability_base/test/fuzztest/wantparamsthird_fuzzer/
H A Dwantparamsthird_fuzzer.cpp39 // convert fuzz input data to an integer in GetU32Data()
42 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
47 char charValue = *data; in DoSomethingInterestingWithMyAPI()
69 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
71 /* Run your code on data */ in LLVMFuzzerTestOneInput()
72 if (data == nullptr) { in LLVMFuzzerTestOneInput()
73 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
89 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_base/test/fuzztest/wantsecond_fuzzer/
H A Dwantsecond_fuzzer.cpp36 // convert fuzz input data to an integer in GetU32Data()
39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 std::string type(data, size); in DoSomethingInterestingWithMyAPI()
60 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
62 /* Run your code on data */ in LLVMFuzzerTestOneInput()
63 if (data == nullptr) { in LLVMFuzzerTestOneInput()
64 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
80 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilityframeworkscjenvironment_fuzzer/
H A Dabilityframeworkscjenvironment_fuzzer.cpp47 // convert fuzz input data to an integer in GetU32Data()
66 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
68 std::string jsonStr(data, size); in DoSomethingInterestingWithMyAPI()
75 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
77 /* Run your code on data */ in LLVMFuzzerTestOneInput()
78 if (data == nullptr) { in LLVMFuzzerTestOneInput()
94 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubcleanallmissions_fuzzer/
H A Dabilitystubcleanallmissions_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubcleanmission_fuzzer/
H A Dabilitystubcleanmission_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubdumpabilityinfodone_fuzzer/
H A Dabilitystubdumpabilityinfodone_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubdoabilityforeground_fuzzer/
H A Dabilitystubdoabilityforeground_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetpendingwantuserid_fuzzer/
H A Dabilitystubgetpendingwantuserid_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetpendingwantuid_fuzzer/
H A Dabilitystubgetpendingwantuid_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubmovemissionstoforeground_fuzzer/
H A Dabilitystubmovemissionstoforeground_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubmovemissionstobackground_fuzzer/
H A Dabilitystubmovemissionstobackground_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubreportdrawncompleted_fuzzer/
H A Dabilitystubreportdrawncompleted_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubrequestdialogservice_fuzzer/
H A Dabilitystubrequestdialogservice_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubstartspecifiedabilitybyscb_fuzzer/
H A Dabilitystubstartspecifiedabilitybyscb_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubstartsyncmissions_fuzzer/
H A Dabilitystubstartsyncmissions_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/closeability_fuzzer/
H A Dcloseability_fuzzer.cpp47 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
65 if (wantParcel.WriteBuffer(data, size)) { in DoSomethingInterestingWithMyAPI()
83 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
85 /* Run your code on data */ in LLVMFuzzerTestOneInput()
86 if (data == nullptr) { in LLVMFuzzerTestOneInput()
87 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
103 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/unregistermissionlistener_fuzzer/
H A Dunregistermissionlistener_fuzzer.cpp56 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
68 std::string deviceId(data, size); in DoSomethingInterestingWithMyAPI()
79 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
81 /* Run your code on data */ in LLVMFuzzerTestOneInput()
82 if (data == nullptr) { in LLVMFuzzerTestOneInput()
83 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
99 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_base/test/fuzztest/wantsixth_fuzzer/
H A Dwantsixth_fuzzer.cpp36 // convert fuzz input data to an integer in GetU32Data()
39 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 std::string key(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 == nullptr) { in LLVMFuzzerTestOneInput()
66 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
82 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubaddfreeinstallobserver_fuzzer/
H A Dabilitystubaddfreeinstallobserver_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubacquiresharedata_fuzzer/
H A Dabilitystubacquiresharedata_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubdoabilitybackground_fuzzer/
H A Dabilitystubdoabilitybackground_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetappmemorysize_fuzzer/
H A Dabilitystubgetappmemorysize_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetabilitytoken_fuzzer/
H A Dabilitystubgetabilitytoken_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubisrunninginstabilitytest_fuzzer/
H A Dabilitystubisrunninginstabilitytest_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubkillprocess_fuzzer/
H A Dabilitystubkillprocess_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 parcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 /* Run your code on data */ in LLVMFuzzerTestOneInput()
60 if (data == nullptr) { in LLVMFuzzerTestOneInput()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()

Completed in 16 milliseconds

1...<<381382383384385386387388389390>>...1755