Home
last modified time | relevance | path

Searched refs:MAXBYTELEN (Results 1 - 25 of 126) sorted by relevance

123456

/arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/
H A Dcontainerslinkedlistcommon_fuzzer.h30 #define MAXBYTELEN sizeof(int) macro
120 if (size > MAXBYTELEN) { in ContainersLinkedListAddFuzzTest()
121 size = MAXBYTELEN; in ContainersLinkedListAddFuzzTest()
123 if (memcpy_s(&value, MAXBYTELEN, data, size) != 0) { in ContainersLinkedListAddFuzzTest()
145 if (size > MAXBYTELEN) { in ContainersLinkedListGetFirstFuzzTest()
146 size = MAXBYTELEN; in ContainersLinkedListGetFirstFuzzTest()
148 if (memcpy_s(&value, MAXBYTELEN, data, size) != 0) { in ContainersLinkedListGetFirstFuzzTest()
175 if (size > MAXBYTELEN) { in ContainersLinkedListGetLastFuzzTest()
176 size = MAXBYTELEN; in ContainersLinkedListGetLastFuzzTest()
178 if (memcpy_s(&value, MAXBYTELEN, dat in ContainersLinkedListGetLastFuzzTest()
[all...]
/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/
H A Dcontainersplainarray_fuzzer.cpp93 const uint32_t MAXBYTELEN = 4; in ContainersPlainArray_Constructor_FuzzTest() local
94 if (size > MAXBYTELEN) { in ContainersPlainArray_Constructor_FuzzTest()
95 size = MAXBYTELEN; in ContainersPlainArray_Constructor_FuzzTest()
97 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in ContainersPlainArray_Constructor_FuzzTest()
127 const uint32_t MAXBYTELEN = 4; in ContainersPlainArray_Add_Has_FuzzTest() local
128 if (size > MAXBYTELEN) { in ContainersPlainArray_Add_Has_FuzzTest()
129 size = MAXBYTELEN; in ContainersPlainArray_Add_Has_FuzzTest()
131 if (memcpy_s(&inputNum, MAXBYTELEN, data, size) != 0) { in ContainersPlainArray_Add_Has_FuzzTest()
174 const uint32_t MAXBYTELEN = 4; in ContainersPlainArray_Clone_FuzzTest() local
175 if (size > MAXBYTELEN) { in ContainersPlainArray_Clone_FuzzTest()
215 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_Clear_FuzzTest() local
256 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_Get_FuzzTest() local
298 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_GetIteratorObj_FuzzTest() local
352 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_ForEach_FuzzTest() local
397 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_ToString_FuzzTest() local
438 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_GetIndexOfKey_FuzzTest() local
481 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_GetIndexOfValue_FuzzTest() local
524 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_IsEmpty_FuzzTest() local
565 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_GetKeyAt_FuzzTest() local
607 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_Remove_FuzzTest() local
649 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_RemoveAt_FuzzTest() local
691 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_RemoveRangeFrom_FuzzTest() local
735 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_SetValueAt_FuzzTest() local
778 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_GetValueAt_FuzzTest() local
820 const uint32_t MAXBYTELEN = 4; ContainersPlainArray_GetSize_FuzzTest() local
[all...]
/arkcompiler/ets_runtime/test/fuzztest/arraybufferrefnewwithtwoparameters_fuzzer/
H A Darraybufferrefnewwithtwoparameters_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in ArrayBufferRefNewWithTwoParametersFuzzTest()
37 size = MAXBYTELEN; in ArrayBufferRefNewWithTwoParametersFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in ArrayBufferRefNewWithTwoParametersFuzzTest()
56 if (size > MAXBYTELEN) { in ArrayBufferRef_New_IsDetach_Detach_ByteLength_GetBuffer_FuzzTest()
57 size = MAXBYTELEN; in ArrayBufferRef_New_IsDetach_Detach_ByteLength_GetBuffer_FuzzTest()
59 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in ArrayBufferRef_New_IsDetach_Detach_ByteLength_GetBuffer_FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/daterefnew_fuzzer/
H A Ddaterefnew_fuzzer.cpp23 #define MAXBYTELEN sizeof(double) macro
36 if (size > MAXBYTELEN) { in DateRefNewFuzzTest()
37 size = MAXBYTELEN; in DateRefNewFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in DateRefNewFuzzTest()
60 if (size > MAXBYTELEN) { in DateRefGetTimeFuzzTest()
61 size = MAXBYTELEN; in DateRefGetTimeFuzzTest()
63 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in DateRefGetTimeFuzzTest()
85 if (size > MAXBYTELEN) { in DateRefToStringFuzzTest()
86 size = MAXBYTELEN; in DateRefToStringFuzzTest()
88 if (memcpy_s(&input, MAXBYTELEN, dat in DateRefToStringFuzzTest()
[all...]
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisbig64array_fuzzer/
H A Djsvaluerefisbig64array_fuzzer.cpp23 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in JSValueRefIsBigInt64ArrayFuzzTest()
37 size = MAXBYTELEN; in JSValueRefIsBigInt64ArrayFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in JSValueRefIsBigInt64ArrayFuzzTest()
63 if (size > MAXBYTELEN) { in JSValueRefIsBigUint64ArrayRefNewFuzzTest()
64 size = MAXBYTELEN; in JSValueRefIsBigUint64ArrayRefNewFuzzTest()
66 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in JSValueRefIsBigUint64ArrayRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/containersdequecommon_fuzzer/
H A Dcontainersdequecommon_fuzzer.h33 #define MAXBYTELEN sizeof(unsigned int) macro
130 if (size > MAXBYTELEN) { in ContainersDequeForEachFuzzTest()
131 size = MAXBYTELEN; in ContainersDequeForEachFuzzTest()
133 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in ContainersDequeForEachFuzzTest()
186 if (size > MAXBYTELEN) { in ContainersDequeGetFirstFuzzTest()
187 size = MAXBYTELEN; in ContainersDequeGetFirstFuzzTest()
189 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in ContainersDequeGetFirstFuzzTest()
222 if (size > MAXBYTELEN) { in ContainersDequeGetLastFuzzTest()
223 size = MAXBYTELEN; in ContainersDequeGetLastFuzzTest()
225 if (memcpy_s(&input, MAXBYTELEN, dat in ContainersDequeGetLastFuzzTest()
[all...]
/arkcompiler/ets_runtime/test/fuzztest/jsvaluereffoundationvalue_fuzzer/
H A Djsvaluereffoundationvalue_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
38 if (size > MAXBYTELEN) { in JSValueRefIsNumberValueFuzzTest()
39 size = MAXBYTELEN; in JSValueRefIsNumberValueFuzzTest()
41 if (memcpy_s(&key, MAXBYTELEN, data, size) != EOK) { in JSValueRefIsNumberValueFuzzTest()
46 if (memcpy_s(&inputUnit32, MAXBYTELEN, data, size) != EOK) { in JSValueRefIsNumberValueFuzzTest()
88 if (size > MAXBYTELEN) { in JSValueRefWithinInt32ValueFuzzTest()
89 size = MAXBYTELEN; in JSValueRefWithinInt32ValueFuzzTest()
91 if (memcpy_s(&number, MAXBYTELEN, data, size) != 0) { in JSValueRefWithinInt32ValueFuzzTest()
132 if (size > MAXBYTELEN) { in JSValueRefIsTypedArrayValueFuzzTest()
133 size = MAXBYTELEN; in JSValueRefIsTypedArrayValueFuzzTest()
[all...]
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybuffergetvaluefrombufferforfloat_fuzzer/
H A Dbuiltinsarraybuffergetvaluefrombufferforfloat_fuzzer.cpp31 #define MAXBYTELEN sizeof(double) macro
48 if (size > MAXBYTELEN) { in BuiltinsArrayBufferGetValueFromBufferForFloatFuzzTest()
49 size = MAXBYTELEN; in BuiltinsArrayBufferGetValueFromBufferForFloatFuzzTest()
51 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in BuiltinsArrayBufferGetValueFromBufferForFloatFuzzTest()
62 BuiltinsArrayBuffer::AllocateArrayBuffer(thread, bufferConstructor, MAXBYTELEN); in BuiltinsArrayBufferGetValueFromBufferForFloatFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferfastsetvalueinbuffer_fuzzer/
H A Dbuiltinsarraybufferfastsetvalueinbuffer_fuzzer.cpp31 #define MAXBYTELEN sizeof(int32_t) macro
48 if (size > MAXBYTELEN) { in BuiltinsArrayBufferFastSetValueInBufferFuzzTest()
49 size = MAXBYTELEN; in BuiltinsArrayBufferFastSetValueInBufferFuzzTest()
51 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in BuiltinsArrayBufferFastSetValueInBufferFuzzTest()
58 BuiltinsArrayBuffer::AllocateArrayBuffer(thread, bufferConstructor, MAXBYTELEN); in BuiltinsArrayBufferFastSetValueInBufferFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybuffersetvalueinbufferforbyte_fuzzer/
H A Dbuiltinsarraybuffersetvalueinbufferforbyte_fuzzer.cpp31 #define MAXBYTELEN sizeof(uint8_t) macro
48 if (size > MAXBYTELEN) { in BuiltinsArrayBufferSetValueInBufferForByteFuzzTest()
49 size = MAXBYTELEN; in BuiltinsArrayBufferSetValueInBufferForByteFuzzTest()
51 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in BuiltinsArrayBufferSetValueInBufferForByteFuzzTest()
58 BuiltinsArrayBuffer::AllocateArrayBuffer(thread, bufferConstructor, MAXBYTELEN); in BuiltinsArrayBufferSetValueInBufferForByteFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybuffergetvaluefrombufferforinteger_fuzzer/
H A Dbuiltinsarraybuffergetvaluefrombufferforinteger_fuzzer.cpp31 #define MAXBYTELEN sizeof(uint16_t) macro
48 if (size > MAXBYTELEN) { in BuiltinsArrayBufferGetValueFromBufferForIntegerFuzzTest()
49 size = MAXBYTELEN; in BuiltinsArrayBufferGetValueFromBufferForIntegerFuzzTest()
51 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in BuiltinsArrayBufferGetValueFromBufferForIntegerFuzzTest()
58 BuiltinsArrayBuffer::AllocateArrayBuffer(thread, bufferConstructor, MAXBYTELEN); in BuiltinsArrayBufferGetValueFromBufferForIntegerFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/numberrefvalue_fuzzer/
H A Dnumberrefvalue_fuzzer.cpp24 #define MAXBYTELEN sizeof(double) macro
37 if (size > MAXBYTELEN) { in NumberRefValueFuzzTest()
38 size = MAXBYTELEN; in NumberRefValueFuzzTest()
40 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in NumberRefValueFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefint32value_fuzzer/
H A Djsvaluerefint32value_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
37 if (size > MAXBYTELEN) { in JSValueRefInt32ValueFuzzTest()
38 size = MAXBYTELEN; in JSValueRefInt32ValueFuzzTest()
40 if (memcpy_s(&inputNum, MAXBYTELEN, data, size) != 0) { in JSValueRefInt32ValueFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefuint32value_fuzzer/
H A Djsvaluerefuint32value_fuzzer.cpp24 #define MAXBYTELEN sizeof(uint32_t) macro
37 if (size > MAXBYTELEN) { in JSValueRefUint32ValueFuzzTest()
38 size = MAXBYTELEN; in JSValueRefUint32ValueFuzzTest()
40 if (memcpy_s(&number, MAXBYTELEN, data, size) != 0) { in JSValueRefUint32ValueFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/notifyapplicationstate_fuzzer/
H A Dnotifyapplicationstate_fuzzer.cpp22 #define MAXBYTELEN sizeof(int) macro
36 if (size > MAXBYTELEN) { in NotifyApplicationStateFuzzTest()
37 size = MAXBYTELEN; in NotifyApplicationStateFuzzTest()
40 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in NotifyApplicationStateFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/numberrefnewdouble_fuzzer/
H A Dnumberrefnewdouble_fuzzer.cpp24 #define MAXBYTELEN sizeof(double) macro
36 if (size > MAXBYTELEN) { in NumberRefNewDoubleFuzzTest()
37 size = MAXBYTELEN; in NumberRefNewDoubleFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in NumberRefNewDoubleFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/
H A Darraylist_fuzzer.cpp33 #define MAXBYTELEN sizeof(uint32_t) macro
139 if (size > MAXBYTELEN) { in ArrayListForEachFuzzTest()
140 size = MAXBYTELEN; in ArrayListForEachFuzzTest()
142 if (memcpy_s(&inputNum, MAXBYTELEN, data, size) != 0) { in ArrayListForEachFuzzTest()
183 if (size > MAXBYTELEN) { in ArrayListAddFuzzTest()
184 size = MAXBYTELEN; in ArrayListAddFuzzTest()
186 if (memcpy_s(&inputNum, MAXBYTELEN, data, size) != 0) { in ArrayListAddFuzzTest()
210 if (size > MAXBYTELEN) { in ArrayListClearFuzzTest()
211 size = MAXBYTELEN; in ArrayListClearFuzzTest()
213 if (memcpy_s(&inputNum, MAXBYTELEN, dat in ArrayListClearFuzzTest()
[all...]
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot2_fuzzer/
H A Ddumpheapsnapshot2_fuzzer.cpp25 #define MAXBYTELEN sizeof(int) macro
37 if (size > MAXBYTELEN) { in DumpHeapSnapshot2FuzzTest()
38 size = MAXBYTELEN; in DumpHeapSnapshot2FuzzTest()
40 if (memcpy_s(&dumpFormat, MAXBYTELEN, data, size) != 0) { in DumpHeapSnapshot2FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/dumpheapsnapshot1_fuzzer/
H A Ddumpheapsnapshot1_fuzzer.cpp25 #define MAXBYTELEN sizeof(int) macro
37 if (size > MAXBYTELEN) { in DumpHeapSnapshot1FuzzTest()
38 size = MAXBYTELEN; in DumpHeapSnapshot1FuzzTest()
40 if (memcpy_s(&dumpFormat, MAXBYTELEN, data, size) != 0) { in DumpHeapSnapshot1FuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/int32arrayrefnew_fuzzer/
H A Dint32arrayrefnew_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in Int32ArrayRefNewFuzzTest()
37 size = MAXBYTELEN; in Int32ArrayRefNewFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in Int32ArrayRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/uint32arrayrefbytelength_fuzzer/
H A Duint32arrayrefbytelength_fuzzer.cpp23 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in Uint32ArrayRefByteLengthFuzzTest()
37 size = MAXBYTELEN; in Uint32ArrayRefByteLengthFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in Uint32ArrayRefByteLengthFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/uint16arrayrefnew_fuzzer/
H A Duint16arrayrefnew_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
35 if (size > MAXBYTELEN) { in Uint16ArrayRefNewFuzzTest()
36 size = MAXBYTELEN; in Uint16ArrayRefNewFuzzTest()
38 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in Uint16ArrayRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/uint32arrayrefnew_fuzzer/
H A Duint32arrayrefnew_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in Uint32ArrayRefNewFuzzTest()
37 size = MAXBYTELEN; in Uint32ArrayRefNewFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in Uint32ArrayRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/uint8arrayrefnew_fuzzer/
H A Duint8arrayrefnew_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in Uint8ArrayRefNewFuzzTest()
37 size = MAXBYTELEN; in Uint8ArrayRefNewFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in Uint8ArrayRefNewFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/uint8clampedarrayrefnew_fuzzer/
H A Duint8clampedarrayrefnew_fuzzer.cpp24 #define MAXBYTELEN sizeof(int32_t) macro
36 if (size > MAXBYTELEN) { in Uint8ClampedArrayRefNewFuzzTest()
37 size = MAXBYTELEN; in Uint8ClampedArrayRefNewFuzzTest()
39 if (memcpy_s(&input, MAXBYTELEN, data, size) != 0) { in Uint8ClampedArrayRefNewFuzzTest()

Completed in 10 milliseconds

123456