Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 25 of 35) sorted by relevance

12

/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_inner_print.cpp53 auto exec = [context](PrintAsyncCall::Context *ctx) { in QueryExtensionInfo() local
63 return asyncCall.Call(env, exec); in QueryExtensionInfo()
95 auto exec = [context](PrintAsyncCall::Context *ctx) { in StartDiscovery() local
105 return asyncCall.Call(env, exec); in StartDiscovery()
121 auto exec = [context](PrintAsyncCall::Context *ctx) { in StopDiscovery() local
131 return asyncCall.Call(env, exec); in StopDiscovery()
153 auto exec = [context](PrintAsyncCall::Context *ctx) { in ConnectPrinter() local
163 return asyncCall.Call(env, exec); in ConnectPrinter()
185 auto exec = [context](PrintAsyncCall::Context *ctx) { in DisconnectPrinter() local
195 return asyncCall.Call(env, exec); in DisconnectPrinter()
[all …]
Dnapi_print_ext.cpp63 auto exec = [context](PrintAsyncCall::Context *ctx) { in AddPrinters() local
73 return asyncCall.Call(env, exec); in AddPrinters()
110 auto exec = [context](PrintAsyncCall::Context *ctx) { in RemovePrinters() local
120 return asyncCall.Call(env, exec); in RemovePrinters()
159 auto exec = [context](PrintAsyncCall::Context *ctx) { in UpdatePrinters() local
169 return asyncCall.Call(env, exec); in UpdatePrinters()
207 auto exec = [context](PrintAsyncCall::Context *ctx) { in UpdatePrinterState() local
217 return asyncCall.Call(env, exec); in UpdatePrinterState()
261 auto exec = [context](PrintAsyncCall::Context *ctx) { in UpdatePrintJobState() local
272 return asyncCall.Call(env, exec); in UpdatePrintJobState()
[all …]
Dprint_async_call.cpp53 napi_value PrintAsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument
57 context_->ctx->exec_ = std::move(exec); in Call()
77 napi_value PrintAsyncCall::SyncCall(napi_env env, PrintAsyncCall::Context::ExecAction exec) in SyncCall() argument
80 context_->ctx->exec_ = std::move(exec); in SyncCall()
Dprint_task.cpp169 auto exec = [context](PrintAsyncCall::Context *ctx) { in Off() local
179 return asyncCall.Call(env, exec); in Off()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_keyboard_controller_engine.cpp91 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide() local
103 return asyncCall.Call(env, exec, "keyboard.hide"); in Hide()
111 auto exec = [ctxt](AsyncCall::Context *ctx) { in HideKeyboard() local
118 return asyncCall.Call(env, exec, "hideKeyboard"); in HideKeyboard()
Djs_panel.cpp124 auto exec = [ctxt](AsyncCall::Context *ctx) { ctxt->SetState(napi_ok); }; in SetUiContent() local
135 return asyncCall.Call(env, exec, "setUiContent"); in SetUiContent()
153 auto exec = [ctxt](AsyncCall::Context *ctx) { in Resize() local
165 return asyncCall.Call(env, exec, "resize"); in Resize()
183 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveTo() local
195 return asyncCall.Call(env, exec, "moveTo"); in MoveTo()
201 auto exec = [ctxt](AsyncCall::Context *ctx) { in Show() local
212 return asyncCall.Call(env, exec, "show"); in Show()
218 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide() local
229 return asyncCall.Call(env, exec, "panel.hide"); in Hide()
Djs_text_input_client_engine.cpp79 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveCursor() local
93 return asyncCall.Call(env, exec, "moveCursor"); in MoveCursor()
231 auto exec = [ctxt](AsyncCall::Context *ctx) { in SendKeyFunction() local
244 return asyncCall.Call(env, exec, "sendKeyFunction"); in SendKeyFunction()
288 auto exec = [ctxt](AsyncCall::Context *ctx) { in DeleteForward() local
303 return asyncCall.Call(env, exec, "deleteForward"); in DeleteForward()
347 auto exec = [ctxt](AsyncCall::Context *ctx) { in DeleteBackward() local
362 return asyncCall.Call(env, exec, "deleteBackward"); in DeleteBackward()
381 auto exec = [ctxt](AsyncCall::Context *ctx) { in InsertText() local
396 return asyncCall.Call(env, exec, "insertText"); in InsertText()
[all …]
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dnapi_wallpaper_ability.cpp86 auto exec = [context, apiInfo](Call::Context *ctx) { in GetColorsInner() local
104 context->SetExecution(std::move(exec)); in GetColorsInner()
131 auto exec = [context](Call::Context *ctx) { in GetIdInner() local
139 context->SetExecution(std::move(exec)); in GetIdInner()
171 auto exec = [context, apiInfo](Call::Context *ctx) { in GetFileInner() local
190 context->SetExecution(std::move(exec)); in GetFileInner()
221 auto exec = [context, apiInfo](Call::Context *ctx) { in GetMinHeightInner() local
237 context->SetExecution(std::move(exec)); in GetMinHeightInner()
268 auto exec = [context, apiInfo](Call::Context *ctx) { in GetMinWidthInner() local
283 context->SetExecution(std::move(exec)); in GetMinWidthInner()
[all …]
Dcall.h41 void SetExecution(ExecAction exec) in SetExecution() argument
43 exec_ = exec; in SetExecution()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Dasync_call.cpp57 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec, const std::string &resourceName) in Call() argument
67 context_->ctx->exec_ = std::move(exec); in Call()
85 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument
91 context_->ctx->exec_ = std::move(exec); in SyncCall()
Djs_get_input_method_setting.cpp193 auto exec = [ctxt](AsyncCall::Context *ctx) { in ListInputMethod() local
206 return asyncCall.Call(env, exec, "listInputMethod"); in ListInputMethod()
225 auto exec = [ctxt](AsyncCall::Context *ctx) { in GetInputMethods() local
239 return asyncCall.Call(env, exec, "getInputMethods"); in GetInputMethods()
249 auto exec = [ctxt](AsyncCall::Context *ctx) { in DisplayOptionalInputMethod() local
260 return asyncCall.Call(env, exec, "displayOptionalInputMethod"); in DisplayOptionalInputMethod()
274 auto exec = [ctxt](AsyncCall::Context *ctx) { in ShowOptionalInputMethods() local
289 return asyncCall.Call(env, exec, "showOptionalInputMethods"); in ShowOptionalInputMethods()
308 auto exec = [ctxt](AsyncCall::Context *ctx) { in ListInputMethodSubtype() local
322 return asyncCall.Call(env, exec, "listInputMethodSubtype"); in ListInputMethodSubtype()
[all …]
Dasync_call.h97 …napi_value Call(napi_env env, Context::ExecAction exec = nullptr, const std::string &resourceName …
98 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
Djs_input_method.cpp225 auto exec = [ctxt](AsyncCall::Context *ctx) { in SwitchInputMethod() local
244 return asyncCall.Call(env, exec, "switchInputMethod"); in SwitchInputMethod()
287 auto exec = [ctxt](AsyncCall::Context *ctx) { in SwitchCurrentInputMethodSubtype() local
306 return asyncCall.Call(env, exec, "switchCurrentInputMethodSubtype"); in SwitchCurrentInputMethodSubtype()
327 auto exec = [ctxt](AsyncCall::Context *ctx) { in SwitchCurrentInputMethodAndSubtype() local
346 return asyncCall.Call(env, exec, "switchCurrentInputMethodAndSubtype"); in SwitchCurrentInputMethodAndSubtype()
Djs_get_input_method_controller.cpp438 auto exec = [ctxt, callback, needThrowException](AsyncCall::Context *ctx) { in HandleSoftKeyboard() local
455 return asyncCall.Call(env, exec, "handleSoftKeyboard"); in HandleSoftKeyboard()
531 auto exec = [ctxt, env](AsyncCall::Context *ctx) { in Attach() local
542 return asyncCall.Call(env, exec, "attach"); in Attach()
573 auto exec = [ctxt](AsyncCall::Context *ctx) { in SetCallingWindow() local
582 return asyncCall.Call(env, exec, "setCallingWindow"); in SetCallingWindow()
603 auto exec = [ctxt](AsyncCall::Context *ctx) { in UpdateCursor() local
612 return asyncCall.Call(env, exec, "updateCursor"); in UpdateCursor()
626 auto exec = [ctxt](AsyncCall::Context *ctx) { in ChangeSelection() local
635 return asyncCall.Call(env, exec, "changeSelection"); in ChangeSelection()
[all …]
/base/request/request/frameworks/js/napi/src/upload/
Dasync_call.cpp53 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument
60 context_->ctx->exec_ = std::move(exec); in Call()
78 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument
84 context_->ctx->exec_ = std::move(exec); in SyncCall()
/base/theme/screenlock_mgr/frameworks/js/napi/src/
Dasync_call.cpp62 napi_value AsyncCall::Call(const napi_env env, Context::ExecAction exec, const std::string &resourc… in Call() argument
73 context_->ctx->exec_ = std::move(exec); in Call()
92 napi_value AsyncCall::SyncCall(const napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument
98 context_->ctx->exec_ = std::move(exec); in SyncCall()
Dnapi_screenlock_ability.cpp156 auto exec = [context](AsyncCall::Context *ctx) { in NAPI_IsScreenLocked() local
163 return asyncCall.Call(env, exec, "isScreenLocked"); in NAPI_IsScreenLocked()
377 auto exec = [context](AsyncCall::Context *ctx) { in NAPI_IsSecureMode() local
385 return asyncCall.Call(env, exec, "isSecureMode"); in NAPI_IsSecureMode()
462 auto exec = [context](AsyncCall::Context *ctx) { in NAPI_ScreenLockSendEvent() local
477 return asyncCall.Call(env, exec, "screenLockSendEvent"); in NAPI_ScreenLockSendEvent()
/base/request/request/frameworks/js/napi/include/upload/
Dasync_call.h84 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
85 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
/base/print/print_fwk/interfaces/kits/napi/include/
Dprint_async_call.h96 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
97 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
/base/theme/screenlock_mgr/frameworks/js/napi/include/
Dasync_call.h97 …const napi_env env, Context::ExecAction exec = nullptr, const std::string &resourceName = "AsyncCa…
98 napi_value SyncCall(const napi_env env, Context::ExecAction exec = nullptr);
/base/update/updater/services/etc/
Dupdater_common.cfg38 "exec /system/bin/sh /etc/lastword.sh"
/base/request/request/frameworks/js/napi/src/
Djs_task.cpp126 auto exec = [context]() { in JsMain() local
150 context->SetInput(input).SetOutput(output).SetExec(exec); in JsMain()
281 auto exec = [context]() { in Remove() local
284 context->SetInput(std::move(input)).SetOutput(std::move(output)).SetExec(std::move(exec)); in Remove()
342 auto exec = [context]() { in TouchInner() local
350 context->SetInput(std::move(input)).SetOutput(std::move(output)).SetExec(std::move(exec)); in TouchInner()
526 auto exec = [context]() { in Search() local
533 context->SetInput(std::move(input)).SetOutput(std::move(output)).SetExec(std::move(exec)); in Search()
564 auto exec = [context]() { in Query() local
571 context->SetInput(std::move(input)).SetOutput(std::move(output)).SetExec(std::move(exec)); in Query()
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_dfx_test.cpp91 static bool WriteAndWatch(std::shared_ptr<Watcher> watcher, InputMethodDfxTest::ExecFunc exec);
104 …utMethodDfxTest::WriteAndWatch(std::shared_ptr<Watcher> watcher, InputMethodDfxTest::ExecFunc exec) in WriteAndWatch() argument
115 exec(); in WriteAndWatch()
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DDataFetcher.java366 ThreadPoolExecutor exec = new ThreadPoolExecutor(CORE_POOL_SIZE, MAX_POOL_SIZE, in main() local
369 exec.execute(fe); in main()
371 exec.shutdown(); in main()
373 exec.awaitTermination(MAX_TIME_TO_WAIT, TimeUnit.SECONDS); in main()
/base/useriam/face_auth/ui/Settings_FaceAuth/
Dhvigorw60 exec "${EXECUTABLE_NODE}" \

12