Searched refs:MAX_FIELD_NUMBER (Results 1 – 7 of 7) sorted by relevance
/external/cronet/third_party/protobuf/js/experimental/runtime/internal/ |
D | checks.js | 38 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/ |
D | kernel_test.js | 17 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 …]
|
D | writer_test.js | 16 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/ |
D | messages.py | 164 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))
|
D | messages_test.py | 548 messages.MAX_FIELD_NUMBER + 1)
|
/external/cronet/third_party/protobuf/python/google/protobuf/ |
D | descriptor.py | 543 MAX_FIELD_NUMBER = (1 << 29) - 1 variable in FieldDescriptor
|
/external/protobuf/python/google/protobuf/ |
D | descriptor.py | 547 MAX_FIELD_NUMBER = (1 << 29) - 1 variable in FieldDescriptor
|