Home
last modified time | relevance | path

Searched refs:size (Results 1851 - 1875 of 53515) sorted by relevance

1...<<71727374757677787980>>...2141

/foundation/ability/ability_runtime/test/fuzztest/abilitystubdisconnectabilitydone_fuzzer/
H A Dabilitystubdisconnectabilitydone_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubdisconnectability_fuzzer/
H A Dabilitystubdisconnectability_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetmissioninfos_fuzzer/
H A Dabilitystubgetmissioninfos_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetmissioninfo_fuzzer/
H A Dabilitystubgetmissioninfo_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystublockmissionforcleanup_fuzzer/
H A Dabilitystublockmissionforcleanup_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubminimizeability_fuzzer/
H A Dabilitystubminimizeability_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubregisterconnectionobserver_fuzzer/
H A Dabilitystubregisterconnectionobserver_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubregistercollaborator_fuzzer/
H A Dabilitystubregistercollaborator_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubstartabilityascallerforoptions_fuzzer/
H A Dabilitystubstartabilityascallerforoptions_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubstartabilityascallerbytoken_fuzzer/
H A Dabilitystubstartabilityascallerbytoken_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubunregistercancellistener_fuzzer/
H A Dabilitystubunregistercancellistener_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/abilitystubunlockmissionforcleanup_fuzzer/
H A Dabilitystubunlockmissionforcleanup_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
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/connectability_fuzzer/
H A Dconnectability_fuzzer.cpp43 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
55 if (wantParcel.WriteBuffer(data, size)) { in DoSomethingInterestingWithMyAPI()
77 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
85 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
86 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
90 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
96 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
97 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/extensionconfig_fuzzer/
H A Dextensionconfig_fuzzer.cpp50 bool DoSomethingInterestingWithMyAPI(const char *data, size_t size) in DoSomethingInterestingWithMyAPI() argument
52 std::string strParam(data, size); in DoSomethingInterestingWithMyAPI()
71 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
79 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
80 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
84 char *ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
90 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
91 if (memcpy_s(ch, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/uiextensionrecordfactory_fuzzer/
H A Duiextensionrecordfactory_fuzzer.cpp51 bool DoSomethingInterestingWithMyAPI(const char *data, size_t size) in DoSomethingInterestingWithMyAPI() argument
56 std::string strParam(data, size); in DoSomethingInterestingWithMyAPI()
66 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
74 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
75 if (size > OHOS::FOO_MAX_LEN || size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
79 char *ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
85 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
86 if (memcpy_s(ch, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdatamgr_fuzzer/
H A Dquickfixdatamgr_fuzzer.cpp34 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
39 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
52 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
59 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
63 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
64 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
68 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
73 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
74 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdeleter_fuzzer/
H A Dquickfixdeleter_fuzzer.cpp40 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
42 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
58 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
65 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
66 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
70 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
76 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
77 if (memcpy_s(ch, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundlemanagercallbackstub_fuzzer/
H A Dbundlemanagercallbackstub_fuzzer.cpp48 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
54 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
65 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
72 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
73 if (size < OHOS::U32_AT_SIZE || size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
77 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
83 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
84 if (memcpy_s(ch, size in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixmanagerrdb_fuzzer/
H A Dquickfixmanagerrdb_fuzzer.cpp35 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
40 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI()
53 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
60 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
64 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
65 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
69 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
74 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
75 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixstatuscallbackproxy_fuzzer/
H A Dquickfixstatuscallbackproxy_fuzzer.cpp36 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
41 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
56 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
63 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
67 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
68 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
72 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
77 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
78 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/defaultapphost_fuzzer/
H A Ddefaultapphost_fuzzer.cpp37 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
43 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
66 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
70 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
71 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
75 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
80 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
81 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/servicecenterstatuscallbackstub_fuzzer/
H A Dservicecenterstatuscallbackstub_fuzzer.cpp50 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
54 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
65 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
72 if (size < OHOS::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
76 /* Validate the length of size */ in LLVMFuzzerTestOneInput()
77 if (size > OHOS::FOO_MAX_LEN) { in LLVMFuzzerTestOneInput()
81 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
86 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
87 if (memcpy_s(ch, size, dat in LLVMFuzzerTestOneInput()
[all...]
/foundation/multimedia/audio_framework/test/fuzztest/audiopowerstatelistener_fuzzer/
H A Daudio_power_state_listener_fuzzer.cpp93 void InitAudioInterruptInfoFuzzTest(const uint8_t *rawData, size_t size) in InitAudioInterruptInfoFuzzTest() argument
95 if (rawData == nullptr || size < LIMITSIZE) { in InitAudioInterruptInfoFuzzTest()
104 void ControlAudioFocusFuzzTest(const uint8_t *rawData, size_t size) in ControlAudioFocusFuzzTest() argument
106 if (rawData == nullptr || size < LIMITSIZE) { in ControlAudioFocusFuzzTest()
115 void SyncControlAudioFocusFuzzTest(const uint8_t *rawData, size_t size) in SyncControlAudioFocusFuzzTest() argument
117 if (rawData == nullptr || size < LIMITSIZE) { in SyncControlAudioFocusFuzzTest()
129 extern "C" int LLVMFuzzerInitialize(const uint8_t *data, size_t size) in LLVMFuzzerInitialize() argument
136 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *rawData, size_t size) in LLVMFuzzerTestOneInput() argument
139 OHOS::AudioStandard::InitAudioInterruptInfoFuzzTest(rawData, size); in LLVMFuzzerTestOneInput()
140 OHOS::AudioStandard::ControlAudioFocusFuzzTest(rawData, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dlinear_allocator.h28 explicit LinearAllocator(size_t size) : size_(size), data_(BASE_NS::make_unique<uint8_t[]>(size)) in LinearAllocator() argument
33 LinearAllocator(size_t size, size_t alignment) in LinearAllocator() argument
34 : size_(size), alignment_(alignment), data_(BASE_NS::make_unique<uint8_t[]>(size_ + alignment_ - 1)) in LinearAllocator()
47 void* Allocate(size_t size) in Allocate() argument
49 return Allocate(size, 1); in Allocate()
52 void* Allocate(size_t size, size_t alignment) in Allocate() argument
54 if (std::align(alignment, size, current_, free_)) { in Allocate()
57 current_ = static_cast<char*>(current_) + size; in Allocate()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dlinear_allocator.h28 explicit LinearAllocator(size_t size) : size_(size), data_(BASE_NS::make_unique<uint8_t[]>(size)) in LinearAllocator() argument
33 LinearAllocator(size_t size, size_t alignment) in LinearAllocator() argument
34 : size_(size), alignment_(alignment), data_(BASE_NS::make_unique<uint8_t[]>(size_ + alignment_ - 1)) in LinearAllocator()
47 void* Allocate(size_t size) in Allocate() argument
49 return Allocate(size, 1); in Allocate()
52 void* Allocate(size_t size, size_t alignment) in Allocate() argument
54 if (std::align(alignment, size, current_, free_)) { in Allocate()
57 current_ = static_cast<char*>(current_) + size; in Allocate()
[all...]

Completed in 14 milliseconds

1...<<71727374757677787980>>...2141