Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/
H A Dirregular_matrices.h24 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_1 = {
35 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_2 = {
44 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_3 = {
55 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_4 = {
79 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_5 = {
95 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_6 = {
115 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_7 = {
123 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_8 = {
133 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_9 = {
144 const decltype(GridLayoutInfo::gridMatrix_) MATRIX_DEMO_10 = {
[all …]
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dconcurrent_map.h59 std::unique_lock<decltype(mutex_)> lock(mutex_);
70 std::unique_lock<decltype(mutex_)> lock(mutex_);
86 std::unique_lock<decltype(mutex_)> lock(mutex_);
93 std::unique_lock<decltype(mutex_)> lock(mutex_); in Emplace()
102 std::unique_lock<decltype(mutex_)> lock(mutex_);
111 std::unique_lock<decltype(mutex_)> lock(mutex_); in Emplace()
121 std::shared_lock<decltype(mutex_)> lock(mutex_); in Find()
132 std::shared_lock<decltype(mutex_)> lock(mutex_); in ContainIf()
145 std::shared_lock<decltype(mutex_)> lock(mutex_); in Contains()
152 std::unique_lock<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dconcurrent_map.h54 std::lock_guard<decltype(mutex_)> lock(mutex_);
70 std::lock_guard<decltype(mutex_)> lock(mutex_);
77 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
86 std::lock_guard<decltype(mutex_)> lock(mutex_);
95 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find()
116 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains()
123 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
130 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert()
137 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase()
[all …]
H A Dlru_bucket.h37 std::lock_guard<decltype(mutex_)> lock(mutex_); in ~LRUBucket()
55 std::lock_guard<decltype(mutex_)> lock(mutex_); in ResetCapacity()
68 std::lock_guard<decltype(mutex_)> lock(mutex_);
88 std::lock_guard<decltype(mutex_)> lock(mutex_); in Set()
121 std::lock_guard<decltype(mutex_)> lock(mutex_); in Update()
136 std::lock_guard<decltype(mutex_)> lock(mutex_); in Update()
163 std::lock_guard<decltype(mutex_)> lock(mutex_); in Delete()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dconcurrent_map.h54 std::lock_guard<decltype(mutex_)> lock(mutex_);
70 std::lock_guard<decltype(mutex_)> lock(mutex_);
77 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
86 std::lock_guard<decltype(mutex_)> lock(mutex_);
95 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find()
116 std::lock_guard<decltype(mutex_)> lock(mutex_); in ContainIf()
129 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains()
136 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
143 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert()
[all …]
H A Dlru_bucket.h37 std::lock_guard<decltype(mutex_)> lock(mutex_); in ~LRUBucket()
55 std::lock_guard<decltype(mutex_)> lock(mutex_); in ResetCapacity()
68 std::lock_guard<decltype(mutex_)> lock(mutex_);
88 std::lock_guard<decltype(mutex_)> lock(mutex_); in Set()
121 std::lock_guard<decltype(mutex_)> lock(mutex_); in Update()
136 std::lock_guard<decltype(mutex_)> lock(mutex_); in Update()
163 std::lock_guard<decltype(mutex_)> lock(mutex_); in Delete()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_result_set.cpp36 std::shared_lock<decltype(mutex_)> lock(mutex_); in GetCount()
47 std::shared_lock<decltype(mutex_)> lock(mutex_); in GetPosition()
58 std::shared_lock<decltype(mutex_)> lock(mutex_); in MoveToFirst()
68 std::shared_lock<decltype(mutex_)> lock(mutex_); in MoveToLast()
79 std::shared_lock<decltype(mutex_)> lock(mutex_); in MoveToNext()
90 std::shared_lock<decltype(mutex_)> lock(mutex_); in MoveToPrevious()
101 std::shared_lock<decltype(mutex_)> lock(mutex_); in Move()
112 std::shared_lock<decltype(mutex_)> lock(mutex_); in MoveToPosition()
123 std::shared_lock<decltype(mutex_)> lock(mutex_); in IsFirst()
133 std::shared_lock<decltype(mutex_)> lock(mutex_); in IsLast()
[all …]
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Dconcurrent_map.h54 std::lock_guard<decltype(mutex_)> lock(mutex_);
70 std::lock_guard<decltype(mutex_)> lock(mutex_);
77 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
86 std::lock_guard<decltype(mutex_)> lock(mutex_);
95 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find()
116 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains()
123 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
130 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert()
137 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase()
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/common/
H A Dconcurrent_map.h54 std::lock_guard<decltype(mutex_)> lock(mutex_);
70 std::lock_guard<decltype(mutex_)> lock(mutex_);
77 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
86 std::lock_guard<decltype(mutex_)> lock(mutex_);
95 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find()
116 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains()
123 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
130 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert()
137 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase()
[all …]
/ohos5.0/base/theme/wallpaper_mgr/utils/include/
H A Dconcurrent_map.h48 std::lock_guard<decltype(mutex_)> lock(mutex_);
64 std::lock_guard<decltype(mutex_)> lock(mutex_);
71 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
78 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find()
89 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains()
95 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
102 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert()
109 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase()
115 std::lock_guard<decltype(mutex_)> lock(mutex_); in Clear()
121 std::lock_guard<decltype(mutex_)> lock(mutex_); in Empty()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/
H A Dconcurrent_map.h49 std::lock_guard<decltype(mutex_)> lock(mutex_);
65 std::lock_guard<decltype(mutex_)> lock(mutex_);
73 std::lock_guard<decltype(mutex_)> lock(mutex_); in Emplace()
80 std::lock_guard<decltype(mutex_)> lock(mutex_); in Find()
91 std::lock_guard<decltype(mutex_)> lock(mutex_); in Contains()
98 std::lock_guard<decltype(mutex_)> lock(mutex_); in InsertOrAssign()
105 std::lock_guard<decltype(mutex_)> lock(mutex_); in Insert()
112 std::lock_guard<decltype(mutex_)> lock(mutex_); in Erase()
118 std::lock_guard<decltype(mutex_)> lock(mutex_); in Clear()
124 std::lock_guard<decltype(mutex_)> lock(mutex_); in Empty()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dcache_result_set.cpp63 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetBlob()
76 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetString()
89 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetInt()
102 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetLong()
115 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetDouble()
128 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in IsColumnNull()
138 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetRow()
157 std::unique_lock<decltype(rwMutex_)> lock(rwMutex_); in GoToRow()
185 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetRowIndex()
222 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in IsAtFirstRow()
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp71 std::unique_ptr<char, decltype(&FreeString)> urlString( in JsObjectToRequestData()
84 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> jsHeaders( in JsObjectToRequestData()
97 …std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> keys(JSI::GetObjectKeys(nv), JSI::ReleaseVal… in GetNameValue()
105 …std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> key(JSI::GetPropertyByIndex(keys.get(), inde… in GetNameValue()
111 … std::unique_ptr<char, decltype(&FreeString)> keyStr(JSI::ValueToString(key.get()), FreeString); in GetNameValue()
129 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> body( in GetRequestBody()
151 …std::unique_ptr<char, decltype(&FreeString)> jsonString(JSI::JsonStringify(body.get()), FreeString… in GetRequestBody()
167 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> extraData( in ParseExtraData()
217 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> value( in GetMethodFromOptions()
223 …std::unique_ptr<char, decltype(&FreeString)> methodStr(JSI::ValueToString(value.get()), FreeString… in GetMethodFromOptions()
[all …]
/ohos5.0/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/include/
H A Dbattery_thread_test.h95 template class OpenUeventSocketImplement<BatteryThreadUnitTest, decltype(&BatteryThread::OpenUevent…
98 template class UpdateEpollIntervalImplement<BatteryThreadUnitTest, decltype(&BatteryThread::UpdateE…
101 template class GetEpollIntervalImplement<BatteryThreadUnitTest, decltype(&BatteryThread::epollInter…
104 template class InitImplement<BatteryThreadUnitTest, decltype(&BatteryThread::Init), &BatteryThread:…
106 template class GetEpollFdImplement<BatteryThreadUnitTest, decltype(&BatteryThread::epFd_), &Battery…
108 template class InitUeventImplement<BatteryThreadUnitTest, decltype(&BatteryThread::InitUevent),
111 template class GetUeventFdImplement<BatteryThreadUnitTest, decltype(&BatteryThread::ueventFd_),
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dcapture.h101 … using type = decltype(func(args.value..., BASE_NS::forward<decltype(other)>(other)...)); in META_BEGIN_NAMESPACE()
109 return func(args.value..., BASE_NS::forward<decltype(other)>(other)...); in META_BEGIN_NAMESPACE()
117 return CaptureCallImpl<Check, decltype(other)...>::Call( in META_BEGIN_NAMESPACE()
118 f, BASE_NS::forward<decltype(other)>(other)..., CaptureUnWrap(args)...); in META_BEGIN_NAMESPACE()
135 decltype(auto) Capture(Lambda func, Args&&... args) in decltype() function
154 decltype(auto) CaptureSafe(Lambda func, Args&&... args) in decltype() function
H A Dinterface_traits.h44 …static decltype(TestSignature((CORE_NS::IInterface * (T::*)(const BASE_NS::Uid&)) & T::GetInterfac… in META_BEGIN_NAMESPACE()
51 …static constexpr bool value = decltype(Test<C>(nullptr))::value; // NOLINT(readability-identifier-… in META_BEGIN_NAMESPACE()
73 static auto Test(U*) -> decltype(BASE_NS::declval<U>() == BASE_NS::declval<V>());
77 using type = typename BASE_NS::is_same<bool, decltype(Test<T, T>(nullptr))>::type;
89 static auto Test(U*) -> decltype(BASE_NS::declval<U>() != BASE_NS::declval<V>());
93 using type = typename BASE_NS::is_same<bool, decltype(Test<T, T>(nullptr))>::type;
125 using EnableIfProperBindFunction = decltype(BASE_NS::declval<void(const Type&)>()(BASE_NS::declval<…
131 using EnableIfBindFunction = decltype(CallTestFunc(BASE_NS::declval<Func>()()));
140 decltype(BASE_NS::declval<Func>()(BASE_NS::declval<Args>()...), void())> {
301 struct FuncToSignature : FuncToSignature<decltype(&M::operator())> {};
/ohos5.0/foundation/resourceschedule/ffrt/src/util/
H A Devent_handler_adapter.h60 using GetMainEventHandlerType = decltype(GetMainEventHandlerForFFRT)*;
61 using GetCurrentEventHandlerType = decltype(GetCurrentEventHandlerForFFRT)*;
62 using PostTaskType = decltype(PostTaskByFFRT)*;
63 using RemoveTaskType = decltype(RemoveTaskForFFRT)*;
64 using AddFdListenerType = decltype(AddFdListenerByFFRT)*;
65 using RemoveFdListenerType = decltype(RemoveFdListenerByFFRT)*;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dtraits_test.cpp129 auto size = Traits::variant_size_of_v<decltype(value)>;
132 size = Traits::variant_size_of_v<decltype(value2)>;
146 auto index = Traits::variant_index_of_v<std::monostate, decltype(value)>;
148 index = Traits::variant_index_of_v<int64_t, decltype(value)>;
150 index = Traits::variant_index_of_v<bool, decltype(value)>;
152 index = Traits::variant_index_of_v<double, decltype(value)>;
154 index = Traits::variant_index_of_v<std::string, decltype(value)>;
156 index = Traits::variant_index_of_v<std::vector<uint8_t>, decltype(value)>;
158 index = Traits::variant_index_of_v<char *, decltype(value)>;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Dsync_observer.cpp25 std::lock_guard<decltype(mutex_)> lock(mutex_); in SyncObserver()
31 std::lock_guard<decltype(mutex_)> lock(mutex_); in Add()
38 std::lock_guard<decltype(mutex_)> lock(mutex_); in Clean()
45 std::lock_guard<decltype(mutex_)> lock(mutex_); in SyncCompleted()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Dcommunicator_context.cpp48 std::lock_guard<decltype(mutex_)> lock(mutex_); in RegSessionListener()
58 std::lock_guard<decltype(sessionMutex_)> sessionLockGard(sessionMutex_); in SetSessionListener()
68 std::lock_guard<decltype(mutex_)> lock(mutex_); in UnRegSessionListener()
88 std::lock_guard<decltype(mutex_)> lock(mutex_); in NotifySessionReady()
98 std::lock_guard<decltype(sessionMutex_)> sessionLockGard(sessionMutex_); in NotifySessionReady()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/
H A Dcamera_napi_post_process_utils.h40 if constexpr(std::is_same_v<decltype(queryResult), bool>) { in HandleQuery()
42 } else if constexpr(std::is_same_v<decltype(queryResult), std::vector<int32_t>> in HandleQuery()
43 || std::is_enum_v<typename decltype(queryResult)::value_type>) { in HandleQuery()
52 } else if constexpr(std::is_same_v<decltype(queryResult), std::vector<uint32_t>>) { in HandleQuery()
61 } else if constexpr(std::is_same_v<decltype(queryResult), std::vector<float>>) { in HandleQuery()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/
H A Dplaylist_downloader.cpp27 return SaveData(std::forward<decltype(data)>(data), std::forward<decltype(len)>(len)); in PlayListDownloader()
32 OnDownloadStatus(std::forward<decltype(status)>(status), downloader_, in PlayListDownloader()
33 std::forward<decltype(request)>(request)); in PlayListDownloader()
50 statusCallback_(status, downloader_, std::forward<decltype(request)>(request)); in DoOpen()
/ohos5.0/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h94 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> stat_req = { in GetStat()
121 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> access_req = { new uv_fs_t, fs_req_cleanup }; in Access()
137 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> mkdir_req = { new uv_fs_t, fs_req_cleanup }; in Mkdir()
200 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> rename_req = { in RenameFile()
220 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> scandir_req = { in RmDirent()
236 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> unlink_req = { in RmDirent()
254 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> rmdir_req = { in RmDirent()
270 …unique_ptr<struct NameListArg, decltype(Deleter)*> pNameList = { new (nothrow) struct NameListArg,… in ScanDir()
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dsingle_store_impl.cpp37 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in Put()
61 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in PutBatch()
89 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in Delete()
111 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in DeleteBatch()
137 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in StartTransaction()
153 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in Commit()
169 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in Rollback()
195 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in Get()
306 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetCount()
323 std::shared_lock<decltype(rwMutex_)> lock(rwMutex_); in GetSecurityLevel()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/include/pluginbase/
H A Dplugin_export.h33 typedef decltype(PluginExternalStart) *PluginStartFunc;
36 typedef decltype(PluginExternalStop) *PluginStopFunc;
39 typedef decltype(PluginExternalCreate) *PluginCreateFunc;

12345678910>>...20