Lines Matching refs:val

7035   isUndefined: function isUndefined(val) {
7036 return toString.call(val) === '[object Undefined]';
7038 isObject: function isObject(val) {
7039 return toString.call(val) === '[object Object]';
7047 function assignValue(val, key) {
7049 copyIsArray = Array.isArray(val);
7051 if (_.isObject(val) || copyIsArray) {
7059 target[key] = _.deepMerge(clone, val);
7060 } else if (!_.isUndefined(val)) {
7061 target[key] = val;
14921 val: model.value
14929 value: BaseXform.toFloatValue(node.attributes.val)
23220 this.model = node.attributes.val || true;
23244 val: 'double'
23247 val: 'singleAccounting'
23250 val: 'doubleAccounting'
27659 var val = row[i]; // eslint-disable-next-line no-param-reassign
27661 if (lodash_isundefined_1.default(val)) {
27664 rowMap[header] = val;
28280 Node.prototype.def = function def(val) {
28283 state['default'] = val;
29443 function assert(val, msg) {
29444 if (!val) throw new Error(msg || 'Assertion failed');
30247 BN.prototype.setn = function setn(bit, val) {
30254 if (val) {
33032 function assert(val, msg) {
33033 if (!val) throw new Error(msg || 'Assertion failed');
33931 BN.prototype.setn = function setn(bit, val) {
33938 if (val) {
39433 function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) {
39463 if (typeof val === 'string') {
39464 val = Buffer.from(val, encoding);
39468 if (Buffer.isBuffer(val)) {
39470 if (val.length === 0) {
39474 return arrayIndexOf(buffer, val, byteOffset, encoding, dir);
39475 } else if (typeof val === 'number') {
39476 val = val & 0xFF; // Search for a byte value [0-255]
39480 return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset);
39482 return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset);
39486 return arrayIndexOf(buffer, [val], byteOffset, encoding, dir);
39492 function arrayIndexOf(arr, val, byteOffset, encoding, dir) {
39495 var valLength = val.length;
39501 if (arr.length < 2 || val.length < 2) {
39526 if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
39541 if (read(arr, i + j) !== read(val, j)) {
39554 Buffer.prototype.includes = function includes(val, byteOffset, encoding) {
39555 return this.indexOf(val, byteOffset, encoding) !== -1;
39558 Buffer.prototype.indexOf = function indexOf(val, byteOffset, encoding) {
39559 return bidirectionalIndexOf(this, val, byteOffset, encoding, true);
39562 Buffer.prototype.lastIndexOf = function lastIndexOf(val, byteOffset, encoding) {
39563 return bidirectionalIndexOf(this, val, byteOffset, encoding, false);
39889 var val = this[offset];
39894 val += this[offset + i] * mul;
39897 return val;
39908 var val = this[offset + --byteLength];
39912 val += this[offset + --byteLength] * mul;
39915 return val;
39952 var val = this[offset];
39957 val += this[offset + i] * mul;
39961 if (val >= mul) val -= Math.pow(2, 8 * byteLength);
39962 return val;
39971 var val = this[offset + --i];
39974 val += this[offset + --i] * mul;
39978 if (val >= mul) val -= Math.pow(2, 8 * byteLength);
39979 return val;
39992 var val = this[offset] | this[offset + 1] << 8;
39993 return val & 0x8000 ? val | 0xFFFF0000 : val;
39999 var val = this[offset + 1] | this[offset] << 8;
40000 return val & 0x8000 ? val | 0xFFFF0000 : val;
40326 Buffer.prototype.fill = function fill(val, start, end, encoding) {
40328 if (typeof val === 'string') {
40346 if (val.length === 1) {
40347 var code = val.charCodeAt(0);
40351 val = code;
40354 } else if (typeof val === 'number') {
40355 val = val & 255;
40369 if (!val) val = 0;
40372 if (typeof val === 'number') {
40374 this[i] = val;
40377 var bytes = Buffer.isBuffer(val) ? val : Buffer.from(val, encoding);
40381 throw new TypeError('The value "' + val + '" is invalid for argument "value"');
42479 var fn, val;
42480 …TRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
42481 if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
42482 …TRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
47916 var val = 0;
47919 val <<= 8;
47920 val |= buf[off];
47921 val >>>= 0;
47925 if (val <= 0x7f) {
47930 return val;
48183 EDDSA.prototype.isPoint = function isPoint(val) {
48184 return val instanceof this.pointClass;
49234 function throwIfNotStringOrBuffer(val, prefix) {
49235 if (!Buffer.isBuffer(val) && typeof val !== 'string') {
61683 function assert(val, msg) {
61684 if (!val) throw new Error(msg || 'Assertion failed');
64735 var beg, val; // for gzip header write only
64886 val = 1;
64893 val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
64895 val = 0;
64898 put_byte(s, val);
64899 } while (val !== 0);
64905 if (val === 0) {
64932 val = 1;
64939 val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;
64941 val = 0;
64944 put_byte(s, val);
64945 } while (val !== 0);
64951 if (val === 0) {
81799 var val = global.localStorage[name];
81800 if (null == val) return false;
81801 return String(val).toLowerCase() === 'true';
82062 array.forEach(function (val, idx) {
82063 hash[val] = true;