Lines Matching full:reflection
51 using google::protobuf::Reflection;
191 reflection->GetRepeated##TYPE(instance, field, index) : \
192 reflection->Get##TYPE(instance, field))
195 const Reflection* reflection,
241 const Reflection* reflection = instance.GetReflection();
250 if (repeated && !reflection->FieldSize(instance, field)) {
251 DBG("Ignore repeated field with no size in reflection data");
254 if (!repeated && !reflection->HasField(instance, field)) {
265 int size = reflection->FieldSize(instance, field);
268 array->Set(j, ToJs(instance, reflection, field, child_type, j));
272 value = ToJs(instance, reflection, field, child_type, -1);
298 if (repeated) reflection->Add##TYPE(instance, field, EXPR); \
299 else reflection->Set##TYPE(instance, field, EXPR)
311 const Reflection* reflection = instance->GetReflection();
316 reflection->AddMessage(instance, field) :
317 reflection->MutableMessage(instance, field),
385 reflection->AddEnum(instance, field, vd);
387 reflection->SetEnum(instance, field, vd);