/napi_generator/src/tool/api/api_scan_vs_plugin/src/gen/tools/ |
H A D | VsPluginTool.js | 68 var out, i, len, c; 71 out = ''; 79 out += String.fromCharCode(c); 84 out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); 90 out += String.fromCharCode(((c & 0x0F) << 12) | 97 return out;
|
/napi_generator/examples/ |
H A D | napitest.cpp | 100 uint32_t& outErrCode, AUTO_INTERFACE_5& out) in sayHelloWithResponse() 105 out.errMsg = ""; in sayHelloWithResponse() 106 out.response = "rec hello."; in sayHelloWithResponse() 107 out.result = 0; in sayHelloWithResponse() 148 bool funcTest(bool& v, std::string& out) in funcTest() argument 151 out = "ret is true"; in funcTest() 153 out = "ret is false"; in funcTest() 99 sayHelloWithResponse(std::string& from, std::string& to, NUMBER_TYPE_11& sayType, uint32_t& outErrCode, AUTO_INTERFACE_5& out) sayHelloWithResponse() argument
|
/napi_generator/src/cli/dts2cpp/src/gen/tools/ |
H A D | FileRW.js | 18 var out, i, len, c; 21 out = ''; 29 out += String.fromCharCode(c); 34 out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); 40 out += String.fromCharCode(((c & 0x0F) << 12) | 47 return out;
|
/napi_generator/src/cli/dts2ets/appCodeGen/src/tools/ |
H A D | FileRW.js | 18 var out, i, len, c; 21 out = ''; 29 out += String.fromCharCode(c); 34 out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); 40 out += String.fromCharCode(((c & 0x0F) << 12) | 47 return out;
|
/napi_generator/src/cli/h2dts/src/tsGen/tools/ |
H A D | FileRW.js | 18 var out, i, len, c; 21 out = ''; 29 out += String.fromCharCode(c); 34 out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); 40 out += String.fromCharCode(((c & 0x0F) << 12) | 47 return out;
|
/napi_generator/src/cli/h2sa/src/tools/ |
H A D | file_rw.js | 18 let out; 25 out = ''; 33 out += String.fromCharCode(c); 38 out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); 44 out += String.fromCharCode(((c & 0x0F) << 12) | 51 return out;
|
/napi_generator/src/cli/dts2ets/appCodeGen/src/ |
H A D | app_code_gen.js | 27 'out': { key: 'o', args: 1, description: 'output directory', default: '.' }, 40 NapiLog.init(ops.loglevel, path.join('' + ops.out, 'napi_gen.log')); 89 main.doGenerate(fileName, ops.out, funcConfig);
|
/napi_generator/src/cli/dts2cpp/src/gen/ |
H A D | cmd_gen.js | 28 'out': { key: 'o', args: 1, description: 'output directory', default: '.' }, 36 * "serviceCode":"out = codeTestFunc(v);"}] 43 NapiLog.init(ops.loglevel, path.join('' + ops.out, 'napi_gen.log')); 125 main.doGenerate(fileName, ops.out, imports, ops.numbertype, jsonConfig);
|
/napi_generator/src/cli/h2dts/src/tsGen/ |
H A D | cmd_gen.js | 26 'out': { key: 'o', args: 1, description: 'output directory', default: '.' }, 39 NapiLog.init(ops.loglevel, path.join('' + ops.out, 'napi_gen.log')); 108 tsMain.doGenerate(fileName, ops.out);
|
/napi_generator/src/cli/h2dtscpp/src/src/ |
H A D | main.js | 24 'out': { key: 'o', args: 1, description: 'out path', default: '' }, 29 let outPath = ops.out;
|
/napi_generator/src/cli/h2hdf/src/ |
H A D | main.js | 26 'out': { key: 'o', args: 1, description: 'output directory', default: '' }, 51 main.genDriverFramework(drivername, frameworkJson, version, ops.out);
|
H A D | generate.js | 19 * drivername:用户输入的驱动名,version: 版本号,frameworkJson: 模板内容,out:生成框架路径 22 function genDriverFramework(driverName, frameworkJson, version, out = '') { 23 let frameworkPath = pathJoin(out, driverName + 'hdf'); 50 // build.gn out/hdf/Peripheral/xxx/hal/BUILD.gn 56 // 日志文件路径 out/hdf/Peripheral/xxx/utils/interface/xxx_log.h 64 // out/hdf/Peripheral/xxx/bundle.json 73 // out/hdf/Peripheral/xxx/BUILD.gn 96 // out/hdf/Peripheral/xxx/hdi_service/xxx_interface_driver.cpp 106 // out/hdf/Peripheral/xxx/hdi_service/xxx_interface_service.cpp 116 // out/hd [all...] |
/napi_generator/src/cli/h2sa/src/gen/ |
H A D | main.js | 28 'out': { key: 'o', args: 1, description: 'output directory', default: '.' }, 34 NapiLog.init(ops.loglevel, path.join('' + ops.out, 'napi_gen.log')); 103 let servicePath = re.pathJoin(ops.out, rootInfo.serviceName.toLowerCase() + 'service');
|
/napi_generator/src/cli/dts2cpp/src/gen/generate/ |
H A D | return_generate.js | 22 const specialPrefixArr = ['p->', 'vio->out.']; 25 * Get the real value name by deleting prefix like "p->", "vio->out.", e.g. 26 * @param {*} valueName, example: p->xxx, vio->out.yyy 519 param.valueOut = returnInfo.optional ? 'std::map<std::string, %s>* out = nullptr;'.format(mapTypeString) 520 : 'std::map<std::string, %s> out;'.format(mapTypeString); 521 param.valueDefine += '%sstd::map<std::string, %s>%s out' 526 param.valueOut = `std::any out; 528 param.valueDefine += '%sstd::any &out'.format(param.valueDefine.length > 0 ? ', ' : ''); 532 param.valueOut = `std::map<std::string, std::any> out;\n`; 533 param.valueDefine += '%sstd::map<std::string, std::any> &out' [all...] |