Home
last modified time | relevance | path

Searched refs:Find (Results 1 - 25 of 179) sorted by relevance

12345678

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_type_converter.cpp68 static T Find(T (&infos)[L], C compare)
80 auto res = Find(g_pixelFormatPairs, [pixelFormat](PixelFormatPair iter) { in ToSkColorType()
88 auto res = Find(g_alphaTypePairs, [alphaType](AlphaTypePair iter) { in ToSkAlphaType()
96 auto res = Find(g_pixelFormatPairs, [type](PixelFormatPair iter) { in ToPixelFormat()
104 auto res = Find(g_alphaTypePairs, [type](AlphaTypePair iter) { in ToAlphaType()
112 auto res = Find(g_pixelFormatPairs, [pixelFormat](PixelFormatPair iter) { in ToName()
120 auto res = Find(g_alphaTypePairs, [alphaType](AlphaTypePair iter) { in ToName()
128 auto res = Find(g_pixelFormatPairs, [type](PixelFormatPair iter) { in ToName()
136 auto res = Find(g_alphaTypePairs, [type](AlphaTypePair iter) { in ToName()
/foundation/arkui/ace_engine/test/unittest/bridge/common/sourcemap/
H A Dsource_map_test.cpp38 * @tc.desc: Find()
56 auto mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 1、1、1 in HWTEST_F()
59 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、1、1 in HWTEST_F()
62 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、1 in HWTEST_F()
66 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、0 57line if 1 in HWTEST_F()
69 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、0 57line if 0 62line 0、0、0 in HWTEST_F()
73 mappingInfo = revSourceMap.Find(row, col, isColPrecise); in HWTEST_F()
77 mappingInfo = revSourceMap.Find(row, col, isColPrecise); in HWTEST_F()
83 * @tc.desc: Find()
106 auto mappingInfo = revSourceMap.Find(ro in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_settings.cpp50 SystemParameter* SystemParameter::Find(const std::string& name) in Find() function in OHOS::Rosen::SystemParameter
60 return Find(name) != nullptr; in Exists()
65 if (auto parameter = Find(name)) { in Set()
75 const auto parameter = Find(name); in Get()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/dump/
H A Ddump_manager.cpp33 auto it = factory_.Find(name); in GetConfig()
37 auto itIndex = indexTable_.Find(name); in GetConfig()
59 auto it = handlers_.Find(infoName); in GetHandler()
67 auto itIndex = indexTable_.Find(infoName); in GetHandler()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_service_manager.cpp151 if (pimpl->startedProfiles_.Find(BTTransport::ADAPTER_BREDR, sp.name_, bredrProfile)) { in CreateBleProfileServices()
179 if (pimpl->startedProfiles_.Find(BTTransport::ADAPTER_BREDR, sp.name_, profile)) { in Stop()
183 } else if (pimpl->startedProfiles_.Find(BTTransport::ADAPTER_BLE, sp.name_, profile)) { in Stop()
200 if (pimpl->startedProfiles_.Find(name, profile)) { in GetProfileService()
267 if (pimpl->profilesState_.Find(otherTransport, name, otherTransportState)) { in EnableProfiles()
290 if (pimpl->startedProfiles_.Find(transport, name, profile)) { in EnableProfiles()
310 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BREDR, profileName, state)) && in EnableCompleteProcess()
319 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in EnableCompleteProcess()
424 if (pimpl->profilesState_.Find(otherTransport, name, otherTransportState)) { in DisableProfiles()
444 if (pimpl->startedProfiles_.Find(transpor in DisableProfiles()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_generate_worker_manager.cpp31 if (thumbnailWorkerMap_.Find(taskType, ptr)) { in GetThumbnailWorker()
40 thumbnailWorkerMap_.Find(taskType, ptr); in GetThumbnailWorker()
48 if (thumbnailWorkerMap_.Find(taskType, ptr)) { in InitThumbnailWorker()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Ddemuxer_log_compressor.cpp141 if (meta.Find(std::string(key)) != meta.end()) { in StringifyMeta()
145 if (meta.Find(std::string(Tag::MEDIA_CONTAINER_START_TIME)) != meta.end()) { in StringifyMeta()
148 if (meta.Find(std::string(Tag::MEDIA_START_TIME)) != meta.end()) { in StringifyMeta()
151 if (meta.Find(std::string(Tag::MEDIA_LATITUDE)) != meta.end()) { in StringifyMeta()
154 if (meta.Find(std::string(Tag::MEDIA_LONGITUDE)) != meta.end()) { in StringifyMeta()
157 if (meta.Find(std::string(Tag::TIMED_METADATA_KEY)) != meta.end()) { in StringifyMeta()
160 if (meta.Find(std::string(Tag::TIMED_METADATA_SRC_TRACK)) != meta.end()) { in StringifyMeta()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/dfx/
H A Ddps_video_report.cpp48 if (!processVideoInfo_.Find(videoId, videoRecordFound)) { in ReportAddVideoEvent()
66 if (processVideoInfo_.Find(videoId, videoRecordFound)) { in ReportRemoveVideoEvent()
85 if (processVideoInfo_.Find(videoId, vr)) { in ReportPauseVideoEvent()
112 if (processVideoInfo_.Find(videoId, vr)) { in ReportResumeVideoEvent()
147 if (processVideoInfo_.Find(videoId, vr)) { in ReportCompleteVideoEvent()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedialibrary_kvstore_manager.cpp42 if (kvStoreMap_.Find(valueType, ptr)) { in InitKvStore()
71 if (kvStoreMap_.Find(valueType, ptr)) { in GetKvStore()
76 kvStoreMap_.Find(valueType, ptr); in GetKvStore()
94 if (!kvStoreMap_.Find(valueType, ptr)) { in CloseKvStore()
148 if (kvStoreMap_.Find(valueType, ptr)) { in IsKvStoreValid()
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Ddownload_asset_callback_client.cpp46 if (callbackListMap_.Find(taskId, callback)) { in RemoveDownloadTaskCallback()
56 if (callbackListMap_.Find(taskId, callback)) { in GetDownloadTaskCallback()
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Ddns_result_call_back.cpp54 if (!failCount_.Find(netid, failValue_)) { in RequestNetDetection()
90 bool ret = netDnsResult_.Find(it.netid_, existResult); in IterateDnsReportResults()
93 if (!netDnsResult_.Find(defaultNetid, newDefaultResult)) { in IterateDnsReportResults()
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dconcurrent_map_test.cpp58 auto it = values_.Find(""); in HWTEST_F()
114 auto it = values_.Find("test"); in HWTEST_F()
122 it = values_.Find("test"); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp184 ObjectStoreManager::CallbackInfo callbackInfo = manager->callbacks_.Find(tokenId_).second; in HWTEST_F()
188 callbackInfo = manager->callbacks_.Find(tokenId_).second; in HWTEST_F()
207 ASSERT_EQ(manager->callbacks_.Find(tokenId).first, false); in HWTEST_F()
233 ASSERT_EQ(manager->restoreStatus_.Find(objectKey).first, false); in HWTEST_F()
235 ASSERT_EQ(manager->restoreStatus_.Find(objectKey).second, RestoreStatus::DATA_READY); in HWTEST_F()
250 ASSERT_EQ(manager->restoreStatus_.Find(objectKey).first, false); in HWTEST_F()
252 ASSERT_EQ(manager->restoreStatus_.Find(objectKey).second, RestoreStatus::ASSETS_READY); in HWTEST_F()
256 ASSERT_EQ(manager->restoreStatus_.Find(objectKey).second, RestoreStatus::ALL_READY); in HWTEST_F()
272 auto [has0, value0] = manager->restoreStatus_.Find(objectKey); in HWTEST_F()
278 auto [has1, value1] = manager->restoreStatus_.Find(objectKe in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dobject_mgr.h59 std::shared_ptr<FontCollectionType> Find(void* key);
77 std::shared_ptr<Typeface> Find(void* key);
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/adaptor/
H A Djs_watcher.cpp43 EventListener *listener = Find(type); in On()
53 EventListener *listener = Find(type); in Off()
100 EventListener *listener = Find(type); in Emit()
116 EventListener *JSWatcher::Find(const char *type) in Find() function in OHOS::ObjectStore::JSWatcher
170 EventListener *listener = Find(type); in Emit()
201 EventHandler *EventListener::Find(napi_env env, napi_value handler) in Find() function in OHOS::ObjectStore::EventListener
258 if (Find(env, handler) != nullptr) { in Add()
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dsurface_encoder_adapter.cpp142 if (meta->Find(Tag::VIDEO_WIDTH) != meta->end()) { in ConfigureGeneralFormat()
147 if (meta->Find(Tag::VIDEO_HEIGHT) != meta->end()) { in ConfigureGeneralFormat()
152 if (meta->Find(Tag::VIDEO_CAPTURE_RATE) != meta->end()) { in ConfigureGeneralFormat()
157 if (meta->Find(Tag::MEDIA_BITRATE) != meta->end()) { in ConfigureGeneralFormat()
162 if (meta->Find(Tag::VIDEO_FRAME_RATE) != meta->end()) { in ConfigureGeneralFormat()
167 if (meta->Find(Tag::MIME_TYPE) != meta->end()) { in ConfigureGeneralFormat()
172 if (meta->Find(Tag::VIDEO_H265_PROFILE) != meta->end()) { in ConfigureGeneralFormat()
182 if (meta->Find(Tag::VIDEO_ENCODER_ENABLE_WATERMARK) != meta->end()) { in ConfigureEnableFormat()
644 if (meta->Find(Tag::VIDEO_PIXEL_FORMAT) != meta->end()) { in ConfigureAboutRGBA()
649 if (meta->Find(Ta in ConfigureAboutRGBA()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/
H A Dffmpeg_muxer_plugin.cpp273 if (param->Find(Tag::VIDEO_ROTATION) != param->end()) { in SetRotation()
289 if (param->Find(Tag::MEDIA_LATITUDE) == param->end() && in SetLocation()
290 param->Find(Tag::MEDIA_LONGITUDE) == param->end()) { in SetLocation()
292 } else if (param->Find(Tag::MEDIA_LATITUDE) != param->end() && in SetLocation()
293 param->Find(Tag::MEDIA_LONGITUDE) != param->end()) { in SetLocation()
376 if (trackDesc->Find(Tag::MEDIA_BITRATE) != trackDesc->end()) { in SetCodecParameterOfTrack()
383 if (trackDesc->Find(Tag::MEDIA_CODEC_CONFIG) != trackDesc->end()) { in SetCodecParameterOfTrack()
392 if (trackDesc->Find(Tag::MEDIA_PROFILE) != trackDesc->end()) { in SetCodecParameterOfTrack()
426 if (trackDesc->Find(Tag::VIDEO_COLOR_PRIMARIES) != trackDesc->end() || in SetCodecParameterColor()
427 trackDesc->Find(Ta in SetCodecParameterColor()
[all...]
/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_capturer_stream_impl.cpp374 if (!paCapturerMap_.Find(userdata, paCapturerStreamWeakPtr)) { in PAStreamReadCb()
413 if (!paCapturerMap_.Find(userdata, paCapturerStreamWeakPtr)) { in PAStreamUnderFlowCb()
447 if (!paCapturerMap_.Find(userdata, paCapturerStreamWeakPtr)) { in PAStreamStartSuccessCb()
470 if (!paCapturerMap_.Find(userdata, paCapturerStreamWeakPtr)) { in PAStreamPauseSuccessCb()
491 if (!paCapturerMap_.Find(userdata, paCapturerStreamWeakPtr)) { in PAStreamFlushSuccessCb()
512 if (!paCapturerMap_.Find(userdata, paCapturerStreamWeakPtr)) { in PAStreamStopSuccessCb()
/foundation/arkui/napi/sample/native_module_storage/
H A Djs_storage.h79 EventHandler* Find(napi_env env, napi_value handler);
95 StorageEvent Find(const char* type) const;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/objectmgr_fuzzer/
H A Dobject_mgr_fuzzer.cpp74 std::shared_ptr<FontCollectionMgr::FontCollectionType> fontCollection = fontmgr.Find(key); in FontCollectionMgrFuzzTest000()
97 std::shared_ptr<Typeface> typeface = tpyefacemgr.Find(key); in TypefaceMgrFuzzTest000()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/
H A Dobject_mgr.cpp83 std::shared_ptr<FontCollectionMgr::FontCollectionType> FontCollectionMgr::Find(void* key) in Find() function in OHOS::Rosen::Drawing::FontCollectionMgr
118 std::shared_ptr<Typeface> TypefaceMgr::Find(void* key) in Find() function in OHOS::Rosen::Drawing::TypefaceMgr
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_sql_statistic.cpp66 auto it = execInfos_.Find(key_); in SqlStatistic()
72 it = execInfos_.Find(GetThreadId()); in SqlStatistic()
/foundation/filemanagement/storage_service/services/common/include/
H A Dstorage_rl_map.h65 typename std::map<K, V>::iterator Find(const K& key) in Find() function in OHOS::StorageService::StorageRlMap
70 typename std::map<K, V>::const_iterator Find(const K& key) const in Find() function in OHOS::StorageService::StorageRlMap
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_profile_manager.cpp71 if (profileRemoteMap_.Find(BLUETOOTH_HOST, value)) { in GetHostRemote()
95 if (profileRemoteMap_.Find(objectName, remote)) { in GetProfileRemote()
254 CHECK_AND_RETURN_LOG(profileIdFuncMap_.Find(id, value), "id is not exist"); in DeregisterFunc()
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/
H A Dsocket_exec.h207 return tcpExtraOptions_.Find(listenFd, option); in GetTcpExtraOptions()
221 if (tcpClients_.Find(listenFd, fdSet)) { in AddNewAcceptSocket()
238 tcpClients_.Find(listenFd, fdSet); in GetClients()

Completed in 14 milliseconds

12345678