Home
last modified time | relevance | path

Searched refs:field_ptr (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc392 void* field_ptr = OffsetToPointer(type_info_->offsets[i]); in SharedCtor() local
400 new (field_ptr) TYPE(field->default_value_##TYPE()); \ in SharedCtor()
402 new (field_ptr) RepeatedField<TYPE>(GetArena()); \ in SharedCtor()
417 new (field_ptr) int(field->default_value_enum()->number()); in SharedCtor()
419 new (field_ptr) RepeatedField<int>(GetArena()); in SharedCtor()
437 ArenaStringPtr* asp = new (field_ptr) ArenaStringPtr(); in SharedCtor()
440 new (field_ptr) RepeatedPtrField<std::string>(GetArena()); in SharedCtor()
448 new (field_ptr) Message*(NULL); in SharedCtor()
456 new (field_ptr) DynamicMapField( in SharedCtor()
460 new (field_ptr) DynamicMapField( in SharedCtor()
[all …]
/third_party/flatbuffers/include/flatbuffers/
Dreflection.h188 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldI() local
189 return field_ptr ? GetAnyValueI(field.type()->base_type(), field_ptr) in GetAnyFieldI()
195 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldF() local
196 return field_ptr ? GetAnyValueF(field.type()->base_type(), field_ptr) in GetAnyFieldF()
206 auto field_ptr = table.GetAddressOf(field.offset()); in GetAnyFieldS() local
207 return field_ptr ? GetAnyValueS(field.type()->base_type(), field_ptr, schema, in GetAnyFieldS()
311 auto field_ptr = table->GetAddressOf(field.offset()); in SetAnyFieldI() local
312 if (!field_ptr) return val == GetFieldDefaultI<int64_t>(field); in SetAnyFieldI()
313 SetAnyValueI(field.type()->base_type(), field_ptr, val); in SetAnyFieldI()
320 auto field_ptr = table->GetAddressOf(field.offset()); in SetAnyFieldF() local
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc243 std::shared_ptr<std::string> field_ptr; in CreateDatabase() local
250 RETURN_IF_NOT_OK(GenerateFieldName(field, &field_ptr)); in CreateDatabase()
251 sql += ",INC_" + std::to_string(field_no++) + " INT, " + *field_ptr + " " + type; in CreateDatabase()