Lines Matching refs:that

302 	function fromNumber (that, length) {
303 that = allocate(that, length < 0 ? 0 : checked(length) | 0)
306 that[i] = 0
309 return that
312 function fromString (that, string, encoding) {
317 that = allocate(that, length)
319 that.write(string, encoding)
320 return that
323 function fromObject (that, object) {
324 if (Buffer.isBuffer(object)) return fromBuffer(that, object)
326 if (isArray(object)) return fromArray(that, object)
334 return fromTypedArray(that, object)
337 return fromArrayBuffer(that, object)
341 if (object.length) return fromArrayLike(that, object)
343 return fromJsonObject(that, object)
346 function fromBuffer (that, buffer) {
348 that = allocate(that, length)
349 buffer.copy(that, 0, 0, length)
350 return that
353 function fromArray (that, array) {
355 that = allocate(that, length)
357 that[i] = array[i] & 255
359 return that
363 function fromTypedArray (that, array) {
365 that = allocate(that, length)
370 that[i] = array[i] & 255
372 return that
375 function fromArrayBuffer (that, array) {
379 that = Buffer._augment(new Uint8Array(array))
382 that = fromTypedArray(that, new Uint8Array(array))
384 return that
387 function fromArrayLike (that, array) {
389 that = allocate(that, length)
391 that[i] = array[i] & 255
393 return that
398 function fromJsonObject (that, object) {
406 that = allocate(that, length)
409 that[i] = array[i] & 255
411 return that
414 function allocate (that, length) {
417 that = Buffer._augment(new Uint8Array(length))
420 that.length = length
421 that._isBuffer = true
425 if (fromPool) that.parent = rootParent
427 return that
66105 var that = this;
66119 var img = that.imageDictionary[src];