Lines Matching refs:res
374 err_t res; in START_TEST() local
378 res = mdns_domain_add_label(&domain, "multi", 5); in START_TEST()
379 fail_unless(res == ERR_OK); in START_TEST()
380 res = mdns_domain_add_label(&domain, "cast", 4); in START_TEST()
381 fail_unless(res == ERR_OK); in START_TEST()
382 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
383 fail_unless(res == ERR_OK); in START_TEST()
393 err_t res; in START_TEST() local
397 res = mdns_domain_add_label(&domain, "multi", 5); in START_TEST()
398 fail_unless(res == ERR_OK); in START_TEST()
399 res = mdns_domain_add_label(&domain, toolong, (u8_t)strlen(toolong)); in START_TEST()
400 fail_unless(res == ERR_VAL); in START_TEST()
408 err_t res; in START_TEST() local
412 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
413 fail_unless(res == ERR_OK); in START_TEST()
415 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
416 fail_unless(res == ERR_OK); in START_TEST()
418 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
419 fail_unless(res == ERR_OK); in START_TEST()
421 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
422 fail_unless(res == ERR_OK); in START_TEST()
424 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
425 fail_unless(res == ERR_OK); in START_TEST()
427 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
428 fail_unless(res == ERR_OK); in START_TEST()
430 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
431 fail_unless(res == ERR_OK); in START_TEST()
433 res = mdns_domain_add_label(&domain, label, (u8_t)strlen(label)); in START_TEST()
434 fail_unless(res == ERR_VAL); in START_TEST()
436 res = mdns_domain_add_label(&domain, label, 25); in START_TEST()
437 fail_unless(res == ERR_VAL); in START_TEST()
439 res = mdns_domain_add_label(&domain, label, 24); in START_TEST()
440 fail_unless(res == ERR_VAL); in START_TEST()
442 res = mdns_domain_add_label(&domain, label, 23); in START_TEST()
443 fail_unless(res == ERR_OK); in START_TEST()
445 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
446 fail_unless(res == ERR_OK); in START_TEST()
448 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
449 fail_unless(res == ERR_VAL); in START_TEST()
460 err_t res; in START_TEST() local
464 res = mdns_domain_add_label(&domain1, "multi", 5); in START_TEST()
465 fail_unless(res == ERR_OK); in START_TEST()
466 res = mdns_domain_add_label(&domain1, "cast", 4); in START_TEST()
467 fail_unless(res == ERR_OK); in START_TEST()
468 res = mdns_domain_add_label(&domain1, NULL, 0); in START_TEST()
469 fail_unless(res == ERR_OK); in START_TEST()
473 res = mdns_domain_add_label(&domain2, "multi", 5); in START_TEST()
474 fail_unless(res == ERR_OK); in START_TEST()
475 res = mdns_domain_add_label(&domain2, "cast", 4); in START_TEST()
476 fail_unless(res == ERR_OK); in START_TEST()
477 res = mdns_domain_add_label(&domain2, NULL, 0); in START_TEST()
478 fail_unless(res == ERR_OK); in START_TEST()
487 err_t res; in START_TEST() local
491 res = mdns_domain_add_label(&domain1, "multi", 5); in START_TEST()
492 fail_unless(res == ERR_OK); in START_TEST()
493 res = mdns_domain_add_label(&domain1, "base", 4); in START_TEST()
494 fail_unless(res == ERR_OK); in START_TEST()
495 res = mdns_domain_add_label(&domain1, NULL, 0); in START_TEST()
496 fail_unless(res == ERR_OK); in START_TEST()
499 res = mdns_domain_add_label(&domain2, "multi", 5); in START_TEST()
500 fail_unless(res == ERR_OK); in START_TEST()
501 res = mdns_domain_add_label(&domain2, "cast", 4); in START_TEST()
502 fail_unless(res == ERR_OK); in START_TEST()
503 res = mdns_domain_add_label(&domain2, NULL, 0); in START_TEST()
504 fail_unless(res == ERR_OK); in START_TEST()
513 err_t res; in START_TEST() local
517 res = mdns_domain_add_label(&domain1, "multi", 5); in START_TEST()
518 fail_unless(res == ERR_OK); in START_TEST()
519 res = mdns_domain_add_label(&domain1, "cast", 4); in START_TEST()
520 fail_unless(res == ERR_OK); in START_TEST()
521 res = mdns_domain_add_label(&domain1, NULL, 0); in START_TEST()
522 fail_unless(res == ERR_OK); in START_TEST()
525 res = mdns_domain_add_label(&domain2, "MulTI", 5); in START_TEST()
526 fail_unless(res == ERR_OK); in START_TEST()
527 res = mdns_domain_add_label(&domain2, "casT", 4); in START_TEST()
528 fail_unless(res == ERR_OK); in START_TEST()
529 res = mdns_domain_add_label(&domain2, NULL, 0); in START_TEST()
530 fail_unless(res == ERR_OK); in START_TEST()
541 err_t res; in START_TEST() local
545 res = mdns_domain_add_label(&domain1, (const char*)data1, sizeof(data1)); in START_TEST()
546 fail_unless(res == ERR_OK); in START_TEST()
547 res = mdns_domain_add_label(&domain1, "cast", 4); in START_TEST()
548 fail_unless(res == ERR_OK); in START_TEST()
549 res = mdns_domain_add_label(&domain1, (const char*)data2, sizeof(data2)); in START_TEST()
550 fail_unless(res == ERR_OK); in START_TEST()
551 res = mdns_domain_add_label(&domain1, NULL, 0); in START_TEST()
552 fail_unless(res == ERR_OK); in START_TEST()
555 res = mdns_domain_add_label(&domain2, (const char*)data1, sizeof(data1)); in START_TEST()
556 fail_unless(res == ERR_OK); in START_TEST()
557 res = mdns_domain_add_label(&domain2, "casT", 4); in START_TEST()
558 fail_unless(res == ERR_OK); in START_TEST()
559 res = mdns_domain_add_label(&domain2, (const char*)data2, sizeof(data2)); in START_TEST()
560 fail_unless(res == ERR_OK); in START_TEST()
561 res = mdns_domain_add_label(&domain2, NULL, 0); in START_TEST()
562 fail_unless(res == ERR_OK); in START_TEST()
571 err_t res; in START_TEST() local
576 res = mdns_domain_add_label(&domain1, "multi", 5); in START_TEST()
577 fail_unless(res == ERR_OK); in START_TEST()
578 res = mdns_domain_add_label(&domain1, "cast", 4); in START_TEST()
579 fail_unless(res == ERR_OK); in START_TEST()
583 res = mdns_domain_add_label(&domain2, "multi", 5); in START_TEST()
584 fail_unless(res == ERR_OK); in START_TEST()
585 res = mdns_domain_add_label(&domain2, "cast", 4); in START_TEST()
586 fail_unless(res == ERR_OK); in START_TEST()
602 err_t res; in START_TEST() local
610 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
611 fail_unless(res == ERR_OK); in START_TEST()
612 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
613 fail_unless(res == ERR_OK); in START_TEST()
614 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
615 fail_unless(res == ERR_OK); in START_TEST()
637 err_t res; in START_TEST() local
645 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
646 fail_unless(res == ERR_OK); in START_TEST()
647 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
648 fail_unless(res == ERR_OK); in START_TEST()
649 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
650 fail_unless(res == ERR_OK); in START_TEST()
674 err_t res; in START_TEST() local
682 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
683 fail_unless(res == ERR_OK); in START_TEST()
684 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
685 fail_unless(res == ERR_OK); in START_TEST()
686 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
687 fail_unless(res == ERR_OK); in START_TEST()
709 err_t res; in START_TEST() local
717 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
718 fail_unless(res == ERR_OK); in START_TEST()
719 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
720 fail_unless(res == ERR_OK); in START_TEST()
721 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
722 fail_unless(res == ERR_OK); in START_TEST()
743 err_t res; in START_TEST() local
751 res = mdns_domain_add_label(&domain, "lwip", 4); in START_TEST()
752 fail_unless(res == ERR_OK); in START_TEST()
753 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
754 fail_unless(res == ERR_OK); in START_TEST()
755 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
756 fail_unless(res == ERR_OK); in START_TEST()
778 err_t res; in START_TEST() local
786 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
787 fail_unless(res == ERR_OK); in START_TEST()
788 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
789 fail_unless(res == ERR_OK); in START_TEST()
790 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
791 fail_unless(res == ERR_OK); in START_TEST()
815 err_t res; in START_TEST() local
823 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
824 fail_unless(res == ERR_OK); in START_TEST()
825 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
826 fail_unless(res == ERR_OK); in START_TEST()
827 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
828 fail_unless(res == ERR_OK); in START_TEST()
855 err_t res; in START_TEST() local
863 res = mdns_domain_add_label(&domain, "foobar", 6); in START_TEST()
864 fail_unless(res == ERR_OK); in START_TEST()
865 res = mdns_domain_add_label(&domain, "local", 5); in START_TEST()
866 fail_unless(res == ERR_OK); in START_TEST()
867 res = mdns_domain_add_label(&domain, NULL, 0); in START_TEST()
868 fail_unless(res == ERR_OK); in START_TEST()