Lines Matching defs:const
2 const common = require('../common');
3 const assert = require('assert');
4 const cp = require('child_process');
15 const cmd =
27 const cmd =
37 const cmd = `"${process.execPath}" -e "console.log('hello world');"`;
38 const options = { maxBuffer: Infinity };
47 const cmd = 'echo hello world';
60 const cmd =
78 const cmd =
87 const unicode = '中文测试'; // length = 4, byte length = 12
90 const cmd = `"${process.execPath}" -e "console.log('${unicode}');"`;
102 const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`;
114 const cmd = `"${process.execPath}" -e "console.log('${unicode}');"`;
116 const child = cp.exec(
128 const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`;
130 const child = cp.exec(
142 const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`;
148 const buf = Buffer.from(unicode).slice(0, 5);