Lines Matching refs:reflection

340     const Reflection* reflection = message->GetReflection();  in ConsumeField()  local
362 : reflection->FindKnownExtensionByName(field_name)); in ConsumeField()
382 field = reflection->FindKnownExtensionByNumber(field_number); in ConsumeField()
443 if (!field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField()
451 if (oneof != NULL && reflection->HasOneof(*message, oneof)) { in ConsumeField()
453 reflection->GetOneofFieldDescriptor(*message, oneof); in ConsumeField()
475 DO(ConsumeFieldMessage(message, reflection, field)); in ConsumeField()
477 DO(ConsumeFieldValue(message, reflection, field)); in ConsumeField()
485 DO(ConsumeFieldMessage(message, reflection, field)); in ConsumeField()
487 DO(ConsumeFieldValue(message, reflection, field)); in ConsumeField()
544 const Reflection* reflection, in ConsumeFieldMessage() argument
563 DO(ConsumeMessage(reflection->AddMessage(message, field), delimeter)); in ConsumeFieldMessage()
565 DO(ConsumeMessage(reflection->MutableMessage(message, field), in ConsumeFieldMessage()
592 const Reflection* reflection, in ConsumeFieldValue() argument
600 reflection->Add##CPPTYPE(message, field, VALUE); \ in ConsumeFieldValue()
602 reflection->Set##CPPTYPE(message, field, VALUE); \ in ConsumeFieldValue()
1286 const Reflection* reflection, in PrintFieldName() argument
1420 const Reflection* reflection = message.GetReflection(); in Print() local
1422 reflection->ListFields(message, &fields); in Print()
1427 PrintField(message, reflection, fields[i], generator); in Print()
1430 PrintUnknownFields(reflection->GetUnknownFields(message), generator); in Print()
1450 const Reflection* reflection, in PrintField() argument
1457 PrintShortRepeatedField(message, reflection, field, generator); in PrintField()
1464 count = reflection->FieldSize(message, field); in PrintField()
1465 } else if (reflection->HasField(message, field)) { in PrintField()
1472 PrintFieldName(message, reflection, field, generator); in PrintField()
1479 ? reflection->GetRepeatedMessage(message, field, j) in PrintField()
1480 : reflection->GetMessage(message, field); in PrintField()
1493 PrintFieldValue(message, reflection, field, field_index, generator); in PrintField()
1505 const Reflection* reflection, in PrintShortRepeatedField() argument
1509 PrintFieldName(message, reflection, field, generator); in PrintShortRepeatedField()
1511 int size = reflection->FieldSize(message, field); in PrintShortRepeatedField()
1515 PrintFieldValue(message, reflection, field, i, generator); in PrintShortRepeatedField()
1525 const Reflection* reflection, in PrintFieldName() argument
1537 generator.Print(printer->PrintFieldName(message, reflection, field)); in PrintFieldName()
1542 const Reflection* reflection, in PrintFieldValue() argument
1557 ? reflection->GetRepeated##METHOD(message, field, index) \ in PrintFieldValue()
1558 : reflection->Get##METHOD(message, field))); \ in PrintFieldValue()
1573 ? reflection->GetRepeatedStringReference( in PrintFieldValue()
1575 : reflection->GetStringReference(message, field, &scratch); in PrintFieldValue()
1587 ? reflection->GetRepeatedEnum(message, field, index) in PrintFieldValue()
1588 : reflection->GetEnum(message, field); in PrintFieldValue()
1595 ? reflection->GetRepeatedMessage(message, field, index) in PrintFieldValue()
1596 : reflection->GetMessage(message, field), in PrintFieldValue()