| /napi_generator/examples/napitutorials/entry/src/main/resources/en_US/element/ |
| D | string.json | 4 "name": "module_desc", string 8 "name": "EntryAbility_desc", string 12 "name": "EntryAbility_label", string 16 "name": "entry_desc", string 20 "name": "MainAbility_desc", string 24 "name": "node_api", string 28 "name": "javascript_api", string 32 "name": "async_mgr", string 36 "name": "other_mgr", string 40 "name": "napi_object_detection", string [all …]
|
| /napi_generator/examples/napitutorials/entry/src/main/resources/base/element/ |
| D | string.json | 4 "name": "module_desc", string 8 "name": "EntryAbility_desc", string 12 "name": "EntryAbility_label", string 16 "name": "entry_desc", string 20 "name": "MainAbility_desc", string 24 "name": "node_api", string 28 "name": "javascript_api", string 32 "name": "async_mgr", string 36 "name": "other_mgr", string 40 "name": "napi_object_detection", string [all …]
|
| D | color.json | 4 "name": "start_window_background", string 8 "name": "white", string 12 "name": "bottom_title_divider", string 16 "name": "tab_bar_divider", string 20 "name": "font_color_shallow", string 24 "name": "font_color_dark", string 28 "name": "font_color_red", string 32 "name": "tab_bar_select", string 36 "name": "tab_bar_unselect", string 40 "name": "background_shallow_grey", string [all …]
|
| /napi_generator/examples/napitutorials/entry/src/main/resources/zh_CN/element/ |
| D | string.json | 4 "name": "module_desc", string 8 "name": "EntryAbility_desc", string 12 "name": "EntryAbility_label", string 16 "name": "read_reason", string 20 "name": "write_reason", string 24 "name": "storage_reason", string 28 "name": "file_access_reason", string 32 "name": "read_document_reason", string 36 "name": "write_document_reason", string 40 "name": "file_guard_reason", string [all …]
|
| /napi_generator/test/storytest/test_map/ |
| D | test.js | 21 let ret = tc2.fun1({"age":"ageValue","name":"nameValue"},'aaaa'); property 27 let ret = tc2.fun2({"age":1234,"name":5678}); property 33 let ret = tc2.fun3({"age":true,"name":false}); property 39 let ret = tc2.fun4({"age":["1","12","145"],"name":["21","22","23"]}); property 45 let ret = tc2.fun5({"age":[122,222,322],"name":[422,522,622]}); property 53 let ret = tc2.fun6({"age":[true,true,true],"name":[false,false,false]}); property 59 let ret = tc2.fun7({"age":"ageValue","name":"nameValue"}); property 66 {"peter":{"age":"ageValue","name":"nameValue"}, property 67 "jane":{"age":"ageValue","name":"nameValue"}}); property 74 {"peter":{"age":666,"name":"peter","isTrue":true}, property [all …]
|
| /napi_generator/test/storytest/test_optional/ |
| D | test.js | 156 ret = test.fun51({ name: 'n1', age: 20 }); property 158 ret = test.fun51({ name: 'n1', age: 20 }, { name: 'n2', age: 30 }); property 160 ret = test.fun51({ name: 'n1', age: 20 }, property 161 { name: 'n2', age: 30 }, { name: 'n3', age: 40 }); property 164 ret = test.fun52({ name: 'n1', age: 20 }); property 166 ret = test.fun52({ name: 'n1', age: 20 }, property 167 [{ name: 'm1', age: 121 }, { name: 'm2', age: 123 }]); property 170 ret = test.fun53({ name: 'n1', age: 20 }); property 171 ret = test.fun53({ name: 'n1', age: 20 }, cb4); property 175 ret = test.fun61({ name: 'n2', age: 25 }); property [all …]
|
| /napi_generator/test/storytest/test_object/ |
| D | test.js | 30 let ret = tc1.fun1({"age":10,"name":"nameValue"}); property 32 ret = tc1.fun1({"age":[10,15],"name":"nameValue"}); property 34 ret = tc1.fun1({"age":10,"name":{'test':'"nameValue"'}}); property 36 ret = tc1.fun1({"age":10,"name":{'test':'nameValue','test1':15}}); property 38 ret = tc1.fun1({"age":10,"name": Radio.RADIO_GSM}); property 44 let ret = tc1.fun2(2, {"age":10,"name":"nameValue"}); property 50 let ret = tc1.fun3(2, {"age":10,"name":"nameValue"}, "test4"); property 77 let ret = fun5({"name":"sam","age":10}); property 79 ret = fun5({"name":['Sam','Peter'],"age":10}); property 81 ret = fun5({"name":{'test': '11'},"age":10}); property [all …]
|
| /napi_generator/test/unittest/ |
| D | generate.test.js | 114 let valueFi = { name: 'v1', type: 'string' }; property 115 let value1Se = { name: 'cb', type: 'AsyncCallback<string>' }; property 116 let funParam = { name: 'if_async', type: 4, value: [valueFi, value1Se], ret: 'string' } property 122 function: [{ name: 'if_async', type: 4, value: [valueFi, value1Se], ret: 'string' }], property 133 …let valueFi = [{ name: 'v1', type: 'string', optional: false }, {name: 'v2', type: 'boolean', opti… property 134 let funParam = { name: 'if_direct', type: 1, value: valueFi, ret: 'string', isStatic: false }; property 140 … function: [{ name: 'if_direct', type: 1, value: [valueFi], ret: 'string', isStatic: false }], property 151 let valueFi = { name: 'v1', type: 'string', optional: false }; property 152 let funParam = { name: 'if_direct', type: 1, value: [valueFi], ret: 'string', isStatic: true }; property 158 function: [{ name: 'if_direct', type: 1, value: [valueFi], ret: 'string', isStatic: true }], property [all …]
|
| /napi_generator/src/cli/dts2cpp/src/gen/generate/ |
| D | interface.js | 73 function getHDefineOfVariable(name, type, variable, optional) { argument 105 function variableTypeNumber(optional, variable, type, name) { argument 113 function variableTypeBoolean(optional, variable, name) { argument 121 function variableTypeEnum(type, variable, name) { argument 130 function variableTypeInterface(optional, variable, type, name) { argument 138 function variableTypeString(optional, variable, name) { argument 146 function typeArrFunctionTwo(type, variable, name, optional) { argument 160 function typeArrFunctionOne(type, variable, name, optional) { argument 213 function optionalParamGetSet(type, variable, name, className) { argument 247 function unionTypeString(name, type, variable, optional) { argument [all …]
|
| D | type.js | 21 function getHDefineOfType(data, name, type, variable, inNamespace, nameSpaceName, toolNamespace) { argument 47 function generateTypeEnum(name, data, inNamespace, nameSpaceName, toolNamespace) { argument 74 function getHDefineOfVariable(name, type, variable, optional) { argument 113 function variableTypeNumber(optional, variable, type, name) { argument 121 function variableTypeBoolean(optional, variable, name) { argument 129 function variableTypeString(optional, variable, name) { argument 137 function typeArrFunctionTwo(type, variable, name, optional) { argument 151 function typeArrFunctionOne(type, variable, name, optional) { argument 172 function unionTypeString(name, type, variable, optional) { argument 183 function mapTypeString(type, name, optional) { argument [all …]
|
| /napi_generator/test/storytest/test_array_map/ |
| D | test.js | 22 let ret = fun1([{"age":"a"}, {"name":"b"}]); property 28 let ret = fun2([{"age":1}, {"name":2}]); property 34 let ret = fun3([{"age":true}, {"name":false}]); property 40 let ret = fun8([{"age":"a"}, {"name":"b"}]); property 46 let ret = fun9([{"age":1}, {"name":2}]); property 52 let ret = fun10([{"age":true}, {"name":false}]); property
|
| /napi_generator/test/storytest/test_[]/ |
| D | test.js | 40 ['kkk', 'hhh'], [{ 'name': 'kkk', 'age': 18 }, property 41 { 'name': 'kkk', 'age': 18 }]); property 48 [{ 'name': 'kkk', 'age': 18 }, { 'name': 'kkk', 'age': 18 }]); property 55 [{ 'name': 'kkk', 'age': 18 }, { 'name': 'kkk', 'age': 18 }]); property
|
| /napi_generator/examples/napitutorials/entry/src/ohosTest/resources/base/element/ |
| D | string.json | 4 "name": "module_test_desc", string 8 "name": "TestAbility_desc", string 12 "name": "TestAbility_label", string
|
| /napi_generator/test/storytest/test_array/ |
| D | test.js | 109 [{ 'name': 'kkk', 'age': 18 }, { 'name': 'kkk', 'age': 18 }]); property 116 [{ 'name': 'kkk', 'age': 18 }, { 'name': 'kkk', 'age': 18 }]); property 123 [{ 'name': 'kkk', 'age': 18 }, { 'name': 'kkk', 'age': 18 }]); property 130 { 'name': ['aaa', 'bbb'], 'age': ['ccc', 'ddd'] }); property 137 { 'name': [125, 126], 'age': [145, 146] }); property 144 { 'name': [true, false], 'age': [false, true] }); property 150 let ret = test.fun11({ 'name': ['aaa', 'bbb'], 'age': ['ccc', 'ddd'] }); property 156 let ret = test.fun12({ 'name': [111, 222], 'age': [333, 444] }); property 162 let ret = test.fun13({ 'name': [true, true], 'age': [false, false] }); property
|
| /napi_generator/src/cli/dts2ets/appCodeGen/src/analyze/ |
| D | function.js | 61 name: valueName, property 134 name: interfaceName, property 139 name: interfaceName, property 184 name: interfaceName, property 189 name: interfaceName, property 203 'name': onObjCbType, property 209 function getFuncResult(name, funcType, values, ret, isStatic) { argument 211 name: name, property 232 function analyzeFunction(data, isStatic, name, values, ret, results, interfaceName = '') { argument 259 values.push({ name: 'promise', optional: false, type: paramType }); property
|
| D | enum.js | 51 name: elementName, property 60 name: elementName, property 70 name: elementName, property 79 name: elementName, property
|
| /napi_generator/src/cli/dts2cpp/src/gen/analyze/ |
| D | function.js | 61 name: valueName, property 136 name: interfaceName, property 141 name: interfaceName, property 186 name: interfaceName, property 191 name: interfaceName, property 205 'name': onObjCbType, property 211 function getFuncResult(name, funcType, values, ret, isStatic) { argument 213 name: name, property 234 function analyzeFunction(data, isStatic, name, values, ret, results, interfaceName = '') { argument 261 values.push({ name: 'promise', optional: false, type: paramType, realType: paramType }); property
|
| D | enum.js | 51 name: elementName, property 60 name: elementName, property 70 name: elementName, property 79 name: elementName, property
|
| /napi_generator/src/cli/h2dtscpp/src/src/tools/ |
| D | common.js | 24 InterfaceList.getValue = function (name) { argument 39 InterfaceList.getBody = function (name) { argument 57 TypeList.getValue = function (name) { argument
|
| /napi_generator/src/cli/dts2ets/appCodeGen/src/ |
| D | analyze.js | 112 name: namespaceName, property 126 name: interfaceName, property 141 name: functionName, property 155 name: exportName, property 169 name: exportName, property
|
| /napi_generator/src/cli/dts2cpp/src/gen/ |
| D | analyze.js | 113 name: namespaceName, property 127 name: interfaceName, property 142 name: functionName, property 156 name: exportName, property 170 name: exportName, property
|
| D | analyzeRaw.js | 115 name: namespaceName, property 129 name: interfaceName, property 144 name: functionName, property 158 name: exportName, property 172 name: exportName, property
|
| /napi_generator/test/storytest/test_interface/ |
| D | test.js | 34 let ret = tc.fun2([1, 2, 3], { name: 'haha', age: 20 }); property 49 let ret = tc.fun4({ 'name': 'haha', 'age': '20' }); property 52 ret = tc.fun4({ 'name': 'haha', 'age': '20' },'aaa'); property 64 [{ name: 'haha', age: 20 }, { name: 'houhou', age: 23 }]); property 93 let ret = tc.fun9({name: 'asa', age: 3}); property 175 a1: { 'name': 999, 'age': 20 }, property 184 a1: { 'name': 999, 'age': 20 }, property 185 b1: { 'name': 'ahah', 'age': '02' }, property
|
| /napi_generator/src/cli/dts2cpp/src/gen/tools/ |
| D | common.js | 78 InterfaceList.getValue = function (name) { argument 94 InterfaceList.getBody = function (name) { argument 112 CallFunctionList.getValue = function (name) { argument 150 TypeList.getValue = function (name) { argument 173 EnumList.getValue = function (name) { argument 355 function isRegisterFunc(name) { argument 364 function isUnRegisterFunc(name) { argument 373 function isOnObjCallback(name) { argument 392 function isOnOffRegisterFunc(name) { argument 401 function isCreateThreadsafeFunc(name) { argument
|
| /napi_generator/src/cli/dts2ets/appCodeGen/src/tools/ |
| D | common.js | 77 InterfaceList.getValue = function (name) { argument 93 InterfaceList.getBody = function (name) { argument 111 CallFunctionList.getValue = function (name) { argument 149 TypeList.getValue = function (name) { argument 172 EnumList.getValue = function (name) { argument 354 function isRegisterFunc(name) { argument 363 function isUnRegisterFunc(name) { argument 372 function isOnObjCallback(name) { argument 391 function isOnOffRegisterFunc(name) { argument 400 function isCreateThreadsafeFunc(name) { argument
|