/foundation/multimedia/image_framework/frameworks/kits/cj/include/ |
H A D | image_ffi.h | 76 int64_t size; member 84 FFI_EXPORT int64_t FfiOHOSCreateImageSourceByBuffer(uint8_t *data, uint32_t size, uint32_t* errCode); 87 FFI_EXPORT int64_t FfiOHOSCreateImageSourceByBufferWithOption(uint8_t *data, uint32_t size, CSourceOptions opts, 89 FFI_EXPORT int64_t FfiOHOSCreateIncrementalSource(const uint8_t *data, uint32_t size,
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/video_capture/ |
H A D | video_capture_plugin.cpp | 100 MEDIA_LOG_E("set queue size fail"); in ConfigSurfaceConsumer() 104 MEDIA_LOG_E("set surface size fail"); in ConfigSurfaceConsumer() 251 MEDIA_LOG_E("surfaceBuffer get data size fail: " PUBLIC_LOG_U32, ret); in AcquireSurfaceBuffer() 262 MEDIA_LOG_E("surfaceBuffer get data size fail: " PUBLIC_LOG_U32, ret); in AcquireSurfaceBuffer() 285 videoMeta->planes = videoMeta->stride.size(); in SetVideoBufferMeta() 328 Status VideoCapturePlugin::GetSize(uint64_t& size) in GetSize() argument 333 size = bufferSize_; in GetSize() 334 MEDIA_LOG_D("BufferSize_: " PUBLIC_LOG_U64, size); in GetSize()
|
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/ |
H A D | avcodec_e2e_demo_api10.cpp | 89 if (frameList.size() > 1) { in sortFrame() 107 while (frameList.size() > 0) { in OnDecOutputDataAvailable() 148 int64_t size = GetFileSize(file); in AVCodecE2EDemoAPI10() local 149 inSource = OH_AVSource_CreateWithFD(fd, 0, size); in AVCodecE2EDemoAPI10()
|
H A D | avcodec_e2e_demo.cpp | 74 if (attr.size > 0) { in OnDecInputBufferAvailable() 75 fwrite(data, attr.size, 1, demuxerOutFp); in OnDecInputBufferAvailable() 125 int64_t size = GetFileSize(file); in AVCodecE2EDemo() local 126 inSource = OH_AVSource_CreateWithFD(fd, 0, size); in AVCodecE2EDemo()
|
/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | media_decrypt_module_service.cpp | 121 cryptInfoTmp.subSamples.resize(cryptInfo.subSample.size());
in SetCryptInfo() 122 for (size_t i = 0; i < cryptInfo.subSample.size(); i++) {
in SetCryptInfo() 157 if (decryptStatistics_.topThree.size() > TOP_THREE_SIZE) {
in UpdateDecryptionStatistics() 182 uint32_t currentTopThreeSize = decryptStatistics_.topThree.size();
in GetTopThreeDecryptionDurations()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/inner/ |
H A D | videodec_inner_mock.cpp | 93 bufferInfo.size = info.size; in OnOutputBufferAvailable() 215 info.size = attr.size; in PushInputData()
|
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/include/ |
H A D | player_mock.h | 121 int32_t SetDataSrc(const std::string &path, int32_t size, bool seekable); 122 int32_t SetSource(const std::string &path, int64_t offset, int64_t size); 123 int32_t SetSource(int32_t fd, int64_t offset, int64_t size); 158 int32_t AddSubSource(const std::string &path, int64_t offset, int64_t size);
|
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/ |
H A D | player_server_mem.h | 43 int32_t SetSource(int32_t fd, int64_t offset, int64_t size) override;
49 int32_t AddSubSource(int32_t fd, int64_t offset, int64_t size) override;
103 int64_t size = 0;
member 112 int64_t size = 0;
member
|
/foundation/multimedia/player_framework/services/services/sa_media/ipc/ |
H A D | recorder_profiles_parcel.cpp | 77 parcel.WriteUint32(profileCapabilityDataArray.size());
in Marshalling() 146 uint32_t size = parcel.ReadUint32();
in Unmarshalling() local 148 if (size > MAX_PARCEL_SIZE) {
in Unmarshalling() 152 for (uint32_t index = 0; index < size; index++) {
in Unmarshalling()
|
/foundation/multimodalinput/input/test/fuzztest/stubhandleallocsocketfd_fuzzer/ |
H A D | stubhandleallocsocketfd_fuzzer.cpp | 66 bool StubHandleAllocSocketFdFuzzTest(const uint8_t *data, size_t size) in StubHandleAllocSocketFdFuzzTest() argument 70 !datas.WriteBuffer(data, size) || !datas.RewindRead(0)) { in StubHandleAllocSocketFdFuzzTest() 158 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 165 OHOS::MMI::StubHandleAllocSocketFdFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 81 static_cast<uint32_t>(taskParamPtr->bgModeIds_.size()), in RequestStartBackgroundRunning() 82 static_cast<uint32_t>(taskParam.bgModeIds_.size()), in RequestStartBackgroundRunning() 103 static_cast<uint32_t>(taskParamPtr->bgModeIds_.size()), in RequestUpdateBackgroundRunning() 104 static_cast<uint32_t>(taskParam.bgModeIds_.size()), taskParamPtr->isBatchApi_, taskParam.isBatchApi_, in RequestUpdateBackgroundRunning()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/ |
H A D | mem_mgr_service.cpp | 230 if (KernelInterface::GetInstance().ReadFromFile(path, contentStr) || contentStr.size() == 0) { in GetReclaimPriorityByPid() 309 for (auto i = 0; i < params.size(); i++) { in ParseParams() 326 HILOGD("keyValuesMapping.size()=%{public}zu\n", keyValuesMapping.size()); in ParseParams() 329 for (auto i = 0; i < it.second.size(); i++) { in ParseParams()
|
/foundation/resourceschedule/soc_perf/services/server/src/ |
H A D | socperf_stub.cpp | 199 if (tags.size() == MSG_VECTOR_INVALID_LEN || tags.size() > MSG_VECTOR_MAX_LEN) { in StubLimitRequest() 209 if (configs.size() == MSG_VECTOR_INVALID_LEN || configs.size() > MSG_VECTOR_MAX_LEN) { in StubLimitRequest()
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_queue_manager.cpp | 167 if (readyWorkVector.size() == 0) { in OnConditionChanged() 193 uint32_t size = sizeof(conditionType); in Dump() local 195 if (it.first < size) { in Dump() 198 result.append(conditionType[size - 1]); in Dump()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | dns_manager.cpp | 132 if ((hostName.size() == 0) && (serverName.size() == 0)) { in GetAddrInfo() 144 int32_t ret = getaddrinfo_ext(((hostName.size() == 0) ? NULL : hostName.c_str()), in GetAddrInfo() 145 ((serverName.size() == 0) ? NULL : serverName.c_str()), in GetAddrInfo()
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_callback.cpp | 54 uint32_t callbackCounts = callbacks_.size(); in RegisterNetPolicyCallback() 199 NETMGR_LOG_D("NotifyNetQuotaPolicyChange quotaPolicies.size[%{public}zu]", quotaPolicies.size()); in NotifyNetQuotaPolicyChangeAsync() 226 NETMGR_LOG_D("NotifyNetMeteredIfacesChange iface size[%{public}zu]", ifaces.size()); in NotifyNetMeteredIfacesChangeAsync() 242 NETMGR_LOG_D("NotifyNetMeteredIfacesChange iface size[%{public}zu]", ifaces.size()); in NotifyNetMeteredIfacesChange()
|
/foundation/deviceprofile/device_info_manager/services/core/src/permissionmanager/ |
H A D | permission_manager.cpp | 100 int size = cJSON_GetArraySize(permissionJson); in ParsePermissionJson() local 101 if (size == 0 || size > MAX_INTERFACE_SIZE) { in ParsePermissionJson() 102 HILOGE("Permission json size is invalid!size: %{public}d!", size); in ParsePermissionJson()
|
/foundation/communication/nfc/interfaces/inner_api/common/ |
H A D | nfc_sdk_common.cpp | 167 if (src.size() % HEX_BYTE_LEN != 0 || src.empty()) { // 2 is Even number judgement
in HexStringToAsciiString() 172 for (size_t i = 0; i < src.size() / HEX_BYTE_LEN; i++) {
in HexStringToAsciiString() 190 if (src.size() % HEX_BYTE_LEN != 0 || src.empty()) { // 2 is Even number judgement
in HexArrayToStringWithoutChecking() 195 for (size_t i = 0; i < src.size() / HEX_BYTE_LEN; i++) {
in HexArrayToStringWithoutChecking()
|
/foundation/communication/nfc/services/src/tag/ |
H A D | tag_dispatcher.cpp | 223 techList.size(), tagTechExtras.size(), tagDiscId);
in GetTagInfoFromTag() 235 techList.size(), tagTechExtras.size(), tagDiscId);
in GetTagInfoParcelableFromTag()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
H A D | types_util_test.cpp | 110 ASSERT_EQ(changeOut.GetInsertEntries().size(), 1UL); in HWTEST_F() 113 ASSERT_EQ(changeOut.GetUpdateEntries().size(), 1UL); in HWTEST_F() 116 ASSERT_EQ(changeOut.GetDeleteEntries().size(), 1UL); in HWTEST_F() 213 ASSERT_FALSE(ITypesUtil::MarshalToBuffer(exceedMaxCountInput, sizeof(int) * exceedMaxCountInput.size(), parcel)); in HWTEST_F() 242 parcel.WriteInt32(normalSize); //normal size in HWTEST_F() 262 parcel.WriteInt32(ITypesUtil::MAX_SIZE + 1); //exceedMaxSize size in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | tracker_table.cpp | 64 if (index < trackerColNames_.size() - 1) { in GetDiffTrackerValSql() 82 if (index < trackerColNames_.size() - 1) { in GetDiffIncCursorSql() 254 if (trackerColNames_.size() != schema.trackerColNames.size()) { in IsChanging()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/ |
H A D | distributeddb_communicator_common.cpp | 117 return outObj->rawData_.size(); in RegFuncForGiantMsg() 124 if (outObj->rawData_.size() != length) { in RegFuncForGiantMsg() 338 if (inLeft.rawData_.size() != inRight.rawData_.size()) { in CheckEqual()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_manager.cpp | 78 pwd.assign(pwd.size(), 0); in GetKVStore() 94 key.assign(key.size(), 0); in GetSecretKeyFromService() 105 dbPassword.SetValue(key.data(), key.size()); in GetSecretKeyFromService() 106 key.assign(key.size(), 0); in GetSecretKeyFromService()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/backup/src/ |
H A D | backup_manager.cpp | 113 int64_t end = std::min(startNum_ + backupNumber_, static_cast<int64_t>(metas.size())); in BackSchedule() 121 if (startNum_ >= static_cast<int64_t>(metas.size())) { in BackSchedule() 152 decryptKey.assign(decryptKey.size(), 0); in DoBackup() 180 if (secretKey.sKey.size() != 0) { in SaveData()
|
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 129 auto size = Traits::variant_size_of_v<decltype(value)>; in HWTEST_F() local 130 ASSERT_EQ(size, 6); in HWTEST_F() 132 size = Traits::variant_size_of_v<decltype(value2)>; in HWTEST_F() 133 ASSERT_EQ(size, 1); in HWTEST_F()
|