Lines Matching refs:var
223 for(var key of params.keys()) {
229 for(var value of params.values()) {
251 for(var pair of searchParams.entries()) {
354 var convertml = new convertXml.ConvertXml();
358 var result = convertml.convert(xml, {compact: false, spaces: 4});
363 var arrayBuffer = new ArrayBuffer(1024);
364 var bufView = new DataView(arrayBuffer);
365 var thatSer = new xml.XmlSerializer(bufView);
369 var thatSer = new xml.XmlSerializer(bufView);
374 var thatSer = new xml.XmlSerializer(bufView);
379 var thatSer = new xml.XmlSerializer(bufView);
384 var thatSer = new xml.XmlSerializer(bufView);
393 var thatSer = new xml.XmlSerializer(bufView);
402 var thatSer = new xml.XmlSerializer(bufView);
407 var strXml =
412 var arrayBuffer = new ArrayBuffer(strXml.length*2);
413 var bufView = new Uint8Array(arrayBuffer);
414 var strLen = strXml.length;
415 for (var i = 0; i < strLen; ++i) {
418 var that = new xml.XmlPullParser(arrayBuffer);
423 var strXml =
428 var arrayBuffer = new ArrayBuffer(strXml.length*2);
429 var bufView = new Uint8Array(arrayBuffer);
430 var strLen = strXml.length;
431 for (var i = 0; i < strLen; ++i) {
434 var that = new xml.XmlPullParser(arrayBuffer);
435 var arrTag = {};
437 var i = 1;
443 var options = {supportDoctype:true, ignoreNameSpace:true, tokenValueCallbackFunction:func}
701 var textEncoder = new util.TextEncoder();
702 var getEncoding = textEncoder.encoding();
707 var textEncoder = new util.TextEncoder();
708 var result = textEncoder.encode('abc');
713 var textEncoder = new util.TextEncoder();
714 var obj = textEncoder.encodeInto('abc', dest);
719 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false});
724 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false});
725 var getEncoding = textDecoder.encoding();
730 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false});
731 var fatalStr = textDecoder.fatal();
736 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false});
737 var ignoreBom = textDecoder.ignoreBOM();
742 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false});
743 var result = textDecoder.decode(input, {stream : true});
748 var textDecoder = new util.textDecoder("utf-16be", {fatal : true, ignoreBOM : false});
749 var result = textDecoder.decodeWithStream(input, {stream : true});
754 var format = "%%%o%%%i%s";
755 var value = function aa(){};
756 var value1 = 1.5;
757 var value2 = "qwer";
758 var result = util.printf(format,value,value1,value2);
763 var errnum = 13;
764 var result = util.getErrorString(errnum);
772 var cb = util.callbackWrapper(promiseFn);
796 var that = new util.Base64();
797 var array = new Uint8Array([115,49,51]);
798 var result = that.encodeSync(array);
803 var that = new util.Base64();
804 var array = new Uint8Array([115,49,51]);
805 var result = that.encodeToStringSync(array);
810 var that = new util.Base64()
811 var buff = 'czEz';
812 var result = that.decodeSync(buff);
818 var that = new util.Base64()
819 var array = new Uint8Array([115,49,51]);
827 var that = new util.Base64()
828 var array = new Uint8Array([115,49,51]);
836 var that = new util.Base64()
837 var buff = 'czEz';
845 var pro = new util.RationalNumber(0, 0);
846 var res = pro.createRationalFromString("-1:2");
847 var result1 = res.valueOf();
852 var pro = new util.RationalNumber(2, 1);
853 var proc = new util.RationalNumber(3, 4);
854 var res = pro.compareTo(proc);
859 var pro = new util.RationalNumber(2, 1);
860 var proc = new util.RationalNumber(3, 4);
861 var res = pro.equals(proc);
866 var pro = new util.RationalNumber(2, 1);
867 var res = pro.valueOf();
872 var pro = new util.RationalNumber(0, 0);
873 var res = pro.getCommonDivisor(4, 8);
878 var pro = new util.RationalNumber(2, 1);
879 var res = pro.getDenominator();
884 var pro = new util.RationalNumber(-2, 1);
885 var res = pro.getNumerator();
890 var pro = new util.RationalNumber(-2, 1);
891 var res = pro.isFinite();
896 var pro = new util.RationalNumber(-2, 1);
897 var res = pro.isNaN();
902 var pro = new util.RationalNumber(-2, 1);
903 var res = pro.isZero();
908 var pro = new util.RationalNumber(-2, 1);
909 var res = pro.toString();
914 var pro = new util.LruBuffer();
915 var result = pro.updateCapacity(100);
920 var pro = new util.LruBuffer();
924 var result = pro.toString();
929 var pro = new util.LruBuffer();
933 var result = pro.values();
938 var pro = new util.LruBuffer();
941 var result = pro.length;
946 var pro = new util.LruBuffer();
947 var result = pro.getCapacity();
952 var pro = new util.LruBuffer();
959 var pro = new util.LruBuffer();
961 var result = pro.getCreateCount();
966 var pro = new util.LruBuffer();
969 var result = pro.getMissCount();
975 var pro = new util.LruBuffer();
979 var result = pro.getRemovalCount();
985 var pro = new util.LruBuffer();
988 var result = pro.getMatchCount();
993 var pro = new util.LruBuffer();
995 var result = pro.getPutCount();
1000 var pro = new util.LruBuffer();
1002 var result = pro.isEmpty();
1008 var pro = new util.LruBuffer();
1010 var result = pro.get(2);
1015 var pro = new util.LruBuffer();
1016 var result = pro.put(2,10);
1021 var pro = new util.LruBuffer();
1023 var result = pro.keys();
1028 var pro = new util.LruBuffer();
1030 var result = pro.remove(20);
1035 var pro = new util.LruBuffer();
1037 var result = pro.contains(20);
1042 var pro = new util.LruBuffer();
1043 var result = pro.createDefault(50);
1048 var pro = new util.LruBuffer();
1050 var result = pro.entries();
1055 var pro = new util.LruBuffer();
1057 var result = pro[symbol.iterator]();
1062 var arr = [ ];
1109 var tempLower = new Temperature(30);
1110 var tempUpper = new Temperature(40);
1111 var range = new Scope(tempLower, tempUpper);
1117 var tempLower = new Temperature(30);
1118 var tempUpper = new Temperature(40);
1119 var range = new Scope(tempLower, tempUpper);
1120 var result = range.toString() // => [30,40]
1126 var tempLower = new Temperature(30);
1127 var tempUpper = new Temperature(40);
1128 var range = new Scope(tempLower, tempUpper);
1129 var tempMiDF = new Temperature(35);
1130 var tempMidS = new Temperature(39);
1131 var rangeFir = new Scope(tempMiDF, tempMidS);
1132 var result = range.intersect(rangeFir) // => [35,39]
1138 var tempLower = new Temperature(30);
1139 var tempUpper = new Temperature(40);
1140 var tempMiDF = new Temperature(35);
1141 var tempMidS = new Temperature(39);
1142 var range = new Scope(tempLower, tempUpper);
1143 var result = range.intersect(tempMiDF, tempMidS) // => [35,39]
1149 var tempLower = new Temperature(30);
1150 var tempUpper = new Temperature(40);
1151 var range = new Scope(tempLower, tempUpper);
1152 var result = range.getUpper() // => 40
1158 var tempLower = new Temperature(30);
1159 var tempUpper = new Temperature(40);
1160 var range = new Scope(tempLower, tempUpper);
1161 var result = range.getLower() // => 30
1167 var tempLower = new Temperature(30);
1168 var tempUpper = new Temperature(40);
1169 var tempMiDF = new Temperature(35);
1170 var tempMidS = new Temperature(39);
1171 var range = new Scope(tempLower, tempUpper);
1172 var result = range.expand(tempMiDF, tempMidS) // => [30,40]
1178 var tempLower = new Temperature(30);
1179 var tempUpper = new Temperature(40);
1180 var tempMiDF = new Temperature(35);
1181 var tempMidS = new Temperature(39);
1182 var range = new Scope(tempLower, tempUpper);
1183 var rangeFir = new Scope(tempMiDF, tempMidS);
1184 var result = range.expand(rangeFir) // => [30,40]
1190 var tempLower = new Temperature(30);
1191 var tempUpper = new Temperature(40);
1192 var tempMiDF = new Temperature(35);
1193 var range = new Scope(tempLower, tempUpper);
1194 var result = range.expand(tempMiDF) // => [30,40]
1200 var tempLower = new Temperature(30);
1201 var tempUpper = new Temperature(40);
1202 var tempMiDF = new Temperature(35);
1203 var range = new Scope(tempLower, tempUpper);
1204 var result = range.contains(tempMiDF) // => true
1210 var tempLower = new Temperature(30);
1211 var tempUpper = new Temperature(40);
1212 var range = new Scope(tempLower, tempUpper);
1213 var tempLess = new Temperature(20);
1214 var tempMore = new Temperature(45);
1215 var rangeSec = new Scope(tempLess, tempMore);
1216 var result = range.contains(rangeSec) // => true
1222 var tempLower = new Temperature(30);
1223 var tempUpper = new Temperature(40);
1224 var tempMiDF = new Temperature(35);
1225 var range = new Scope(tempLower, tempUpper);
1226 var result = range.clamp(tempMiDF) // => 35
1231 var proc = new util.Types();
1232 var result = proc.isAnyArrayBuffer(new ArrayBuffer([]))
1237 var proc = new util.Types();
1238 var result = proc.isArrayBufferView(new DataView(new ArrayBuffer(16)));
1244 var result = proc.isArgumentsObject(arguments);
1246 var f = foo();
1251 var proc = new util.Types();
1252 var result = proc.isArrayBuffer(new ArrayBuffer([]));
1257 var proc = new util.Types();
1258 var result = proc.isAsyncFunction(async function foo() {});
1263 var proc = new util.Types();
1264 var result = proc.isBigInt64Array(new Int16Array([]));
1269 var proc = new util.Types();
1270 var result = proc.isBigUint64Array(new Int16Array([]));
1275 var proc = new util.Types();
1276 var result = proc.isBooleanObject(new Boolean(false));
1281 var proc = new util.Types();
1282 var result = proc.isBoxedPrimitive(new Boolean(false));
1287 var proc = new util.Types();
1289 var result = proc.isDataView(new DataView(ab));
1294 var proc = new util.Types();
1295 var result = proc.isDate(new Date());
1301 var reult13 = proc.isExternal(data);
1306 var proc = new util.Types();
1307 var result = proc.isFloat32Array(new Float32Array([]));
1312 var proc = new util.Types();
1313 var result = proc.isFloat64Array(new Float64Array([]));
1318 var proc = new util.Types();
1319 var result = proc.isGeneratorFunction(function* foo() {});
1324 var proc = new util.Types();
1327 var result = proc.isGeneratorObject(generator);
1332 var proc = new util.Types();
1333 var result = proc.isInt8Array(new Int8Array([]));
1338 var proc = new util.Types();
1339 var result = proc.isInt16Array(new Int16Array([]));
1344 var proc = new util.Types();
1345 var result = proc.isInt32Array(new Int32Array([]));
1350 var proc = new util.Types();
1351 var result = proc.isMap(new Map());
1356 var proc = new util.Types();
1357 var result = proc.isMapIterator(map.keys());
1362 var proc = new util.Types();
1363 var result = proc.isModuleNamespaceObject(util);
1368 var proc = new util.Types();
1369 var result = proc.isNativeError(new TypeError());
1374 var proc = new util.Types();
1375 var result = proc.isNumberObject(new Number(0));
1380 var proc = new util.Types();
1381 var result = proc.isPromise(Promise.resolve(42));
1386 var proc = new util.Types();
1389 var result = proc.isProxy(proxy);
1394 var proc = new util.Types();
1395 var result = proc.isRegExp(new RegExp('abc'));
1400 var proc = new util.Types();
1401 var result = proc.isSet(new Set());
1406 var proc = new util.Types();
1408 var result = proc.isSetIterator(set.keys());
1413 var proc = new util.Types();
1414 var result = proc.isSharedArrayBuffer(new ArrayBuffer([]));
1419 var proc = new util.Types();
1420 var result = proc.isStringObject(new String('foo'));
1425 var proc = new util.Types();
1427 var result = proc.isSymbolObject(Object(symbols));
1432 var proc = new util.Types();
1433 var result = proc.isTypedArray(new Float64Array([]));
1438 var proc = new util.Types();
1439 var result = proc.isUint8Array(new Uint8Array([]));
1444 var proc = new util.Types();
1445 var result = proc.isUint8ClampedArray(new Uint8ClampedArray([]));
1450 var proc = new util.Types();
1451 var result = proc.isUint16Array(new Uint16Array([]));
1456 var proc = new util.Types();
1457 var result = proc.isUint32Array(new Uint32Array([]));
1462 var proc = new util.Types();
1463 var result = proc.isWeakMap(new WeakMap());
1468 var proc = new util.Types();
1469 var result = proc.isWeakSet(new WeakSet());
1613 var res = Process.uid;
1619 var result = Process.gid;
1625 var and = Process.euid;
1631 var resb = Process.egid;
1637 var answer = Process.groups;
1643 var result = Process.pid;
1649 var result = Process.ppid;
1661 var num = Process.uptime();
1667 var ansu = Process.kill(5,23);
1680 var value = num + 5;
1695 var result = Process.cwd();
1702 var result = Process.off("add");
1708 var child = process.runCmd('echo abc')
1710 var child = process.runCmd('echo abc;', {killSignal : 'SIGKILL'});
1711 var child = process.runCmd('sleep 5; echo abc;', {timeout : 1, killSignal : 9, maxBuffer : 2})
1718 var child = process.runCmd('ls')
1719 var status = child.wait();
1728 var child = process.runCmd('echo bcd;');
1729 var res = child.getOutput();
1739 var child = process.runCmd('makdir 1.txt'); // execute an error command
1740 var res = child.getErrorOutput();
1750 var child = process.runCmd('ls; sleep 5s;')
1751 var result = child.close()
1757 var child = process.runCmd('ls; sleep 5s;')
1758 var result = child.kill('SIGHUP');
1760 var temp = child.killed;
1766 var child = process.runCmd('ls; sleep 5;')
1768 var killed_ = child.killed;
1775 var child = process.runCmd('ls; sleep 5;')
1778 var exitCode_ = child.exitCode;
1785 var child = process.runCmd('ls; sleep 5;')
1786 var pid_ = child.pid;
1794 var child = process.runCmd('ls; sleep 5;')
1795 var ppid_ = child.ppid;
1802 var ansu = Process.tid;
1808 var ansu = Process.isIsolatedProcess()();
1814 var ansu = Process.isAppUid(10000);
1820 var ansu = Process.is64Bit();
1826 var buf = "root";
1827 var ansu = Process.getUidForName(buf);
1833 var ansu = Process.getEnvironmentVar('USER');
1839 var ansu = Process.getAvailableCores();
1845 var result = Process.getTid();
1846 var ansu = getThreadPriority(result);
1852 var ansu = Process.getStartRealtime();
1858 var ansu = Process.getPastCputime();
1864 var _SC_ARG_MAX = 0;
1865 var ansu = Process.getSystemConfig(_SC_ARG_MAX)
1915 var c = new cat("ohos", 2, [6,8,7]);
1936 var languages = {
1979 var myVar = setInterval(callback, 1000);
1987 var myVar = setTimeout(callback, 1000);
2107 var buffer = new ArrayBuffer(8);