Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 997) sorted by relevance

12345678910>>...40

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_animation_controller.cpp27 if (!ref) { in CreateTriangleAnimation()
39 if (!ref) { in CreateTriangleAnimation()
56 if (!ref) { in CreateMovingAnimation()
64 value = ref->yearStart_ + (ref->yearEnd_ - ref->yearStart_) * value; in CreateMovingAnimation()
70 if (!ref) { in CreateMovingAnimation()
73 value = ref->monthStart_ + (ref->monthEnd_ - ref->monthStart_) * value; in CreateMovingAnimation()
88 if (!ref) { in CreateMovingAnimation()
96 value = ref->dayStart_ + (ref->dayEnd_ - ref->dayStart_) * value; in CreateMovingAnimation()
110 value = ref->yearEnd_ + (ref->yearStart_ - ref->yearEnd_) * value; in CreateMovingAnimation()
119 value = ref->monthEnd_ + (ref->monthStart_ - ref->monthEnd_) * value; in CreateMovingAnimation()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_staging.cpp170 if (ref.invalidOperation) { in CopyBuffersToImages()
174 const uint32_t count = ref.count; in CopyBuffersToImages()
229 if (ref.invalidOperation) { in CopyImagesToBuffersImpl()
236 … cmdList.CopyImageToBuffer(ref.srcHandle.GetHandle(), ref.dstHandle.GetHandle(), copyRef); in CopyImagesToBuffersImpl()
245 if (ref.invalidOperation) { in CopyImagesToImagesImpl()
252 cmdList.CopyImageToImage(ref.srcHandle.GetHandle(), ref.dstHandle.GetHandle(), copyRef); in CopyImagesToImagesImpl()
521 const auto copies = array_view(bufferCopies.data() + ref.beginIndex, ref.count); in CopyBuffersToBuffers()
523 … cmdList.CopyBufferToBuffer(ref.srcHandle.GetHandle(), ref.dstHandle.GetHandle(), copyRef); in CopyBuffersToBuffers()
607 … ((ref.color.uint32[0] != ref.color.uint32[1]) || (ref.color.uint32[0] != ref.color.uint32[2]) || in ClearImages()
608 (ref.color.uint32[0] != ref.color.uint32[3])); in ClearImages()
[all …]
H A Drender_node_staging.cpp39 for (const auto& ref : stagingConsumeStruct.cpuToBuffer) { in CopyHostDirectlyToBuffer() local
40 if (ref.invalidOperation) { in CopyHostDirectlyToBuffer()
52 const uint32_t bufferBeginIndex = ref.beginIndex; in CopyHostDirectlyToBuffer()
53 const uint32_t bufferEndIndex = bufferBeginIndex + ref.count; in CopyHostDirectlyToBuffer()
60 if (ref.dataType == StagingCopyStruct::DataType::DATA_TYPE_VECTOR) { in CopyHostDirectlyToBuffer()
71 gpuResourceMgr.UnmapBuffer(ref.dstHandle.GetHandle()); in CopyHostDirectlyToBuffer()
78 for (const auto& ref : stagingData.dataCopies) { in CopyHostDirectlyToBuffer() local
84 const size_t dstOffset = ref.bufferCopy.dstOffset; in CopyHostDirectlyToBuffer()
87 const uint8_t* srcPtr = ref.data.data() + ref.bufferCopy.srcOffset; in CopyHostDirectlyToBuffer()
89 … std::min(ref.data.size() - size_t(ref.bufferCopy.srcOffset), size_t(ref.bufferCopy.size)); in CopyHostDirectlyToBuffer()
[all …]
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_ref_box.cpp49 Reference ref; in ParseContent() local
54 ParseItemRef(reader, ref); in ParseContent()
55 references_.push_back(ref); in ParseContent()
64 for (auto &ref: references_) { in InferFullBoxVersion() local
71 for (auto id: ref.toItemIds) { in InferFullBoxVersion()
132 return ref.fromItemId == itemId && ref.box.GetBoxType() == ref_type; in GetReferences()
140 Reference ref; in AddReferences() local
141 ref.box.SetBoxType(type); in AddReferences()
142 ref.fromItemId = from_id; in AddReferences()
143 ref.toItemIds = to_ids; in AddReferences()
[all …]
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dasset_value.h46 if (name != ref.name) {
47 return name < ref.name;
49 if (status != ref.status) {
52 if (id != ref.id) {
53 return id < ref.id;
55 if (uri != ref.uri) {
56 return uri < ref.uri;
64 if (size != ref.size) {
65 return size < ref.size;
67 if (hash != ref.hash) {
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_util.cpp103 ref.resourceLocation, ref.resourceIndex, handleType); in SetupRenderNodeResourceHandles()
104 … output.push_back(RenderNodeResource { ref.set, ref.binding, handle, {}, ref.mip, ref.layer }); in SetupRenderNodeResourceHandles()
113 ref.resourceLocation, ref.resourceIndex, RenderHandleType::GPU_IMAGE); in SetupRenderNodeResourceHandles()
123 …output.push_back(RenderNodeResource { ref.set, ref.binding, handle, secondHandle, ref.mip, ref.lay… in SetupRenderNodeResourceHandles()
160 …rp.attachments.push_back(RenderNodeAttachment { handle, ref.loadOp, ref.storeOp, ref.stencilLoadOp, in CreateInputRenderPass()
161 ref.stencilStoreOp, ref.clearValue, ref.mip, ref.layer }); in CreateInputRenderPass()
219 pipelineDescriptorSetBinder.BindBuffer(ref.set, ref.binding, bindable); in BindResourcesToBinder()
229 pipelineDescriptorSetBinder.BindImage(ref.set, ref.binding, bindable); in BindResourcesToBinder()
236 pipelineDescriptorSetBinder.BindSampler(ref.set, ref.binding, bindable); in BindResourcesToBinder()
279 … rpDesc.attachments[idx] = { ref.layer, ref.mip, ref.loadOp, ref.storeOp, ref.stencilLoadOp, in CreateRenderPass()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/
H A Dnapi_audio_renderer_device_change_callback.cpp42 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in AddCallbackReference() local
64 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in RemoveCallbackReference() local
73 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in RemoveCallbackReference() local
81 callbacks_.remove(*ref); in RemoveCallbackReference()
94 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in RemoveAllCallbacks() local
111 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in OnOutputDeviceChange() local
203 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in AddCallbackReference() local
225 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in RemoveCallbackReference() local
234 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in RemoveCallbackReference() local
255 for (auto ref = callbacks_.begin(); ref != callbacks_.end(); ++ref) { in RemoveAllCallbacks() local
[all …]
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avcontroller_callback.cpp47 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
49 [this, ref, event]() { in HandleEvent()
74 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
76 [this, ref, event]() { in HandleEvent()
106 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
108 [this, ref, event]() { in HandleEvent()
141 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
177 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEventWithThreadSafe() local
339 napi_ref ref = nullptr; in AddCallback() local
363 SLOGI("add callback with ref %{public}d, %{public}p, %{public}p", event, &ref, *(&ref)); in AddCallback()
[all …]
H A Dnapi_avcast_controller_callback.cpp45 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
76 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
78 asyncCallback_->CallWithFunc(*ref, isValid_, CheckCallbackValid(event, ref), in HandleEvent()
95 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
96 asyncCallback_->CallWithFunc(*ref, isValid_, CheckCallbackValid(event, ref), in HandleEvent()
115 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
116 asyncCallback_->CallWithFunc(*ref, isValid_, CheckCallbackValid(event, ref), in HandleEvent()
135 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
136 asyncCallback_->CallWithFunc(*ref, isValid_, CheckCallbackValid(event, ref), in HandleEvent()
157 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleErrorEvent() local
[all …]
H A Dnapi_session_listener.cpp45 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
48 [this, ref, event]() { in HandleEvent()
76 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
79 [this, ref, event]() { in HandleEvent()
109 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
112 [this, ref, event]() { in HandleEvent()
187 napi_ref ref = nullptr; in AddCallback() local
199 callbacks_[event].push_back(ref); in AddCallback()
218 napi_ref ref = nullptr; in RemoveCallback() local
222 callbacks_[event].remove(ref); in RemoveCallback()
[all …]
H A Dnapi_avsession_callback.cpp43 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
45 [this, ref, event]() { in HandleEvent()
69 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
71 [this, ref, event]() { in HandleEvent()
101 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
103 [this, ref, event]() { in HandleEvent()
134 for (auto ref = callbacks_[event].begin(); ref != callbacks_[event].end(); ++ref) { in HandleEvent() local
136 [this, ref, event]() { in HandleEvent()
289 napi_ref ref = nullptr; in AddCallback() local
321 napi_ref ref = nullptr; in RemoveCallback() local
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dsubscribe.cpp245 dataWorker->ref = canceCallbackInfo_.ref; in OnCanceled()
918 canceCallbackInfo_.ref = ref; in SetCancelCallbackInfo()
924 consumeCallbackInfo_.ref = ref; in SetConsumeCallbackInfo()
930 updateCallbackInfo_.ref = ref; in SetUpdateCallbackInfo()
936 subscribeCallbackInfo_.ref = ref; in SetSubscribeCallbackInfo()
942 unsubscribeCallbackInfo_.ref = ref; in SetUnsubscribeCallbackInfo()
948 dieCallbackInfo_.ref = ref; in SetDieCallbackInfo()
954 disturbModeCallbackInfo_.ref = ref; in SetDisturbModeCallbackInfo()
966 disturbDateCallbackInfo_.ref = ref; in SetDisturbDateCallbackInfo()
978 setBadgeCallbackInfo_.ref = ref; in SetBadgeCallbackInfo()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Dtoss_animation_controller.cpp39 auto ref = weak.Upgrade(); in SetStart() local
66 auto ref = weak.Upgrade(); in Play() local
84 auto ref = weak.Upgrade(); in StartSpringMotion() local
109 CHECK_NULL_VOID(ref); in StartSpringMotion()
122 CHECK_NULL_VOID(ref); in StartSpringMotion()
123 ref->property_->Set(ref->end_); in StartSpringMotion()
131 auto ref = weak.Upgrade(); in StopTossAnimation() local
132 CHECK_NULL_VOID(ref); in StopTossAnimation()
142 ref->property_->Set(0.0); in StopTossAnimation()
175 auto ref = weak.Upgrade(); in CreatePropertyCallback() local
[all …]
H A Ddate_time_animation_controller.cpp83 auto ref = weak.Upgrade(); in PlayMovingInAnimation() local
84 CHECK_NULL_VOID(ref); in PlayMovingInAnimation()
115 CHECK_NULL_VOID(ref); in PlayMovingOutAnimation()
146 auto ref = weak.Upgrade(); in PlayOldColumnOpacityInAnimation() local
147 CHECK_NULL_VOID(ref); in PlayOldColumnOpacityInAnimation()
229 auto ref = weak.Upgrade(); in PlayButtonOpacityInAnimation() local
230 CHECK_NULL_VOID(ref); in PlayButtonOpacityInAnimation()
268 auto ref = weak.Upgrade(); in PlayOldColumnOpacityOutAnimation() local
269 CHECK_NULL_VOID(ref); in PlayOldColumnOpacityOutAnimation()
346 auto ref = weak.Upgrade(); in PlayButtonOpacityOutAnimation() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtoss_animation_controller.cpp42 auto ref = weak.Upgrade(); in SetStart() local
70 auto ref = weak.Upgrade(); in Play() local
89 auto ref = weak.Upgrade(); in StartSpringMotion() local
114 CHECK_NULL_VOID(ref); in StartSpringMotion()
127 CHECK_NULL_VOID(ref); in StartSpringMotion()
128 ref->property_->Set(ref->end_); in StartSpringMotion()
136 auto ref = weak.Upgrade(); in StopTossAnimation() local
137 CHECK_NULL_VOID(ref); in StopTossAnimation()
148 CHECK_NULL_VOID(ref); in StopTossAnimation()
149 ref->property_->Set(0.0); in StopTossAnimation()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_rwlock_test.cpp75 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1)));
79 thread second(bind(&TestRWLock::ReadStr, ref(test), ref(readOut1)));
80 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2)));
82 thread fourth(bind(&TestRWLock::ReadStr, ref(test), ref(readOut2)));
104 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1)));
108 thread second(bind(&TestRWLock::ReadStr, ref(test), ref(readOut1)));
109 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2)));
111 thread fourth(bind(&TestRWLock::ReadStr, ref(test), ref(readOut2)));
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/player/
H A Dplayer_callback_napi.cpp53 refMap_[name] = ref; in SaveCallbackReference()
305 napi_open_handle_scope(ref->env_, &scope); in OnJsCallBack()
312 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in OnJsCallBack()
357 napi_open_handle_scope(ref->env_, &scope); in OnJsCallBackError()
364 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in OnJsCallBackError()
424 napi_open_handle_scope(ref->env_, &scope); in OnJsCallBackInt()
429 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in OnJsCallBackInt()
487 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in OnJsCallBackIntVec()
555 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in OnJsCallBackIntArray()
611 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in OnJsCallBackInterrupt()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtoss_animation_controller.cpp41 auto ref = weak.Upgrade(); in SetStart() local
68 auto ref = weak.Upgrade(); in Play() local
88 auto ref = weak.Upgrade(); in StartSpringMotion() local
113 auto ref = weak.Upgrade(); in StartSpringMotion() local
114 CHECK_NULL_VOID(ref); in StartSpringMotion()
129 CHECK_NULL_VOID(ref); in StartSpringMotion()
130 ref->property_->Set(ref->end_); in StartSpringMotion()
138 auto ref = weak.Upgrade(); in StopTossAnimation() local
139 CHECK_NULL_VOID(ref); in StopTossAnimation()
150 ref->property_->Set(0.0); in StopTossAnimation()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dref_uri_util.cpp60 if (ref.GetAbsoluteInterpretation() && ref.IsEmpty()) { in ResolvePropertySegment()
64 return obj->Resolve(ref); in ResolvePropertySegment()
72 auto node = ref.TakeFirstNode(); in ResolveSegment()
75 return obj ? obj->Resolve(ref) : nullptr; in ResolveSegment()
84 return obj ? obj->Resolve(ref) : nullptr; in ResolveSegment()
87 return ResolvePropertySegment(node.name, base, ref); in ResolveSegment()
96 RefUri ref { uri.RelativeUri() }; in DefaultResolveObject() local
97 if (ref.IsEmpty()) { in DefaultResolveObject()
101 if (ref.StartsFromRoot()) { in DefaultResolveObject()
102 ref.SetStartsFromRoot(false); in DefaultResolveObject()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/rwlock_benchmark_test/
H A Drwlock_benchmark_test.cpp103 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in BENCHMARK_F()
108 thread second(bind(&TestRWLock::ReadStr, ref(test), ref(readOut1))); in BENCHMARK_F()
109 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2))); in BENCHMARK_F()
111 thread fourth(bind(&TestRWLock::ReadStr, ref(test), ref(readOut2))); in BENCHMARK_F()
139 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in BENCHMARK_F()
143 thread second(bind(&TestRWLock::ReadStr, ref(test), ref(readOut1))); in BENCHMARK_F()
144 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2))); in BENCHMARK_F()
146 thread fourth(bind(&TestRWLock::ReadStr, ref(test), ref(readOut2))); in BENCHMARK_F()
171 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in BENCHMARK_F()
175 thread second(bind(&TestRWLock::ReadStr, ref(test), ref(readOut1))); in BENCHMARK_F()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/perf/
H A Dperformance_data_manager.cpp59 auto& ref = dataIter->second; in UpdateTimingData() local
61 ref.counter++; in UpdateTimingData()
62 ref.currentTime = microSeconds; in UpdateTimingData()
63 if (microSeconds < ref.minTime) { in UpdateTimingData()
64 ref.minTime = microSeconds; in UpdateTimingData()
67 ref.maxTime = microSeconds; in UpdateTimingData()
75 ref.totalTime += ref.currentTime; in UpdateTimingData()
76 if (ref.totalTime > ref.maxTotalTime) { in UpdateTimingData()
77 ref.maxTotalTime = ref.totalTime; in UpdateTimingData()
82 ref = { in UpdateTimingData()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_shader_passes.cpp67 auto& ref = nameToRenderObjects_[name]; in AddRenderData() local
68 ref.rpData.append(data.begin(), data.end()); in AddRenderData()
69 for (const auto& rpRef : ref.rpData) { in AddRenderData()
85 auto& ref = nameToComputeObjects_[name]; in AddComputeData() local
86 ref.cpData.append(data.begin(), data.end()); in AddComputeData()
87 for (const auto& rpRef : ref.cpData) { in AddComputeData()
125 for (const auto& ref : nameToRenderObjects_) { in GetRenderData() local
126 data.append(ref.second.rpData.begin(), ref.second.rpData.end()); in GetRenderData()
137 for (const auto& ref : nameToComputeObjects_) { in GetComputeData() local
138 data.append(ref.second.cpData.begin(), ref.second.cpData.end()); in GetComputeData()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_transaction_testcase.cpp87 placeholders::_1, placeholders::_2, std::ref(valueStatus), std::ref(value)); in StartTransaction004()
199 placeholders::_1, placeholders::_2, std::ref(valueStatus), std::ref(value)); in Commit003()
234 placeholders::_1, placeholders::_2, std::ref(valueStatus), std::ref(value)); in Commit004()
273 placeholders::_1, placeholders::_2, std::ref(valueStatus), std::ref(value)); in Commit005()
308 … placeholders::_2, std::ref(entryVectorStatus), std::ref(matchSize), std::ref(entriesVector)); in Commit006()
342 placeholders::_1, placeholders::_2, std::ref(valueStatus), std::ref(value)); in Commit007()
386 …placeholders::_2, std::ref(entryVectorStatus), std::ref(matchSizeCallback), std::ref(entriesVector… in Commit008()
457 placeholders::_1, placeholders::_2, std::ref(valueStatus), std::ref(value)); in RollBack003()
568 …placeholders::_2, std::ref(entryVectorStatus), std::ref(matchSizeCallback), std::ref(entriesVector… in RollBack006()
613 …placeholders::_2, std::ref(entryVectorStatus), std::ref(matchSizeCallback), std::ref(entriesVector… in RollBack007()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_callback_napi.cpp64 refMap_[name] = ref; in SaveCallbackReference()
171 std::shared_ptr<AutoRef> ref = event->autoRef.lock(); in RunJsErrorCallBackTask() local
175 napi_open_handle_scope(ref->env_, &scope); in RunJsErrorCallBackTask()
178 napi_close_handle_scope(ref->env_, scope); in RunJsErrorCallBackTask()
182 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in RunJsErrorCallBackTask()
247 napi_open_handle_scope(ref->env_, &scope); in RunJsloadCompletedCallBackTask()
250 napi_close_handle_scope(ref->env_, scope); in RunJsloadCompletedCallBackTask()
253 napi_status nstatus = napi_get_reference_value(ref->env_, ref->cb_, &jsCallback); in RunJsloadCompletedCallBackTask()
314 napi_open_handle_scope(ref->env_, &scope); in RunJsplayCompletedCallBackTask()
317 napi_close_handle_scope(ref->env_, scope); in RunJsplayCompletedCallBackTask()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dsubscribe.h143 void SetCancelCallbackInfo(const napi_env &env, const napi_ref &ref);
145 void SetConsumeCallbackInfo(const napi_env &env, const napi_ref &ref);
147 void SetUpdateCallbackInfo(const napi_env &env, const napi_ref &ref);
149 void SetSubscribeCallbackInfo(const napi_env &env, const napi_ref &ref);
151 void SetUnsubscribeCallbackInfo(const napi_env &env, const napi_ref &ref);
153 void SetDieCallbackInfo(const napi_env &env, const napi_ref &ref);
155 void SetDisturbModeCallbackInfo(const napi_env &env, const napi_ref &ref);
157 void SetDisturbDateCallbackInfo(const napi_env &env, const napi_ref &ref);
163 void SetBadgeCallbackInfo(const napi_env &env, const napi_ref &ref);
172 napi_ref ref = nullptr; member
[all …]

12345678910>>...40