Home
last modified time | relevance | path

Searched refs:size (Results 1101 - 1125 of 30191) sorted by relevance

1...<<41424344454647484950>>...1208

/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
H A Dpvr_srv_bo.c48 uint64_t size, in pvr_srv_alloc_display_pmr()
61 pvr_winsys_helper_display_buffer_create(srv_ws->master_fd, size, &handle); in pvr_srv_alloc_display_pmr()
78 assert(size_out >= size); in pvr_srv_alloc_display_pmr()
152 uint64_t size, in pvr_srv_winsys_buffer_create()
165 /* Kernel will page align the size, we do the same here so we have access to in pvr_srv_winsys_buffer_create()
169 size = ALIGN_POT(size, alignment); in pvr_srv_winsys_buffer_create()
181 size, in pvr_srv_winsys_buffer_create()
191 size, in pvr_srv_winsys_buffer_create()
192 size, in pvr_srv_winsys_buffer_create()
47 pvr_srv_alloc_display_pmr(struct pvr_srv_winsys *srv_ws, uint64_t size, uint64_t srv_flags, void **const pmr_out, uint32_t *const handle_out) pvr_srv_alloc_display_pmr() argument
151 pvr_srv_winsys_buffer_create(struct pvr_winsys *ws, uint64_t size, uint64_t alignment, enum pvr_winsys_bo_type type, uint32_t ws_flags, struct pvr_winsys_bo **const bo_out) pvr_srv_winsys_buffer_create() argument
365 pvr_srv_heap_alloc_reserved(struct pvr_winsys_heap *heap, const pvr_dev_addr_t reserved_dev_addr, uint64_t size, uint64_t alignment) pvr_srv_heap_alloc_reserved() argument
426 pvr_srv_winsys_heap_alloc(struct pvr_winsys_heap *heap, uint64_t size, uint64_t alignment) pvr_srv_winsys_heap_alloc() argument
498 pvr_srv_winsys_vma_map(struct pvr_winsys_vma *vma, struct pvr_winsys_bo *bo, uint64_t offset, uint64_t size) pvr_srv_winsys_vma_map() argument
[all...]
/third_party/ffmpeg/libavformat/
H A Ddv.c47 int size; member
132 int size, chan, i, j, d, of, smpls, freq, quant, half_ch; in dv_extract_audio() local
151 size = (sys->audio_min_samples[freq] + smpls) * 4; /* 2ch, 2bytes */ in dv_extract_audio()
187 if (of * 2 >= size) in dv_extract_audio()
207 if (of * 2 >= size) in dv_extract_audio()
229 return size; in dv_extract_audio()
275 c->audio_pkt[i].size = 0; in dv_extract_audio_info()
371 int size = -1; in avpriv_dv_get_packet() local
375 if (c->ast[i] && c->audio_pkt[i].size) { in avpriv_dv_get_packet()
376 pkt->size in avpriv_dv_get_packet()
396 int size, i; avpriv_dv_produce_packet() local
449 int64_t size = avio_size(s->pb) - si->data_offset; dv_frame_offset() local
560 int size; dv_read_packet() local
[all...]
H A Drtpenc_latm.c25 void ff_rtp_send_latm(AVFormatContext *s1, const uint8_t *buff, int size) in ff_rtp_send_latm() argument
38 size -= 7; in ff_rtp_send_latm()
43 header_size = size/0xFF + 1; in ff_rtp_send_latm()
45 s->buf[header_size - 1] = size % 0xFF; in ff_rtp_send_latm()
50 while (size > 0) { in ff_rtp_send_latm()
51 len = FFMIN(size, s->max_payload_size - (!offset ? header_size : 0)); in ff_rtp_send_latm()
52 size -= len; in ff_rtp_send_latm()
55 ff_rtp_send_data(s1, s->buf, header_size + len, !size); in ff_rtp_send_latm()
57 ff_rtp_send_data(s1, buff + offset, len, !size); in ff_rtp_send_latm()
H A Dargo_cvg.c33 * .CVG files are essentially PSX ADPCM wrapped with a size and checksum.
43 uint32_t size; /*< File size -8 (this + trailing checksum) */ member
66 size_t size; member
94 cvg.size = AV_RL32(p->buf + 0); in argo_cvg_probe()
98 if (cvg.size < 8) in argo_cvg_probe()
120 if ((ret = avio_seek(pb, cvg->size + 4, SEEK_SET)) < 0) in argo_cvg_read_checksum()
153 ctx->header.size = AV_RL32(buf + 0); in argo_cvg_read_header()
157 if (ctx->header.size < 8) in argo_cvg_read_header()
160 av_log(s, AV_LOG_TRACE, "size in argo_cvg_read_header()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_bufmgr.c48 ptr->handle, ptr->size); in vc4_bo_debug_describe()
83 fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 1024); in vc4_bo_dump_stats()
85 fprintf(stderr, " BOs cached size: %dkb\n", cache->bo_size / 1024); in vc4_bo_dump_stats()
113 cache->bo_size -= bo->size; in vc4_bo_remove_from_cache()
153 munmap(bo->map, bo->size); in vc4_bo_free()
166 screen->bo_size -= bo->size; in vc4_bo_free()
172 bo->size / 1024); in vc4_bo_free()
180 vc4_bo_from_cache(struct vc4_screen *screen, uint32_t size, const char *name) in vc4_bo_from_cache() argument
183 uint32_t page_index = size / 4096 - 1; in vc4_bo_from_cache()
221 vc4_bo_alloc(struct vc4_screen *screen, uint32_t size, cons argument
380 vc4_bo_open_handle(struct vc4_screen *screen, uint32_t handle, uint32_t size) vc4_bo_open_handle() argument
436 int size; vc4_bo_open_dmabuf() local
473 vc4_bo_alloc_shader(struct vc4_screen *screen, const void *data, uint32_t size) vc4_bo_alloc_shader() argument
[all...]
/third_party/node/deps/v8/third_party/zlib/
H A Dgzwrite.c15 state->size to non-zero. Return -1 on a memory allocation failure, or 0 on
23 /* allocate input buffer (double size for gzprintf) */
56 state->size = state->want;
60 strm->avail_out = state->size;
82 if (state->size == 0 && gz_init(state) == -1)
118 strm->avail_out = state->size;
160 n = GT_OFF(state->size) || (z_off64_t)state->size > len ?
161 (unsigned)len : state->size;
190 if (state->size
[all...]
/third_party/python/Modules/_io/
H A Dbytesio.c103 The caller should ensure that the 'size' argument is non-negative and
106 unshare_buffer(bytesio *self, size_t size) in unshare_buffer() argument
111 assert(size >= (size_t)self->string_size); in unshare_buffer()
112 new_buf = PyBytes_FromStringAndSize(NULL, size); in unshare_buffer()
121 /* Internal routine for changing the size of the buffer of BytesIO objects.
122 The caller should ensure that the 'size' argument is non-negative. Returns
125 resize_buffer(bytesio *self, size_t size) in resize_buffer() argument
135 if (size > PY_SSIZE_T_MAX) in resize_buffer()
138 if (size < alloc / 2) { in resize_buffer()
139 /* Major downsize; resize down to exact size in resize_buffer()
394 read_bytes(bytesio *self, Py_ssize_t size) read_bytes() argument
425 _io_BytesIO_read_impl(bytesio *self, Py_ssize_t size) _io_BytesIO_read_impl() argument
456 _io_BytesIO_read1_impl(bytesio *self, Py_ssize_t size) _io_BytesIO_read1_impl() argument
475 _io_BytesIO_readline_impl(bytesio *self, Py_ssize_t size) _io_BytesIO_readline_impl() argument
503 Py_ssize_t maxsize, size, n; _io_BytesIO_readlines_impl() local
600 _io_BytesIO_truncate_impl(bytesio *self, Py_ssize_t size) _io_BytesIO_truncate_impl() argument
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dgzwrite.c15 state->size to non-zero. Return -1 on a memory allocation failure, or 0 on
23 /* allocate input buffer (double size for gzprintf) */
56 state->size = state->want;
60 strm->avail_out = state->size;
82 if (state->size == 0 && gz_init(state) == -1)
118 strm->avail_out = state->size;
160 n = GT_OFF(state->size) || (z_off64_t)state->size > len ?
161 (unsigned)len : state->size;
190 if (state->size
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector_exception_safety_test.cc126 if (vec->size() > vec->capacity()) return false; in InlinedVectorInvariants()
127 if (vec->size() > vec->max_size()) return false; in InlinedVectorInvariants()
133 if ((vec->end() - vec->begin()) != vec->size()) return false; in InlinedVectorInvariants()
134 if (std::distance(vec->begin(), vec->end()) != vec->size()) return false; in InlinedVectorInvariants()
160 constexpr static auto size = TypeParam::GetSizeAt(0); in TYPED_TEST() local
162 testing::TestThrowingCtor<VecT>(size); in TYPED_TEST()
164 testing::TestThrowingCtor<VecT>(size, allocator_type{}); in TYPED_TEST()
171 constexpr static auto size = TypeParam::GetSizeAt(0); in TYPED_TEST() local
173 testing::TestThrowingCtor<VecT>(size, value_type{}); in TYPED_TEST()
175 testing::TestThrowingCtor<VecT>(size, value_typ in TYPED_TEST()
182 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
195 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
207 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
219 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
365 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
388 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
401 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
449 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
474 constexpr static auto size = TypeParam::GetSizeAt(0); TYPED_TEST() local
[all...]
/foundation/multimedia/av_session/services/session/server/test/fuzztest/bkgraudiocontroller_fuzzer/
H A Dbkgraudiocontroller_fuzzer.cpp27 void OHOS::AVSession::BackGroundAudioControllerTest_01(uint8_t *data, size_t size) in BackGroundAudioControllerTest_01() argument
29 if ((data == nullptr) || (size > MAX_CODE_LEN) || (size < MIN_SIZE_NUM)) { in BackGroundAudioControllerTest_01()
39 void OHOS::AVSession::BackGroundAudioControllerTest_02(uint8_t *data, size_t size) in BackGroundAudioControllerTest_02() argument
41 if ((data == nullptr) || (size > MAX_CODE_LEN) || (size < MIN_SIZE_NUM)) { in BackGroundAudioControllerTest_02()
52 extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
55 OHOS::AVSession::BackGroundAudioControllerTest_01(data, size); in LLVMFuzzerTestOneInput()
56 OHOS::AVSession::BackGroundAudioControllerTest_02(data, size); in LLVMFuzzerTestOneInput()
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/starttimesync_fuzzer/
H A Dstarttimesync_fuzzer.cpp34 bool StartTimeSyncTest(const uint8_t* data, size_t size) in StartTimeSyncTest() argument
36 if (data == nullptr || size == 0) { in StartTimeSyncTest()
43 char *tmp = reinterpret_cast<char *>(malloc(size)); in StartTimeSyncTest()
47 if (memset_s(tmp, size, '\0', size) != EOK) { in StartTimeSyncTest()
51 if (memcpy_s(tmp, size, data, size - 1) != EOK) { in StartTimeSyncTest()
65 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
68 OHOS::StartTimeSyncTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/communication/dsoftbus/tests/core/adapter/fuzztest/softbusrsacrypto_fuzzer/
H A Dsoftbusrsacrypto_fuzzer.cpp28 bool SoftBusRsaEncryptFuzzTest(const uint8_t *data, size_t size) in SoftBusRsaEncryptFuzzTest() argument
32 PublicKey peerPublicKey = { data, size }; in SoftBusRsaEncryptFuzzTest()
34 if (SoftBusRsaEncrypt(data, size, &peerPublicKey, &encryptedData, &encryptedDataLen) != SOFTBUS_OK) { in SoftBusRsaEncryptFuzzTest()
42 bool SoftBusRsaDecryptFuzzTest(const uint8_t *data, size_t size) in SoftBusRsaDecryptFuzzTest() argument
47 if (SoftBusRsaDecrypt(data, size, &decryptedData, &decryptedDataLen) != SOFTBUS_OK) { in SoftBusRsaDecryptFuzzTest()
57 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
59 if (data == nullptr || size == 0) { in LLVMFuzzerTestOneInput()
63 OHOS::SoftBusRsaEncryptFuzzTest(data, size); in LLVMFuzzerTestOneInput()
64 OHOS::SoftBusRsaDecryptFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/device_manager/test/commonfuzztest/getdeviceinfo_fuzzer/
H A Dget_device_info_fuzzer.cpp23 void GetDeviceInfoFuzzTest(const uint8_t* data, size_t size) in GetDeviceInfoFuzzTest() argument
25 if ((data == nullptr) || (size < sizeof(uint16_t)) || (size > DM_MAX_DEVICE_ID_LEN)) { in GetDeviceInfoFuzzTest()
29 std::string pkgName(reinterpret_cast<const char*>(data), size); in GetDeviceInfoFuzzTest() local
30 std::string networkId(reinterpret_cast<const char*>(data), size); in GetDeviceInfoFuzzTest() local
33 int32_t ret = memcpy_s(deviceInfo.deviceId, DM_MAX_DEVICE_ID_LEN, (reinterpret_cast<const char *>(data)), size); in GetDeviceInfoFuzzTest()
37 ret = memcpy_s(deviceInfo.deviceName, DM_MAX_DEVICE_NAME_LEN, (reinterpret_cast<const char *>(data)), size); in GetDeviceInfoFuzzTest()
52 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
55 OHOS::DistributedHardware::GetDeviceInfoFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/distributed_input/test/fuzztest/distributedinputtransportbase_fuzzer/
H A Ddistributed_input_transport_base_fuzzer.cpp32 void StartSessionFuzzTest(const uint8_t *data, size_t size) in StartSessionFuzzTest() argument
34 if ((data == nullptr) || (size == 0)) { in StartSessionFuzzTest()
38 std::string remoteDevId(reinterpret_cast<const char*>(data), size); in StartSessionFuzzTest() local
46 void OnBytesReceivedFuzzTest(const uint8_t *data, size_t size) in OnBytesReceivedFuzzTest() argument
48 if ((data == nullptr) || (size < sizeof(int32_t))) { in OnBytesReceivedFuzzTest()
54 uint32_t dataLen = static_cast<const uint32_t>(size); in OnBytesReceivedFuzzTest()
61 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
64 OHOS::DistributedHardware::StartSessionFuzzTest(data, size); in LLVMFuzzerTestOneInput()
65 OHOS::DistributedHardware::OnBytesReceivedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/distributed_input/test/fuzztest/distributedinputsinktransport_fuzzer/
H A Ddistributed_input_sink_transport_fuzzer.cpp29 void RespPrepareRemoteInputFuzzTest(const uint8_t *data, size_t size) in RespPrepareRemoteInputFuzzTest() argument
31 if ((data == nullptr) || (size < sizeof(int32_t))) { in RespPrepareRemoteInputFuzzTest()
36 std::string smsg(reinterpret_cast<const char*>(data), size); in RespPrepareRemoteInputFuzzTest() local
42 void RespStartRemoteInputFuzzTest(const uint8_t *data, size_t size) in RespStartRemoteInputFuzzTest() argument
44 if ((data == nullptr) || (size < sizeof(int32_t))) { in RespStartRemoteInputFuzzTest()
49 std::string smsg(reinterpret_cast<const char*>(data), size); in RespStartRemoteInputFuzzTest() local
58 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
61 OHOS::DistributedHardware::RespPrepareRemoteInputFuzzTest(data, size); in LLVMFuzzerTestOneInput()
62 OHOS::DistributedHardware::RespStartRemoteInputFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/third_party/icu/icu4c/source/test/fuzzer/
H A Dcollator_compare_fuzzer.cpp13 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { in LLVMFuzzerTestOneInput() argument
16 if (size < 2) in LLVMFuzzerTestOneInput()
19 std::unique_ptr<char16_t> compbuff1(new char16_t[size/4]); in LLVMFuzzerTestOneInput()
20 std::memcpy(compbuff1.get(), data, (size/4)*2); in LLVMFuzzerTestOneInput()
21 data = data + size/2; in LLVMFuzzerTestOneInput()
22 std::unique_ptr<char16_t> compbuff2(new char16_t[size/4]); in LLVMFuzzerTestOneInput()
23 std::memcpy(compbuff2.get(), data, (size/4)*2); in LLVMFuzzerTestOneInput()
31 fuzzCollator->compare(compbuff1.get(), size/4, in LLVMFuzzerTestOneInput()
32 compbuff2.get(), size/4); in LLVMFuzzerTestOneInput()
/third_party/json/docs/examples/
H A Dsize.cpp19 // call size() in main()
20 std::cout << j_null.size() << '\n'; in main()
21 std::cout << j_boolean.size() << '\n'; in main()
22 std::cout << j_number_integer.size() << '\n'; in main()
23 std::cout << j_number_float.size() << '\n'; in main()
24 std::cout << j_object.size() << '\n'; in main()
25 std::cout << j_object_empty.size() << '\n'; in main()
26 std::cout << j_array.size() << '\n'; in main()
27 std::cout << j_array_empty.size() << '\n'; in main()
28 std::cout << j_string.size() << '\ in main()
[all...]
/third_party/lz4/ossfuzz/
H A Dcompress_frame_fuzzer.c18 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
20 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(data, size); in LLVMFuzzerTestOneInput()
23 size = FUZZ_dataProducer_remainingBytes(producer); in LLVMFuzzerTestOneInput()
25 size_t const compressBound = LZ4F_compressFrameBound(size, &prefs); in LLVMFuzzerTestOneInput()
29 char* const rt = (char*)malloc(size); in LLVMFuzzerTestOneInput()
36 LZ4F_compressFrame(dst, dstCapacity, data, size, &prefs); in LLVMFuzzerTestOneInput()
38 size_t const rtSize = FUZZ_decompressFrame(rt, size, dst, dstSize); in LLVMFuzzerTestOneInput()
39 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect regenerated size"); in LLVMFuzzerTestOneInput()
40 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruptio in LLVMFuzzerTestOneInput()
[all...]
H A Dround_trip_hc_fuzzer.c16 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
18 FUZZ_dataProducer_t *producer = FUZZ_dataProducer_create(data, size); in LLVMFuzzerTestOneInput()
21 size = FUZZ_dataProducer_remainingBytes(producer); in LLVMFuzzerTestOneInput()
23 size_t const dstCapacity = LZ4_compressBound(size); in LLVMFuzzerTestOneInput()
25 char* const rt = (char*)malloc(size); in LLVMFuzzerTestOneInput()
31 int const dstSize = LZ4_compress_HC((const char*)data, dst, size, in LLVMFuzzerTestOneInput()
35 int const rtSize = LZ4_decompress_safe(dst, rt, dstSize, size); in LLVMFuzzerTestOneInput()
36 FUZZ_ASSERT_MSG(rtSize == size, "Incorrect size"); in LLVMFuzzerTestOneInput()
37 FUZZ_ASSERT_MSG(!memcmp(data, rt, size), "Corruptio in LLVMFuzzerTestOneInput()
[all...]
/foundation/multimedia/av_session/frameworks/native/session/test/fuzztest/avsessioncallbackstub_fuzzer/
H A Davsession_callbackclient_fuzzer.cpp161 void AvSessionCallbackClientFuzzer::FuzzOnRemoteRequest(int32_t code, const uint8_t* data, size_t size) in FuzzOnRemoteRequest() argument
163 if ((data == nullptr) || (size > MAX_CODE_LEN) || (size < MIN_SIZE_NUM)) { in FuzzOnRemoteRequest()
186 size -= sizeof(uint32_t); in FuzzOnRemoteRequest()
187 dataMessageParcel.WriteBuffer(data + sizeof(uint32_t), size); in FuzzOnRemoteRequest()
195 void AvSessionCallbackClientFuzzer::FuzzTests(const uint8_t* data, size_t size) in FuzzTests() argument
197 if ((data == nullptr) || (size > MAX_CODE_LEN) || (size < MIN_SIZE_NUM)) { in FuzzTests()
201 FuzzTestInner1(data, size); in FuzzTests()
202 FuzzTestInner2(data, size); in FuzzTests()
205 FuzzTestInner1(const uint8_t* data, size_t size) FuzzTestInner1() argument
231 std::string mediald(reinterpret_cast<const char*>(data), size); FuzzTestInner1() local
235 FuzzTestInner2(const uint8_t* data, size_t size) FuzzTestInner2() argument
250 std::string deviceId(reinterpret_cast<const char*>(data), size); FuzzTestInner2() local
259 std::string commonCommand(reinterpret_cast<const char*>(data), size); FuzzTestInner2() local
271 AvSessionCallbackOnRemoteRequest(int32_t code, const uint8_t* data, size_t size) AvSessionCallbackOnRemoteRequest() argument
281 AvSessionCallbackClientTests(const uint8_t* data, size_t size) AvSessionCallbackClientTests() argument
292 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/multimedia/camera_framework/test/fuzztest/streamcapturestub_fuzzer/
H A Dstream_capture_stub_fuzzer.cpp46 std::shared_ptr<OHOS::Camera::CameraMetadata> MakeMetadata(uint8_t *rawData, size_t size) in MakeMetadata() argument
53 ability->addEntry(OHOS_ABILITY_STREAM_AVAILABLE_EXTEND_CONFIGURATIONS, streams, size / LIMITCOUNT); in MakeMetadata()
88 void Test(uint8_t *rawData, size_t size) in Test() argument
90 if (rawData == nullptr || size < LIMITSIZE) { in Test()
102 Test_OnRemoteRequest(rawData, size); in Test()
103 Test_HandleCapture(rawData, size); in Test()
104 Test_HandleSetThumbnail(rawData, size); in Test()
105 Test_HandleSetBufferProducerInfo(rawData, size); in Test()
106 Test_HandleEnableDeferredType(rawData, size); in Test()
107 Test_HandleSetCallback(rawData, size); in Test()
118 Test_OnRemoteRequest(uint8_t *rawData, size_t size) Test_OnRemoteRequest() argument
143 Test_HandleCapture(uint8_t *rawData, size_t size) Test_HandleCapture() argument
166 Test_HandleSetThumbnail(uint8_t *rawData, size_t size) Test_HandleSetThumbnail() argument
178 Test_HandleSetBufferProducerInfo(uint8_t *rawData, size_t size) Test_HandleSetBufferProducerInfo() argument
190 Test_HandleEnableDeferredType(uint8_t *rawData, size_t size) Test_HandleEnableDeferredType() argument
198 Test_HandleSetCallback(uint8_t *rawData, size_t size) Test_HandleSetCallback() argument
215 LLVMFuzzerTestOneInput(uint8_t *data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/fuzztest/resschedcommonevent_fuzzer/
H A Dresschedcommonevent_fuzzer.cpp51 * describe: get data from outside untrusted data(DATA) which size is according to sizeof(T)
91 bool ResSchedCommonEventFuzzTest(const uint8_t* data, size_t size) in ResSchedCommonEventFuzzTest() argument
97 if (size <= sizeof(int32_t) + DATA_LENGTH) { in ResSchedCommonEventFuzzTest()
103 g_size = size; in ResSchedCommonEventFuzzTest()
119 bool ResSchedCommonEventGetUidFuzzTest(const uint8_t* data, size_t size) in ResSchedCommonEventGetUidFuzzTest() argument
125 if (size <= sizeof(int32_t) + DATA_LENGTH) { in ResSchedCommonEventGetUidFuzzTest()
131 g_size = size; in ResSchedCommonEventGetUidFuzzTest()
141 bool ResSchedCommonEventSwitchFuzzTest(const uint8_t* data, size_t size) in ResSchedCommonEventSwitchFuzzTest() argument
148 g_size = size; in ResSchedCommonEventSwitchFuzzTest()
167 bool ResSchedCommonReceiveEventFuzzTest(const uint8_t* data, size_t size) in ResSchedCommonReceiveEventFuzzTest() argument
204 ResSchedPkgCommonEventFuzzTest(const uint8_t* data, size_t size) ResSchedPkgCommonEventFuzzTest() argument
238 ResSchedPkgOtherCommonEventFuzzTest(const uint8_t* data, size_t size) ResSchedPkgOtherCommonEventFuzzTest() argument
284 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/
H A Dsessioninterface_fuzzer.cpp70 T* UnmarshallingDataTo(const uint8_t* data, size_t size) in UnmarshallingDataTo() argument
74 parcel.WriteBuffer(data, size); in UnmarshallingDataTo()
79 void IPCFuzzTest(const uint8_t* data, size_t size) in IPCFuzzTest() argument
86 DataSource source(data, size); in IPCFuzzTest()
160 void IPCInterfaceFuzzTest(const uint8_t* data, size_t size) in IPCInterfaceFuzzTest() argument
167 DataSource source(data, size); in IPCInterfaceFuzzTest()
184 void ProxyInterfaceFuzzTestPart1(const uint8_t* data, size_t size) in ProxyInterfaceFuzzTestPart1() argument
191 DataSource source(data, size); in ProxyInterfaceFuzzTestPart1()
193 sptr<WindowSessionProperty> property = UnmarshallingDataTo<WindowSessionProperty>(data, size); in ProxyInterfaceFuzzTestPart1()
209 void ProxyInterfaceFuzzTestPart2(const uint8_t* data, size_t size) in ProxyInterfaceFuzzTestPart2() argument
241 ProxyInterfaceFuzzTestPart3(const uint8_t* data, size_t size) ProxyInterfaceFuzzTestPart3() argument
269 ProxyInterfaceFuzzTest(const uint8_t* data, size_t size) ProxyInterfaceFuzzTest() argument
278 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/
H A Dnet_supplier_callback_stub.cpp73 uint32_t size = 0; in OnRequestNetwork() local
75 data.ReadUint32(size); in OnRequestNetwork()
76 if (size > MAX_NET_CAP_NUM) { in OnRequestNetwork()
77 NETMGR_LOG_E("Net cap size is too large"); in OnRequestNetwork()
80 for (uint32_t i = 0; i < size; i++) { in OnRequestNetwork()
92 NETMGR_LOG_E("Net beartype size is too large"); in OnRequestNetwork()
120 uint32_t size = 0; in OnReleaseNetwork() local
122 data.ReadUint32(size); in OnReleaseNetwork()
123 size = (size > MAX_NET_CAP_NU in OnReleaseNetwork()
143 uint32_t size = 0; OnAddRequest() local
197 uint32_t size = 0; OnRemoveRequest() local
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_impl_resultsetproxy.cpp45 if (colNames.size() == 0) { in GetAllColumnNames()
48 char** result = static_cast<char**>(malloc(colNames.size() * sizeof(char*))); in GetAllColumnNames()
52 for (size_t i = 0; i < colNames.size(); i++) { in GetAllColumnNames()
62 return CArrStr{result, int64_t(colNames.size())}; in GetAllColumnNames()
196 .size= MallocCString(asset.size), in GetAsset()
244 if (*rtnCode != RelationalStoreJsKit::OK || vec.size() == 0) { in GetBlob()
247 uint8_t* result = static_cast<uint8_t*>(malloc(vec.size() * sizeof(uint8_t))); in GetBlob()
251 for (size_t i = 0; i < vec.size(); i++) { in GetBlob()
254 return CArrUI8{result, int64_t(vec.size())}; in GetBlob()
296 size_t size = map.size(); GetRow() local
[all...]

Completed in 14 milliseconds

1...<<41424344454647484950>>...1208