Searched refs:field_ptr (Results 1 – 2 of 2) sorted by relevance
349 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in SharedCtor() local357 new(field_ptr) TYPE(field->default_value_##TYPE()); \ in SharedCtor()359 new(field_ptr) RepeatedField<TYPE>(); \ in SharedCtor()374 new(field_ptr) int(field->default_value_enum()->number()); in SharedCtor()376 new(field_ptr) RepeatedField<int>(); in SharedCtor()394 ArenaStringPtr* asp = new(field_ptr) ArenaStringPtr(); in SharedCtor()397 new(field_ptr) RepeatedPtrField<string>(); in SharedCtor()405 new(field_ptr) Message*(NULL); in SharedCtor()408 new (field_ptr) DynamicMapField( in SharedCtor()411 new (field_ptr) RepeatedPtrField<Message>(); in SharedCtor()[all …]
162 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldI() local163 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()182 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldS() local183 return field_ptr ? GetAnyValueS(field.type()->base_type(), field_ptr, schema, in GetAnyFieldS()292 auto field_ptr = table->GetAddressOf(field.offset()); in SetAnyFieldI() local293 if (!field_ptr) return val == GetFieldDefaultI<int64_t>(field); in SetAnyFieldI()294 SetAnyValueI(field.type()->base_type(), field_ptr, val); in SetAnyFieldI()301 auto field_ptr = table->GetAddressOf(field.offset()); in SetAnyFieldF() local[all …]