Home
last modified time | relevance | path

Searched refs:from (Results 1 - 8 of 8) sorted by relevance

/napi_generator/examples/
H A Dnapitest.cpp55 bool NodeISayHello::sayHello(std::string& from, std::string& to, NUMBER_TYPE_9& sayType) in sayHello() argument
57 NAPITEST_LOGI("NAPITEST_LOGI sayHello from = %s\r\n", from.c_str()); in sayHello()
61 info1.from = "js1"; in sayHello()
71 info2.from = "native"; in sayHello()
87 bool NodeISayHello::sayHi(std::string& from, std::string& to, NUMBER_TYPE_10& sayType) in sayHi() argument
89 NAPITEST_LOGI("NAPITEST_LOGI sayHi from = %s\r\n", from.c_str()); in sayHi()
99 bool NodeISayHello::sayHelloWithResponse(std::string& from, std::string& to, NUMBER_TYPE_11& sayType, in sayHelloWithResponse() argument
102 NAPITEST_LOGI("NAPITEST_LOGI sayHelloWithResponse from in sayHelloWithResponse()
[all...]
/napi_generator/examples/pluginCase/serviceCode/
H A DNodeISayHello.cpp26 // 1. 打印from, to, enum sayType的值
31 void NodeISayHello::sayHello(std::string& from, std::string& to, uint32_t& sayType) in sayHello() argument
34 OH_LOG_INFO(LOG_APP, "NAPITEST_LOGI sayHello from=%{public}s", from.c_str()); in sayHello()
40 info1.from = "js"; in sayHello()
51 info2.from = "native"; in sayHello()
72 void NodeISayHello::sayHi(std::string& from, std::string& to, uint32_t& sayType) in sayHi() argument
75 OH_LOG_INFO(LOG_APP, "NAPITEST_LOGI sayHi from=%{public}s", from.c_str()); in sayHi()
96 // 1.打印值:from, t
98 sayHelloWithResponse(std::string& from, std::string& to, uint32_t& sayType) sayHelloWithResponse() argument
[all...]
H A DNodeISayHello.h25 void sayHello(std::string& from, std::string& to, uint32_t& sayType);
26 void sayHi(std::string& from, std::string& to, uint32_t& sayType);
27 void sayHelloWithResponse(std::string& from, std::string& to, uint32_t& sayType);
/napi_generator/examples/serviceCode/
H A DNodeISayHello.cpp23 // 1. 打印from, to, enum sayType的值
28 void NodeISayHello::sayHello(std::string& from, std::string& to, uint32_t& sayType) in sayHello() argument
31 NAPITEST_LOGI("NAPITEST_LOGI sayHello from = %s\r\n", from.c_str()); in sayHello()
37 info1.from = "js1"; in sayHello()
48 info2.from = "native"; in sayHello()
69 void NodeISayHello::sayHi(std::string& from, std::string& to, uint32_t& sayType) in sayHi() argument
72 NAPITEST_LOGI("NAPITEST_LOGI sayHi from = %s\r\n", from.c_str()); in sayHi()
93 // 1.打印值:from, t
95 sayHelloWithResponse(std::string& from, std::string& to, uint32_t& sayType) sayHelloWithResponse() argument
[all...]
H A DNodeISayHello.h25 void sayHello(std::string& from, std::string& to, uint32_t& sayType);
26 void sayHi(std::string& from, std::string& to, uint32_t& sayType);
27 void sayHelloWithResponse(std::string& from, std::string& to, uint32_t& sayType);
/napi_generator/src/cli/dts2cpp/src/gen/
H A Dmain.js52 let importSearch = re.search('([.,/a-zA-Z {}\']+from)', imports[i]);
/napi_generator/src/cli/dts2ets/appCodeGen/src/
H A Dgenerate.js37 import napitest from '@ohos.[import_module_name]';
38 import hilog from '@ohos.hilog';
/napi_generator/test/storytest/test_on/
H A Dtest.js243 console.info("SayInfo.from = " + ret1.from)

Completed in 3 milliseconds