Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 41) sorted by relevance

12

/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/quickjs/
DjsMockSystemPlugin.js69 arguments[0].success()
70 isComplete(arguments[0].complete)
96 if(!arguments[0].interval) {
99 timer = time[arguments[0].interval]
106 arguments[0].success(ret)
123 arguments[0].success(ret)
141 arguments[0].success(ret)
159 arguments[0].success(ret)
177 arguments[0].success(ret)
195 arguments[0].success(ret)
[all …]
/foundation/graphic/standard/frameworks/surface/src/
Dbuffer_client_producer.cpp30 #define SEND_REQUEST(COMMAND, arguments, reply, option) \ argument
32 int32_t ret = Remote()->SendRequest(COMMAND, arguments, reply, option); \
39 #define SEND_REQUEST_WITH_SEQ(COMMAND, arguments, reply, option, sequence) \ argument
41 int32_t ret = Remote()->SendRequest(COMMAND, arguments, reply, option); \
72 DEFINE_MESSAGE_VARIABLES(arguments, reply, option, BLOGE); in RequestBuffer()
74 WriteRequestConfig(arguments, config); in RequestBuffer()
76 SEND_REQUEST(BUFFER_PRODUCER_REQUEST_BUFFER, arguments, reply, option); in RequestBuffer()
88 DEFINE_MESSAGE_VARIABLES(arguments, reply, option, BLOGE); in CancelBuffer()
90 arguments.WriteInt32(sequence); in CancelBuffer()
91 bedata.WriteToParcel(arguments); in CancelBuffer()
[all …]
Dbuffer_queue_producer.cpp56 int BufferQueueProducer::OnRemoteRequest(uint32_t code, MessageParcel &arguments, in OnRemoteRequest() argument
70 auto remoteDescriptor = arguments.ReadInterfaceToken(); in OnRemoteRequest()
75 auto ret = (this->*(it->second))(arguments, reply, option); in OnRemoteRequest()
79 int32_t BufferQueueProducer::RequestBufferRemote(MessageParcel &arguments, MessageParcel &reply, Me… in RequestBufferRemote() argument
85 ReadRequestConfig(arguments, config); in RequestBufferRemote()
99 int BufferQueueProducer::CancelBufferRemote(MessageParcel &arguments, MessageParcel &reply, Message… in CancelBufferRemote() argument
104 sequence = arguments.ReadInt32(); in CancelBufferRemote()
105 bedataimpl.ReadFromParcel(arguments); in CancelBufferRemote()
112 int BufferQueueProducer::FlushBufferRemote(MessageParcel &arguments, MessageParcel &reply, MessageO… in FlushBufferRemote() argument
119 sequence = arguments.ReadInt32(); in FlushBufferRemote()
[all …]
/foundation/graphic/standard/frameworks/wmtest/frameworks/
Dnative_test_ipc_stub.cpp25 int NativeTestIpcStub::OnRemoteRequest(uint32_t code, MessageParcel &arguments, in OnRemoteRequest() argument
28 auto remoteDescriptor = arguments.ReadInterfaceToken(); in OnRemoteRequest()
41 sequence = arguments.ReadInt32(); in OnRemoteRequest()
42 message = arguments.ReadString(); in OnRemoteRequest()
43 if (arguments.ReadBool()) { in OnRemoteRequest()
44 remoteObject = arguments.ReadRemoteObject(); in OnRemoteRequest()
50 sequence = arguments.ReadInt32(); in OnRemoteRequest()
51 remoteObject = arguments.ReadRemoteObject(); in OnRemoteRequest()
62 sequence = arguments.ReadInt32(); in OnRemoteRequest()
63 message = arguments.ReadString(); in OnRemoteRequest()
[all …]
Dnative_test_ipc_stub.h26 virtual int OnRemoteRequest(uint32_t code, MessageParcel &arguments,
/foundation/graphic/standard/frameworks/surface/include/
Dbuffer_queue_producer.h37 virtual int OnRemoteRequest(uint32_t code, MessageParcel &arguments,
68 …int32_t RequestBufferRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
69 … int32_t CancelBufferRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
70 … int32_t FlushBufferRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
71 … int32_t AttachBufferRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
72 … int32_t DetachBufferRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
73 … int32_t GetQueueSizeRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
74 … int32_t SetQueueSizeRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
75 int32_t GetNameRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &option);
76 …int32_t GetDefaultWidthRemote(MessageParcel &arguments, MessageParcel &reply, MessageOption &optio…
[all …]
/foundation/ace/ace_engine_lite/frameworks/src/core/modules/presets/
Dtimer_module.cpp64 TimerList::Arguments *arguments = new TimerList::Arguments(); in CreateTimer() local
65 if (arguments == nullptr) { in CreateTimer()
68 arguments->context = context; in CreateTimer()
70 arguments->func = jerry_acquire_value(function); in CreateTimer()
71 arguments->repeated = repeated; in CreateTimer()
78 timerList->ReleaseArguments(arguments); in CreateTimer()
84 arguments->args = funcArg; in CreateTimer()
85 arguments->argsNum = funcNumber; in CreateTimer()
87 jerry_value_t retVal = StartTask(arguments, args[1], repeated); in CreateTimer()
89 timerList->ReleaseArguments(arguments); in CreateTimer()
[all …]
Dtimer_module.h95 …static jerry_value_t StartTask(TimerList::Arguments *arguments, jerry_value_t time, bool repeated);
123 static void Task(void *arguments);
/foundation/graphic/standard/utils/option_parser/src/
Doption_parser.cpp30 if (arguments.empty()) { in ParseArgument()
35 switch (arguments.front().type) { in ParseArgument()
37 ss >> std::setbase(0) >> arguments.front().result->i32; in ParseArgument()
40 ss >> std::setbase(0) >> arguments.front().result->u32; in ParseArgument()
43 ss >> std::setbase(0) >> arguments.front().result->i64; in ParseArgument()
46 ss >> arguments.front().result->f64; in ParseArgument()
49 ss >> arguments.front().result->str; in ParseArgument()
59 arguments.pop_front(); in ParseArgument()
236 if (!arguments.empty()) { in Parse()
265 arguments.emplace_back(std::move(argument)); in AddArguments()
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/
Dhelpers_for_test.ts79 …console.debug(`SpyOn: ----- '${funcName}' on '${sourceDescr}' about to be called, ${arguments.leng…
80 origFunc.call(source1, ...arguments);
82 accessRecord.args = /* deep copy */ JSON.parse(JSON.stringify(arguments));
/foundation/multimedia/medialibrary_standard/frameworks/kitsimpl/medialibrary/src/
Dmedialibraryinf.js21 console.log("MediaLibrary startMediaSelectInner param num " + arguments.length);
35 if (arguments.length == 2 && typeof asyncCallback != "function") {
43 if (arguments.length == 2 && typeof asyncCallback == "function") {
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
Djsi_declarative_group_js_bridge.cpp142 std::vector<CodecData> arguments; in ProcessJsRequest() local
144 …upJsBridge->ParseJsPara(runtime, argv, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX, callbackId, arguments); in ProcessJsRequest()
150 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequest()
212 std::vector<CodecData> arguments; in ProcessJsRequestSync() local
214 … groupJsBridge->ParseJsPara(runtime, argv, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX_SYNC, 0, arguments); in ProcessJsRequestSync()
220 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequestSync()
382 std::vector<CodecData>& arguments) in ParseJsPara() argument
392 arguments.push_back(arg); in ParseJsPara()
397 arguments.push_back(arg); in ParseJsPara()
401 arguments.push_back(arg); in ParseJsPara()
[all …]
Djsi_types.cpp245 std::vector<panda::Local<panda::JSValueRef>> arguments; in Call() local
247 arguments.emplace_back(argv[i].Get().GetHandle()); in Call()
250 auto result = GetHandle()->Call(vm, thisObj, arguments.data(), argc); in Call()
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
Djsi_group_js_bridge.cpp142 std::vector<CodecData> arguments; in ProcessJsRequest() local
144 …upJsBridge->ParseJsPara(runtime, argv, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX, callbackId, arguments); in ProcessJsRequest()
150 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequest()
212 std::vector<CodecData> arguments; in ProcessJsRequestSync() local
214 … groupJsBridge->ParseJsPara(runtime, argv, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX_SYNC, 0, arguments); in ProcessJsRequestSync()
220 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequestSync()
382 std::vector<CodecData>& arguments) in ParseJsPara() argument
392 arguments.push_back(arg); in ParseJsPara()
397 arguments.push_back(arg); in ParseJsPara()
401 arguments.push_back(arg); in ParseJsPara()
[all …]
Djsi_component_api_bridge.h33 …static void JsScrollTo(const shared_ptr<JsRuntime>& runtime, const std::string& arguments, NodeId …
Djsi_component_api_bridge.cpp125 const shared_ptr<JsRuntime>& runtime, const std::string& arguments, NodeId nodeId) in JsScrollTo() argument
141 auto task = [nodeId, page, arguments]() { in JsScrollTo()
152 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(arguments); in JsScrollTo()
Djsi_engine.cpp518 std::string arguments; in GetPackageInfoCallback() local
523 arguments.append("{\"arguments\":[\"jsMessage is not Object\",200],"); in GetPackageInfoCallback()
528 arguments.append("{\"arguments\":[\"packageName is not available string\",202],"); in GetPackageInfoCallback()
534 arguments.append("{\"arguments\":[\"can not get info\",200],"); in GetPackageInfoCallback()
540 arguments.append("{\"arguments\":[").append(infoList->ToString()).append("],"); in GetPackageInfoCallback()
547 engineInstance->CallJs(callbackId, arguments + methods, false); in GetPackageInfoCallback()
645 … callbackId, R"({"arguments":["fail to set false flag in rich platform", 200],"method":"fail"})"); in SetScreenOnVisible()
647 engineInstance->CallJs(callbackId, R"({"arguments":[],"method":"success"})"); in SetScreenOnVisible()
1157 …engine->CallJs(callbackId, R"({"arguments":["file uri pattern not correct", 202],"method":"fail"})… in JsReadText()
1169 … engine->CallJs(callbackId, R"({"arguments":["get text data failed", 301],"method":"fail"})"); in JsReadText()
[all …]
/foundation/ace/ace_engine_lite/frameworks/tools/qt/simulator/entry/
Dchild_widget.cpp106 QStringList arguments = QApplication::arguments(); in RestartApp() local
107 QProcess::startDetached(program, arguments, QDir::currentPath()); in RestartApp()
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/v8/
Dv8_group_js_bridge.cpp186 std::vector<CodecData> arguments; in ProcessJsRequest() local
188 callbackId, arguments); in ProcessJsRequest()
194 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequest()
252 std::vector<CodecData> arguments; in ProcessJsRequestSync() local
254 groupJsBridge->ParseJsPara(args, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX_SYNC, 0, arguments); in ProcessJsRequestSync()
260 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequestSync()
448 int32_t requestId, std::vector<CodecData>& arguments) in ParseJsPara() argument
466 arguments.push_back(arg); in ParseJsPara()
472 arguments.push_back(arg); in ParseJsPara()
476 arguments.push_back(arg); in ParseJsPara()
[all …]
Dv8_component_api_bridge.h32 … const v8::FunctionCallbackInfo<v8::Value>& args, const std::string& arguments, NodeId nodeId);
35 … const v8::FunctionCallbackInfo<v8::Value>& args, const std::string& arguments, NodeId nodeId);
Dv8_component_api_bridge.cpp114 const v8::FunctionCallbackInfo<v8::Value>& args, const std::string& arguments, NodeId nodeId) in JsScrollTo() argument
140 auto task = [nodeId, page, arguments]() { in JsScrollTo()
153 std::unique_ptr<JsonValue> argsValue = JsonUtil::ParseJsonString(arguments); in JsScrollTo()
218 const v8::FunctionCallbackInfo<v8::Value>& args, const std::string& arguments, NodeId nodeId) in JsAddVisibleListener() argument
231 std::unique_ptr<JsonValue> argsPtr = JsonUtil::ParseJsonString(arguments); in JsAddVisibleListener()
/foundation/ace/ace_engine_lite/frameworks/src/core/context/
Djs_timer_list.cpp36 timer->arguments = arg; in AddTimer()
90 ReleaseArguments(current->arguments); in ReleaseTimer()
Djs_timer_list.h62 Arguments *arguments; member
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/v8/
Dv8_declarative_group_js_bridge.cpp186 std::vector<CodecData> arguments; in ProcessJsRequest() local
188 … groupJsBridge->ParseJsPara(args, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX, callbackId, arguments); in ProcessJsRequest()
194 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequest()
258 std::vector<CodecData> arguments; in ProcessJsRequestSync() local
260 groupJsBridge->ParseJsPara(args, PLUGIN_REQUEST_ARG_APP_PARAMS_INDEX_SYNC, 0, arguments); in ProcessJsRequestSync()
266 FunctionCall functionCall(strFunctionName, arguments); in ProcessJsRequestSync()
497 int32_t beginIndex, int32_t requestId, std::vector<CodecData>& arguments) in ParseJsPara() argument
515 arguments.push_back(arg); in ParseJsPara()
521 arguments.push_back(arg); in ParseJsPara()
525 arguments.push_back(arg); in ParseJsPara()
[all …]
/foundation/graphic/standard/frameworks/animation_server/server/include/
Danimation_service_stub.h39 using AnimationServiceStubFunc = int32_t (AnimationServiceStub::*)(MessageParcel &arguments,

12