Lines Matching refs:fieldInfo
117 jspb.ExtensionFieldBinaryInfo = function(fieldInfo, binaryReaderFn, binaryWriterFn, argument
120 this.fieldInfo = fieldInfo;
542 var fieldInfo = extensions[fieldNumber];
543 var value = getExtensionFn.call(proto, fieldInfo);
545 for (var name in fieldInfo.fieldName) {
546 if (fieldInfo.fieldName.hasOwnProperty(name)) {
550 if (!fieldInfo.toObjectFn) {
553 if (fieldInfo.isRepeated) {
556 fieldInfo.toObjectFn, opt_includeInstance);
558 obj[name] = fieldInfo.toObjectFn(
579 var fieldInfo = binaryFieldInfo.fieldInfo;
588 var value = getExtensionFn.call(proto, fieldInfo);
590 if (fieldInfo.isMessageType()) {
598 binaryFieldInfo.binaryWriterFn.call(writer, fieldInfo.fieldIndex,
607 writer, fieldInfo.fieldIndex, value);
630 var fieldInfo = binaryFieldInfo.fieldInfo;
637 if (fieldInfo.isMessageType()) {
638 value = new fieldInfo.ctor();
646 if (fieldInfo.isRepeated && !binaryFieldInfo.isPacked) {
647 var currentList = getExtensionFn.call(msg, fieldInfo);
649 setExtensionFn.call(msg, fieldInfo, [value]);
654 setExtensionFn.call(msg, fieldInfo, value);
1438 jspb.Message.prototype.getExtension = function(fieldInfo) { argument
1445 var fieldNumber = fieldInfo.fieldIndex;
1446 if (fieldInfo.isRepeated) {
1447 if (fieldInfo.isMessageType()) {
1452 return new fieldInfo.ctor(arr);
1460 if (fieldInfo.isMessageType()) {
1462 this.wrappers_[fieldNumber] = new fieldInfo.ctor(
1483 jspb.Message.prototype.setExtension = function(fieldInfo, value) { argument
1491 var fieldNumber = fieldInfo.fieldIndex;
1492 if (fieldInfo.isRepeated) {
1494 if (fieldInfo.isMessageType()) {
1504 if (fieldInfo.isMessageType()) {