Home
last modified time | relevance | path

Searched refs:EnumValue (Results 1 - 25 of 34) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/
H A Dtype.pb.h64 class EnumValue;
79 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValue>(Arena*);
913 // repeated .google.protobuf.EnumValue enumvalue = 2;
919 PROTOBUF_NAMESPACE_ID::EnumValue* mutable_enumvalue(int index);
920 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue >*
923 const PROTOBUF_NAMESPACE_ID::EnumValue& _internal_enumvalue(int index) const;
924 PROTOBUF_NAMESPACE_ID::EnumValue* _internal_add_enumvalue();
926 const PROTOBUF_NAMESPACE_ID::EnumValue& enumvalue(int index) const;
927 PROTOBUF_NAMESPACE_ID::EnumValue* add_enumvalu
1012 inline EnumValue() : EnumValue(nullptr) {} EnumValue() function in PROTOBUF_FINAL
1017 : EnumValue() { EnumValue() function in PROTOBUF_FINAL
[all...]
H A Dtype.pb.cc37 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<EnumValue> _instance;
66 new (ptr) PROTOBUF_NAMESPACE_ID::EnumValue(); in InitDefaultsscc_info_EnumValue_google_2fprotobuf_2ftype_2eproto()
69 PROTOBUF_NAMESPACE_ID::EnumValue::InitAsDefaultInstance(); in InitDefaultsscc_info_EnumValue_google_2fprotobuf_2ftype_2eproto()
165 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, _internal_metadata_),
169 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, name_),
170 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, number_),
171 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::EnumValue, options_),
184 { 36, -1, sizeof(PROTOBUF_NAMESPACE_ID::EnumValue)},
1350 // repeated .google.protobuf.EnumValue enumvalue = 2; in _InternalParse()
1427 // repeated .google.protobuf.EnumValue enumvalu in _InternalSerialize()
1597 EnumValue::EnumValue(::PROTOBUF_NAMESPACE_ID::Arena* arena) EnumValue() function in EnumValue
1604 EnumValue::EnumValue(const EnumValue& from) EnumValue() function in EnumValue
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DMapForProto2LiteTest.java60 .putInt32ToEnumField(1, TestMap.EnumValue.FOO) in setMapValues()
61 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValues()
62 .putInt32ToEnumField(3, TestMap.EnumValue.BAZ) in setMapValues()
105 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet()
106 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet()
107 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet()
131 .putInt32ToEnumField(1, TestMap.EnumValue.BAR) in updateMapValues()
133 .putInt32ToEnumField(4, TestMap.EnumValue.QUX) in updateMapValues()
171 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated()
172 assertEquals(TestMap.EnumValue in assertMapValuesUpdated()
[all...]
H A DMapLiteTest.java61 .putInt32ToEnumField(1, TestMap.EnumValue.FOO) in setMapValues()
62 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValues()
63 .putInt32ToEnumField(3, TestMap.EnumValue.BAZ) in setMapValues()
112 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet()
113 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet()
114 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet()
138 .putInt32ToEnumField(1, TestMap.EnumValue.BAR) in updateMapValues()
140 .putInt32ToEnumField(4, TestMap.EnumValue.QUX) in updateMapValues()
178 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(1)); in assertMapValuesUpdated()
179 assertEquals(TestMap.EnumValue in assertMapValuesUpdated()
[all...]
H A DMapTest.java71 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO); in setMapValuesUsingMutableMap()
72 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValuesUsingMutableMap()
73 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ); in setMapValuesUsingMutableMap()
98 .putInt32ToEnumField(1, TestMap.EnumValue.FOO) in setMapValuesUsingAccessors()
99 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValuesUsingAccessors()
100 .putInt32ToEnumField(3, TestMap.EnumValue.BAZ) in setMapValuesUsingAccessors()
150 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet()
151 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet()
152 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet()
178 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue in updateMapValuesUsingMutableMap()
[all...]
H A DMapForProto2Test.java68 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue.FOO); in setMapValuesUsingMutableMap()
69 builder.getMutableInt32ToEnumField().put(2, TestMap.EnumValue.BAR); in setMapValuesUsingMutableMap()
70 builder.getMutableInt32ToEnumField().put(3, TestMap.EnumValue.BAZ); in setMapValuesUsingMutableMap()
95 .putInt32ToEnumField(1, TestMap.EnumValue.FOO) in setMapValuesUsingAccessors()
96 .putInt32ToEnumField(2, TestMap.EnumValue.BAR) in setMapValuesUsingAccessors()
97 .putInt32ToEnumField(3, TestMap.EnumValue.BAZ) in setMapValuesUsingAccessors()
147 assertEquals(TestMap.EnumValue.FOO, message.getInt32ToEnumField().get(1)); in assertMapValuesSet()
148 assertEquals(TestMap.EnumValue.BAR, message.getInt32ToEnumField().get(2)); in assertMapValuesSet()
149 assertEquals(TestMap.EnumValue.BAZ, message.getInt32ToEnumField().get(3)); in assertMapValuesSet()
175 builder.getMutableInt32ToEnumField().put(1, TestMap.EnumValue in updateMapValuesUsingMutableMap()
[all...]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
H A DjsonToSpirv.h194 class EnumValue { class
196 EnumValue() : value(0), desc(nullptr) {} in EnumValue() function in spv::EnumValue
197 EnumValue(unsigned int the_value, const std::string& the_name, EnumCaps&& the_caps, in EnumValue() function in spv::EnumValue
221 using EnumValues = EnumValuesContainer<EnumValue>;
234 // Returns the first EnumValue in the sequence with the given value.
235 // More than one EnumValue might have the same value. Only valid
237 EnumValue& operator[](unsigned value) { in operator []()
241 // Returns the name of the first EnumValue with the given value.
259 class InstructionValue : public EnumValue {
261 InstructionValue(EnumValue
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
H A DjsonToSpirv.h194 class EnumValue { class
196 EnumValue() : value(0), desc(nullptr) {} in EnumValue() function in spv::EnumValue
197 EnumValue(unsigned int the_value, const std::string& the_name, EnumCaps&& the_caps, in EnumValue() function in spv::EnumValue
221 using EnumValues = EnumValuesContainer<EnumValue>;
234 // Returns the first EnumValue in the sequence with the given value.
235 // More than one EnumValue might have the same value. Only valid
237 EnumValue& operator[](unsigned value) { in operator []()
241 // Returns the name of the first EnumValue with the given value.
259 class InstructionValue : public EnumValue {
261 InstructionValue(EnumValue
[all...]
/third_party/spirv-headers/tools/buildHeaders/
H A DjsonToSpirv.h202 class EnumValue { class
204 EnumValue() : value(0), desc(nullptr) {} in EnumValue() function in spv::EnumValue
205 EnumValue(unsigned int the_value, const std::string& the_name, EnumCaps&& the_caps, in EnumValue() function in spv::EnumValue
233 using EnumValues = EnumValuesContainer<EnumValue>;
246 // Returns the first EnumValue in the sequence with the given value.
247 // More than one EnumValue might have the same value. Only valid
249 EnumValue& operator[](unsigned value) { in operator []()
253 // Returns the name of the first EnumValue with the given value.
271 class InstructionValue : public EnumValue {
273 InstructionValue(EnumValue
[all...]
H A DjsonToSpirv.cpp145 bool EnumValue::IsValid(OperandClass oc, const std::string& context) const in IsValid()
592 std::move(EnumValue(opcode, name, in jsonToSpirv()
603 // Populate dest with EnumValue objects constructed from source. in jsonToSpirv()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
H A DType.cs69 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.EnumValue), global::Google.Protobuf.WellKnownTypes.EnumValue.Parser, new[]{ "Name", "Number", "Options" }, null, null, null, null), in TypeReflection()
1135 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.EnumValue> _repeated_enumvalue_codec
1136 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.WellKnownTypes.EnumValue.Parser);
1137 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> enumvalue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue>();
1142 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.EnumValue> Enumvalue {
1398 public sealed partial class EnumValue : pb::IMessage<EnumValue> class
1403 private static readonly pb::MessageParser<EnumValue> _parse
1419 public EnumValue() { EnumValue() method in Google.Protobuf.WellKnownTypes.EnumValue
1426 public EnumValue(EnumValue other) : this() { EnumValue() method in Google.Protobuf.WellKnownTypes.EnumValue
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dutility.h132 // Finds and returns the EnumValue identified by enum_name in the passed tech
134 const google::protobuf::EnumValue* FindEnumValueByNameOrNull(
137 // Finds and returns the EnumValue identified by value in the passed tech
139 const google::protobuf::EnumValue* FindEnumValueByNumberOrNull(
142 // Finds and returns the EnumValue identified by enum_name without underscore in
145 // EnumValue's name is action_and_adventure or ACTION_AND_ADVENTURE.
146 const google::protobuf::EnumValue* FindEnumValueByNameWithoutUnderscoreOrNull(
H A Dutility.cc194 const google::protobuf::EnumValue* FindEnumValueByNameOrNull( in FindEnumValueByNameOrNull()
198 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i); in FindEnumValueByNameOrNull()
207 const google::protobuf::EnumValue* FindEnumValueByNumberOrNull( in FindEnumValueByNumberOrNull()
211 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i); in FindEnumValueByNumberOrNull()
220 const google::protobuf::EnumValue* FindEnumValueByNameWithoutUnderscoreOrNull( in FindEnumValueByNameWithoutUnderscoreOrNull()
224 const google::protobuf::EnumValue& enum_value = enum_type->enumvalue(i); in FindEnumValueByNameWithoutUnderscoreOrNull()
H A Ddatapiece.cc284 const google::protobuf::EnumValue* value = in ToEnum()
291 if (const google::protobuf::EnumValue* enum_value = in ToEnum()
H A Dprotostream_objectsource.cc85 const google::protobuf::EnumValue* FindEnumValueByNumber(
899 const google::protobuf::EnumValue* enum_value = in RenderNonMessageField()
1029 const google::protobuf::EnumValue* enum_value = in ReadFieldValueAsString()
1126 const google::protobuf::EnumValue* FindEnumValueByNumber( in FindEnumValueByNumber()
1129 const google::protobuf::EnumValue& ev = tech_enum.enumvalue(i); in FindEnumValueByNumber()
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util_test.cc55 using google::protobuf::EnumValue;
118 const EnumValue* FindEnumValue(const Enum& type, const std::string& name) { in FindEnumValue()
119 for (const EnumValue& value : type.enumvalue()) { in FindEnumValue()
128 const EnumValue* value = FindEnumValue(type, name); in EnumHasValue()
413 const EnumValue* value = FindEnumValue(type, "ANENUM_VAL2"); in TEST_F()
H A Dtype_resolver_util.cc55 using google::protobuf::EnumValue;
289 EnumValue* value = enum_type->mutable_enumvalue()->Add(); in ConvertEnumDescriptor()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dgen_packed_gl_enums.py15 EnumValue = namedtuple('EnumValue', ['name', 'gl_name', 'value']) variable
53 values.append(EnumValue(value_name, value_gl_name, i))
/third_party/protobuf/php/src/Google/Protobuf/
H A DEnumValue.php14 * Generated from protobuf message <code>google.protobuf.EnumValue</code>
16 class EnumValue extends \Google\Protobuf\Internal\Message class
H A DEnum.php27 * Generated from protobuf field <code>repeated .google.protobuf.EnumValue enumvalue = 2;</code>
57 * @type \Google\Protobuf\EnumValue[]|\Google\Protobuf\Internal\RepeatedField $enumvalue
101 * Generated from protobuf field <code>repeated .google.protobuf.EnumValue enumvalue = 2;</code>
112 * Generated from protobuf field <code>repeated .google.protobuf.EnumValue enumvalue = 2;</code>
113 * @param \Google\Protobuf\EnumValue[]|\Google\Protobuf\Internal\RepeatedField $var
118 $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\EnumValue::class);
/third_party/mesa3d/src/panfrost/bifrost/valhall/
H A Dvalhall.py47 class EnumValue: class
69 values.append(EnumValue(child.text, is_default))
71 values.append(EnumValue("reserved", False))
/third_party/python/Lib/test/
H A Dtest_winreg.py129 data = EnumValue(sub_key, index)
252 # EnumValue or QueryValue to raise "WindowsError: More data is
274 name = EnumValue(key, i)
300 EnumValue(HKEY_PERFORMANCE_DATA, 0)
/third_party/protobuf/php/tests/
H A DWellKnownTest.php15 use Google\Protobuf\EnumValue;
181 $m->setEnumvalue([new EnumValue()]);
196 $m = new EnumValue();
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestIssues.cs68 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.DeprecatedFieldsMessage), global::UnitTest.Issues.TestProtos.DeprecatedFieldsMessage.Parser, new[]{ "PrimitiveValue", "PrimitiveArray", "MessageValue", "MessageArray", "EnumValue", "EnumArray" }, null, null, null, null), in UnittestIssuesReflection()
974 /// <summary>Field number for the "EnumValue" field.</summary>
979 public global::UnitTest.Issues.TestProtos.DeprecatedEnum EnumValue { property in UnitTest.Issues.TestProtos.DeprecatedFieldsMessage
1014 if (EnumValue != other.EnumValue) return false; in Equals()
1026 if (EnumValue != global::UnitTest.Issues.TestProtos.DeprecatedEnum.DeprecatedZero) hash ^= EnumValue.GetHashCode(); in GetHashCode()
1054 if (EnumValue != global::UnitTest.Issues.TestProtos.DeprecatedEnum.DeprecatedZero) { in WriteTo()
1056 output.WriteEnum((int) EnumValue); in WriteTo()
1078 if (EnumValue ! in IBufferMessage.InternalWriteTo()
[all...]
/third_party/node/deps/v8/third_party/ittapi/
H A Dbuildall.py45 name, value, _ = _winreg.EnumValue(aKey, i)

Completed in 38 milliseconds

12