Home
last modified time | relevance | path

Searched refs:GetOptions (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DCustomOptionsTest.cs78 var fileOptions = UnittestProto3Reflection.Descriptor.GetOptions(); in BuiltinOptionsCanBeRetrieved()
86 Assert.IsNull(TestAllTypes.Descriptor.GetOptions()); in OptionPresenceCanBeDetected()
90 Assert.IsFalse(UnittestProto3Reflection.Descriptor.GetOptions().HasExtension(FileOpt1)); in OptionPresenceCanBeDetected()
91 Assert.AreEqual(0, UnittestProto3Reflection.Descriptor.GetOptions().GetExtension(FileOpt1)); in OptionPresenceCanBeDetected()
94 Assert.IsTrue(UnittestCustomOptionsProto3Reflection.Descriptor.GetOptions().HasExtension(FileOpt1)); in OptionPresenceCanBeDetected()
95 Assert.AreEqual(9876543210UL, UnittestCustomOptionsProto3Reflection.Descriptor.GetOptions().GetExtension(FileOpt1)); in OptionPresenceCanBeDetected()
103 AssertOption(-100, customOptions.TryGetInt32, Int32Opt, d.GetOption, d.GetOptions().GetExtension); in ScalarOptions()
104 AssertOption(12.3456789f, customOptions.TryGetFloat, FloatOpt, d.GetOption, d.GetOptions().GetExtension); in ScalarOptions()
105 AssertOption(1.234567890123456789d, customOptions.TryGetDouble, DoubleOpt, d.GetOption, d.GetOptions().GetExtension); in ScalarOptions()
106 AssertOption("Hello, \"World\"", customOptions.TryGetString, StringOpt, d.GetOption, d.GetOptions() in ScalarOptions()
[all...]
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Ddescriptor_test.py125 self.assertEqual(self.my_enum.GetOptions(),
127 self.assertEqual(self.my_enum.values[0].GetOptions(),
129 self.assertEqual(self.my_message.GetOptions(),
131 self.assertEqual(self.my_message.fields[0].GetOptions(),
133 self.assertEqual(self.my_method.GetOptions(),
135 self.assertEqual(self.my_service.GetOptions(),
150 file_options = file_descriptor.GetOptions()
153 message_options = message_descriptor.GetOptions()
156 field_options = field_descriptor.GetOptions()
161 enum_options = enum_descriptor.GetOptions()
[all...]
H A Dgenerator_test.py145 self.assertTrue(proto.DESCRIPTOR.GetOptions().message_set_wire_format)
149 enum_options = proto.DESCRIPTOR.enum_types_by_name['AnEnum'].GetOptions()
/third_party/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py132 self.assertEqual(self.my_enum.GetOptions(),
134 self.assertEqual(self.my_enum.values[0].GetOptions(),
136 self.assertEqual(self.my_message.GetOptions(),
138 self.assertEqual(self.my_message.fields[0].GetOptions(),
140 self.assertEqual(self.my_method.GetOptions(),
142 self.assertEqual(self.my_service.GetOptions(),
160 file_options = file_descriptor.GetOptions()
163 message_options = message_descriptor.GetOptions()
166 field_options = field_descriptor.GetOptions()
171 oneof_options = oneof_descriptor.GetOptions()
[all...]
H A Dpython_message.py190 descriptor.GetOptions().message_set_wire_format):
271 field.containing_type.GetOptions().message_set_wire_format and
279 field.message_type.GetOptions().map_entry)
303 field_descriptor.GetOptions().packed)
306 field_descriptor.GetOptions().HasField('packed') and
307 field_descriptor.GetOptions().packed == False)
1070 if descriptor.GetOptions().map_entry:
1118 if descriptor.GetOptions().map_entry:
1251 field.message_type.GetOptions().map_entry):
H A Dgenerator_test.py151 self.assertTrue(proto.DESCRIPTOR.GetOptions().message_set_wire_format)
155 enum_options = proto.DESCRIPTOR.enum_types_by_name['AnEnum'].GetOptions()
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc231 // d.GetOptions().Extensions[some_pb2.extension] in GetOrBuildOptions()
235 // parameter to the GetOptions() function. in GetOrBuildOptions()
600 static PyObject* GetOptions(PyBaseDescriptor *self) { in GetOptions() function
680 { "GetOptions", (PyCFunction)GetOptions, METH_NOARGS, },
949 static PyObject* GetOptions(PyBaseDescriptor *self) { in GetOptions() function
997 { "GetOptions", (PyCFunction)GetOptions, METH_NOARGS, },
1113 static PyObject* GetOptions(PyBaseDescriptor *self) { in GetOptions() function
1132 { "GetOptions", (PyCFunctio
1244 static PyObject* GetOptions(PyBaseDescriptor *self) { GetOptions() function
1401 static PyObject* GetOptions(PyFileDescriptor *self) { GetOptions() function
1578 static PyObject* GetOptions(PyBaseDescriptor *self) { GetOptions() function
1702 static PyObject* GetOptions(PyBaseDescriptor *self) { GetOptions() function
1816 static PyObject* GetOptions(PyBaseDescriptor *self) { GetOptions() function
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DEnumValueDescriptor.cs76 [Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
85 public EnumValueOptions GetOptions() => Proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.EnumValueDescriptor
90 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
100 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
H A DEnumDescriptor.cs131 [Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
140 public EnumOptions GetOptions() => Proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.EnumDescriptor
145 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
155 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
H A DMethodDescriptor.cs76 [Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
85 public MethodOptions GetOptions() => Proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.MethodDescriptor
90 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
100 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
H A DServiceDescriptor.cs97 [Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
106 public ServiceOptions GetOptions() => Proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.ServiceDescriptor
111 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
121 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
H A DOneofDescriptor.cs120 [Obsolete("CustomOptions are obsolete. Use the GetOptions method.")]
129 public OneofOptions GetOptions() => proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.OneofDescriptor
134 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
144 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
H A DMessageDescriptor.cs290 [Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
299 public MessageOptions GetOptions() => Proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.MessageDescriptor
304 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
314 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
H A DFieldDescriptor.cs322 [Obsolete("CustomOptions are obsolete. Use the GetOptions() method.")]
331 public FieldOptions GetOptions() => Proto.Options?.Clone(); in GetOptions() method in Google.Protobuf.Reflection.FieldDescriptor
336 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
346 [Obsolete("GetOption is obsolete. Use the GetOptions() method.")]
/third_party/node/deps/v8/tools/
H A Drun-clang-tidy.py292 def GetOptions(): function
371 parser = GetOptions()
H A Dv8_presubmit.py760 def GetOptions(): function
772 parser = GetOptions()
/third_party/curl/scripts/
H A Dcompletion.pl34 Getopt::Long::GetOptions(
/third_party/mbedtls/tests/scripts/
H A Drun-test-suites.pl48 GetOptions(
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DgenIndexFilters.bat45 #GetOptions('dir=s' => \$DIR,
/third_party/node/deps/openssl/openssl/util/
H A Dmkdef.pl40 GetOptions('name=s' => \$name,
/third_party/openssl/util/
H A Dmkdef.pl40 GetOptions('name=s' => \$name,
/third_party/ltp/scripts/
H A Dcheckbashisms.pl64 GetOptions(
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/
H A Dconfigdata.pm27910 GetOptions('dump|d' => \$dump,
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/
H A Dconfigdata.pm27803 GetOptions('dump|d' => \$dump,
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/
H A Dconfigdata.pm27600 GetOptions('dump|d' => \$dump,

Completed in 134 milliseconds

1234