/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_field.cc | 93 void FieldGenerator::SetHasBitIndex(int32 has_bit_index) { in SetHasBitIndex() argument 94 if (!HasFieldPresence(descriptor_->file()) || has_bit_index == -1) { in SetHasBitIndex() 98 "_has_bits_[", has_bit_index / 32, "] |= 0x", in SetHasBitIndex() 99 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex() 101 "_has_bits_[", has_bit_index / 32, "] &= ~0x", in SetHasBitIndex() 102 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
|
D | cpp_message.cc | 89 int has_bit_index = has_bit_indices[field->index()]; in PrintPresenceCheck() local 90 if (*cached_has_bit_index != (has_bit_index / 32)) { in PrintPresenceCheck() 91 *cached_has_bit_index = (has_bit_index / 32); in PrintPresenceCheck() 95 StrCat(strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in PrintPresenceCheck() 795 int has_bit_index = has_bit_indices_[field->index()]; in GenerateSingularFieldHasBits() local 796 GOOGLE_CHECK_GE(has_bit_index, 0); in GenerateSingularFieldHasBits() 798 format.Set("has_array_index", has_bit_index / 32); in GenerateSingularFieldHasBits() 800 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateSingularFieldHasBits() 880 int has_bit_index = has_bit_indices_[field->index()]; in GenerateFieldClear() local 881 GOOGLE_CHECK_GE(has_bit_index, 0); in GenerateFieldClear() [all …]
|
D | cpp_field.h | 202 void SetHasBitIndex(int32 has_bit_index);
|
/external/protobuf/src/google/protobuf/ |
D | generated_message_table_driven_lite.h | 127 inline void SetBit(uint32* has_bits, uint32 has_bit_index) { in SetBit() argument 130 uint32 mask = static_cast<uint32>(1u) << (has_bit_index % 32); in SetBit() 131 has_bits[has_bit_index / 32u] |= mask; in SetBit() 136 uint32 has_bit_index, int64 offset) { in MutableField() argument 137 SetBit(has_bits, has_bit_index); in MutableField() 142 inline void SetField(MessageLite* msg, uint32* has_bits, uint32 has_bit_index, in SetField() argument 146 *MutableField<Type>(msg, has_bits, has_bit_index, offset) = value; in SetField() 228 uint32 has_bit_index, int64 offset, in HandleString() argument 244 s = MutableField<InlinedStringField>(msg, has_bits, has_bit_index, in HandleString() 266 msg, has_bits, has_bit_index, offset); in HandleString()
|
D | generated_message_reflection.cc | 1018 bool IsIndexInHasBitSet(const uint32* has_bit_set, uint32 has_bit_index) { in IsIndexInHasBitSet() argument 1019 GOOGLE_DCHECK_NE(has_bit_index, ~0u); in IsIndexInHasBitSet() 1020 return ((has_bit_set[has_bit_index / 32] >> (has_bit_index % 32)) & in IsIndexInHasBitSet()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum_field.cc | 254 const Params& params, int has_bit_index) in AccessorEnumFieldGenerator() argument 258 SetBitOperationVariables("has", has_bit_index, &variables_); in AccessorEnumFieldGenerator()
|
D | javanano_enum_field.h | 74 const Params& params, int has_bit_index);
|
D | javanano_primitive_field.h | 76 const Params ¶ms, int has_bit_index);
|
D | javanano_primitive_field.cc | 507 const Params& params, int has_bit_index) in AccessorPrimitiveFieldGenerator() argument 510 SetBitOperationVariables("has", has_bit_index, &variables_); in AccessorPrimitiveFieldGenerator()
|