• Home
  • Raw
  • Download

Lines Matching refs:encoder

356     var encoder = this.createAndEncodeEncoder(cls.encodedSize);
357 cls.encode(encoder, val);
373 var encoder = this.createAndEncodeEncoder(encodedSize);
374 encoder.encodeArray(cls, val, numberOfElements, encodedSize);
388 var encoder = this.createAndEncodeEncoder(encodedSize);
389 encoder.encodeString(val);
416 var encoder = this.createAndEncodeEncoder(encodedSize);
417 encoder.encodeMap(keyClass, valueClass, val);
473 var encoder = this.createEncoder(kMessageHeaderSize);
474 encoder.writeUint32(kMessageHeaderSize);
475 encoder.writeUint32(0); // version.
476 encoder.writeUint32(0); // interface ID.
477 encoder.writeUint32(messageName);
478 encoder.writeUint32(0); // flags.
479 encoder.writeUint32(0); // padding.
498 this.encoder = null;
511 var encoder = this.createEncoder(kMessageWithRequestIDHeaderSize);
512 encoder.writeUint32(kMessageWithRequestIDHeaderSize);
513 encoder.writeUint32(1); // version.
514 encoder.writeUint32(0); // interface ID.
515 encoder.writeUint32(messageName);
516 encoder.writeUint32(flags);
517 encoder.writeUint32(0); // padding.
518 encoder.writeUint64(requestID);
567 Int8.encode = function(encoder, val) { argument
568 encoder.writeInt8(val);
571 Uint8.encode = function(encoder, val) { argument
572 encoder.writeUint8(val);
584 Uint8.encode = function(encoder, val) {
585 encoder.writeUint8(val);
597 Int16.encode = function(encoder, val) { argument
598 encoder.writeInt16(val);
610 Uint16.encode = function(encoder, val) { argument
611 encoder.writeUint16(val);
623 Int32.encode = function(encoder, val) { argument
624 encoder.writeInt32(val);
636 Uint32.encode = function(encoder, val) { argument
637 encoder.writeUint32(val);
649 Int64.encode = function(encoder, val) { argument
650 encoder.writeInt64(val);
662 Uint64.encode = function(encoder, val) { argument
663 encoder.writeUint64(val);
675 String.encode = function(encoder, val) { argument
676 encoder.encodeStringPointer(val);
697 Float.encode = function(encoder, val) { argument
698 encoder.writeFloat(val);
710 Double.encode = function(encoder, val) { argument
711 encoder.writeDouble(val);
728 PointerTo.prototype.encode = function(encoder, val) { argument
730 encoder.encodePointer(val);
733 var objectEncoder = encoder.createAndEncodeEncoder(this.cls.encodedSize);
759 ArrayOf.prototype.encode = function(encoder, val) { argument
760 encoder.encodeArrayPointer(this.cls, val);
778 Handle.encode = function(encoder, val) { argument
779 encoder.encodeHandle(val);
804 Interface.encode = function(encoder, val) { argument
805 encoder.encodeHandle(val);
807 encoder.writeUint32(0);
830 MapOf.prototype.encode = function(encoder, val) { argument
831 encoder.encodeMapPointer(this.keyClass, this.valueClass, val);