Home
last modified time | relevance | path

Searched refs:reflection (Results 1 – 25 of 101) sorted by relevance

12345

/external/protobuf/src/google/protobuf/
Dtest_util.cc2384 const Reflection* reflection = message->GetReflection(); in SetAllFieldsViaReflection() local
2387 reflection->SetInt32 (message, F("optional_int32" ), 101); in SetAllFieldsViaReflection()
2388 reflection->SetInt64 (message, F("optional_int64" ), 102); in SetAllFieldsViaReflection()
2389 reflection->SetUInt32(message, F("optional_uint32" ), 103); in SetAllFieldsViaReflection()
2390 reflection->SetUInt64(message, F("optional_uint64" ), 104); in SetAllFieldsViaReflection()
2391 reflection->SetInt32 (message, F("optional_sint32" ), 105); in SetAllFieldsViaReflection()
2392 reflection->SetInt64 (message, F("optional_sint64" ), 106); in SetAllFieldsViaReflection()
2393 reflection->SetUInt32(message, F("optional_fixed32" ), 107); in SetAllFieldsViaReflection()
2394 reflection->SetUInt64(message, F("optional_fixed64" ), 108); in SetAllFieldsViaReflection()
2395 reflection->SetInt32 (message, F("optional_sfixed32"), 109); in SetAllFieldsViaReflection()
[all …]
Dgenerated_message_reflection_unittest.cc75 const Reflection* reflection = message.GetReflection(); in TEST() local
81 &reflection->GetMessage(message, F("optionalgroup"))); in TEST()
83 &reflection->GetMessage(message, F("optional_nested_message"))); in TEST()
85 &reflection->GetMessage(message, F("optional_foreign_message"))); in TEST()
87 &reflection->GetMessage(message, F("optional_import_message"))); in TEST()
112 const Reflection* reflection = message.GetReflection(); in TEST() local
116 &reflection->GetStringReference(message, F("optional_string"), &scratch)) in TEST()
120 &reflection->GetRepeatedStringReference(message, F("repeated_string"), in TEST()
137 const Reflection* reflection = message.GetReflection(); in TEST() local
140 &reflection->GetMessage(message, F("optionalgroup"))); in TEST()
[all …]
Dreflection_ops.cc130 const Reflection* reflection = message->GetReflection(); in Clear() local
133 reflection->ListFields(*message, &fields); in Clear()
135 reflection->ClearField(message, fields[i]); in Clear()
138 reflection->MutableUnknownFields(message)->Clear(); in Clear()
143 const Reflection* reflection = message.GetReflection(); in IsInitialized() local
148 if (!reflection->HasField(message, descriptor->field(i))) { in IsInitialized()
156 reflection->ListFields(message, &fields); in IsInitialized()
162 int size = reflection->FieldSize(message, field); in IsInitialized()
165 if (!reflection->GetRepeatedMessage(message, field, j) in IsInitialized()
171 if (!reflection->GetMessage(message, field).IsInitialized()) { in IsInitialized()
[all …]
Ddynamic_message_unittest.cc163 const Reflection* reflection = message->GetReflection(); in TEST_F() local
164 EXPECT_EQ(0, reflection->GetInt32( in TEST_F()
166 EXPECT_EQ("", reflection->GetString( in TEST_F()
168 EXPECT_EQ("", reflection->GetString( in TEST_F()
170 EXPECT_EQ("", reflection->GetString( in TEST_F()
172 EXPECT_EQ("", reflection->GetString( in TEST_F()
174 EXPECT_EQ(unittest::TestOneof2::FOO, reflection->GetEnum( in TEST_F()
182 &reflection->GetMessage( in TEST_F()
190 &reflection->GetMessage( in TEST_F()
193 &reflection->GetMessage( in TEST_F()
[all …]
Dtext_format.cc340 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()
[all …]
Dtext_format.h110 const Reflection* reflection,
228 const Reflection* reflection,
234 const Reflection* reflection,
241 const Reflection* reflection,
248 const Reflection* reflection,
Dextension_set_unittest.cc267 const Reflection* reflection = message1.GetReflection(); in TEST() local
268 reflection->SwapFields(&message1, &message2, fields); in TEST()
274 reflection->FindKnownExtensionByNumber(12)); in TEST()
276 reflection->FindKnownExtensionByNumber(25)); in TEST()
277 reflection->SwapFields(&message1, &message2, fields); in TEST()
295 const Reflection* reflection = message3.GetReflection(); in TEST() local
297 reflection->ListFields(message3, &fields); in TEST()
299 reflection->SwapFields(&message1, &message2, fields); in TEST()
312 const Reflection* reflection = message1.GetReflection(); in TEST() local
314 reflection->ListFields(message1, &fields); in TEST()
[all …]
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc99 const google::protobuf::Reflection* reflection = message->GetReflection(); in AssignItem() local
100 int field_size = reflection->FieldSize(*message, field_descriptor); in AssignItem()
125 reflection->SetRepeatedInt32(message, field_descriptor, index, value); in AssignItem()
130 reflection->SetRepeatedInt64(message, field_descriptor, index, value); in AssignItem()
135 reflection->SetRepeatedUInt32(message, field_descriptor, index, value); in AssignItem()
140 reflection->SetRepeatedUInt64(message, field_descriptor, index, value); in AssignItem()
145 reflection->SetRepeatedFloat(message, field_descriptor, index, value); in AssignItem()
150 reflection->SetRepeatedDouble(message, field_descriptor, index, value); in AssignItem()
155 reflection->SetRepeatedBool(message, field_descriptor, index, value); in AssignItem()
160 arg, message, field_descriptor, reflection, false, index)) { in AssignItem()
[all …]
Dmessage.cc304 const google::protobuf::Reflection* reflection, in CheckAndGetInteger() argument
366 reflection->AddString(message, descriptor, value_string); in CheckAndGetInteger()
368 reflection->SetString(message, descriptor, value_string); in CheckAndGetInteger()
370 reflection->SetRepeatedString(message, descriptor, index, value_string); in CheckAndGetInteger()
403 const google::protobuf::Reflection* reflection = message->GetReflection(); in CheckAndGetInteger() local
405 !reflection->HasOneof(*message, field->containing_oneof()) || in CheckAndGetInteger()
406 reflection->HasField(*message, field)) { in CheckAndGetInteger()
413 reflection->GetOneofFieldDescriptor(*message, oneof); in CheckAndGetInteger()
443 const google::protobuf::Reflection* reflection = parent_message->GetReflection(); in CheckAndGetInteger() local
447 return reflection->MutableMessage( in CheckAndGetInteger()
[all …]
Drepeated_composite_container.cc124 const google::protobuf::Reflection* reflection = message->GetReflection(); in InternalQuickSort() local
165 reflection->SwapElements(message, descriptor, left, right); in InternalQuickSort()
225 const google::protobuf::Reflection* reflection = message->GetReflection(); in UpdateChildMessages() local
227 const Message& sub_message = reflection->GetRepeatedMessage( in UpdateChildMessages()
514 const google::protobuf::Reflection* reflection = message->GetReflection(); in SortAttached() local
519 reflection->SwapElements(message, descriptor, i, length - i - 1); in SortAttached()
/external/javassist/src/main/javassist/tools/reflect/
DLoader.java110 protected Reflection reflection; field in Loader
135 reflection = new Reflection(); in Loader()
137 addTranslator(pool, reflection); in Loader()
161 return reflection.makeReflective(clazz, metaobject, metaclass); in makeReflective()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc56 const Reflection* reflection = message.GetReflection(); in UsesExtensions() local
59 if (reflection->GetUnknownFields(message).field_count() > 0) return true; in UsesExtensions()
62 reflection->ListFields(message, &fields); in UsesExtensions()
69 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()
72 reflection->GetRepeatedMessage(message, fields[i], j); in UsesExtensions()
76 const Message& sub_message = reflection->GetMessage(message, fields[i]); in UsesExtensions()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_file.cc57 const Reflection* reflection = message.GetReflection(); in UsesExtensions() local
60 if (reflection->GetUnknownFields(message).field_count() > 0) return true; in UsesExtensions()
63 reflection->ListFields(message, &fields); in UsesExtensions()
70 int size = reflection->FieldSize(message, fields[i]); in UsesExtensions()
73 reflection->GetRepeatedMessage(message, fields[i], j); in UsesExtensions()
77 const Message& sub_message = reflection->GetMessage(message, fields[i]); in UsesExtensions()
/external/mockito/src/org/mockito/internal/configuration/injection/
DConstructorInjection.java10 import org.mockito.internal.util.reflection.FieldInitializationReport;
11 import org.mockito.internal.util.reflection.FieldInitializer;
12 import org.mockito.internal.util.reflection.FieldInitializer.ConstructorArgumentResolver;
DSpyOnInjectedFieldsHandler.java12 import org.mockito.internal.util.reflection.FieldReader;
13 import org.mockito.internal.util.reflection.FieldSetter;
/external/nanopb-c/generator/proto/
Dplugin_pb2.py5 from google.protobuf import reflection
142 __metaclass__ = reflection.GeneratedProtocolMessageType
148 __metaclass__ = reflection.GeneratedProtocolMessageType
151 __metaclass__ = reflection.GeneratedProtocolMessageType
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc70 const Reflection* reflection = message.GetReflection(); in CollectExtensions() local
73 if (reflection->GetUnknownFields(message).field_count() > 0) return false; in CollectExtensions()
76 reflection->ListFields(message, &fields); in CollectExtensions()
83 int size = reflection->FieldSize(message, fields[i]); in CollectExtensions()
86 reflection->GetRepeatedMessage(message, fields[i], j); in CollectExtensions()
90 const Message& sub_message = reflection->GetMessage(message, fields[i]); in CollectExtensions()
/external/mockito/src/org/mockito/internal/configuration/injection/filter/
DFinalMockCandidateFilter.java8 import org.mockito.internal.util.reflection.BeanPropertySetter;
9 import org.mockito.internal.util.reflection.FieldSetter;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionField.java32 package org.jf.dexlib2.analysis.reflection;
35 import org.jf.dexlib2.analysis.reflection.util.ReflectionUtils;
DReflectionConstructor.java32 package org.jf.dexlib2.analysis.reflection;
35 import org.jf.dexlib2.analysis.reflection.util.ReflectionUtils;
DReflectionMethod.java32 package org.jf.dexlib2.analysis.reflection;
35 import org.jf.dexlib2.analysis.reflection.util.ReflectionUtils;
/external/nanopb-c/generator/google/protobuf/
Dmessage_factory.py38 from google.protobuf import reflection
62 result_class = reflection.GeneratedProtocolMessageType(
/external/mockito/src/org/mockito/internal/configuration/
DSpyAnnotationEngine.java12 import org.mockito.internal.util.reflection.FieldInitializationReport;
13 import org.mockito.internal.util.reflection.FieldInitializer;
/external/protobuf/python/google/protobuf/
Dmessage_factory.py50 from google.protobuf import reflection
81 result_class = reflection.GeneratedProtocolMessageType(
/external/v8/benchmarks/
Draytrace.js328 reflection: 0.0, // [0...infinity] 0 = no reflection property in Flog.RayTracer.Material.BaseMaterial
359 initialize : function(color, reflection, refraction, transparency, gloss) { argument
361 this.reflection = reflection;
388 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) { argument
391 this.reflection = reflection;
744 if(this.options.renderReflections && info.shape.material.reflection > 0)
758 info.shape.material.reflection

12345