/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/ |
H A D | rs_marshalling_helper.cpp | 519 bool RSMarshallingHelper::WriteToParcel(Parcel& parcel, const void* data, size_t size) in WriteToParcel() argument 524 const void* RSMarshallingHelper::ReadFromParcel(Parcel& parcel, size_t size, bool& isMalloc) in ReadFromParcel() argument 529 bool RSMarshallingHelper::SkipFromParcel(Parcel& parcel, size_t size) in SkipFromParcel() argument
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | egl_image_test.cpp | 93 mmap(bufferHandle->virAddr, bufferHandle->size, PROT_READ | PROT_WRITE, MAP_SHARED, bufferHandle->fd, 0)); in Draw() 96 for (int i = 0; i < bufferHandle->size; ++i) { in Draw() 99 munmap(data, bufferHandle->size); in Draw()
|
H A D | heif_yuv_test.cpp | 119 GTEST_LOG_(INFO) << "HeifYuvTest: request size(" << width << ", " << height << ")";
in DecodeToYuv() 136 uint32_t size = pixelMap->GetCapacity();
in DecodeToYuv() local 139 bool ret = bufferPackerStream.Write(buffer, size);
in DecodeToYuv() 144 GTEST_LOG_(INFO) << "HeifYuvTest: ret size(" << width << ", " << height << ")";
in DecodeToYuv() 153 fwrite(data, 1, size, outfile);
in DecodeToYuv()
|
H A D | image_source_native_ndk_test.cpp | 314 size_t size = 0; in HWTEST_F() local 315 Image_ErrorCode ret = OH_ImageSourceNative_GetDelayTimeList(imageSource, delayTimeList, size); in HWTEST_F() 499 size_t length = IMAGE_JPEG_PATH.size(); in HWTEST_F()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/network_client/ |
H A D | http_curl_client.cpp | 83 while (str.size() >= 1 && std::isspace(str[str.size() - 1])) { in Trim() 84 str.erase(str.size() - 1, 1); in Trim()
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avsession_controller_stub.cpp | 159 mediaImageLength = static_cast<int>(mediaImageBuffer.size()); in DoMetadataGetReplyInStub() 168 avQueueImageLength = static_cast<int>(avQueueImageBuffer.size()); in DoMetadataGetReplyInStub() 223 CHECK_AND_RETURN_RET_LOG(reply.WriteInt32(items.size()), ERR_NONE, "write items num int32 failed"); in HandleGetAVQueueItems()
|
/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | media_sync_manager.cpp | 145 if (syncers_.size() > 1) { in SetAllSyncShouldWaitNoLock() 379 if (prerolledSyncers_.size() == syncers_.size()) { in ReportPrerolled()
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_service_ext.cpp | 53 beginPos = endPos + seperator.size();
in SuperLauncher() 139 CHECK_AND_RETURN_RET_LOG(!((GetContainer().GetAllSessions().size() > 1 ||
in checkEnableCast() 140 (GetContainer().GetAllSessions().size() == 1 && !CheckAncoAudio())) && !is2in1_),
in checkEnableCast()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/ |
H A D | session_coordinator.cpp | 224 DP_INFO_LOG("entered, userId: %{public}d, map size: %{public}d.", in OnProcessDone() 225 userId, static_cast<int32_t>(remoteImageCallbacksMap_.size())); in OnProcessDone() 348 DP_INFO_LOG("userId: %{public}d, map size: %{public}d.", in OnVideoProcessDone() 349 userId, static_cast<int32_t>(remoteVideoCallbacksMap_.size())); in OnVideoProcessDone() 363 DP_INFO_LOG("userId: %{public}d, map size: %{public}d.", in OnVideoError() 364 userId, static_cast<int32_t>(remoteVideoCallbacksMap_.size())); in OnVideoError()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/ |
H A D | api_test.cpp | 209 info.size = -1; in HWTEST_F() 340 signal_->inCond_.wait(lock, []() { return signal_->inIdxQueue_.size() > 0; }); in HWTEST_F() 344 info.size = 0; in HWTEST_F()
|
/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | mediakeysystem_service.cpp | 146 std::string responseString = std::string(reinterpret_cast<const char*>(response.data()), response.size());
in ProcessKeySystemResponse() 329 if (metrics.size() == 0) {
in GetStatistics() 472 dumpInfo += "Total MediaKeySession Num: " + std::to_string(sessionsSet_.size()) + "\n";
in GetSessionsDumpInfo()
|
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | randomseek_test.cpp | 123 int64_t size = GetFileSize(fileName); in CheckSeekResult() local 124 cout << fileName << "-------" << fd << "-------" << size << endl; in CheckSeekResult() 125 source = OH_AVSource_CreateWithFD(fd, 0, size); in CheckSeekResult()
|
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | video_encoder.cpp | 190 void VideoEncoder::RestartVideoCodec(shared_ptr<Size> size, int32_t rotation) in RestartVideoCodec() argument 193 size_ = size; in RestartVideoCodec() 264 MEDIA_INFO_LOG("Out buffer count: %{public}u, size: %{public}d, flag: %{public}u, pts:%{public}" PRId64 ", " in EncodeSurfaceBuffer() 265 "timestamp:%{public}" PRId64, context_->outputFrameCount_, bufferInfo->attr.size, bufferInfo->attr.flags, in EncodeSurfaceBuffer()
|
/foundation/multimedia/av_codec/test/unittest/http_source_test/ |
H A D | http_source_plugin_unit_test.cpp | 168 uint64_t size; in HWTEST_F() local 173 httpSourcePlugin->GetSize(size); in HWTEST_F() 183 httpSourcePlugin->GetSize(size); in HWTEST_F()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | sketch_wrapper.cpp | 43 SketchWrapper::SketchWrapper(sptr<IStreamCommon> hostStream, const Size size) in SketchWrapper() argument 44 : hostStream_(hostStream), sketchSize_(size) in SketchWrapper() 368 if (it->second.size() == 1) { // only 1 element, just return result; in GetSketchReferenceFovRatio()
|
/foundation/multimedia/player_framework/frameworks/native/recorder/ |
H A D | recorder_impl.cpp | 269 int32_t RecorderImpl::SetMaxFileSize(int64_t size) in SetMaxFileSize() argument 271 MEDIA_LOGI("RecorderImpl:0x%{public}06" PRIXPTR " SetMaxFileSize in, size is %{public}" PRIi64 "", in SetMaxFileSize() 272 FAKE_POINTER(this), size); in SetMaxFileSize() 274 return recorderService_->SetMaxFileSize(size); in SetMaxFileSize()
|
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/test/unittest/src/ |
H A D | avmetadata_mock.cpp | 51 int32_t AVMetadataMock::SetSource(const std::string &path, int64_t offset, int64_t size, int32_t usage) in SetSource() argument 68 if (size > 0) { in SetSource() 69 len = size; in SetSource()
|
/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | transform_point_test.cpp | 188 spos += kname.size(); in GetInputDeviceNodes() 201 std::string::size_type tpos = spos + kevent.size(); in GetInputDeviceNodes() 224 MMI_HILOGD("There are %{public}zu device nodes.", nodes.size()); in SetupVirtualStylus()
|
/foundation/multimodalinput/input/service/event_dispatch/src/ |
H A D | event_dispatch_handler.cpp | 85 if (pointerIdList.size() > 1) { in FilterInvalidPointerItem() 95 MMI_HILOGD("pointerIdList size:%{public}zu", pointerEvent->GetPointerIds().size()); in FilterInvalidPointerItem() 174 windowInfo->windowInputType == WindowInputType::TRANSMIT_ALL && windowIds.size() > 1) { in HandleMultiWindowPointerEvent()
|
/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | key_gesture_manager.cpp | 151 MMI_HILOGI("Foreground pids: {%{public}zu}[%{public}s]", pids.size(), sPids.str().c_str()); in GetForegroundPids() 215 prefix.c_str(), handlers_.size(), output.str().c_str()); in ShowHandlers() 347 if (keyEvent->GetPressedKeys().size() == SINGLE_KEY_PRESSED) { in RecognizeGesture()
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_mgr_stub.cpp | 327 reply.WriteInt32(appinfos.size()); in HandleGetTransientTaskApps() 368 reply.WriteInt32(appInfos.size()); in HandleGetContinuousTaskApps() 427 reply.WriteInt32(infoMap.size()); in WriteInfoToParcel()
|
/foundation/window/window_manager/dmserver/src/ |
H A D | display_cutout_controller.cpp | 50 while (curvedScreenBoundary.size() < 4) { // 4 directions. in SetCurvedScreenBoundary() 318 void DisplayCutoutController::SetWaterfallAreaCompressionSizeWhenHorizontal(uint32_t size) in SetWaterfallAreaCompressionSizeWhenHorizontal() argument 320 waterfallAreaCompressionSizeWhenHorizontal_ = size; in SetWaterfallAreaCompressionSizeWhenHorizontal()
|
/foundation/communication/dsoftbus/sdk/transmission/ipc/small/ |
H A D | trans_server_proxy.c | 51 uint32_t size; in OpenSessionProxyCallback() local 52 ReadUint32(reply, &size); in OpenSessionProxyCallback() 53 void *data = (void *)ReadBuffer(reply, size); in OpenSessionProxyCallback()
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/adapter/ |
H A D | p2p_adapter_test.cpp | 130 int32_t size = CHANNEL_ARRAY_NUM_MAX; in HWTEST_F() local 133 [&array, size](int32_t *chanList, int32_t len) { in HWTEST_F() 136 len = size; in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/ |
H A D | negotiate_message_test.cpp | 149 EXPECT_EQ(msg.GetInterfaceInfoArray().size(), infoArray.size()); in HWTEST_F() 192 std::cout << output.size() << std::endl; in HWTEST_F()
|