Lines Matching refs:run
739 struct run *run = NULL;
766 run = EVTAG_ARRAY_ADD(msg, run);
767 if (run == NULL) {
768 tt_abort_msg("Failed to add run message.");
770 EVTAG_ASSIGN(run, how, "very fast but with some data in it");
771 EVTAG_ASSIGN(run, fixed_bytes,
775 run, notes, "this is my note") == NULL) {
778 if (EVTAG_ARRAY_ADD_VALUE(run, notes, "pps") == NULL) {
782 EVTAG_ASSIGN(run, large_number, 0xdead0a0bcafebeefLL);
783 EVTAG_ARRAY_ADD_VALUE(run, other_numbers, 0xdead0a0b);
784 EVTAG_ARRAY_ADD_VALUE(run, other_numbers, 0xbeefcafe);
818 if (EVTAG_ARRAY_LEN(msg2, run) != i) {
819 tt_abort_msg("Wrong number of run messages.");
822 /* get the very first run message */
823 if (EVTAG_ARRAY_GET(msg2, run, 0, &run) == -1) {
824 tt_abort_msg("Failed to get run msg.");
831 if (EVTAG_ARRAY_LEN(run, notes) != 2) {
835 if (EVTAG_ARRAY_GET(run, notes, 0, ¬e_one) == -1 ||
836 EVTAG_ARRAY_GET(run, notes, 1, ¬e_two) == -1) {
845 if (EVTAG_GET(run, large_number, &large_number) == -1 ||
850 if (EVTAG_ARRAY_LEN(run, other_numbers) != 2) {
855 run, other_numbers, 0, &short_number) == -1) {