/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_type_converter.cpp | 68 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 D | source_map_test.cpp | 38 * @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 D | rs_profiler_settings.cpp | 50 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 D | dump_manager.cpp | 33 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 D | profile_service_manager.cpp | 151 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 D | thumbnail_generate_worker_manager.cpp | 31 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 D | demuxer_log_compressor.cpp | 141 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 D | dps_video_report.cpp | 48 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 D | medialibrary_kvstore_manager.cpp | 42 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 D | download_asset_callback_client.cpp | 46 if (callbackListMap_.Find(taskId, callback)) { in RemoveDownloadTaskCallback() 56 if (callbackListMap_.Find(taskId, callback)) { in GetDownloadTaskCallback()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | dns_result_call_back.cpp | 54 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 D | concurrent_map_test.cpp | 58 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 D | object_manager_test.cpp | 184 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 D | object_mgr.h | 59 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 D | js_watcher.cpp | 43 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 D | surface_encoder_adapter.cpp | 142 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 D | ffmpeg_muxer_plugin.cpp | 273 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 D | pa_capturer_stream_impl.cpp | 374 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 D | js_storage.h | 79 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 D | object_mgr_fuzzer.cpp | 74 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 D | object_mgr.cpp | 83 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 D | rdb_sql_statistic.cpp | 66 auto it = execInfos_.Find(key_); in SqlStatistic() 72 it = execInfos_.Find(GetThreadId()); in SqlStatistic()
|
/foundation/filemanagement/storage_service/services/common/include/ |
H A D | storage_rl_map.h | 65 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 D | bluetooth_profile_manager.cpp | 71 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 D | socket_exec.h | 207 return tcpExtraOptions_.Find(listenFd, option); in GetTcpExtraOptions() 221 if (tcpClients_.Find(listenFd, fdSet)) { in AddNewAcceptSocket() 238 tcpClients_.Find(listenFd, fdSet); in GetClients()
|