Lines Matching defs:const
24 const {
34 const { safeGetenv } = internalBinding('credentials');
35 const constants = internalBinding('constants').os;
36 const isWindows = process.platform === 'win32';
38 const {
44 const { validateInt32 } = require('internal/validators');
46 const {
65 const ctx = {};
66 const ret = fn(...args, ctx);
74 const {
81 const getHomeDirectory = getCheckedFunction(_getHomeDirectory);
82 const getHostname = getCheckedFunction(_getHostname);
83 const getInterfaceAddresses = getCheckedFunction(_getInterfaceAddresses);
84 const getUptime = getCheckedFunction(_getUptime);
89 const getOSRelease = () => release;
93 const getOSType = () => type;
97 const getOSVersion = () => version;
101 const getMachine = () => machine;
114 const kEndianness = isBigEndian ? 'BE' : 'LE';
116 const avgValues = new Float64Array(3);
143 const data = getCPUs() || [];
144 const result = [];
241 const part = StringPrototypeSlice(netmask, lastPos, i);
249 const binary = NumberParseInt(part, range);
250 const binaryOnes = countBinaryOnes(binary);
277 const data = getInterfaceAddresses();
278 const result = {};
283 const name = data[i];
284 const entry = {
292 const scopeid = data[i + 6];
296 const existing = result[name];
320 const ctx = {};
336 const ctx = {};
337 const priority = _getPriority(pid, ctx);
361 const ctx = {};
362 const user = getUserInfo(options, ctx);