Home
last modified time | relevance | path

Searched refs:ExtensionSet (Results 1 – 25 of 68) sorted by relevance

123

/third_party/protobuf/csharp/src/Google.Protobuf/
DExtensionSet.cs46 public static class ExtensionSet class
48 …private static bool TryGetValue<TTarget>(ref ExtensionSet<TTarget> set, Extension extension, out I…
61 …public static TValue Get<TTarget, TValue>(ref ExtensionSet<TTarget> set, Extension<TTarget, TValue…
77 …public static RepeatedField<TValue> Get<TTarget, TValue>(ref ExtensionSet<TTarget> set, RepeatedEx…
93 …public static RepeatedField<TValue> GetOrInitialize<TTarget, TValue>(ref ExtensionSet<TTarget> set…
99 set = new ExtensionSet<TTarget>();
117 …public static void Set<TTarget, TValue>(ref ExtensionSet<TTarget> set, Extension<TTarget, TValue> …
125 set = new ExtensionSet<TTarget>();
143 …public static bool Has<TTarget, TValue>(ref ExtensionSet<TTarget> set, Extension<TTarget, TValue> …
152 …public static void Clear<TTarget, TValue>(ref ExtensionSet<TTarget> set, Extension<TTarget, TValue…
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DExtensionSetTest.cs13 ExtensionSet<TestAllExtensions> extensions = new ExtensionSet<TestAllExtensions>(); in EmptyExtensionSet()
20 ExtensionSet<TestAllExtensions> extensions = null; in MergeExtensionSet()
21 ExtensionSet.Set(ref extensions, OptionalBoolExtension, true); in MergeExtensionSet()
23 ExtensionSet<TestAllExtensions> other = null; in MergeExtensionSet()
25 Assert.IsFalse(ExtensionSet.Has(ref other, OptionalBoolExtension)); in MergeExtensionSet()
26 ExtensionSet.MergeFrom(ref other, extensions); in MergeExtensionSet()
27 Assert.IsTrue(ExtensionSet.Has(ref other, OptionalBoolExtension)); in MergeExtensionSet()
76 ExtensionSet<TestAllExtensions> extensionSet = null; in TryMergeFieldFrom_CodedInputStream()
78 Assert.IsTrue(ExtensionSet.TryMergeFieldFrom(ref extensionSet, input)); in TryMergeFieldFrom_CodedInputStream()
79 Assert.AreEqual("abcd", ExtensionSet.Get(ref extensionSet, OptionalStringExtension)); in TryMergeFieldFrom_CodedInputStream()
/third_party/protobuf/src/google/protobuf/
Dextension_set.cc137 void ExtensionSet::RegisterExtension(const MessageLite* containing_type, in RegisterExtension()
160 void ExtensionSet::RegisterEnumExtension(const MessageLite* containing_type, in RegisterEnumExtension()
172 void ExtensionSet::RegisterMessageExtension(const MessageLite* containing_type, in RegisterMessageExtension()
187 ExtensionSet::ExtensionSet(Arena* arena) in ExtensionSet() function in google::protobuf::internal::ExtensionSet
195 ExtensionSet::ExtensionSet() in ExtensionSet() function in google::protobuf::internal::ExtensionSet
203 ExtensionSet::~ExtensionSet() { in ~ExtensionSet()
215 void ExtensionSet::DeleteFlatMap(const ExtensionSet::KeyValue* flat, in DeleteFlatMap()
224 ::operator delete[](const_cast<ExtensionSet::KeyValue*>(flat), in DeleteFlatMap()
236 bool ExtensionSet::Has(int number) const { in Has()
243 int ExtensionSet::NumExtensions() const { in NumExtensions()
[all …]
Dextension_set.h174 class PROTOBUF_EXPORT ExtensionSet {
176 ExtensionSet();
177 explicit ExtensionSet(Arena* arena);
178 ~ExtensionSet();
370 void MergeFrom(const ExtensionSet& other);
371 void Swap(ExtensionSet* other);
372 void SwapExtension(ExtensionSet* other, int number);
414 ExtensionSet* me; in ParseMessageSet()
850 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ExtensionSet);
854 inline void ExtensionSet::SetString(int number, FieldType type, in SetString()
[all …]
Dextension_set_heavy.cc102 void ExtensionSet::AppendToList( in AppendToList()
149 const MessageLite& ExtensionSet::GetMessage(int number, in GetMessage()
167 MessageLite* ExtensionSet::MutableMessage(const FieldDescriptor* descriptor, in MutableMessage()
193 MessageLite* ExtensionSet::ReleaseMessage(const FieldDescriptor* descriptor, in ReleaseMessage()
221 MessageLite* ExtensionSet::UnsafeArenaReleaseMessage( in UnsafeArenaReleaseMessage()
244 ExtensionSet::Extension* ExtensionSet::MaybeNewRepeatedExtension( in MaybeNewRepeatedExtension()
259 MessageLite* ExtensionSet::AddMessage(const FieldDescriptor* descriptor, in AddMessage()
283 void ExtensionSet::AddAllocatedMessage(const FieldDescriptor* descriptor, in AddAllocatedMessage()
321 bool ExtensionSet::FindExtension(int wire_type, uint32 field, in FindExtension()
343 const char* ExtensionSet::ParseField(uint64 tag, const char* ptr, in ParseField()
[all …]
Ddynamic_message.cc93 using internal::ExtensionSet;
388 ExtensionSet(GetArena()); in SharedCtor()
491 reinterpret_cast<ExtensionSet*>( in ~DynamicMessage()
493 ->~ExtensionSet(); in ~DynamicMessage()
763 size += sizeof(ExtensionSet); in GetPrototypeNoLock()
/third_party/protobuf/
Dlibprotobuf_lite.map84 "google::protobuf::internal::ExtensionSet::ExtensionSet(google::protobuf::Arena*)";
85 "google::protobuf::internal::ExtensionSet::Clear()";
86 …"google::protobuf::internal::ExtensionSet::MergeFrom(google::protobuf::internal::ExtensionSet cons…
87 "google::protobuf::internal::ExtensionSet::IsInitialized() const";
88 "google::protobuf::internal::ExtensionSet::ByteSize() const";
89 "google::protobuf::internal::ExtensionSet::~ExtensionSet()";
90 …"google::protobuf::internal::ExtensionSet::_InternalSerialize(int, int, unsigned char*, google::pr…
101 "google::protobuf::internal::ExtensionSet::Extension::GetSize() const";
102 "google::protobuf::internal::ExtensionSet::FindOrNull(int) const";
103 …tobuf::internal::ExtensionSet::MaybeNewExtension(int, google::protobuf::FieldDescriptor const*, go…
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestSelfreferentialOptions.cs73 private pb::ExtensionSet<FooOptions> _extensions;
74 private pb::ExtensionSet<FooOptions> _Extensions { get { return _extensions; } }
102 _extensions = pb::ExtensionSet.Clone(other._extensions); in FooOptions()
275 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); in MergeFrom()
288 if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { in MergeFrom()
312 if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { in IBufferMessage.InternalMergeFrom()
330 return pb::ExtensionSet.Get(ref _extensions, extension); in GetExtension()
333 return pb::ExtensionSet.Get(ref _extensions, extension); in GetExtension()
336 return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); in GetOrInitializeExtension()
339 pb::ExtensionSet.Set(ref _extensions, extension, value); in SetExtension()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs317 …var getFunc = (Func<T1, ExtensionSet<T1>>)prop.GetGetMethod(true).CreateDelegate(typeof(Func<T1, E… in CreateIsInitializedCaller()
319 …var getFunc = (Func<T1, ExtensionSet<T1>>)prop.GetMethod.CreateDelegate(typeof(Func<T1, ExtensionS… in CreateIsInitializedCaller()
321 var initializedFunc = (Func<ExtensionSet<T1>, bool>) in CreateIsInitializedCaller()
322 typeof(ExtensionSet<T1>) in CreateIsInitializedCaller()
325 .CreateDelegate(typeof(Func<ExtensionSet<T1>, bool>)); in CreateIsInitializedCaller()
DDescriptor.cs1923 internal pb::ExtensionSet<ExtensionRangeOptions> _extensions;
1924 private pb::ExtensionSet<ExtensionRangeOptions> _Extensions { get { return _extensions; } }
1949 _extensions = pb::ExtensionSet.Clone(other._extensions); in ExtensionRangeOptions()
2055 pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions); in MergeFrom()
2068 if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) { in MergeFrom()
2088 if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) { in IBufferMessage.InternalMergeFrom()
2102 return pb::ExtensionSet.Get(ref _extensions, extension); in GetExtension()
2105 return pb::ExtensionSet.Get(ref _extensions, extension); in GetExtension()
2108 return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension); in GetOrInitializeExtension()
2111 pb::ExtensionSet.Set(ref _extensions, extension, value); in SetExtension()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/
Dextensions.h30 using ExtensionSet = EnumSet<Extension>; variable
36 std::string ExtensionSetToString(const ExtensionSet& extensions);
Dextensions.cpp37 std::string ExtensionSetToString(const ExtensionSet& extensions) { in ExtensionSetToString()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dextensions.h30 using ExtensionSet = EnumSet<Extension>; variable
36 std::string ExtensionSetToString(const ExtensionSet& extensions);
Dextensions.cpp37 std::string ExtensionSetToString(const ExtensionSet& extensions) { in ExtensionSetToString()
/third_party/spirv-tools/source/
Dextensions.h30 using ExtensionSet = EnumSet<Extension>; variable
36 std::string ExtensionSetToString(const ExtensionSet& extensions);
Dextensions.cpp37 std::string ExtensionSetToString(const ExtensionSet& extensions) { in ExtensionSetToString()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dextensions.h30 using ExtensionSet = EnumSet<Extension>; variable
36 std::string ExtensionSetToString(const ExtensionSet& extensions);
Dvalidate_instruction.cpp41 using libspirv::ExtensionSet;
112 ExtensionSet RequiredExtensions(const ValidationState_t& state, in RequiredExtensions()
121 return ExtensionSet(); in RequiredExtensions()
175 const ExtensionSet required_extensions = in ExtensionCheck()
Dextensions.cpp38 std::string ExtensionSetToString(const ExtensionSet& extensions) { in ExtensionSetToString()
/third_party/cef/tests/cefclient/browser/
Droot_window.cc32 void RootWindow::OnExtensionsChanged(const ExtensionSet& extensions) { in OnExtensionsChanged()
40 ExtensionSet::const_iterator it = extensions.begin(); in OnExtensionsChanged()
Droot_window.h67 typedef std::set<CefRefPtr<CefExtension>> ExtensionSet; typedef
196 virtual void OnExtensionsChanged(const ExtensionSet& extensions);
Dviews_window.h32 typedef std::set<CefRefPtr<CefExtension>> ExtensionSet; typedef
122 void OnExtensionsChanged(const ExtensionSet& extensions);
217 void OnExtensionIconsLoaded(const ExtensionSet& extensions,
Droot_window_views.h50 void OnExtensionsChanged(const ExtensionSet& extensions) override;
121 ExtensionSet pending_extensions_;
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/
Dval_state_test.cpp34 using libspirv::ExtensionSet;
124 const auto set1 = ExtensionSet { in TEST_F()
128 const auto set2 = ExtensionSet { in TEST_F()
/third_party/spirv-tools/test/val/
Dval_state_test.cpp125 const auto set1 = ExtensionSet{Extension::kSPV_KHR_multiview, in TEST_F()
127 const auto set2 = ExtensionSet{Extension::kSPV_KHR_shader_draw_parameters, in TEST_F()

123