Lines Matching +full:clang +full:- +full:format
1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
50 - (void)testProto3MergingAndZeroValues {
193 - (void)testProto3MergingEnums {
251 - (void)testProto2MergeOneof {
261 //%PDDM-DEFINE MERGE2_TEST(SET_NAME, SET_VALUE, CLEARED_NAME, CLEARED_DEFAULT)
268 //%PDDM-EXPAND MERGE2_TEST(Int32, 10, Enum, Message2_Enum_Baz)
270 // clang-format off
278 // clang-format on
279 //%PDDM-EXPAND MERGE2_TEST(Int64, 11, Int32, 100)
281 // clang-format off
289 // clang-format on
290 //%PDDM-EXPAND MERGE2_TEST(Uint32, 12U, Int64, 101)
292 // clang-format off
300 // clang-format on
301 //%PDDM-EXPAND MERGE2_TEST(Uint64, 13U, Uint32, 102U)
303 // clang-format off
311 // clang-format on
312 //%PDDM-EXPAND MERGE2_TEST(Sint32, 14, Uint64, 103U)
314 // clang-format off
322 // clang-format on
323 //%PDDM-EXPAND MERGE2_TEST(Sint64, 15, Sint32, 104)
325 // clang-format off
333 // clang-format on
334 //%PDDM-EXPAND MERGE2_TEST(Fixed32, 16U, Sint64, 105)
336 // clang-format off
344 // clang-format on
345 //%PDDM-EXPAND MERGE2_TEST(Fixed64, 17U, Fixed32, 106U)
347 // clang-format off
355 // clang-format on
356 //%PDDM-EXPAND MERGE2_TEST(Sfixed32, 18, Fixed64, 107U)
358 // clang-format off
366 // clang-format on
367 //%PDDM-EXPAND MERGE2_TEST(Sfixed64, 19, Sfixed32, 108)
369 // clang-format off
377 // clang-format on
378 //%PDDM-EXPAND MERGE2_TEST(Float, 20.0f, Sfixed64, 109)
380 // clang-format off
388 // clang-format on
389 //%PDDM-EXPAND MERGE2_TEST(Double, 21.0, Float, 110.0f)
391 // clang-format off
399 // clang-format on
400 //%PDDM-EXPAND MERGE2_TEST(Bool, NO, Double, 111.0)
402 // clang-format off
410 // clang-format on
411 //%PDDM-EXPAND MERGE2_TEST(Enum, Message2_Enum_Bar, Bool, YES)
413 // clang-format off
421 // clang-format on
422 //%PDDM-EXPAND-END (14 expansions)
499 - (void)testProto3MergeOneof {
509 //%PDDM-DEFINE MERGE3_TEST(SET_NAME, SET_VALUE, CLEARED_NAME, CLEARED_DEFAULT)
516 //%PDDM-EXPAND MERGE3_TEST(Int32, 10, Enum, Message3_Enum_Foo)
518 // clang-format off
526 // clang-format on
527 //%PDDM-EXPAND MERGE3_TEST(Int64, 11, Int32, 0)
529 // clang-format off
537 // clang-format on
538 //%PDDM-EXPAND MERGE3_TEST(Uint32, 12U, Int64, 0)
540 // clang-format off
548 // clang-format on
549 //%PDDM-EXPAND MERGE3_TEST(Uint64, 13U, Uint32, 0U)
551 // clang-format off
559 // clang-format on
560 //%PDDM-EXPAND MERGE3_TEST(Sint32, 14, Uint64, 0U)
562 // clang-format off
570 // clang-format on
571 //%PDDM-EXPAND MERGE3_TEST(Sint64, 15, Sint32, 0)
573 // clang-format off
581 // clang-format on
582 //%PDDM-EXPAND MERGE3_TEST(Fixed32, 16U, Sint64, 0)
584 // clang-format off
592 // clang-format on
593 //%PDDM-EXPAND MERGE3_TEST(Fixed64, 17U, Fixed32, 0U)
595 // clang-format off
603 // clang-format on
604 //%PDDM-EXPAND MERGE3_TEST(Sfixed32, 18, Fixed64, 0U)
606 // clang-format off
614 // clang-format on
615 //%PDDM-EXPAND MERGE3_TEST(Sfixed64, 19, Sfixed32, 0)
617 // clang-format off
625 // clang-format on
626 //%PDDM-EXPAND MERGE3_TEST(Float, 20.0f, Sfixed64, 0)
628 // clang-format off
636 // clang-format on
637 //%PDDM-EXPAND MERGE3_TEST(Double, 21.0, Float, 0.0f)
639 // clang-format off
647 // clang-format on
648 //%PDDM-EXPAND MERGE3_TEST(Bool, YES, Double, 0.0)
650 // clang-format off
658 // clang-format on
659 //%PDDM-EXPAND MERGE3_TEST(Enum, Message3_Enum_Bar, Bool, NO)
661 // clang-format off
669 // clang-format on
670 //%PDDM-EXPAND-END (14 expansions)
725 #pragma mark - Subset from from map_tests.cc
728 - (void)testMap_CopyFromMessageMap {