HomeSort by relevance Sort by last modified time
    Searched defs:jspb (Results 1 - 10 of 10) sorted by null

  /external/protobuf/js/binary/
constants.js 33 * jspb.BinaryReader and BinaryWriter.
38 goog.provide('jspb.AnyFieldType');
39 goog.provide('jspb.BinaryConstants');
40 goog.provide('jspb.BinaryMessage');
41 goog.provide('jspb.BuilderFunction');
42 goog.provide('jspb.ByteSource');
43 goog.provide('jspb.ClonerFunction');
44 goog.provide('jspb.ComparerFunction');
45 goog.provide('jspb.ConstBinaryMessage');
46 goog.provide('jspb.PrunerFunction')
    [all...]
utils.js 32 * @fileoverview This file contains helper code used by jspb.BinaryReader
38 goog.provide('jspb.utils');
43 goog.require('jspb.BinaryConstants');
58 jspb.utils.split64Low = 0;
66 jspb.utils.split64High = 0;
74 jspb.utils.splitUint64 = function(value) {
78 jspb.BinaryConstants.TWO_TO_32) >>> 0;
80 jspb.utils.split64Low = lowBits;
81 jspb.utils.split64High = highBits;
90 jspb.utils.splitInt64 = function(value)
    [all...]
arith.js 32 * @fileoverview This file contains helper code used by jspb.utils to
40 goog.provide('jspb.arith.Int64');
41 goog.provide('jspb.arith.UInt64');
53 jspb.arith.UInt64 = function(lo, hi) {
70 * @param {!jspb.arith.UInt64} other
73 jspb.arith.UInt64.prototype.cmp = function(other) {
86 * @return {!jspb.arith.UInt64}
88 jspb.arith.UInt64.prototype.rightShift = function() {
91 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
97 * @return {!jspb.arith.UInt64
    [all...]
decoder.js 46 goog.provide('jspb.BinaryDecoder');
47 goog.provide('jspb.BinaryIterator');
50 goog.require('jspb.utils');
57 * @param {?jspb.BinaryDecoder=} opt_decoder
58 * @param {?function(this:jspb.BinaryDecoder):(number|boolean|string)=}
64 jspb.BinaryIterator = function(opt_decoder, opt_next, opt_elements) {
65 /** @private {jspb.BinaryDecoder} */
70 * @private {?function(this:jspb.BinaryDecoder):(number|boolean|string)}
91 * @param {?jspb.BinaryDecoder=} opt_decoder
92 * @param {?function(this:jspb.BinaryDecoder):(number|boolean|string)=
    [all...]
encoder.js 38 goog.provide('jspb.BinaryEncoder');
41 goog.require('jspb.BinaryConstants');
42 goog.require('jspb.utils');
53 jspb.BinaryEncoder = function() {
62 jspb.BinaryEncoder.prototype.length = function() {
70 jspb.BinaryEncoder.prototype.end = function() {
83 jspb.BinaryEncoder.prototype.writeSplitVarint64 = function(lowBits, highBits) {
87 (lowBits < jspb.BinaryConstants.TWO_TO_32));
89 (highBits < jspb.BinaryConstants.TWO_TO_32));
107 jspb.BinaryEncoder.prototype.writeUnsignedVarint32 = function(value)
    [all...]
reader.js 35 * jspb's BinaryReader class wraps the BinaryDecoder class to add methods
41 * using the typed jspb code generator, but if you bypass that you'll need
47 goog.provide('jspb.BinaryReader');
50 goog.require('jspb.BinaryConstants');
51 goog.require('jspb.BinaryDecoder');
59 * @param {jspb.ByteSource=} opt_bytes The bytes we're reading from.
66 jspb.BinaryReader = function(opt_bytes, opt_start, opt_length) {
69 * @private {!jspb.BinaryDecoder}
71 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length);
83 this.nextField_ = jspb.BinaryConstants.INVALID_FIELD_NUMBER
    [all...]
writer.js 36 * jspb's BinaryWriter class defines methods for efficiently encoding
42 * using the typed jspb code generator, but if you bypass that you'll need
58 goog.provide('jspb.BinaryWriter');
62 goog.require('jspb.BinaryConstants');
63 goog.require('jspb.BinaryEncoder');
64 goog.require('jspb.arith.Int64');
65 goog.require('jspb.arith.UInt64');
66 goog.require('jspb.utils');
77 jspb.BinaryWriter = function() {
97 * @private {!jspb.BinaryEncoder
    [all...]
  /external/protobuf/js/
test_bootstrap.js 40 'jspb.Message.GENERATE_FROM_OBJECT': true
message.js 32 * @fileoverview Definition of jspb.Message.
37 goog.provide('jspb.ExtensionFieldInfo');
38 goog.provide('jspb.Message');
83 * @param {?function(new: jspb.Message, Array=)} ctor
84 * @param {?function((boolean|undefined),!jspb.Message):!Object} toObjectFn
95 jspb.ExtensionFieldInfo = function(fieldNumber, fieldName, ctor, toObjectFn,
125 jspb.ExtensionFieldInfo.prototype.isMessageType = function() {
131 * Base class for all JsPb messages.
135 jspb.Message = function() {
147 goog.define('jspb.Message.GENERATE_TO_OBJECT', true)
    [all...]
debug.js 32 * @fileoverview Utilities to debug JSPB based proto objects.
35 goog.provide('jspb.debug');
40 goog.require('jspb.Message');
45 * console: {@code console.log(jspb.debug.dump(myProto))}.
48 * Use this in environments where {@see jspb.Message.prototype.toObject} is
50 * @param {jspb.Message} message A jspb.Message.
53 jspb.debug.dump = function(message) {
57 goog.asserts.assert(message instanceof jspb.Message,
58 'jspb.Message instance expected')
    [all...]

Completed in 3036 milliseconds