Searched refs:presenceMask (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldInfo.java | 46 private final int presenceMask; field in FieldInfo 186 int presenceMask, in forProto2OptionalField() argument 193 if (presenceField != null && !isExactlyOneBitSet(presenceMask)) { in forProto2OptionalField() 195 "presenceMask must have exactly one bit set: " + presenceMask); in forProto2OptionalField() 203 presenceMask, in forProto2OptionalField() 271 int presenceMask, in forProto2RequiredField() argument 278 if (presenceField != null && !isExactlyOneBitSet(presenceMask)) { in forProto2RequiredField() 280 "presenceMask must have exactly one bit set: " + presenceMask); in forProto2RequiredField() 288 presenceMask, in forProto2RequiredField() 325 int presenceMask, in FieldInfo() argument [all …]
|
D | MessageSchema.java | 1427 int presenceMask = 0; in getSerializedSizeProto2() local 1431 presenceMask = 1 << (presenceMaskAndOffset >>> OFFSET_BITS); in getSerializedSizeProto2() 1446 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1451 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1456 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1461 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1466 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1471 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1476 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() 1481 if ((currentPresenceField & presenceMask) != 0) { in getSerializedSizeProto2() [all …]
|
D | DescriptorMessageInfoFactory.java | 270 int presenceMask = 1; in convertProto2() local 357 field, number, type, bitField, presenceMask, enforceUtf8, enumVerifier)); in convertProto2() 361 field, number, type, bitField, presenceMask, enforceUtf8, enumVerifier)); in convertProto2() 367 presenceMask <<= 1; in convertProto2() 368 if (presenceMask == 0) { in convertProto2() 370 presenceMask = 1; in convertProto2()
|