• Home
  • Raw
  • Download

Lines Matching refs:option

47 // A custom file option (defined below).
48 option (file_opt1) = 9876543210;
55 option csharp_namespace = "UnitTest.Issues.TestProtos";
100 option message_set_wire_format = false;
102 option (message_opt1) = -56;
108 option (oneof_opt1) = -99;
113 option (enum_opt1) = -789;
136 option (service_opt1) = -9876543210;
139 option (method_opt1) = METHODOPT1_VAL2;
179 option (bool_opt) = false;
180 option (int32_opt) = -0x80000000;
181 option (int64_opt) = -0x8000000000000000;
182 option (uint32_opt) = 0;
183 option (uint64_opt) = 0;
184 option (sint32_opt) = -0x80000000;
185 option (sint64_opt) = -0x8000000000000000;
186 option (fixed32_opt) = 0;
187 option (fixed64_opt) = 0;
188 option (sfixed32_opt) = -0x80000000;
189 option (sfixed64_opt) = -0x8000000000000000;
193 option (bool_opt) = true;
194 option (int32_opt) = 0x7FFFFFFF;
195 option (int64_opt) = 0x7FFFFFFFFFFFFFFF;
196 option (uint32_opt) = 0xFFFFFFFF;
197 option (uint64_opt) = 0xFFFFFFFFFFFFFFFF;
198 option (sint32_opt) = 0x7FFFFFFF;
199 option (sint64_opt) = 0x7FFFFFFFFFFFFFFF;
200 option (fixed32_opt) = 0xFFFFFFFF;
201 option (fixed64_opt) = 0xFFFFFFFFFFFFFFFF;
202 option (sfixed32_opt) = 0x7FFFFFFF;
203 option (sfixed64_opt) = 0x7FFFFFFFFFFFFFFF;
207 option (int32_opt) = -100; // To test sign-extension.
208 option (float_opt) = 12.3456789;
209 option (double_opt) = 1.234567890123456789;
210 option (string_opt) = "Hello, \"World\"";
211 option (bytes_opt) = "Hello\0World";
212 option (enum_opt) = TEST_OPTION_ENUM_TYPE2;
216 option (float_opt) = 12;
217 option (double_opt) = 154;
221 option (float_opt) = -12;
222 option (double_opt) = -154;
263 option (.protobuf_unittest.complex_opt1).foo = 42;
264 option (protobuf_unittest.complex_opt1).foo4 = 99;
265 option (protobuf_unittest.complex_opt1).foo4 = 88;
266 option (complex_opt2).baz = 987;
267 option (complex_opt2).bar.foo = 743;
268 option (ComplexOptionType2.ComplexOptionType4.complex_opt4).waldo = 1971;
269 option (complex_opt2).fred.waldo = 321;
270 option (complex_opt2).barney = { waldo: 101 };
271 option (complex_opt2).barney = { waldo: 212 };
272 option (protobuf_unittest.complex_opt3).qux = 9;
276 // Definitions for testing aggregate option parsing.
279 // A helper type used to test aggregate option parsing
288 // Allow Aggregate to be used as an option at all possible locations
299 option (fileopt) = {
308 option (msgopt) = { i:101 s:'MessageAnnotation' };
313 option (serviceopt) = { s:'ServiceAnnotation' };
315 option (methodopt) = { s:'MethodAnnotation' };
320 option (enumopt) = { s:'EnumAnnotation' };
328 option (message_opt1) = 1001;
333 option (enum_opt1) = 1003;