Lines Matching refs:arr

248 	    var arr = new Uint8Array(1)
249 arr.foo = function () { return 42 }
250 arr.constructor = Bar
251 return arr.foo() === 42 && // typed array instances can be augmented
252 arr.constructor === Bar && // constructor can be set
253 typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
254 arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
662 function arrayIndexOf (arr, val, byteOffset) {
664 for (var i = 0; byteOffset + i < arr.length; i++) {
665 if (arr[byteOffset + i] === val[foundIndex === -1 ? 0 : i - foundIndex]) {
1530 Buffer._augment = function _augment (arr) {
1531 arr.constructor = Buffer
1532 arr._isBuffer = true
1535 arr._set = arr.set
1538 arr.get = BP.get
1539 arr.set = BP.set
1541 arr.write = BP.write
1542 arr.toString = BP.toString
1543 arr.toLocaleString = BP.toString
1544 arr.toJSON = BP.toJSON
1545 arr.equals = BP.equals
1546 arr.compare = BP.compare
1547 arr.indexOf = BP.indexOf
1548 arr.copy = BP.copy
1549 arr.slice = BP.slice
1550 arr.readUIntLE = BP.readUIntLE
1551 arr.readUIntBE = BP.readUIntBE
1552 arr.readUInt8 = BP.readUInt8
1553 arr.readUInt16LE = BP.readUInt16LE
1554 arr.readUInt16BE = BP.readUInt16BE
1555 arr.readUInt32LE = BP.readUInt32LE
1556 arr.readUInt32BE = BP.readUInt32BE
1557 arr.readIntLE = BP.readIntLE
1558 arr.readIntBE = BP.readIntBE
1559 arr.readInt8 = BP.readInt8
1560 arr.readInt16LE = BP.readInt16LE
1561 arr.readInt16BE = BP.readInt16BE
1562 arr.readInt32LE = BP.readInt32LE
1563 arr.readInt32BE = BP.readInt32BE
1564 arr.readFloatLE = BP.readFloatLE
1565 arr.readFloatBE = BP.readFloatBE
1566 arr.readDoubleLE = BP.readDoubleLE
1567 arr.readDoubleBE = BP.readDoubleBE
1568 arr.writeUInt8 = BP.writeUInt8
1569 arr.writeUIntLE = BP.writeUIntLE
1570 arr.writeUIntBE = BP.writeUIntBE
1571 arr.writeUInt16LE = BP.writeUInt16LE
1572 arr.writeUInt16BE = BP.writeUInt16BE
1573 arr.writeUInt32LE = BP.writeUInt32LE
1574 arr.writeUInt32BE = BP.writeUInt32BE
1575 arr.writeIntLE = BP.writeIntLE
1576 arr.writeIntBE = BP.writeIntBE
1577 arr.writeInt8 = BP.writeInt8
1578 arr.writeInt16LE = BP.writeInt16LE
1579 arr.writeInt16BE = BP.writeInt16BE
1580 arr.writeInt32LE = BP.writeInt32LE
1581 arr.writeInt32BE = BP.writeInt32BE
1582 arr.writeFloatLE = BP.writeFloatLE
1583 arr.writeFloatBE = BP.writeFloatBE
1584 arr.writeDoubleLE = BP.writeDoubleLE
1585 arr.writeDoubleBE = BP.writeDoubleBE
1586 arr.fill = BP.fill
1587 arr.inspect = BP.inspect
1588 arr.toArrayBuffer = BP.toArrayBuffer
1590 return arr
1776 var i, j, l, tmp, placeHolders, arr
1791 arr = new Arr(b64.length * 3 / 4 - placeHolders)
1799 arr[L++] = v
1818 return arr
18816 module.exports = Array.isArray || function (arr) {
18817 return Object.prototype.toString.call(arr) == '[object Array]';