Home
last modified time | relevance | path

Searched refs:has_bit_index (Results 1 – 12 of 12) sorted by relevance

/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc273 void FieldGenerator::SetHasBitIndex(int32_t has_bit_index) { in SetHasBitIndex() argument
275 GOOGLE_CHECK_EQ(has_bit_index, -1); in SetHasBitIndex()
279 variables_["has_bits"], "[", has_bit_index / 32, "] |= 0x", in SetHasBitIndex()
280 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
282 variables_["has_bits"], "[", has_bit_index / 32, "] &= ~0x", in SetHasBitIndex()
283 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
Dcpp_message.cc108 int has_bit_index = has_bit_indices[field->index()]; in PrintPresenceCheck() local
109 if (*cached_has_word_index != (has_bit_index / 32)) { in PrintPresenceCheck()
110 *cached_has_word_index = (has_bit_index / 32); in PrintPresenceCheck()
114 StrCat(strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in PrintPresenceCheck()
1074 int has_bit_index = HasBitIndex(field); in GenerateSingularFieldHasBits() local
1075 GOOGLE_CHECK_NE(has_bit_index, kNoHasbit); in GenerateSingularFieldHasBits()
1077 format.Set("has_array_index", has_bit_index / 32); in GenerateSingularFieldHasBits()
1079 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateSingularFieldHasBits()
1210 int has_bit_index = HasBitIndex(field); in GenerateFieldClear() local
1211 format.Set("has_array_index", has_bit_index / 32); in GenerateFieldClear()
[all …]
Dcpp_field.h193 void SetHasBitIndex(int32_t has_bit_index);
/external/protobuf/src/google/protobuf/compiler/cpp/
Dfield.cc269 void FieldGenerator::SetHasBitIndex(int32_t has_bit_index) { in SetHasBitIndex() argument
271 GOOGLE_CHECK_EQ(has_bit_index, -1); in SetHasBitIndex()
275 variables_["has_bits"], "[", has_bit_index / 32, "] |= 0x", in SetHasBitIndex()
276 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
278 variables_["has_bits"], "[", has_bit_index / 32, "] &= ~0x", in SetHasBitIndex()
279 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
Dmessage.cc109 int has_bit_index = has_bit_indices[field->index()]; in PrintPresenceCheck() local
110 if (*cached_has_word_index != (has_bit_index / 32)) { in PrintPresenceCheck()
111 *cached_has_word_index = (has_bit_index / 32); in PrintPresenceCheck()
115 StrCat(strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in PrintPresenceCheck()
1071 int has_bit_index = HasBitIndex(field); in GenerateSingularFieldHasBits() local
1072 GOOGLE_CHECK_NE(has_bit_index, kNoHasbit); in GenerateSingularFieldHasBits()
1074 format.Set("has_array_index", has_bit_index / 32); in GenerateSingularFieldHasBits()
1076 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateSingularFieldHasBits()
1210 int has_bit_index = HasBitIndex(field); in GenerateFieldClear() local
1211 format.Set("has_array_index", has_bit_index / 32); in GenerateFieldClear()
[all …]
Dfield.h218 void SetHasBitIndex(int32_t has_bit_index);
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum_field.cc254 const Params& params, int has_bit_index) in AccessorEnumFieldGenerator() argument
258 SetBitOperationVariables("has", has_bit_index, &variables_); in AccessorEnumFieldGenerator()
Djavanano_enum_field.h74 const Params& params, int has_bit_index);
Djavanano_primitive_field.h76 const Params &params, int has_bit_index);
Djavanano_primitive_field.cc507 const Params& params, int has_bit_index) in AccessorPrimitiveFieldGenerator() argument
510 SetBitOperationVariables("has", has_bit_index, &variables_); in AccessorPrimitiveFieldGenerator()
/external/cronet/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc1474 bool IsIndexInHasBitSet(const uint32_t* has_bit_set, uint32_t has_bit_index) { in Swap() argument
1475 GOOGLE_DCHECK_NE(has_bit_index, ~0u); in Swap()
1476 return ((has_bit_set[has_bit_index / 32] >> (has_bit_index % 32)) & in Swap()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc1478 bool IsIndexInHasBitSet(const uint32_t* has_bit_set, uint32_t has_bit_index) { in Swap() argument
1479 GOOGLE_DCHECK_NE(has_bit_index, ~0u); in Swap()
1480 return ((has_bit_set[has_bit_index / 32] >> (has_bit_index % 32)) & in Swap()