/third_party/protobuf/src/google/protobuf/ |
D | test_util.h | 195 const Reflection* reflection = message->GetReflection(); in SetAllFieldsViaReflection() local 198 reflection->SetInt32(message, F("optional_int32"), 101); in SetAllFieldsViaReflection() 199 reflection->SetInt64(message, F("optional_int64"), 102); in SetAllFieldsViaReflection() 200 reflection->SetUInt32(message, F("optional_uint32"), 103); in SetAllFieldsViaReflection() 201 reflection->SetUInt64(message, F("optional_uint64"), 104); in SetAllFieldsViaReflection() 202 reflection->SetInt32(message, F("optional_sint32"), 105); in SetAllFieldsViaReflection() 203 reflection->SetInt64(message, F("optional_sint64"), 106); in SetAllFieldsViaReflection() 204 reflection->SetUInt32(message, F("optional_fixed32"), 107); in SetAllFieldsViaReflection() 205 reflection->SetUInt64(message, F("optional_fixed64"), 108); in SetAllFieldsViaReflection() 206 reflection->SetInt32(message, F("optional_sfixed32"), 109); in SetAllFieldsViaReflection() [all …]
|
D | map_test_util.h | 297 const Reflection* reflection = message->GetReflection(); in SetMapFieldsViaReflection() local 302 sub_message = reflection->AddMessage(message, F("map_int32_int32")); in SetMapFieldsViaReflection() 306 sub_message = reflection->AddMessage(message, F("map_int64_int64")); in SetMapFieldsViaReflection() 310 sub_message = reflection->AddMessage(message, F("map_uint32_uint32")); in SetMapFieldsViaReflection() 316 sub_message = reflection->AddMessage(message, F("map_uint64_uint64")); in SetMapFieldsViaReflection() 322 sub_message = reflection->AddMessage(message, F("map_sint32_sint32")); in SetMapFieldsViaReflection() 328 sub_message = reflection->AddMessage(message, F("map_sint64_sint64")); in SetMapFieldsViaReflection() 334 sub_message = reflection->AddMessage(message, F("map_fixed32_fixed32")); in SetMapFieldsViaReflection() 340 sub_message = reflection->AddMessage(message, F("map_fixed64_fixed64")); in SetMapFieldsViaReflection() 346 sub_message = reflection->AddMessage(message, F("map_sfixed32_sfixed32")); in SetMapFieldsViaReflection() [all …]
|
D | generated_message_reflection_unittest.cc | 79 const Reflection* reflection = message.GetReflection(); in TEST() local 85 &reflection->GetMessage(message, F("optionalgroup"))); in TEST() 87 &reflection->GetMessage(message, F("optional_nested_message"))); in TEST() 89 &reflection->GetMessage(message, F("optional_foreign_message"))); in TEST() 91 &reflection->GetMessage(message, F("optional_import_message"))); in TEST() 116 const Reflection* reflection = message.GetReflection(); in TEST() local 121 &reflection->GetStringReference(message, F("optional_string"), &scratch)) in TEST() 125 &reflection->GetRepeatedStringReference( in TEST() 143 const Reflection* reflection = message.GetReflection(); in TEST() local 146 &reflection->GetMessage(message, F("optionalgroup"))); in TEST() [all …]
|
D | reflection_ops.cc | 180 const Reflection* reflection = GetReflectionOrDie(*message); in Clear() local 183 reflection->ListFieldsOmitStripped(*message, &fields); in Clear() 185 reflection->ClearField(message, fields[i]); in Clear() 188 reflection->MutableUnknownFields(message)->Clear(); in Clear() 194 const Reflection* reflection = GetReflectionOrDie(message); in IsInitialized() local 203 if (field->is_required() && !reflection->HasField(message, field)) { in IsInitialized() 217 reflection->GetMapData(message, field); in IsInitialized() 230 const int size = reflection->FieldSize(message, field); in IsInitialized() 232 if (!reflection->GetRepeatedMessage(message, field, j) in IsInitialized() 237 } else if (reflection->HasField(message, field)) { in IsInitialized() [all …]
|
D | dynamic_message.h | 160 const Reflection* reflection, in Sort() argument 165 reflection->GetRepeatedFieldRef<Message>(message, field); in Sort() 191 const Reflection* reflection = a->GetReflection(); in operator() local 194 bool first = reflection->GetBool(*a, field_); in operator() 195 bool second = reflection->GetBool(*b, field_); in operator() 199 int32 first = reflection->GetInt32(*a, field_); in operator() 200 int32 second = reflection->GetInt32(*b, field_); in operator() 204 int64 first = reflection->GetInt64(*a, field_); in operator() 205 int64 second = reflection->GetInt64(*b, field_); in operator() 209 uint32 first = reflection->GetUInt32(*a, field_); in operator() [all …]
|
D | text_format.cc | 382 const Reflection* reflection = message->GetReflection(); in ConsumeField() local 413 reflection->HasField(*message, any_type_url_field)) || in ConsumeField() 415 reflection->HasField(*message, any_value_field))) { in ConsumeField() 420 reflection->SetString(message, any_type_url_field, in ConsumeField() 422 reflection->SetString(message, any_value_field, serialized_value); in ConsumeField() 525 if (!field->is_repeated() && reflection->HasField(*message, field)) { in ConsumeField() 533 if (oneof != nullptr && reflection->HasOneof(*message, oneof)) { in ConsumeField() 535 reflection->GetOneofFieldDescriptor(*message, oneof); in ConsumeField() 558 reflection->MutableMessage(message, field, factory) in ConsumeField() 574 DO(ConsumeFieldMessage(message, reflection, field)); in ConsumeField() [all …]
|
D | dynamic_message_unittest.cc | 194 const Reflection* reflection = message->GetReflection(); in TEST_P() local 195 EXPECT_EQ(0, reflection->GetInt32(*message, in TEST_P() 197 EXPECT_EQ("", reflection->GetString( in TEST_P() 199 EXPECT_EQ("", reflection->GetString(*message, in TEST_P() 201 EXPECT_EQ("", reflection->GetString( in TEST_P() 203 EXPECT_EQ("", reflection->GetString( in TEST_P() 207 reflection->GetEnum(*message, descriptor->FindFieldByName("foo_enum")) in TEST_P() 215 &reflection->GetMessage( in TEST_P() 223 &reflection->GetMessage(*message, in TEST_P() 226 &reflection->GetMessage( in TEST_P() [all …]
|
D | map_field.cc | 361 const Reflection* reflection = default_entry_->GetReflection(); in SyncRepeatedFieldWithMapNoLock() local 383 reflection->SetString(new_entry, key_des, map_key.GetStringValue()); in SyncRepeatedFieldWithMapNoLock() 386 reflection->SetInt64(new_entry, key_des, map_key.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock() 389 reflection->SetInt32(new_entry, key_des, map_key.GetInt32Value()); in SyncRepeatedFieldWithMapNoLock() 392 reflection->SetUInt64(new_entry, key_des, map_key.GetUInt64Value()); in SyncRepeatedFieldWithMapNoLock() 395 reflection->SetUInt32(new_entry, key_des, map_key.GetUInt32Value()); in SyncRepeatedFieldWithMapNoLock() 398 reflection->SetBool(new_entry, key_des, map_key.GetBoolValue()); in SyncRepeatedFieldWithMapNoLock() 410 reflection->SetString(new_entry, val_des, map_val.GetStringValue()); in SyncRepeatedFieldWithMapNoLock() 413 reflection->SetInt64(new_entry, val_des, map_val.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock() 416 reflection->SetInt32(new_entry, val_des, map_val.GetInt32Value()); in SyncRepeatedFieldWithMapNoLock() [all …]
|
D | reflection.h | 92 const Reflection* reflection = message.GetReflection(); in RepeatedFieldRef() local 93 data_ = reflection->RepeatedFieldData(const_cast<Message*>(&message), field, in RepeatedFieldRef() 96 accessor_ = reflection->RepeatedFieldAccessor(field); in RepeatedFieldRef() 144 const Reflection* reflection = message->GetReflection(); in MutableRepeatedFieldRef() local 145 data_ = reflection->RepeatedFieldData( in MutableRepeatedFieldRef() 147 accessor_ = reflection->RepeatedFieldAccessor(field); in MutableRepeatedFieldRef() 199 const Reflection* reflection = message.GetReflection(); in RepeatedFieldRef() local 200 data_ = reflection->RepeatedFieldData( in RepeatedFieldRef() 204 accessor_ = reflection->RepeatedFieldAccessor(field); in RepeatedFieldRef() 206 reflection->GetMessageFactory()->GetPrototype(field->message_type()); in RepeatedFieldRef() [all …]
|
D | wire_format.cc | 661 auto metadata = reflection->MutableInternalMetadata(msg); in _InternalParse() 677 field = reflection->FindKnownExtensionByNumber(type_id); in _InternalParse() 689 ? reflection->AddMessage(msg, field, ctx->data().factory) in _InternalParse() 690 : reflection->MutableMessage(msg, field, in _InternalParse() 716 field = reflection->FindKnownExtensionByNumber(type_id); in _InternalParse() 723 msg, ptr, ctx, static_cast<uint64>(type_id) * 8 + 2, reflection, in _InternalParse() 761 field = reflection->FindKnownExtensionByNumber(field_number); in ParseMessageSet() 768 reflection, field); in ParseMessageSet() 777 const Reflection* reflection; member 783 const Reflection* reflection = msg->GetReflection(); in _InternalParse() local [all …]
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 146 const Reflection* reflection = options.GetReflection(); in ConvertOptionsInternal() local 148 reflection->ListFields(options, &fields); in ConvertOptionsInternal() 151 const int size = reflection->FieldSize(options, field); in ConvertOptionsInternal() 153 ConvertOptionField(reflection, options, field, i, output->Add()); in ConvertOptionsInternal() 156 ConvertOptionField(reflection, options, field, -1, output->Add()); in ConvertOptionsInternal() 161 static void ConvertOptionField(const Reflection* reflection, in ConvertOptionField() argument 171 ? reflection->GetRepeatedMessage(options, field, index) in ConvertOptionField() 172 : reflection->GetMessage(options, field)); in ConvertOptionField() 177 ? reflection->GetRepeatedDouble(options, field, index) in ConvertOptionField() 178 : reflection->GetDouble(options, field))); in ConvertOptionField() [all …]
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 93 const Reflection* reflection = message->GetReflection(); in AssignItem() local 94 int field_size = reflection->FieldSize(*message, field_descriptor); in AssignItem() 119 reflection->SetRepeatedInt32(message, field_descriptor, index, value); in AssignItem() 124 reflection->SetRepeatedInt64(message, field_descriptor, index, value); in AssignItem() 129 reflection->SetRepeatedUInt32(message, field_descriptor, index, value); in AssignItem() 134 reflection->SetRepeatedUInt64(message, field_descriptor, index, value); in AssignItem() 139 reflection->SetRepeatedFloat(message, field_descriptor, index, value); in AssignItem() 144 reflection->SetRepeatedDouble(message, field_descriptor, index, value); in AssignItem() 149 reflection->SetRepeatedBool(message, field_descriptor, index, value); in AssignItem() 154 arg, message, field_descriptor, reflection, false, index)) { in AssignItem() [all …]
|
D | map_container.cc | 324 const Reflection* reflection = message->GetReflection(); in Clear() local 326 reflection->ClearField(message, self->parent_field_descriptor); in Clear() 345 const Reflection* reflection = message->GetReflection(); in MergeFrom() local 347 internal::MapFieldBase* field = reflection->MutableMapData( in MergeFrom() 360 const Reflection* reflection = message->GetReflection(); in Contains() local 367 if (reflection->ContainsMapKey(*message, self->parent_field_descriptor, in Contains() 405 const Reflection* reflection = message->GetReflection(); in ScalarMapGetItem() local 413 if (reflection->InsertOrLookupMapValue(message, self->parent_field_descriptor, in ScalarMapGetItem() 426 const Reflection* reflection = message->GetReflection(); in ScalarMapSetItem() local 438 reflection->InsertOrLookupMapValue(message, self->parent_field_descriptor, in ScalarMapSetItem() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | reflection.frag.out | 1 reflection.frag 2 Uniform reflection: 4 Uniform block reflection: 6 Buffer variable reflection: 8 Buffer block reflection: 10 Pipeline input reflection: 12 Pipeline output reflection:
|
D | reflection.linked.out | 1 reflection.linked.vert 2 reflection.linked.frag 3 Uniform reflection: 8 Uniform block reflection: 11 Buffer variable reflection: 13 Buffer block reflection: 15 Pipeline input reflection: 18 Pipeline output reflection:
|
D | reflection.options.frag.out | 1 reflection.frag 2 Uniform reflection: 4 Uniform block reflection: 6 Buffer variable reflection: 8 Buffer block reflection: 10 Pipeline input reflection: 13 Pipeline output reflection:
|
D | reflection.linked.options.out | 1 reflection.linked.vert 2 reflection.linked.frag 3 Uniform reflection: 9 Uniform block reflection: 12 Buffer variable reflection: 14 Buffer block reflection: 16 Pipeline input reflection: 21 Pipeline output reflection:
|
D | hlsl.reflection.binding.frag.out | 1 hlsl.reflection.binding.frag 2 Uniform reflection: 14 Uniform block reflection: 18 Buffer variable reflection: 20 Buffer block reflection: 22 Pipeline input reflection: 24 Pipeline output reflection:
|
D | reflection.options.geom.out | 1 reflection.options.geom 2 Uniform reflection: 4 Uniform block reflection: 6 Buffer variable reflection: 8 Buffer block reflection: 10 Pipeline input reflection: 18 Pipeline output reflection:
|
D | hlsl.automap.frag.out | 2 Uniform reflection: 20 Uniform block reflection: 28 Buffer variable reflection: 30 Buffer block reflection: 32 Pipeline input reflection: 34 Pipeline output reflection:
|
D | hlsl.reflection.binding.vert.out | 1 hlsl.reflection.binding.vert 6 Uniform reflection: 12 Uniform block reflection: 14 Vertex attribute reflection:
|
/third_party/glslang/Test/ |
D | runtests | 55 echo Running reflection... 56 run -l -q -C reflection.vert > $TARGETDIR/reflection.vert.out 57 diff -b $BASEDIR/reflection.vert.out $TARGETDIR/reflection.vert.out || HASERROR=1 58 …flect-shared-std140-ubo --reflect-shared-std140-ssbo reflection.options.vert > $TARGETDIR/reflecti… 59 diff -b $BASEDIR/reflection.options.vert.out $TARGETDIR/reflection.options.vert.out || HASERROR=1 60 run -l -q -C reflection.frag > $TARGETDIR/reflection.frag.out 61 diff -b $BASEDIR/reflection.frag.out $TARGETDIR/reflection.frag.out || HASERROR=1 62 …--reflect-shared-std140-ubo --reflect-shared-std140-ssbo reflection.frag > $TARGETDIR/reflection.o… 63 diff -b $BASEDIR/reflection.options.frag.out $TARGETDIR/reflection.options.frag.out || HASERROR=1 64 …flect-shared-std140-ubo --reflect-shared-std140-ssbo reflection.options.geom > $TARGETDIR/reflecti… [all …]
|
/third_party/protobuf/benchmarks/util/ |
D | data_proto2_to_proto3_util.h | 19 const Reflection* reflection = message->GetReflection(); in StripMessage() local 20 reflection->ListFields(*message, &set_fields); in StripMessage() 25 reflection->ClearField(message, field); in StripMessage() 30 for (int j = 0; j < reflection->FieldSize(*message, field); j++) { in StripMessage() 31 StripMessage(reflection->MutableRepeatedMessage(message, field, j)); in StripMessage() 34 StripMessage(reflection->MutableMessage(message, field)); in StripMessage() 39 reflection->MutableUnknownFields(message)->Clear(); in StripMessage()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | reflection.cpp | 81 TIntermTraverser(), intermediate(i), reflection(r), updateStageMasks(true) { } in TReflectionTraverser() 128 input ? reflection.indexToPipeInput : reflection.indexToPipeOutput; in addPipeIOVariable() 132 input ? reflection.pipeInNameToIndex : reflection.pipeOutNameToIndex; in addPipeIOVariable() 134 if (reflection.options & EShReflectionUnwrapIOBlocks) { in addPipeIOVariable() 218 const bool strictArraySuffix = (reflection.options & EShReflectionStrictArraySuffix); in countAggregateMembers() 258 const bool strictArraySuffix = (reflection.options & EShReflectionStrictArraySuffix); in blowUpActiveAggregate() 433 if ((reflection.options & EShReflectionBasicArraySuffix) && terminalType->isArray()) { in blowUpActiveAggregate() 444 … TReflection::TMapIndexToReflection& variables = reflection.GetVariableMapForStorage(baseStorage); in blowUpActiveAggregate() 446 TReflection::TNameToIndex::const_iterator it = reflection.nameToIndex.find(name.c_str()); in blowUpActiveAggregate() 447 if (it == reflection.nameToIndex.end()) { in blowUpActiveAggregate() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | BUILD.bazel | 164 name = "reflection", 166 "reflection.cc", 170 "reflection.h", 204 ":reflection", 230 ":reflection", 259 ":reflection", 303 ":reflection", 330 ":reflection", 365 ":reflection", 391 ":reflection", [all …]
|