Lines Matching refs:types

331 	const char *types[2];
360 types[0] = "NAME";
361 types[1] = "ADDR";
362 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
383 types[0] = "NAME";
384 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
385 types[1] = "ADDR";
386 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
388 types[0] = "ADDR";
389 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
409 types[0] = "ADDR";
410 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
411 types[1] = "NAME";
412 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
414 types[0] = "NAME";
415 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
436 types[0] = "NAME";
437 types[1] = "ADDR";
438 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
463 types[0] = "NAME";
464 types[1] = "ADDR";
465 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
492 types[0] = "NAME";
493 types[1] = "ADDR";
494 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
498 types[0] = "NAME";
499 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
500 types[1] = "ADDR";
501 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
503 types[0] = "ADDR";
504 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
528 types[0] = "NAME";
529 types[1] = "ADDR";
530 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
534 types[0] = "NAME";
535 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
536 types[1] = "ADDR";
537 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
539 types[0] = "ADDR";
540 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
564 types[0] = "NAME";
565 types[1] = "ADDR";
566 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
570 types[0] = "ADDR";
571 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
572 types[1] = "NAME";
573 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
575 types[0] = "NAME";
576 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
600 types[0] = "NAME";
601 types[1] = "ADDR";
602 CHECK(cap_dns_type_limit(capdns, types, 2) == 0);
606 types[0] = "ADDR";
607 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
608 types[1] = "NAME";
609 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
611 types[0] = "NAME";
612 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
633 types[0] = "NAME";
634 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
638 types[0] = "NAME";
639 types[1] = "ADDR";
640 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
647 types[0] = "ADDR";
648 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&
667 types[0] = "ADDR";
668 CHECK(cap_dns_type_limit(capdns, types, 1) == 0);
672 types[0] = "NAME";
673 types[1] = "ADDR";
674 CHECK(cap_dns_type_limit(capdns, types, 2) == -1 &&
681 types[0] = "NAME";
682 CHECK(cap_dns_type_limit(capdns, types, 1) == -1 &&