Searched refs:reflection (Results 1 - 25 of 26) sorted by relevance

12

/external/javassist/src/main/javassist/tools/reflect/
H A DLoader.java23 * A class loader for reflection.
83 * Reflection reflection = new Reflection();
85 * = new javassist.Loader(ClassPool.getDefault(reflection));
86 * reflection.makeReflective("Person", "MyMetaobject",
110 protected Reflection reflection; field in class:Loader
135 reflection = new Reflection();
137 addTranslator(pool, reflection);
161 return reflection.makeReflective(clazz, metaobject, metaclass);
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection_unittest.cc37 // reflection interface. This is much easier and more maintainable than
42 // compiler/cpp/unittest, except using the reflection interface
75 const Reflection* reflection = message.GetReflection(); local
81 &reflection->GetMessage(message, F("optionalgroup")));
83 &reflection->GetMessage(message, F("optional_nested_message")));
85 &reflection->GetMessage(message, F("optional_foreign_message")));
87 &reflection->GetMessage(message, F("optional_import_message")));
112 const Reflection* reflection = message.GetReflection(); local
116 &reflection->GetStringReference(message, F("optional_string"), &scratch))
120 &reflection
137 const Reflection* reflection = message.GetReflection(); local
156 const Reflection* reflection = message1.GetReflection(); local
171 const Reflection* reflection = message1.GetReflection(); local
190 const Reflection* reflection = message1.GetReflection(); local
204 const Reflection* reflection = message1.GetReflection(); local
281 const Reflection* reflection = local
306 const Reflection* reflection = local
334 const Reflection* reflection = message.GetReflection(); local
[all...]
H A Dtest_util.cc78 // StringPiece and Cord fields are only accessible via reflection in the
2097 const Reflection* reflection = message->GetReflection(); local
2100 reflection->SetInt32 (message, F("optional_int32" ), 101);
2101 reflection->SetInt64 (message, F("optional_int64" ), 102);
2102 reflection->SetUInt32(message, F("optional_uint32" ), 103);
2103 reflection->SetUInt64(message, F("optional_uint64" ), 104);
2104 reflection->SetInt32 (message, F("optional_sint32" ), 105);
2105 reflection->SetInt64 (message, F("optional_sint64" ), 106);
2106 reflection->SetUInt32(message, F("optional_fixed32" ), 107);
2107 reflection
2227 const Reflection* reflection = message->GetReflection(); local
2272 const Reflection* reflection = message.GetReflection(); local
2354 const Reflection* reflection = message.GetReflection(); local
2472 const Reflection* reflection = message.GetReflection(); local
2533 const Reflection* reflection = message.GetReflection(); local
2587 const Reflection* reflection = message.GetReflection(); local
2750 const Reflection* reflection = message.GetReflection(); local
2772 const Reflection* reflection = message->GetReflection(); local
2810 const Reflection* reflection = message->GetReflection(); local
2828 const Reflection* reflection = message->GetReflection(); local
2841 const Reflection* reflection = message->GetReflection(); local
[all...]
H A Dreflection_ops.cc124 const Reflection* reflection = message->GetReflection(); local
127 reflection->ListFields(*message, &fields);
129 reflection->ClearField(message, fields[i]);
132 reflection->MutableUnknownFields(message)->Clear();
137 const Reflection* reflection = message.GetReflection(); local
142 if (!reflection->HasField(message, descriptor->field(i))) {
150 reflection->ListFields(message, &fields);
155 int size = reflection->FieldSize(message, field);
158 if (!reflection->GetRepeatedMessage(message, field, i)
164 if (!reflection
175 const Reflection* reflection = message->GetReflection(); local
222 const Reflection* reflection = message.GetReflection(); local
[all...]
H A Dtext_format.cc234 const Reflection* reflection = message->GetReflection(); local
252 field = reflection->FindKnownExtensionByName(field_name);
291 !field->is_repeated() && reflection->HasField(*message, field)) {
301 DO(ConsumeFieldMessage(message, reflection, field));
304 DO(ConsumeFieldValue(message, reflection, field));
316 const Reflection* reflection,
327 DO(ConsumeMessage(reflection->AddMessage(message, field), delimeter));
329 DO(ConsumeMessage(reflection->MutableMessage(message, field),
336 const Reflection* reflection,
344 reflection
315 ConsumeFieldMessage(Message* message, const Reflection* reflection, const FieldDescriptor* field) argument
335 ConsumeFieldValue(Message* message, const Reflection* reflection, const FieldDescriptor* field) argument
900 const Reflection* reflection = message.GetReflection(); local
924 PrintField(const Message& message, const Reflection* reflection, const FieldDescriptor* field, TextGenerator& generator) argument
983 PrintShortRepeatedField(const Message& message, const Reflection* reflection, const FieldDescriptor* field, TextGenerator& generator) argument
1003 PrintFieldName(const Message& message, const Reflection* reflection, const FieldDescriptor* field, TextGenerator& generator) argument
1029 PrintFieldValue( const Message& message, const Reflection* reflection, const FieldDescriptor* field, int index, TextGenerator& generator) argument
[all...]
H A Dtext_format.h150 const Reflection* reflection,
156 const Reflection* reflection,
163 const Reflection* reflection,
170 const Reflection* reflection,
H A Ddynamic_message.cc37 // Then, we use GeneratedMessageReflection to implement our reflection
180 scoped_ptr<const GeneratedMessageReflection> reflection; member in struct:google::protobuf::DynamicMessage::TypeInfo
425 metadata.reflection = type_info_->reflection.get();
538 // Construct the reflection object.
539 type_info->reflection.reset(
H A Dmessage.h80 // // reflection interface.
98 // // Use the reflection interface to examine the contents.
99 // const Reflection* reflection = foo->GetReflection();
100 // assert(reflection->GetString(foo, text_field) == "Hello World!");
101 // assert(reflection->FieldSize(foo, numbers_field) == 3);
102 // assert(reflection->GetRepeatedInt32(foo, numbers_field, 0) == 1);
103 // assert(reflection->GetRepeatedInt32(foo, numbers_field, 1) == 5);
104 // assert(reflection->GetRepeatedInt32(foo, numbers_field, 2) == 42);
169 const Reflection* reflection; member in struct:google::protobuf::Metadata
181 // adds descriptors and reflection o
[all...]
H A Ddescriptor.pb.cc849 metadata.reflection = FileDescriptorSet_reflection_;
1399 metadata.reflection = FileDescriptorProto_reflection_;
1646 metadata.reflection = DescriptorProto_ExtensionRange_reflection_;
2131 metadata.reflection = DescriptorProto_reflection_;
2786 metadata.reflection = FieldDescriptorProto_reflection_;
3102 metadata.reflection = EnumDescriptorProto_reflection_;
3415 metadata.reflection = EnumValueDescriptorProto_reflection_;
3731 metadata.reflection = ServiceDescriptorProto_reflection_;
4120 metadata.reflection = MethodDescriptorProto_reflection_;
4686 metadata.reflection
[all...]
H A Ddescriptor.cc1493 const Reflection* reflection = options.GetReflection(); local
1495 reflection->ListFields(options, &fields);
1504 count = reflection->FieldSize(options, fields[i]);
3805 // descriptor and reflection objects on both.
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_file.cc54 const Reflection* reflection = message.GetReflection(); local
57 if (reflection->GetUnknownFields(message).field_count() > 0) return true;
60 reflection->ListFields(message, &fields);
67 int size = reflection->FieldSize(message, fields[i]);
70 reflection->GetRepeatedMessage(message, fields[i], j);
74 const Message& sub_message = reflection->GetMessage(message, fields[i]);
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_file.cc56 const Reflection* reflection = message.GetReflection(); local
59 if (reflection->GetUnknownFields(message).field_count() > 0) return true;
62 reflection->ListFields(message, &fields);
69 int size = reflection->FieldSize(message, fields[i]);
72 reflection->GetRepeatedMessage(message, fields[i], j);
76 const Message& sub_message = reflection->GetMessage(message, fields[i]);
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A D3d-raytrace.js215 // do reflection
217 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));
337 // triangles[i-1].material.reflection = 0.8;
340 // triangles[i-1].reflection = 0.6;
342 // triangles[i-1].reflection
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A D3d-raytrace.js215 // do reflection
217 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));
337 // triangles[i-1].material.reflection = 0.8;
340 // triangles[i-1].reflection = 0.6;
342 // triangles[i-1].reflection
[all...]
/external/v8/benchmarks/
H A Draytrace.js328 reflection: 0.0, // [0...infinity] 0 = no reflection
359 initialize : function(color, reflection, refraction, transparency, gloss) {
361 this.reflection = reflection;
388 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) {
391 this.reflection = reflection;
743 // calculate reflection ray
744 if(this.options.renderReflections && info.shape.material.reflection >
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
H A Dv8-raytrace.js329 reflection: 0.0, // [0...infinity] 0 = no reflection
360 initialize : function(color, reflection, refraction, transparency, gloss) {
362 this.reflection = reflection;
389 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) {
392 this.reflection = reflection;
769 // calculate reflection ray
770 if(this.options.renderReflections && info.shape.material.reflection >
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
H A Dv8-raytrace.js329 reflection: 0.0, // [0...infinity] 0 = no reflection
360 initialize : function(color, reflection, refraction, transparency, gloss) {
362 this.reflection = reflection;
389 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) {
392 this.reflection = reflection;
769 // calculate reflection ray
770 if(this.options.renderReflections && info.shape.material.reflection >
[all...]
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
H A Dv8-raytrace.js323 reflection: 0.0, // [0...infinity] 0 = no reflection
354 initialize : function(color, reflection, refraction, transparency, gloss) {
356 this.reflection = reflection;
383 initialize : function(colorEven, colorOdd, reflection, transparency, gloss, density) {
386 this.reflection = reflection;
738 // calculate reflection ray
739 if(this.options.renderReflections && info.shape.material.reflection >
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderLayerCompositor.cpp394 // If we're removing backing on a reflection, clear the source GraphicsLayer's pointer to
395 // its replica GraphicsLayer. In practice this should never happen because reflectee and reflection
496 if (RenderLayer* reflection = layer->reflectionLayer()) {
497 if (!reflection->isComposited()) {
498 IntRect childUnionBounds = calculateCompositedBounds(reflection, layer);
966 if (RenderLayer* reflection = layer->reflectionLayer()) {
967 if (reflection->backing())
968 reflection->backing()->updateCompositedBounds();
1146 if (RenderLayer* reflection = layer->reflectionLayer()) {
1147 if (reflection
[all...]
H A DRenderLayer.h203 RenderReplica* reflection() const { return m_reflection; } function in class:WebCore::RenderLayer
/external/protobuf/src/google/protobuf/compiler/
H A Dplugin.pb.cc467 metadata.reflection = CodeGeneratorRequest_reflection_;
808 metadata.reflection = CodeGeneratorResponse_File_reflection_;
1073 metadata.reflection = CodeGeneratorResponse_reflection_;
/external/webkit/Source/WebCore/css/
H A DCSSComputedStyleDeclaration.cpp375 static PassRefPtr<CSSValue> valueForReflection(const StyleReflection* reflection, const RenderStyle* style, CSSPrimitiveValueCache* primitiveValueCache) argument
377 if (!reflection)
381 if (reflection->offset().isPercent())
382 offset = primitiveValueCache->createValue(reflection->offset().percent(), CSSPrimitiveValue::CSS_PERCENTAGE);
384 offset = zoomAdjustedPixelValue(reflection->offset().value(), style, primitiveValueCache);
386 return CSSReflectValue::create(reflection->direction(), offset.release(), valueForNinePieceImage(reflection->mask(), primitiveValueCache));
H A DCSSStyleSelector.cpp5187 RefPtr<StyleReflection> reflection = StyleReflection::create(); local
5188 reflection->setDirection(reflectValue->direction());
5192 reflection->setOffset(Length(reflectValue->offset()->getDoubleValue(), Percent));
5194 reflection->setOffset(Length(reflectValue->offset()->computeLengthIntForLength(style(), m_rootElementStyle, zoomFactor), Fixed));
5198 reflection->setMask(mask);
5200 m_style->setBoxReflect(reflection.release());
7430 if (StyleReflection* reflection = m_style->boxReflect()) {
7431 const NinePieceImage& maskImage = reflection->mask();
7434 reflection->setMask(NinePieceImage(imageValue->cachedImage(cachedResourceLoader), maskImage.slices(), maskImage.horizontalRule(), maskImage.verticalRule()));
/external/protobuf/
H A DMakefile.am134 python/google/protobuf/reflection.py \
/external/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py34 """Unittest for reflection.py, which also indirectly tests the output of the
52 from google.protobuf import reflection namespace
725 __metaclass__ = reflection.GeneratedProtocolMessageType
2230 self.assertEqual(reflection._FieldDescriptor.LABEL_REPEATED,

Completed in 422 milliseconds

12