1 /* This file is perl-generated, of course */
5 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(structs, test,
6 "Logs about the gigantic struct test");
22 void write_read(gras_datadesc_type_t type, void *src, void *dst,
23 gras_socket_t * sock, int direction);
25 GRAS_DEFINE_TYPE(cccc, struct cccc {
33 GRAS_DEFINE_TYPE(ccsc, struct ccsc {
41 GRAS_DEFINE_TYPE(ccic, struct ccic {
49 GRAS_DEFINE_TYPE(cclc, struct cclc {
57 GRAS_DEFINE_TYPE(ccLc, struct ccLc {
65 GRAS_DEFINE_TYPE(ccfc, struct ccfc {
73 GRAS_DEFINE_TYPE(ccdc, struct ccdc {
81 GRAS_DEFINE_TYPE(sccc, struct sccc {
89 GRAS_DEFINE_TYPE(scsc, struct scsc {
97 GRAS_DEFINE_TYPE(scic, struct scic {
105 GRAS_DEFINE_TYPE(sclc, struct sclc {
113 GRAS_DEFINE_TYPE(scLc, struct scLc {
121 GRAS_DEFINE_TYPE(scfc, struct scfc {
129 GRAS_DEFINE_TYPE(scdc, struct scdc {
137 GRAS_DEFINE_TYPE(iccc, struct iccc {
145 GRAS_DEFINE_TYPE(icsc, struct icsc {
153 GRAS_DEFINE_TYPE(icic, struct icic {
161 GRAS_DEFINE_TYPE(iclc, struct iclc {
169 GRAS_DEFINE_TYPE(icLc, struct icLc {
177 GRAS_DEFINE_TYPE(icfc, struct icfc {
185 GRAS_DEFINE_TYPE(icdc, struct icdc {
193 GRAS_DEFINE_TYPE(lccc, struct lccc {
201 GRAS_DEFINE_TYPE(lcsc, struct lcsc {
209 GRAS_DEFINE_TYPE(lcic, struct lcic {
217 GRAS_DEFINE_TYPE(lclc, struct lclc {
225 GRAS_DEFINE_TYPE(lcLc, struct lcLc {
233 GRAS_DEFINE_TYPE(lcfc, struct lcfc {
241 GRAS_DEFINE_TYPE(lcdc, struct lcdc {
249 GRAS_DEFINE_TYPE(Lccc, struct Lccc {
257 GRAS_DEFINE_TYPE(Lcsc, struct Lcsc {
265 GRAS_DEFINE_TYPE(Lcic, struct Lcic {
273 GRAS_DEFINE_TYPE(Lclc, struct Lclc {
281 GRAS_DEFINE_TYPE(LcLc, struct LcLc {
289 GRAS_DEFINE_TYPE(Lcfc, struct Lcfc {
297 GRAS_DEFINE_TYPE(Lcdc, struct Lcdc {
305 GRAS_DEFINE_TYPE(fccc, struct fccc {
313 GRAS_DEFINE_TYPE(fcsc, struct fcsc {
321 GRAS_DEFINE_TYPE(fcic, struct fcic {
329 GRAS_DEFINE_TYPE(fclc, struct fclc {
337 GRAS_DEFINE_TYPE(fcLc, struct fcLc {
345 GRAS_DEFINE_TYPE(fcfc, struct fcfc {
353 GRAS_DEFINE_TYPE(fcdc, struct fcdc {
361 GRAS_DEFINE_TYPE(dccc, struct dccc {
369 GRAS_DEFINE_TYPE(dcsc, struct dcsc {
377 GRAS_DEFINE_TYPE(dcic, struct dcic {
385 GRAS_DEFINE_TYPE(dclc, struct dclc {
393 GRAS_DEFINE_TYPE(dcLc, struct dcLc {
401 GRAS_DEFINE_TYPE(dcfc, struct dcfc {
409 GRAS_DEFINE_TYPE(dcdc, struct dcdc {
417 #define test(a) xbt_assert(a)
418 void test_structures(gras_socket_t * sock, int direction);
419 void test_structures(gras_socket_t * sock, int direction)
421 struct cccc my_cccc =
422 { 'w' + (char) 1, 'w' + (char) 2, 'w' + (char) 3, 'w' + (char) 4 },
424 struct ccsc my_ccsc =
425 { 'w' + (char) 1, 'w' + (char) 2, 134 + (short int) 3,
426 'w' + (char) 4 }, my_ccsc2;
427 struct ccic my_ccic =
428 { 'w' + (char) 1, 'w' + (char) 2, -11249 + (int) 3, 'w' + (char) 4 },
430 struct cclc my_cclc =
431 { 'w' + (char) 1, 'w' + (char) 2, 31319919 + (long int) 3,
432 'w' + (char) 4 }, my_cclc2;
433 struct ccLc my_ccLc =
434 { 'w' + (char) 1, 'w' + (char) 2, -232130010 + (long long int) 3,
435 'w' + (char) 4 }, my_ccLc2;
436 struct ccfc my_ccfc =
437 { 'w' + (char) 1, 'w' + (char) 2, -11313.1135 + (float) 3,
438 'w' + (char) 4 }, my_ccfc2;
439 struct ccdc my_ccdc =
440 { 'w' + (char) 1, 'w' + (char) 2, 1424420.11331 + (double) 3,
441 'w' + (char) 4 }, my_ccdc2;
442 struct sccc my_sccc =
443 { 134 + (short int) 1, 'w' + (char) 2, 'w' + (char) 3,
444 'w' + (char) 4 }, my_sccc2;
445 struct scsc my_scsc =
446 { 134 + (short int) 1, 'w' + (char) 2, 134 + (short int) 3,
447 'w' + (char) 4 }, my_scsc2;
448 struct scic my_scic =
449 { 134 + (short int) 1, 'w' + (char) 2, -11249 + (int) 3,
450 'w' + (char) 4 }, my_scic2;
451 struct sclc my_sclc =
452 { 134 + (short int) 1, 'w' + (char) 2, 31319919 + (long int) 3,
453 'w' + (char) 4 }, my_sclc2;
454 struct scLc my_scLc =
455 { 134 + (short int) 1, 'w' + (char) 2,
456 -232130010 + (long long int) 3, 'w' + (char) 4 }, my_scLc2;
457 struct scfc my_scfc =
458 { 134 + (short int) 1, 'w' + (char) 2, -11313.1135 + (float) 3,
459 'w' + (char) 4 }, my_scfc2;
460 struct scdc my_scdc =
461 { 134 + (short int) 1, 'w' + (char) 2, 1424420.11331 + (double) 3,
462 'w' + (char) 4 }, my_scdc2;
463 struct iccc my_iccc =
464 { -11249 + (int) 1, 'w' + (char) 2, 'w' + (char) 3, 'w' + (char) 4 },
466 struct icsc my_icsc =
467 { -11249 + (int) 1, 'w' + (char) 2, 134 + (short int) 3,
468 'w' + (char) 4 }, my_icsc2;
469 struct icic my_icic =
470 { -11249 + (int) 1, 'w' + (char) 2, -11249 + (int) 3,
471 'w' + (char) 4 }, my_icic2;
472 struct iclc my_iclc =
473 { -11249 + (int) 1, 'w' + (char) 2, 31319919 + (long int) 3,
474 'w' + (char) 4 }, my_iclc2;
475 struct icLc my_icLc =
476 { -11249 + (int) 1, 'w' + (char) 2, -232130010 + (long long int) 3,
477 'w' + (char) 4 }, my_icLc2;
478 struct icfc my_icfc =
479 { -11249 + (int) 1, 'w' + (char) 2, -11313.1135 + (float) 3,
480 'w' + (char) 4 }, my_icfc2;
481 struct icdc my_icdc =
482 { -11249 + (int) 1, 'w' + (char) 2, 1424420.11331 + (double) 3,
483 'w' + (char) 4 }, my_icdc2;
484 struct lccc my_lccc =
485 { 31319919 + (long int) 1, 'w' + (char) 2, 'w' + (char) 3,
486 'w' + (char) 4 }, my_lccc2;
487 struct lcsc my_lcsc =
488 { 31319919 + (long int) 1, 'w' + (char) 2, 134 + (short int) 3,
489 'w' + (char) 4 }, my_lcsc2;
490 struct lcic my_lcic =
491 { 31319919 + (long int) 1, 'w' + (char) 2, -11249 + (int) 3,
492 'w' + (char) 4 }, my_lcic2;
493 struct lclc my_lclc =
494 { 31319919 + (long int) 1, 'w' + (char) 2, 31319919 + (long int) 3,
495 'w' + (char) 4 }, my_lclc2;
496 struct lcLc my_lcLc =
497 { 31319919 + (long int) 1, 'w' + (char) 2,
498 -232130010 + (long long int) 3, 'w' + (char) 4 }, my_lcLc2;
499 struct lcfc my_lcfc =
500 { 31319919 + (long int) 1, 'w' + (char) 2, -11313.1135 + (float) 3,
501 'w' + (char) 4 }, my_lcfc2;
502 struct lcdc my_lcdc =
503 { 31319919 + (long int) 1, 'w' + (char) 2,
504 1424420.11331 + (double) 3, 'w' + (char) 4 }, my_lcdc2;
505 struct Lccc my_Lccc =
506 { -232130010 + (long long int) 1, 'w' + (char) 2, 'w' + (char) 3,
507 'w' + (char) 4 }, my_Lccc2;
508 struct Lcsc my_Lcsc =
509 { -232130010 + (long long int) 1, 'w' + (char) 2,
510 134 + (short int) 3, 'w' + (char) 4 }, my_Lcsc2;
511 struct Lcic my_Lcic =
512 { -232130010 + (long long int) 1, 'w' + (char) 2, -11249 + (int) 3,
513 'w' + (char) 4 }, my_Lcic2;
514 struct Lclc my_Lclc =
515 { -232130010 + (long long int) 1, 'w' + (char) 2,
516 31319919 + (long int) 3, 'w' + (char) 4 }, my_Lclc2;
517 struct LcLc my_LcLc =
518 { -232130010 + (long long int) 1, 'w' + (char) 2,
519 -232130010 + (long long int) 3, 'w' + (char) 4 }, my_LcLc2;
520 struct Lcfc my_Lcfc =
521 { -232130010 + (long long int) 1, 'w' + (char) 2,
522 -11313.1135 + (float) 3, 'w' + (char) 4 }, my_Lcfc2;
523 struct Lcdc my_Lcdc =
524 { -232130010 + (long long int) 1, 'w' + (char) 2,
525 1424420.11331 + (double) 3, 'w' + (char) 4 }, my_Lcdc2;
526 struct fccc my_fccc =
527 { -11313.1135 + (float) 1, 'w' + (char) 2, 'w' + (char) 3,
528 'w' + (char) 4 }, my_fccc2;
529 struct fcsc my_fcsc =
530 { -11313.1135 + (float) 1, 'w' + (char) 2, 134 + (short int) 3,
531 'w' + (char) 4 }, my_fcsc2;
532 struct fcic my_fcic =
533 { -11313.1135 + (float) 1, 'w' + (char) 2, -11249 + (int) 3,
534 'w' + (char) 4 }, my_fcic2;
535 struct fclc my_fclc =
536 { -11313.1135 + (float) 1, 'w' + (char) 2, 31319919 + (long int) 3,
537 'w' + (char) 4 }, my_fclc2;
538 struct fcLc my_fcLc =
539 { -11313.1135 + (float) 1, 'w' + (char) 2,
540 -232130010 + (long long int) 3, 'w' + (char) 4 }, my_fcLc2;
541 struct fcfc my_fcfc =
542 { -11313.1135 + (float) 1, 'w' + (char) 2, -11313.1135 + (float) 3,
543 'w' + (char) 4 }, my_fcfc2;
544 struct fcdc my_fcdc =
545 { -11313.1135 + (float) 1, 'w' + (char) 2,
546 1424420.11331 + (double) 3, 'w' + (char) 4 }, my_fcdc2;
547 struct dccc my_dccc =
548 { 1424420.11331 + (double) 1, 'w' + (char) 2, 'w' + (char) 3,
549 'w' + (char) 4 }, my_dccc2;
550 struct dcsc my_dcsc =
551 { 1424420.11331 + (double) 1, 'w' + (char) 2, 134 + (short int) 3,
552 'w' + (char) 4 }, my_dcsc2;
553 struct dcic my_dcic =
554 { 1424420.11331 + (double) 1, 'w' + (char) 2, -11249 + (int) 3,
555 'w' + (char) 4 }, my_dcic2;
556 struct dclc my_dclc =
557 { 1424420.11331 + (double) 1, 'w' + (char) 2,
558 31319919 + (long int) 3, 'w' + (char) 4 }, my_dclc2;
559 struct dcLc my_dcLc =
560 { 1424420.11331 + (double) 1, 'w' + (char) 2,
561 -232130010 + (long long int) 3, 'w' + (char) 4 }, my_dcLc2;
562 struct dcfc my_dcfc =
563 { 1424420.11331 + (double) 1, 'w' + (char) 2,
564 -11313.1135 + (float) 3, 'w' + (char) 4 }, my_dcfc2;
565 struct dcdc my_dcdc =
566 { 1424420.11331 + (double) 1, 'w' + (char) 2,
567 1424420.11331 + (double) 3, 'w' + (char) 4 }, my_dcdc2;
569 ("---- Test on all possible struct having 3 fields (49 structs) ----");
570 write_read(gras_datadesc_by_symbol(cccc), &my_cccc, &my_cccc2, sock,
572 if (direction == READ || direction == RW) {
574 test(my_cccc.a == my_cccc2.a);
575 test(my_cccc.b == my_cccc2.b);
576 test(my_cccc.c == my_cccc2.c);
577 test(my_cccc.d == my_cccc2.d);
579 VERB0("Passed cccc");
581 write_read(gras_datadesc_by_symbol(ccsc), &my_ccsc, &my_ccsc2, sock,
583 if (direction == READ || direction == RW) {
585 test(my_ccsc.a == my_ccsc2.a);
586 test(my_ccsc.b == my_ccsc2.b);
587 test(my_ccsc.c == my_ccsc2.c);
588 test(my_ccsc.d == my_ccsc2.d);
590 VERB0("Passed ccsc");
592 write_read(gras_datadesc_by_symbol(ccic), &my_ccic, &my_ccic2, sock,
594 if (direction == READ || direction == RW) {
596 test(my_ccic.a == my_ccic2.a);
597 test(my_ccic.b == my_ccic2.b);
598 test(my_ccic.c == my_ccic2.c);
599 test(my_ccic.d == my_ccic2.d);
601 VERB0("Passed ccic");
603 write_read(gras_datadesc_by_symbol(cclc), &my_cclc, &my_cclc2, sock,
605 if (direction == READ || direction == RW) {
607 test(my_cclc.a == my_cclc2.a);
608 test(my_cclc.b == my_cclc2.b);
609 test(my_cclc.c == my_cclc2.c);
610 test(my_cclc.d == my_cclc2.d);
612 VERB0("Passed cclc");
614 write_read(gras_datadesc_by_symbol(ccLc), &my_ccLc, &my_ccLc2, sock,
616 if (direction == READ || direction == RW) {
618 test(my_ccLc.a == my_ccLc2.a);
619 test(my_ccLc.b == my_ccLc2.b);
620 test(my_ccLc.c == my_ccLc2.c);
621 test(my_ccLc.d == my_ccLc2.d);
623 VERB0("Passed ccLc");
625 write_read(gras_datadesc_by_symbol(ccfc), &my_ccfc, &my_ccfc2, sock,
627 if (direction == READ || direction == RW) {
629 test(my_ccfc.a == my_ccfc2.a);
630 test(my_ccfc.b == my_ccfc2.b);
631 test(my_ccfc.c == my_ccfc2.c);
632 test(my_ccfc.d == my_ccfc2.d);
634 VERB0("Passed ccfc");
636 write_read(gras_datadesc_by_symbol(ccdc), &my_ccdc, &my_ccdc2, sock,
638 if (direction == READ || direction == RW) {
640 test(my_ccdc.a == my_ccdc2.a);
641 test(my_ccdc.b == my_ccdc2.b);
642 test(my_ccdc.c == my_ccdc2.c);
643 test(my_ccdc.d == my_ccdc2.d);
645 VERB0("Passed ccdc");
647 write_read(gras_datadesc_by_symbol(sccc), &my_sccc, &my_sccc2, sock,
649 if (direction == READ || direction == RW) {
651 test(my_sccc.a == my_sccc2.a);
652 test(my_sccc.b == my_sccc2.b);
653 test(my_sccc.c == my_sccc2.c);
654 test(my_sccc.d == my_sccc2.d);
656 VERB0("Passed sccc");
658 write_read(gras_datadesc_by_symbol(scsc), &my_scsc, &my_scsc2, sock,
660 if (direction == READ || direction == RW) {
662 test(my_scsc.a == my_scsc2.a);
663 test(my_scsc.b == my_scsc2.b);
664 test(my_scsc.c == my_scsc2.c);
665 test(my_scsc.d == my_scsc2.d);
667 VERB0("Passed scsc");
669 write_read(gras_datadesc_by_symbol(scic), &my_scic, &my_scic2, sock,
671 if (direction == READ || direction == RW) {
673 test(my_scic.a == my_scic2.a);
674 test(my_scic.b == my_scic2.b);
675 test(my_scic.c == my_scic2.c);
676 test(my_scic.d == my_scic2.d);
678 VERB0("Passed scic");
680 write_read(gras_datadesc_by_symbol(sclc), &my_sclc, &my_sclc2, sock,
682 if (direction == READ || direction == RW) {
684 test(my_sclc.a == my_sclc2.a);
685 test(my_sclc.b == my_sclc2.b);
686 test(my_sclc.c == my_sclc2.c);
687 test(my_sclc.d == my_sclc2.d);
689 VERB0("Passed sclc");
691 write_read(gras_datadesc_by_symbol(scLc), &my_scLc, &my_scLc2, sock,
693 if (direction == READ || direction == RW) {
695 test(my_scLc.a == my_scLc2.a);
696 test(my_scLc.b == my_scLc2.b);
697 test(my_scLc.c == my_scLc2.c);
698 test(my_scLc.d == my_scLc2.d);
700 VERB0("Passed scLc");
702 write_read(gras_datadesc_by_symbol(scfc), &my_scfc, &my_scfc2, sock,
704 if (direction == READ || direction == RW) {
706 test(my_scfc.a == my_scfc2.a);
707 test(my_scfc.b == my_scfc2.b);
708 test(my_scfc.c == my_scfc2.c);
709 test(my_scfc.d == my_scfc2.d);
711 VERB0("Passed scfc");
713 write_read(gras_datadesc_by_symbol(scdc), &my_scdc, &my_scdc2, sock,
715 if (direction == READ || direction == RW) {
717 test(my_scdc.a == my_scdc2.a);
718 test(my_scdc.b == my_scdc2.b);
719 test(my_scdc.c == my_scdc2.c);
720 test(my_scdc.d == my_scdc2.d);
722 VERB0("Passed scdc");
724 write_read(gras_datadesc_by_symbol(iccc), &my_iccc, &my_iccc2, sock,
726 if (direction == READ || direction == RW) {
728 test(my_iccc.a == my_iccc2.a);
729 test(my_iccc.b == my_iccc2.b);
730 test(my_iccc.c == my_iccc2.c);
731 test(my_iccc.d == my_iccc2.d);
733 VERB0("Passed iccc");
735 write_read(gras_datadesc_by_symbol(icsc), &my_icsc, &my_icsc2, sock,
737 if (direction == READ || direction == RW) {
739 test(my_icsc.a == my_icsc2.a);
740 test(my_icsc.b == my_icsc2.b);
741 test(my_icsc.c == my_icsc2.c);
742 test(my_icsc.d == my_icsc2.d);
744 VERB0("Passed icsc");
746 write_read(gras_datadesc_by_symbol(icic), &my_icic, &my_icic2, sock,
748 if (direction == READ || direction == RW) {
750 test(my_icic.a == my_icic2.a);
751 test(my_icic.b == my_icic2.b);
752 test(my_icic.c == my_icic2.c);
753 test(my_icic.d == my_icic2.d);
755 VERB0("Passed icic");
757 write_read(gras_datadesc_by_symbol(iclc), &my_iclc, &my_iclc2, sock,
759 if (direction == READ || direction == RW) {
761 test(my_iclc.a == my_iclc2.a);
762 test(my_iclc.b == my_iclc2.b);
763 test(my_iclc.c == my_iclc2.c);
764 test(my_iclc.d == my_iclc2.d);
766 VERB0("Passed iclc");
768 write_read(gras_datadesc_by_symbol(icLc), &my_icLc, &my_icLc2, sock,
770 if (direction == READ || direction == RW) {
772 test(my_icLc.a == my_icLc2.a);
773 test(my_icLc.b == my_icLc2.b);
774 test(my_icLc.c == my_icLc2.c);
775 test(my_icLc.d == my_icLc2.d);
777 VERB0("Passed icLc");
779 write_read(gras_datadesc_by_symbol(icfc), &my_icfc, &my_icfc2, sock,
781 if (direction == READ || direction == RW) {
783 test(my_icfc.a == my_icfc2.a);
784 test(my_icfc.b == my_icfc2.b);
785 test(my_icfc.c == my_icfc2.c);
786 test(my_icfc.d == my_icfc2.d);
788 VERB0("Passed icfc");
790 write_read(gras_datadesc_by_symbol(icdc), &my_icdc, &my_icdc2, sock,
792 if (direction == READ || direction == RW) {
794 test(my_icdc.a == my_icdc2.a);
795 test(my_icdc.b == my_icdc2.b);
796 test(my_icdc.c == my_icdc2.c);
797 test(my_icdc.d == my_icdc2.d);
799 VERB0("Passed icdc");
801 write_read(gras_datadesc_by_symbol(lccc), &my_lccc, &my_lccc2, sock,
803 if (direction == READ || direction == RW) {
805 test(my_lccc.a == my_lccc2.a);
806 test(my_lccc.b == my_lccc2.b);
807 test(my_lccc.c == my_lccc2.c);
808 test(my_lccc.d == my_lccc2.d);
810 VERB0("Passed lccc");
812 write_read(gras_datadesc_by_symbol(lcsc), &my_lcsc, &my_lcsc2, sock,
814 if (direction == READ || direction == RW) {
816 test(my_lcsc.a == my_lcsc2.a);
817 test(my_lcsc.b == my_lcsc2.b);
818 test(my_lcsc.c == my_lcsc2.c);
819 test(my_lcsc.d == my_lcsc2.d);
821 VERB0("Passed lcsc");
823 write_read(gras_datadesc_by_symbol(lcic), &my_lcic, &my_lcic2, sock,
825 if (direction == READ || direction == RW) {
827 test(my_lcic.a == my_lcic2.a);
828 test(my_lcic.b == my_lcic2.b);
829 test(my_lcic.c == my_lcic2.c);
830 test(my_lcic.d == my_lcic2.d);
832 VERB0("Passed lcic");
834 write_read(gras_datadesc_by_symbol(lclc), &my_lclc, &my_lclc2, sock,
836 if (direction == READ || direction == RW) {
838 test(my_lclc.a == my_lclc2.a);
839 test(my_lclc.b == my_lclc2.b);
840 test(my_lclc.c == my_lclc2.c);
841 test(my_lclc.d == my_lclc2.d);
843 VERB0("Passed lclc");
845 write_read(gras_datadesc_by_symbol(lcLc), &my_lcLc, &my_lcLc2, sock,
847 if (direction == READ || direction == RW) {
849 test(my_lcLc.a == my_lcLc2.a);
850 test(my_lcLc.b == my_lcLc2.b);
851 test(my_lcLc.c == my_lcLc2.c);
852 test(my_lcLc.d == my_lcLc2.d);
854 VERB0("Passed lcLc");
856 write_read(gras_datadesc_by_symbol(lcfc), &my_lcfc, &my_lcfc2, sock,
858 if (direction == READ || direction == RW) {
860 test(my_lcfc.a == my_lcfc2.a);
861 test(my_lcfc.b == my_lcfc2.b);
862 test(my_lcfc.c == my_lcfc2.c);
863 test(my_lcfc.d == my_lcfc2.d);
865 VERB0("Passed lcfc");
867 write_read(gras_datadesc_by_symbol(lcdc), &my_lcdc, &my_lcdc2, sock,
869 if (direction == READ || direction == RW) {
871 test(my_lcdc.a == my_lcdc2.a);
872 test(my_lcdc.b == my_lcdc2.b);
873 test(my_lcdc.c == my_lcdc2.c);
874 test(my_lcdc.d == my_lcdc2.d);
876 VERB0("Passed lcdc");
878 write_read(gras_datadesc_by_symbol(Lccc), &my_Lccc, &my_Lccc2, sock,
880 if (direction == READ || direction == RW) {
882 test(my_Lccc.a == my_Lccc2.a);
883 test(my_Lccc.b == my_Lccc2.b);
884 test(my_Lccc.c == my_Lccc2.c);
885 test(my_Lccc.d == my_Lccc2.d);
887 VERB0("Passed Lccc");
889 write_read(gras_datadesc_by_symbol(Lcsc), &my_Lcsc, &my_Lcsc2, sock,
891 if (direction == READ || direction == RW) {
893 test(my_Lcsc.a == my_Lcsc2.a);
894 test(my_Lcsc.b == my_Lcsc2.b);
895 test(my_Lcsc.c == my_Lcsc2.c);
896 test(my_Lcsc.d == my_Lcsc2.d);
898 VERB0("Passed Lcsc");
900 write_read(gras_datadesc_by_symbol(Lcic), &my_Lcic, &my_Lcic2, sock,
902 if (direction == READ || direction == RW) {
904 test(my_Lcic.a == my_Lcic2.a);
905 test(my_Lcic.b == my_Lcic2.b);
906 test(my_Lcic.c == my_Lcic2.c);
907 test(my_Lcic.d == my_Lcic2.d);
909 VERB0("Passed Lcic");
911 write_read(gras_datadesc_by_symbol(Lclc), &my_Lclc, &my_Lclc2, sock,
913 if (direction == READ || direction == RW) {
915 test(my_Lclc.a == my_Lclc2.a);
916 test(my_Lclc.b == my_Lclc2.b);
917 test(my_Lclc.c == my_Lclc2.c);
918 test(my_Lclc.d == my_Lclc2.d);
920 VERB0("Passed Lclc");
922 write_read(gras_datadesc_by_symbol(LcLc), &my_LcLc, &my_LcLc2, sock,
924 if (direction == READ || direction == RW) {
926 test(my_LcLc.a == my_LcLc2.a);
927 test(my_LcLc.b == my_LcLc2.b);
928 test(my_LcLc.c == my_LcLc2.c);
929 test(my_LcLc.d == my_LcLc2.d);
931 VERB0("Passed LcLc");
933 write_read(gras_datadesc_by_symbol(Lcfc), &my_Lcfc, &my_Lcfc2, sock,
935 if (direction == READ || direction == RW) {
937 test(my_Lcfc.a == my_Lcfc2.a);
938 test(my_Lcfc.b == my_Lcfc2.b);
939 test(my_Lcfc.c == my_Lcfc2.c);
940 test(my_Lcfc.d == my_Lcfc2.d);
942 VERB0("Passed Lcfc");
944 write_read(gras_datadesc_by_symbol(Lcdc), &my_Lcdc, &my_Lcdc2, sock,
946 if (direction == READ || direction == RW) {
948 test(my_Lcdc.a == my_Lcdc2.a);
949 test(my_Lcdc.b == my_Lcdc2.b);
950 test(my_Lcdc.c == my_Lcdc2.c);
951 test(my_Lcdc.d == my_Lcdc2.d);
953 VERB0("Passed Lcdc");
955 write_read(gras_datadesc_by_symbol(fccc), &my_fccc, &my_fccc2, sock,
957 if (direction == READ || direction == RW) {
959 test(my_fccc.a == my_fccc2.a);
960 test(my_fccc.b == my_fccc2.b);
961 test(my_fccc.c == my_fccc2.c);
962 test(my_fccc.d == my_fccc2.d);
964 VERB0("Passed fccc");
966 write_read(gras_datadesc_by_symbol(fcsc), &my_fcsc, &my_fcsc2, sock,
968 if (direction == READ || direction == RW) {
970 test(my_fcsc.a == my_fcsc2.a);
971 test(my_fcsc.b == my_fcsc2.b);
972 test(my_fcsc.c == my_fcsc2.c);
973 test(my_fcsc.d == my_fcsc2.d);
975 VERB0("Passed fcsc");
977 write_read(gras_datadesc_by_symbol(fcic), &my_fcic, &my_fcic2, sock,
979 if (direction == READ || direction == RW) {
981 test(my_fcic.a == my_fcic2.a);
982 test(my_fcic.b == my_fcic2.b);
983 test(my_fcic.c == my_fcic2.c);
984 test(my_fcic.d == my_fcic2.d);
986 VERB0("Passed fcic");
988 write_read(gras_datadesc_by_symbol(fclc), &my_fclc, &my_fclc2, sock,
990 if (direction == READ || direction == RW) {
992 test(my_fclc.a == my_fclc2.a);
993 test(my_fclc.b == my_fclc2.b);
994 test(my_fclc.c == my_fclc2.c);
995 test(my_fclc.d == my_fclc2.d);
997 VERB0("Passed fclc");
999 write_read(gras_datadesc_by_symbol(fcLc), &my_fcLc, &my_fcLc2, sock,
1001 if (direction == READ || direction == RW) {
1003 test(my_fcLc.a == my_fcLc2.a);
1004 test(my_fcLc.b == my_fcLc2.b);
1005 test(my_fcLc.c == my_fcLc2.c);
1006 test(my_fcLc.d == my_fcLc2.d);
1008 VERB0("Passed fcLc");
1010 write_read(gras_datadesc_by_symbol(fcfc), &my_fcfc, &my_fcfc2, sock,
1012 if (direction == READ || direction == RW) {
1014 test(my_fcfc.a == my_fcfc2.a);
1015 test(my_fcfc.b == my_fcfc2.b);
1016 test(my_fcfc.c == my_fcfc2.c);
1017 test(my_fcfc.d == my_fcfc2.d);
1019 VERB0("Passed fcfc");
1021 write_read(gras_datadesc_by_symbol(fcdc), &my_fcdc, &my_fcdc2, sock,
1023 if (direction == READ || direction == RW) {
1025 test(my_fcdc.a == my_fcdc2.a);
1026 test(my_fcdc.b == my_fcdc2.b);
1027 test(my_fcdc.c == my_fcdc2.c);
1028 test(my_fcdc.d == my_fcdc2.d);
1030 VERB0("Passed fcdc");
1032 write_read(gras_datadesc_by_symbol(dccc), &my_dccc, &my_dccc2, sock,
1034 if (direction == READ || direction == RW) {
1036 test(my_dccc.a == my_dccc2.a);
1037 test(my_dccc.b == my_dccc2.b);
1038 test(my_dccc.c == my_dccc2.c);
1039 test(my_dccc.d == my_dccc2.d);
1041 VERB0("Passed dccc");
1043 write_read(gras_datadesc_by_symbol(dcsc), &my_dcsc, &my_dcsc2, sock,
1045 if (direction == READ || direction == RW) {
1047 test(my_dcsc.a == my_dcsc2.a);
1048 test(my_dcsc.b == my_dcsc2.b);
1049 test(my_dcsc.c == my_dcsc2.c);
1050 test(my_dcsc.d == my_dcsc2.d);
1052 VERB0("Passed dcsc");
1054 write_read(gras_datadesc_by_symbol(dcic), &my_dcic, &my_dcic2, sock,
1056 if (direction == READ || direction == RW) {
1058 test(my_dcic.a == my_dcic2.a);
1059 test(my_dcic.b == my_dcic2.b);
1060 test(my_dcic.c == my_dcic2.c);
1061 test(my_dcic.d == my_dcic2.d);
1063 VERB0("Passed dcic");
1065 write_read(gras_datadesc_by_symbol(dclc), &my_dclc, &my_dclc2, sock,
1067 if (direction == READ || direction == RW) {
1069 test(my_dclc.a == my_dclc2.a);
1070 test(my_dclc.b == my_dclc2.b);
1071 test(my_dclc.c == my_dclc2.c);
1072 test(my_dclc.d == my_dclc2.d);
1074 VERB0("Passed dclc");
1076 write_read(gras_datadesc_by_symbol(dcLc), &my_dcLc, &my_dcLc2, sock,
1078 if (direction == READ || direction == RW) {
1080 test(my_dcLc.a == my_dcLc2.a);
1081 test(my_dcLc.b == my_dcLc2.b);
1082 test(my_dcLc.c == my_dcLc2.c);
1083 test(my_dcLc.d == my_dcLc2.d);
1085 VERB0("Passed dcLc");
1087 write_read(gras_datadesc_by_symbol(dcfc), &my_dcfc, &my_dcfc2, sock,
1089 if (direction == READ || direction == RW) {
1091 test(my_dcfc.a == my_dcfc2.a);
1092 test(my_dcfc.b == my_dcfc2.b);
1093 test(my_dcfc.c == my_dcfc2.c);
1094 test(my_dcfc.d == my_dcfc2.d);
1096 VERB0("Passed dcfc");
1098 write_read(gras_datadesc_by_symbol(dcdc), &my_dcdc, &my_dcdc2, sock,
1100 if (direction == READ || direction == RW) {
1102 test(my_dcdc.a == my_dcdc2.a);
1103 test(my_dcdc.b == my_dcdc2.b);
1104 test(my_dcdc.c == my_dcdc2.c);
1105 test(my_dcdc.d == my_dcdc2.d);
1107 VERB0("Passed dcdc");