Home
last modified time | relevance | path

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

123456

/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtest_util.cc2202 const Reflection* reflection = message->GetReflection(); in SetAllFieldsViaReflection() local
2205 reflection->SetInt32 (message, F("optional_int32" ), 101); in SetAllFieldsViaReflection()
2206 reflection->SetInt64 (message, F("optional_int64" ), 102); in SetAllFieldsViaReflection()
2207 reflection->SetUInt32(message, F("optional_uint32" ), 103); in SetAllFieldsViaReflection()
2208 reflection->SetUInt64(message, F("optional_uint64" ), 104); in SetAllFieldsViaReflection()
2209 reflection->SetInt32 (message, F("optional_sint32" ), 105); in SetAllFieldsViaReflection()
2210 reflection->SetInt64 (message, F("optional_sint64" ), 106); in SetAllFieldsViaReflection()
2211 reflection->SetUInt32(message, F("optional_fixed32" ), 107); in SetAllFieldsViaReflection()
2212 reflection->SetUInt64(message, F("optional_fixed64" ), 108); in SetAllFieldsViaReflection()
2213 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.cc128 const Reflection* reflection = message->GetReflection(); in Clear() local
131 reflection->ListFields(*message, &fields); in Clear()
133 reflection->ClearField(message, fields[i]); in Clear()
136 reflection->MutableUnknownFields(message)->Clear(); in Clear()
141 const Reflection* reflection = message.GetReflection(); in IsInitialized() local
146 if (!reflection->HasField(message, descriptor->field(i))) { in IsInitialized()
154 reflection->ListFields(message, &fields); in IsInitialized()
160 int size = reflection->FieldSize(message, field); in IsInitialized()
163 if (!reflection->GetRepeatedMessage(message, field, j) in IsInitialized()
169 if (!reflection->GetMessage(message, field).IsInitialized()) { in IsInitialized()
[all …]
Dtext_format.cc310 const Reflection* reflection = message->GetReflection(); in ConsumeField() local
332 : reflection->FindKnownExtensionByName(field_name)); in ConsumeField()
398 !field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField()
408 DO(ConsumeFieldMessage(message, reflection, field)); in ConsumeField()
414 DO(ConsumeFieldValue(message, reflection, field)); in ConsumeField()
421 DO(ConsumeFieldValue(message, reflection, field)); in ConsumeField()
479 const Reflection* reflection, in ConsumeFieldMessage() argument
498 DO(ConsumeMessage(reflection->AddMessage(message, field), delimeter)); in ConsumeFieldMessage()
500 DO(ConsumeMessage(reflection->MutableMessage(message, field), in ConsumeFieldMessage()
527 const Reflection* reflection, in ConsumeFieldValue() argument
[all …]
Dtext_format.h152 const Reflection* reflection,
158 const Reflection* reflection,
165 const Reflection* reflection,
172 const Reflection* reflection,
/external/protobuf/src/google/protobuf/
Dtest_util.cc2097 const Reflection* reflection = message->GetReflection(); in SetAllFieldsViaReflection() local
2100 reflection->SetInt32 (message, F("optional_int32" ), 101); in SetAllFieldsViaReflection()
2101 reflection->SetInt64 (message, F("optional_int64" ), 102); in SetAllFieldsViaReflection()
2102 reflection->SetUInt32(message, F("optional_uint32" ), 103); in SetAllFieldsViaReflection()
2103 reflection->SetUInt64(message, F("optional_uint64" ), 104); in SetAllFieldsViaReflection()
2104 reflection->SetInt32 (message, F("optional_sint32" ), 105); in SetAllFieldsViaReflection()
2105 reflection->SetInt64 (message, F("optional_sint64" ), 106); in SetAllFieldsViaReflection()
2106 reflection->SetUInt32(message, F("optional_fixed32" ), 107); in SetAllFieldsViaReflection()
2107 reflection->SetUInt64(message, F("optional_fixed64" ), 108); in SetAllFieldsViaReflection()
2108 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.cc124 const Reflection* reflection = message->GetReflection(); in Clear() local
127 reflection->ListFields(*message, &fields); in Clear()
129 reflection->ClearField(message, fields[i]); in Clear()
132 reflection->MutableUnknownFields(message)->Clear(); in Clear()
137 const Reflection* reflection = message.GetReflection(); in IsInitialized() local
142 if (!reflection->HasField(message, descriptor->field(i))) { in IsInitialized()
150 reflection->ListFields(message, &fields); in IsInitialized()
155 int size = reflection->FieldSize(message, field); in IsInitialized()
158 if (!reflection->GetRepeatedMessage(message, field, i) in IsInitialized()
164 if (!reflection->GetMessage(message, field).IsInitialized()) { in IsInitialized()
[all …]
Dtext_format.cc234 const Reflection* reflection = message->GetReflection(); in ConsumeField() local
252 field = reflection->FindKnownExtensionByName(field_name); in ConsumeField()
291 !field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField()
301 DO(ConsumeFieldMessage(message, reflection, field)); in ConsumeField()
304 DO(ConsumeFieldValue(message, reflection, field)); in ConsumeField()
316 const Reflection* reflection, in ConsumeFieldMessage() argument
327 DO(ConsumeMessage(reflection->AddMessage(message, field), delimeter)); in ConsumeFieldMessage()
329 DO(ConsumeMessage(reflection->MutableMessage(message, field), in ConsumeFieldMessage()
336 const Reflection* reflection, in ConsumeFieldValue() argument
344 reflection->Add##CPPTYPE(message, field, VALUE); \ in ConsumeFieldValue()
[all …]
Dtext_format.h150 const Reflection* reflection,
156 const Reflection* reflection,
163 const Reflection* reflection,
170 const Reflection* reflection,
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
Dpython-proto2.cc424 const google::protobuf::Reflection* reflection, in CheckAndSetString() argument
481 reflection->AddString(message, descriptor, value_string); in CheckAndSetString()
483 reflection->SetString(message, descriptor, value_string); in CheckAndSetString()
485 reflection->SetRepeatedString(message, descriptor, index, value_string); in CheckAndSetString()
523 const google::protobuf::Reflection* reflection = message->GetReflection(); in AssureWritable() local
524 self->message = reflection->MutableMessage( in AssureWritable()
532 const google::protobuf::Reflection* reflection = message->GetReflection(); in InternalGetScalar() local
543 int32 value = reflection->GetInt32(*message, field_descriptor); in InternalGetScalar()
548 int64 value = reflection->GetInt64(*message, field_descriptor); in InternalGetScalar()
557 uint32 value = reflection->GetUInt32(*message, field_descriptor); in InternalGetScalar()
[all …]
/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.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/chromium_org/third_party/protobuf/
Ddescriptor_pb2.py5 from google.protobuf import reflection
1065 __metaclass__ = reflection.GeneratedProtocolMessageType
1071 __metaclass__ = reflection.GeneratedProtocolMessageType
1077 __metaclass__ = reflection.GeneratedProtocolMessageType
1080 __metaclass__ = reflection.GeneratedProtocolMessageType
1089 __metaclass__ = reflection.GeneratedProtocolMessageType
1095 __metaclass__ = reflection.GeneratedProtocolMessageType
1101 __metaclass__ = reflection.GeneratedProtocolMessageType
1107 __metaclass__ = reflection.GeneratedProtocolMessageType
1113 __metaclass__ = reflection.GeneratedProtocolMessageType
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc63 const Reflection* reflection = message.GetReflection(); in CollectExtensions() local
66 if (reflection->GetUnknownFields(message).field_count() > 0) return false; in CollectExtensions()
69 reflection->ListFields(message, &fields); in CollectExtensions()
76 int size = reflection->FieldSize(message, fields[i]); in CollectExtensions()
79 reflection->GetRepeatedMessage(message, fields[i], j); in CollectExtensions()
83 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/chromium_org/mojo/python/tests/
Dbindings_serialization_deserialization_unittest.py9 import mojo.bindings.reflection as reflection namespace
44 x.__metaclass__ == reflection.MojoStructType):
/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;
/external/chromium_org/third_party/protobuf/python/google/protobuf/
Dmessage_factory.py38 from google.protobuf import reflection
62 result_class = reflection.GeneratedProtocolMessageType(
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
D3d-raytrace.js217 if (colour.reflection > 0.001) {
218 var reflection = addVector(scale(normal, -2*dot(dir, normal)), dir);
219 reflected = this.intersect(hit, reflection, 0.0001, 1000000);
220 if (colour.reflection >= 0.999999)
239 … l = addVector(scaleVector(l, 1 - colour.reflection), scaleVector(reflected, colour.reflection));
356 grey.reflection = 1.0;

123456