• Home
  • Raw
  • Download

Lines Matching refs:extensions

230   extensions = message.Extensions
238 extensions[pb2.optional_int32_extension] = 101
239 extensions[pb2.optional_int64_extension] = 102
240 extensions[pb2.optional_uint32_extension] = 103
241 extensions[pb2.optional_uint64_extension] = 104
242 extensions[pb2.optional_sint32_extension] = 105
243 extensions[pb2.optional_sint64_extension] = 106
244 extensions[pb2.optional_fixed32_extension] = 107
245 extensions[pb2.optional_fixed64_extension] = 108
246 extensions[pb2.optional_sfixed32_extension] = 109
247 extensions[pb2.optional_sfixed64_extension] = 110
248 extensions[pb2.optional_float_extension] = 111
249 extensions[pb2.optional_double_extension] = 112
250 extensions[pb2.optional_bool_extension] = True
251 extensions[pb2.optional_string_extension] = u'115'
252 extensions[pb2.optional_bytes_extension] = b'116'
254 extensions[pb2.optionalgroup_extension].a = 117
255 extensions[pb2.optional_nested_message_extension].bb = 118
256 extensions[pb2.optional_foreign_message_extension].c = 119
257 extensions[pb2.optional_import_message_extension].d = 120
258 extensions[pb2.optional_public_import_message_extension].e = 126
259 extensions[pb2.optional_lazy_message_extension].bb = 127
261 extensions[pb2.optional_nested_enum_extension] = pb2.TestAllTypes.BAZ
262 extensions[pb2.optional_nested_enum_extension] = pb2.TestAllTypes.BAZ
263 extensions[pb2.optional_foreign_enum_extension] = pb2.FOREIGN_BAZ
264 extensions[pb2.optional_import_enum_extension] = import_pb2.IMPORT_BAZ
266 extensions[pb2.optional_string_piece_extension] = u'124'
267 extensions[pb2.optional_cord_extension] = u'125'
273 extensions[pb2.repeated_int32_extension].append(201)
274 extensions[pb2.repeated_int64_extension].append(202)
275 extensions[pb2.repeated_uint32_extension].append(203)
276 extensions[pb2.repeated_uint64_extension].append(204)
277 extensions[pb2.repeated_sint32_extension].append(205)
278 extensions[pb2.repeated_sint64_extension].append(206)
279 extensions[pb2.repeated_fixed32_extension].append(207)
280 extensions[pb2.repeated_fixed64_extension].append(208)
281 extensions[pb2.repeated_sfixed32_extension].append(209)
282 extensions[pb2.repeated_sfixed64_extension].append(210)
283 extensions[pb2.repeated_float_extension].append(211)
284 extensions[pb2.repeated_double_extension].append(212)
285 extensions[pb2.repeated_bool_extension].append(True)
286 extensions[pb2.repeated_string_extension].append(u'215')
287 extensions[pb2.repeated_bytes_extension].append(b'216')
289 extensions[pb2.repeatedgroup_extension].add().a = 217
290 extensions[pb2.repeated_nested_message_extension].add().bb = 218
291 extensions[pb2.repeated_foreign_message_extension].add().c = 219
292 extensions[pb2.repeated_import_message_extension].add().d = 220
293 extensions[pb2.repeated_lazy_message_extension].add().bb = 227
295 extensions[pb2.repeated_nested_enum_extension].append(pb2.TestAllTypes.BAR)
296 extensions[pb2.repeated_foreign_enum_extension].append(pb2.FOREIGN_BAR)
297 extensions[pb2.repeated_import_enum_extension].append(import_pb2.IMPORT_BAR)
299 extensions[pb2.repeated_string_piece_extension].append(u'224')
300 extensions[pb2.repeated_cord_extension].append(u'225')
303 extensions[pb2.repeated_int32_extension].append(301)
304 extensions[pb2.repeated_int64_extension].append(302)
305 extensions[pb2.repeated_uint32_extension].append(303)
306 extensions[pb2.repeated_uint64_extension].append(304)
307 extensions[pb2.repeated_sint32_extension].append(305)
308 extensions[pb2.repeated_sint64_extension].append(306)
309 extensions[pb2.repeated_fixed32_extension].append(307)
310 extensions[pb2.repeated_fixed64_extension].append(308)
311 extensions[pb2.repeated_sfixed32_extension].append(309)
312 extensions[pb2.repeated_sfixed64_extension].append(310)
313 extensions[pb2.repeated_float_extension].append(311)
314 extensions[pb2.repeated_double_extension].append(312)
315 extensions[pb2.repeated_bool_extension].append(False)
316 extensions[pb2.repeated_string_extension].append(u'315')
317 extensions[pb2.repeated_bytes_extension].append(b'316')
319 extensions[pb2.repeatedgroup_extension].add().a = 317
320 extensions[pb2.repeated_nested_message_extension].add().bb = 318
321 extensions[pb2.repeated_foreign_message_extension].add().c = 319
322 extensions[pb2.repeated_import_message_extension].add().d = 320
323 extensions[pb2.repeated_lazy_message_extension].add().bb = 327
325 extensions[pb2.repeated_nested_enum_extension].append(pb2.TestAllTypes.BAZ)
326 extensions[pb2.repeated_foreign_enum_extension].append(pb2.FOREIGN_BAZ)
327 extensions[pb2.repeated_import_enum_extension].append(import_pb2.IMPORT_BAZ)
329 extensions[pb2.repeated_string_piece_extension].append(u'324')
330 extensions[pb2.repeated_cord_extension].append(u'325')
336 extensions[pb2.default_int32_extension] = 401
337 extensions[pb2.default_int64_extension] = 402
338 extensions[pb2.default_uint32_extension] = 403
339 extensions[pb2.default_uint64_extension] = 404
340 extensions[pb2.default_sint32_extension] = 405
341 extensions[pb2.default_sint64_extension] = 406
342 extensions[pb2.default_fixed32_extension] = 407
343 extensions[pb2.default_fixed64_extension] = 408
344 extensions[pb2.default_sfixed32_extension] = 409
345 extensions[pb2.default_sfixed64_extension] = 410
346 extensions[pb2.default_float_extension] = 411
347 extensions[pb2.default_double_extension] = 412
348 extensions[pb2.default_bool_extension] = False
349 extensions[pb2.default_string_extension] = u'415'
350 extensions[pb2.default_bytes_extension] = b'416'
352 extensions[pb2.default_nested_enum_extension] = pb2.TestAllTypes.FOO
353 extensions[pb2.default_foreign_enum_extension] = pb2.FOREIGN_FOO
354 extensions[pb2.default_import_enum_extension] = import_pb2.IMPORT_FOO
356 extensions[pb2.default_string_piece_extension] = u'424'
357 extensions[pb2.default_cord_extension] = '425'
359 extensions[pb2.oneof_uint32_extension] = 601
360 extensions[pb2.oneof_nested_message_extension].bb = 602
361 extensions[pb2.oneof_string_extension] = u'603'
362 extensions[pb2.oneof_bytes_extension] = b'604'
678 extensions = message.Extensions
681 extensions[pb2.packed_int32_extension].extend([601, 701])
682 extensions[pb2.packed_int64_extension].extend([602, 702])
683 extensions[pb2.packed_uint32_extension].extend([603, 703])
684 extensions[pb2.packed_uint64_extension].extend([604, 704])
685 extensions[pb2.packed_sint32_extension].extend([605, 705])
686 extensions[pb2.packed_sint64_extension].extend([606, 706])
687 extensions[pb2.packed_fixed32_extension].extend([607, 707])
688 extensions[pb2.packed_fixed64_extension].extend([608, 708])
689 extensions[pb2.packed_sfixed32_extension].extend([609, 709])
690 extensions[pb2.packed_sfixed64_extension].extend([610, 710])
691 extensions[pb2.packed_float_extension].extend([611.0, 711.0])
692 extensions[pb2.packed_double_extension].extend([612.0, 712.0])
693 extensions[pb2.packed_bool_extension].extend([True, False])
694 extensions[pb2.packed_enum_extension].extend([unittest_pb2.FOREIGN_BAR,