/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_types.h | 39 const size_t size = sizeof(*val) * count; in vn_sizeof_uint64_t_array() local 40 assert(size >= count); in vn_sizeof_uint64_t_array() 41 return size; in vn_sizeof_uint64_t_array() 47 const size_t size = sizeof(*val) * count; in vn_encode_uint64_t_array() local 48 assert(size >= count); in vn_encode_uint64_t_array() 49 vn_encode(enc, size, val, size); in vn_encode_uint64_t_array() 55 const size_t size = sizeof(*val) * count; in vn_decode_uint64_t_array() local 56 assert(size >= count); in vn_decode_uint64_t_array() 57 vn_decode(dec, size, va in vn_decode_uint64_t_array() 85 const size_t size = sizeof(*val) * count; vn_sizeof_int32_t_array() local 93 const size_t size = sizeof(*val) * count; vn_encode_int32_t_array() local 101 const size_t size = sizeof(*val) * count; vn_decode_int32_t_array() local 181 vn_sizeof_blob_array(const void *val, size_t size) vn_sizeof_blob_array() argument 187 vn_encode_blob_array(struct vn_cs_encoder *enc, const void *val, size_t size) vn_encode_blob_array() argument 193 vn_decode_blob_array(struct vn_cs_decoder *dec, void *val, size_t size) vn_decode_blob_array() argument 201 vn_sizeof_char_array(const char *val, size_t size) vn_sizeof_char_array() argument 207 vn_encode_char_array(struct vn_cs_encoder *enc, const char *val, size_t size) vn_encode_char_array() argument 214 vn_decode_char_array(struct vn_cs_decoder *dec, char *val, size_t size) vn_decode_char_array() argument 226 vn_sizeof_array_size(uint64_t size) vn_sizeof_array_size() argument 232 vn_encode_array_size(struct vn_cs_encoder *enc, uint64_t size) vn_encode_array_size() argument 240 uint64_t size; vn_decode_array_size() local 252 uint64_t size; vn_decode_array_size_unchecked() local 260 uint64_t size; vn_peek_array_size() local 311 const size_t size = sizeof(*val) * count; vn_sizeof_uint32_t_array() local 319 const size_t size = sizeof(*val) * count; vn_encode_uint32_t_array() local 327 const size_t size = sizeof(*val) * count; vn_decode_uint32_t_array() local 357 const size_t size = sizeof(*val) * count; vn_sizeof_float_array() local 365 const size_t size = sizeof(*val) * count; vn_encode_float_array() local 373 const size_t size = sizeof(*val) * count; vn_decode_float_array() local 403 const size_t size = sizeof(*val) * count; vn_sizeof_uint8_t_array() local 411 const size_t size = sizeof(*val) * count; vn_encode_uint8_t_array() local 419 const size_t size = sizeof(*val) * count; vn_decode_uint8_t_array() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_buffer.c | 52 uint32_t size = align(buf->base.width0, 0x100); in nouveau_buffer_allocate() local 55 buf->mm = nouveau_mm_allocate(screen->mm_VRAM, size, in nouveau_buffer_allocate() 62 buf->mm = nouveau_mm_allocate(screen->mm_GART, size, in nouveau_buffer_allocate() 161 const unsigned size = align(tx->base.box.width, 4) + adj; in nouveau_transfer_staging() local 166 if ((size <= nv->screen->transfer_pushbuf_threshold) && permit_pb) { in nouveau_transfer_staging() 167 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); in nouveau_transfer_staging() 172 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); in nouveau_transfer_staging() 191 const unsigned size = tx->base.box.width; in nouveau_transfer_read() local 193 NOUVEAU_DRV_STAT(nv->screen, buf_read_bytes_staging_vid, size); in nouveau_transfer_read() 196 buf->bo, buf->offset + base, buf->domain, size); in nouveau_transfer_read() 208 nouveau_transfer_write(struct nouveau_context *nv, struct nouveau_transfer *tx, unsigned offset, unsigned size) nouveau_transfer_write() argument 589 nouveau_copy_buffer(struct nouveau_context *nv, struct nv04_resource *dst, unsigned dstx, struct nv04_resource *src, unsigned srcx, unsigned size) nouveau_copy_buffer() argument 800 nouveau_buffer_data_fetch(struct nouveau_context *nv, struct nv04_resource *buf, struct nouveau_bo *bo, unsigned offset, unsigned size) nouveau_buffer_data_fetch() argument 821 unsigned size = buf->base.width0; nouveau_buffer_migrate() local 885 nouveau_user_buffer_upload(struct nouveau_context *nv, struct nv04_resource *buf, unsigned base, unsigned size) nouveau_user_buffer_upload() argument 942 nouveau_scratch_bo_alloc(struct nouveau_context *nv, struct nouveau_bo **pbo, unsigned size) nouveau_scratch_bo_alloc() argument 979 nouveau_scratch_runout(struct nouveau_context *nv, unsigned size) nouveau_scratch_runout() argument 1013 nouveau_scratch_next(struct nouveau_context *nv, unsigned size) nouveau_scratch_next() argument 1054 nouveau_scratch_data(struct nouveau_context *nv, const void *data, unsigned base, unsigned size, struct nouveau_bo **bo) nouveau_scratch_data() argument 1076 nouveau_scratch_get(struct nouveau_context *nv, unsigned size, uint64_t *gpu_addr, struct nouveau_bo **pbo) nouveau_scratch_get() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_audioop.py | 514 for data, size in INVALID_DATA: 515 size2 = size 516 self.assertRaises(audioop.error, audioop.getsample, data, size, 0) 517 self.assertRaises(audioop.error, audioop.max, data, size) 518 self.assertRaises(audioop.error, audioop.minmax, data, size) 519 self.assertRaises(audioop.error, audioop.avg, data, size) 520 self.assertRaises(audioop.error, audioop.rms, data, size) 521 self.assertRaises(audioop.error, audioop.avgpp, data, size) 522 self.assertRaises(audioop.error, audioop.maxpp, data, size) 523 self.assertRaises(audioop.error, audioop.cross, data, size) [all...] |
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
H A D | vk_mem_alloc.h | 174 bufferInfo.size = 65536; 242 bufferInfo.size = 65536; 323 - When the size of the allocation is large. 327 but allocation with the exact requested size succeeds. 397 bufCreateInfo.size = sizeof(ConstantBuffer); 445 `nonCoherentAtomSize` and two different allocations never share same "line" of this size. 467 bufCreateInfo.size = sizeof(ConstantBuffer); 504 bufCreateInfo.size = sizeof(ConstantBuffer); 574 tries not to exceed the budget automatically. If a block with default recommended size 578 If the size o 2956 VkDeviceSize size; global() member 3106 VkDeviceSize size; global() member 3988 aligned_alloc(size_t alignment, size_t size) aligned_alloc() argument 4000 aligned_alloc(size_t alignment, size_t size) aligned_alloc() argument 4676 VmaMalloc(const VkAllocationCallbacks* pAllocationCallbacks, size_t size, size_t alignment) VmaMalloc() argument 4873 size_t size() const { return m_Count; } size() function in VmaVector 5100 size_t size() const { return m_Count; } size() function in VmaSmallVector 5816 size_t size() const { return m_RawList.GetCount(); } size() function in VmaList 6177 VkDeviceSize size; global() member 6250 Init(VkDeviceSize size) Init() argument 6869 VkDeviceSize size; global() member 7314 Register(size_t blockInfoIndex, VkDeviceSize offset, VkDeviceSize size) Register() argument 7346 Fetch(VkDeviceSize alignment, VkDeviceSize size, size_t& outBlockInfoIndex, VkDeviceSize& outDstOffset) Fetch() argument 7402 VkDeviceSize size; global() member 8923 Init(VkDeviceSize size) Init() argument 9916 Init(VkDeviceSize size) Init() argument 10057 const VkDeviceSize size = GetSize(); GetUnusedRangeSizeMax() local 10121 const VkDeviceSize size = GetSize(); CalcAllocationStatInfo() local 10316 const VkDeviceSize size = GetSize(); AddPoolStats() local 10487 const VkDeviceSize size = GetSize(); PrintDetailedMap() local 10837 const VkDeviceSize size = GetSize(); CreateAllocationRequest_UpperAddress() local 10957 const VkDeviceSize size = GetSize(); CreateAllocationRequest_LowerAddress() local 11661 Init(VkDeviceSize size) Init() argument 12596 Allocate( uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, const VmaAllocationCreateInfo& createInfo, VmaSuballocationType suballocType, size_t allocationCount, VmaAllocation* pAllocations) Allocate() argument 12646 AllocateReserved( uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, const VmaAllocationCreateInfo& createInfo, VmaSuballocationType suballocType, VmaAllocation* pAllocation) AllocateReserved() argument 12714 AllocatePage( uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, const VmaAllocationCreateInfo& createInfo, VmaSuballocationType suballocType, VmaAllocation* pAllocation) AllocatePage() argument 13236 AllocateFromBlock( VmaDeviceMemoryBlock* pBlock, uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, VmaAllocationCreateFlags allocFlags, void* pUserData, VmaSuballocationType suballocType, uint32_t strategy, VmaAllocation* pAllocation) AllocateFromBlock() argument 14073 const VkDeviceSize size = allocInfo.m_hAllocation->GetSize(); DefragmentRound() local [all...] |
/third_party/python/Modules/ |
H A D | _struct.c | 3 /* New version supporting byte order, alignment and size options, 47 Py_ssize_t size; member 58 Py_ssize_t size; member 355 /* ulargest is the largest unsigned value with f->size bytes. in _range_error() 357 * ((size_t)1 << (f->size * 8)) - 1 in _range_error() 358 * doesn't work when f->size == sizeof(size_t) because C doesn't in _range_error() 363 const size_t ulargest = (size_t)-1 >> ((SIZEOF_SIZE_T - f->size)*8); in _range_error() 364 assert(f->size >= 1 && f->size <= SIZEOF_SIZE_T); in _range_error() 812 Py_ssize_t i = f->size; in bu_int() 1277 align(Py_ssize_t size, char c, const formatdef *e) align() argument 1308 Py_ssize_t size, len, num, itemsize; prepare_s() local 2056 Py_ssize_t size; s_sizeof() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | pipeline_create_functions_vk.cpp | 54 PLUGIN_ASSERT(attachments.size() == compatibilityAttachmentDescs.size()); in CreateAttachmentDescriptions() 55 PLUGIN_ASSERT(attachments.size() <= newAttachments.size()); in CreateAttachmentDescriptions() 56 PLUGIN_ASSERT(attachments.size() <= initialImageLayouts.size()); in CreateAttachmentDescriptions() 57 PLUGIN_ASSERT(attachments.size() <= finalImageLayouts.size()); in CreateAttachmentDescriptions() 61 for (size_t idx = 0; idx < attachments.size(); ++idx) { in CreateAttachmentDescriptions() 88 PLUGIN_ASSERT(attachments.size() in CreateAttachmentDescriptions2() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/group_manager_test/src/ |
H A D | audio_group_manager_unit_test.cpp | 54 if (infos.size() > 0) { in HWTEST() 85 if (infos.size() > 0) { in HWTEST() 117 if (infos.size() > 0) { in HWTEST() 149 if (infos.size() > 0) { in HWTEST() 178 if (infos.size() > 0) { in HWTEST() 200 if (infos.size() > 0) { in HWTEST() 222 if (infos.size() > 0) { in HWTEST() 248 if (infos.size() > 0) { in HWTEST() 273 if (infos.size() > 0) { in HWTEST() 298 if (infos.size() > in HWTEST() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
H A D | webp_decoder_test.cpp | 42 int size = 1000;
in HWTEST_F() local 43 std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(size);
in HWTEST_F() 44 auto streamPtr = BufferSourceStream::CreateSourceStream(data.get(), size);
in HWTEST_F() 64 int size = 1000;
in HWTEST_F() local 65 std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(size);
in HWTEST_F() 66 auto streamPtr = BufferSourceStream::CreateSourceStream(data.get(), size);
in HWTEST_F() 180 int size = 1000;
in HWTEST_F() local 181 std::unique_ptr<uint8_t[]> data = std::make_unique<uint8_t[]>(size);
in HWTEST_F() 182 auto streamPtr = BufferSourceStream::CreateSourceStream(data.get(), size);
in HWTEST_F() 204 int size in HWTEST_F() local 222 int size = 1000; HWTEST_F() local 264 int size = 1000; HWTEST_F() local 286 int size = 1000; HWTEST_F() local 304 int size = 1000; HWTEST_F() local 325 int size = 1000; HWTEST_F() local 347 int size = 1000; HWTEST_F() local 427 int size = 1000; HWTEST_F() local [all...] |
/foundation/arkui/napi/interfaces/inner_api/cjffi/cj_ffi/ |
H A D | cj_common_ffi.h | 71 int64_t size; member 76 int64_t size; member 86 int64_t size; member 96 int64_t size; member 106 int64_t size; member 116 int64_t size; member
|
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/ |
H A D | message_parcel.cpp | 97 bool MessageParcel::WriteRawData(const void *data, size_t size) in WriteRawData() argument 100 (void)size; in WriteRawData() 104 bool MessageParcel::RestoreRawData(std::shared_ptr<char> rawData, size_t size) in RestoreRawData() argument 107 (void)size; in RestoreRawData() 111 const void *MessageParcel::ReadRawData(size_t size) in ReadRawData() argument 113 (void)size; in ReadRawData()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/pipeline/rspipelinerender_fuzzer/ |
H A D | rspipelinerender_fuzzer.cpp | 33 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T) 52 bool RSPaintFilterCanvasFuzzTest(const uint8_t* data, size_t size) in RSPaintFilterCanvasFuzzTest() argument 60 g_size = size; in RSPaintFilterCanvasFuzzTest() 72 bool RSRecordingCanvasFuzzTest(const uint8_t* data, size_t size) in RSRecordingCanvasFuzzTest() argument 81 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 84 OHOS::Rosen::RSPaintFilterCanvasFuzzTest(data, size); in LLVMFuzzerTestOneInput() 85 OHOS::Rosen::RSRecordingCanvasFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/ |
H A D | rs_ashmem_helper.h | 27 static std::unique_ptr<AshmemAllocator> CreateAshmemAllocator(size_t size, int mapType); 28 static std::unique_ptr<AshmemAllocator> CreateAshmemAllocatorWithFd(int fd, size_t size, int mapType); 30 bool WriteToAshmem(const void *data, size_t size); 31 void* CopyFromAshmem(size_t size); 37 AshmemAllocator(int fd, size_t size); 40 void* Alloc(size_t size) override;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_shader_effect.h | 92 * @param size Indicates the number of colors and pos(if pos is not nullptr). 99 const OH_Drawing_Point* endPt, const uint32_t* colors, const float* pos, uint32_t size, OH_Drawing_TileMode); 110 * @param size Indicates the number of colors and pos(if pos is not nullptr). 121 uint32_t size, OH_Drawing_TileMode, const OH_Drawing_Matrix*); 131 * @param size Indicates the number of colors and pos. 138 const uint32_t* colors, const float* pos, uint32_t size, OH_Drawing_TileMode); 148 * @param size Indicates the number of colors and pos. 158 const OH_Drawing_Point2D* centerPt, float radius, const uint32_t* colors, const float* pos, uint32_t size, 168 * @param size Indicates the number of colors and pos. 175 const uint32_t* colors, const float* pos, uint32_t size, OH_Drawing_TileMod [all...] |
/foundation/multimedia/image_effect/frameworks/native/effect/base/ |
H A D | effect.cpp | 29 if (index > static_cast<uint32_t>(efilters_.size())) { in InsertEFilter() 30 EFFECT_LOGE("index is invalid! index=%{public}d, efilterSize=%{public}zu", index, efilters_.size()); in InsertEFilter() 50 CHECK_AND_RETURN_RET_LOG(index < static_cast<uint32_t>(efilters_.size()), ErrorCode::ERR_INVALID_INDEX, in RemoveEFilter() 51 "RemoveEFilter: index is invalid! index=%{public}d, efilterSize=%{public}zu", index, efilters_.size()); in RemoveEFilter() 59 CHECK_AND_RETURN_RET_LOG(index < static_cast<uint32_t>(efilters_.size()), ErrorCode::ERR_INVALID_INDEX, 60 "ReplaceEFilter: index is invalid! index=%{public}d, efilterSize=%{public}zu", index, efilters_.size());
|
/foundation/multimedia/av_session/services/session/server/test/fuzztest/permissionchecker_fuzzer/ |
H A D | permissionchecker_fuzzer.cpp | 50 void OHOS::AVSession::CheckMediaResourcePermissionTest001(uint8_t* data, size_t size) in CheckMediaResourcePermissionTest001() argument 53 std::string permissionName(reinterpret_cast<const char*>(data), size); in CheckMediaResourcePermissionTest001() local 64 extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 67 if ((data == nullptr) || (size > MAX_CODE_LEN) || (size < MIN_SIZE_NUM)) { in LLVMFuzzerTestOneInput() 74 OHOS::AVSession::CheckMediaResourcePermissionTest001(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/ |
H A D | webp_exif_metadata_accessor.h | 49 bool GetExifBlob(const DataBuf &blob, uint8_t **dataBlob, uint32_t &size); 50 uint32_t UpdateData(uint8_t *dataBlob, uint32_t size); 51 bool UpdateExifMetadata(BufferMetadataStream &tempStream, uint8_t *dataBlob, uint32_t size); 52 bool GetExifEncodeBlob(uint8_t **dataBlob, uint32_t &size); 53 bool WriteHeader(BufferMetadataStream &bufStream, uint32_t size, Vp8xAndExifInfo &exifFlag); 56 bool InsertExifMetadata(BufferMetadataStream &bufStream, uint8_t *dataBlob, uint32_t size);
|
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadataresolvemetadata_fuzzer/ |
H A D | avmetadataresolvemetadata_fuzzer.cpp | 38 bool AVMetadataResolveMetadataFuzzer::FuzzAVMetadataResolveMetadata(uint8_t *data, size_t size) in FuzzAVMetadataResolveMetadata() argument 80 bool FuzzTestAVMetadataResolveMetadata(uint8_t *data, size_t size) in FuzzTestAVMetadataResolveMetadata() argument 86 if (size < sizeof(int64_t)) { in FuzzTestAVMetadataResolveMetadata() 90 return metadata.FuzzAVMetadataResolveMetadata(data, size); in FuzzTestAVMetadataResolveMetadata() 95 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 98 OHOS::FuzzTestAVMetadataResolveMetadata(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatafile_fuzzer/ |
H A D | avmetadatafile_fuzzer.cpp | 39 bool AVMetadataFileFuzzer::FuzzAVMetadataFile(uint8_t *data, size_t size) in FuzzAVMetadataFile() argument 48 int32_t retWritefile = WriteDataToFile(path, data, size); in FuzzAVMetadataFile() 77 bool FuzzTestavMetadataFile(uint8_t *data, size_t size) in FuzzTestavMetadataFile() argument 83 return metadata.FuzzAVMetadataFile(data, size); in FuzzTestavMetadataFile() 88 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 91 OHOS::FuzzTestavMetadataFile(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimodalinput/input/test/fuzztest/markconsumed_fuzzer/ |
H A D | markconsumed_fuzzer.cpp | 39 template <class T> size_t GetObject(const uint8_t *data, size_t size, T &object) in GetObject() argument 42 if (objectSize > size) { in GetObject() 52 void MarkConsumedFuzzTest(const uint8_t *data, size_t size) in MarkConsumedFuzzTest() argument 56 GetObject<int32_t>(data, size, eventId); in MarkConsumedFuzzTest() 66 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 69 OHOS::MMI::MarkConsumedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetlocation_fuzzer/ |
H A D | recordersetlocation_fuzzer.cpp | 40 bool RecorderSetLocationFuzzer::FuzzRecorderSetLocation(uint8_t *data, size_t size) in FuzzRecorderSetLocation() argument 74 bool FuzzTestRecorderSetLocation(uint8_t *data, size_t size) in FuzzTestRecorderSetLocation() argument 80 if (size < sizeof(float)) { in FuzzTestRecorderSetLocation() 84 return testRecorder.FuzzRecorderSetLocation(data, size); in FuzzTestRecorderSetLocation() 89 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 92 OHOS::FuzzTestRecorderSetLocation(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideoframerate_fuzzer/ |
H A D | recordersetvideoframerate_fuzzer.cpp | 41 bool RecorderSetVideoFrameRateFuzzer::RecorderSetVideoFrameRateFuzz(uint8_t *data, size_t size) in RecorderSetVideoFrameRateFuzz() argument 77 bool FuzzTestRecorderSetVideoFrameRate(uint8_t *data, size_t size) in FuzzTestRecorderSetVideoFrameRate() argument 83 if (size < sizeof(int32_t)) { in FuzzTestRecorderSetVideoFrameRate() 87 return testRecorder.RecorderSetVideoFrameRateFuzz(data, size); in FuzzTestRecorderSetVideoFrameRate() 92 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 95 OHOS::FuzzTestRecorderSetVideoFrameRate(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimodalinput/input/test/fuzztest/supportkeys_fuzzer/ |
H A D | supportkeys_fuzzer.cpp | 34 size_t GetObject(const uint8_t *data, size_t size, T &object) in GetObject() argument 37 if (objectSize > size) { in GetObject() 47 void SupportKeysFuzzTest(const uint8_t* data, size_t size) in SupportKeysFuzzTest() argument 54 startPos += GetObject<int32_t>(data + startPos, size - startPos, preKey); in SupportKeysFuzzTest() 66 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 69 OHOS::MMI::SupportKeysFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playersetvolume_fuzzer/ |
H A D | playersetvolume_fuzzer.cpp | 38 bool PlayerSetVolumeFuzzer::FuzzSetVolume(uint8_t* data, size_t size) in FuzzSetVolume() argument 55 if (size >= sizeof(float)) { in FuzzSetVolume() 64 bool FuzzPlayerSetVolume(uint8_t* data, size_t size) in FuzzPlayerSetVolume() argument 71 return player->FuzzSetVolume(data, size); in FuzzPlayerSetVolume() 76 extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 79 FuzzPlayerSetVolume(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideosize_fuzzer/ |
H A D | recordersetvideosize_fuzzer.cpp | 41 bool RecorderSetVideoSizeFuzzer::RecorderSetVideoSizeFuzz(uint8_t *data, size_t size) in RecorderSetVideoSizeFuzz() argument 75 bool FuzzTestRecorderSetVideoSize(uint8_t *data, size_t size) in FuzzTestRecorderSetVideoSize() argument 81 if (size < sizeof(int32_t)) { in FuzzTestRecorderSetVideoSize() 85 return testRecorder.RecorderSetVideoSizeFuzz(data, size); in FuzzTestRecorderSetVideoSize() 90 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 93 OHOS::FuzzTestRecorderSetVideoSize(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerseek_fuzzer/ |
H A D | playerseek_fuzzer.cpp | 38 bool PlayerSeekFuzzer::FuzzSeek(uint8_t* data, size_t size) in FuzzSeek() argument 58 if (size >= sizeof(int32_t)) { in FuzzSeek() 68 bool FuzzPlayerSeek(uint8_t* data, size_t size) in FuzzPlayerSeek() argument 74 return player->FuzzSeek(data, size); in FuzzPlayerSeek() 79 extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 82 FuzzPlayerSeek(data, size); in LLVMFuzzerTestOneInput()
|