Searched refs:field_ptr (Results 1 – 2 of 2) sorted by relevance
365 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in SharedCtor() local373 new (field_ptr) TYPE(field->default_value_##TYPE()); \ in SharedCtor()375 new (field_ptr) RepeatedField<TYPE>(arena_); \ in SharedCtor()390 new (field_ptr) int(field->default_value_enum()->number()); in SharedCtor()392 new (field_ptr) RepeatedField<int>(arena_); in SharedCtor()410 ArenaStringPtr* asp = new (field_ptr) ArenaStringPtr(); in SharedCtor()413 new (field_ptr) RepeatedPtrField<std::string>(arena_); in SharedCtor()421 new (field_ptr) Message*(NULL); in SharedCtor()429 new (field_ptr) DynamicMapField( in SharedCtor()433 new (field_ptr) DynamicMapField( in SharedCtor()[all …]
163 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldI() local164 return field_ptr ? GetAnyValueI(field.type()->base_type(), field_ptr) in GetAnyFieldI()170 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldF() local171 return field_ptr ? GetAnyValueF(field.type()->base_type(), field_ptr) in GetAnyFieldF()181 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldS() local182 return field_ptr ? GetAnyValueS(field.type()->base_type(), field_ptr, schema, in GetAnyFieldS()286 auto field_ptr = table->GetAddressOf(field.offset()); in SetAnyFieldI() local287 if (!field_ptr) return val == GetFieldDefaultI<int64_t>(field); in SetAnyFieldI()288 SetAnyValueI(field.type()->base_type(), field_ptr, val); in SetAnyFieldI()295 auto field_ptr = table->GetAddressOf(field.offset()); in SetAnyFieldF() local[all …]