Home
last modified time | relevance | path

Searched refs:MAX_FIELD_NUMBER (Results 1 – 7 of 7) sorted by relevance

/external/cronet/third_party/protobuf/js/experimental/runtime/internal/
Dchecks.js38 const MAX_FIELD_NUMBER = Math.pow(2, 29) - 1; constant
290 if (fieldNumber <= 0 || fieldNumber > MAX_FIELD_NUMBER) {
706 MAX_FIELD_NUMBER, property
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_test.js17 const {CHECK_BOUNDS, CHECK_CRITICAL_STATE, CHECK_CRITICAL_TYPE, CHECK_TYPE, MAX_FIELD_NUMBER} = goo…
36 expect(accessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toBe(true);
37 accessor.setBool(MAX_FIELD_NUMBER, false);
162 accessor.setBool(MAX_FIELD_NUMBER, true);
164 accessor.clearField(MAX_FIELD_NUMBER);
166 expect(accessor.hasFieldNumber(MAX_FIELD_NUMBER)).toEqual(false);
167 expect(accessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toEqual(false);
175 accessor.setBool(MAX_FIELD_NUMBER, true);
178 expect(clonedAccessor.getBoolWithDefault(MAX_FIELD_NUMBER)).toEqual(true);
181 accessor.setBool(MAX_FIELD_NUMBER, false);
[all …]
Dwriter_test.js16 const {CHECK_BOUNDS, CHECK_TYPE, MAX_FIELD_NUMBER} = goog.require('protobuf.internal.checks');
87 expect(() => writer.writeTag(MAX_FIELD_NUMBER + 1, WireType.VARINT))
94 writer.writeTag(MAX_FIELD_NUMBER + 1, WireType.VARINT);
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py164 MAX_FIELD_NUMBER = (2 ** 29) - 1 variable
1206 if not isinstance(number, int) or not 1 <= number <= MAX_FIELD_NUMBER:
1210 (number, MAX_FIELD_NUMBER))
Dmessages_test.py548 messages.MAX_FIELD_NUMBER + 1)
/external/cronet/third_party/protobuf/python/google/protobuf/
Ddescriptor.py543 MAX_FIELD_NUMBER = (1 << 29) - 1 variable in FieldDescriptor
/external/protobuf/python/google/protobuf/
Ddescriptor.py547 MAX_FIELD_NUMBER = (1 << 29) - 1 variable in FieldDescriptor