Lines Matching refs:ATF_REQUIRE
57 ATF_REQUIRE(sdp_put_data(&test, &value));
91 ATF_REQUIRE(sdp_put_attr(&test, 0x1337, &value));
141 ATF_REQUIRE(sdp_put_uuid(&test, &u16));
142 ATF_REQUIRE(sdp_put_uuid(&test, &u32));
143 ATF_REQUIRE(sdp_put_uuid(&test, &u128));
175 ATF_REQUIRE(sdp_put_uuid16(&test, 0x4567));
200 ATF_REQUIRE(sdp_put_uuid32(&test, 0xabcdef00));
234 ATF_REQUIRE(sdp_put_uuid128(&test, &value));
263 ATF_REQUIRE(sdp_put_bool(&test, true));
264 ATF_REQUIRE(sdp_put_bool(&test, false));
290 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)0));
291 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT8_MAX));
292 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT8_MAX + 1));
293 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT16_MAX));
294 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT16_MAX + 1));
295 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT32_MAX));
296 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT32_MAX + 1));
297 ATF_REQUIRE(sdp_put_uint(&test, (uintmax_t)UINT64_MAX));
335 ATF_REQUIRE(sdp_put_uint8(&test, (uint8_t)0));
336 ATF_REQUIRE(sdp_put_uint8(&test, (uint8_t)UINT8_MAX));
362 ATF_REQUIRE(sdp_put_uint16(&test, (uint16_t)0));
363 ATF_REQUIRE(sdp_put_uint16(&test, (uint16_t)UINT8_MAX));
364 ATF_REQUIRE(sdp_put_uint16(&test, (uint16_t)UINT16_MAX));
365 ATF_REQUIRE(sdp_put_uint16(&test, (uint16_t)0xabcd));
393 ATF_REQUIRE(sdp_put_uint32(&test, (uint32_t)0));
394 ATF_REQUIRE(sdp_put_uint32(&test, (uint32_t)UINT8_MAX));
395 ATF_REQUIRE(sdp_put_uint32(&test, (uint32_t)UINT16_MAX));
396 ATF_REQUIRE(sdp_put_uint32(&test, (uint32_t)UINT32_MAX));
397 ATF_REQUIRE(sdp_put_uint32(&test, (uint32_t)0xdeadbeef));
431 ATF_REQUIRE(sdp_put_uint64(&test, (uint64_t)0));
432 ATF_REQUIRE(sdp_put_uint64(&test, (uint64_t)UINT8_MAX));
433 ATF_REQUIRE(sdp_put_uint64(&test, (uint64_t)UINT16_MAX));
434 ATF_REQUIRE(sdp_put_uint64(&test, (uint64_t)UINT32_MAX));
435 ATF_REQUIRE(sdp_put_uint64(&test, (uint64_t)UINT64_MAX));
436 ATF_REQUIRE(sdp_put_uint64(&test, (uint64_t)0xc0ffeecafec0ffee));
478 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)0));
479 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT8_MIN));
480 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT8_MAX));
481 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT8_MIN - 1));
482 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT8_MAX + 1));
483 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT16_MIN));
484 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT16_MAX));
485 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT16_MIN - 1));
486 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT16_MAX + 1));
487 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT32_MIN));
488 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT32_MAX));
489 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT32_MIN - 1));
490 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT32_MAX + 1));
491 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT64_MIN));
492 ATF_REQUIRE(sdp_put_int(&test, (intmax_t)INT64_MAX));
543 ATF_REQUIRE(sdp_put_int8(&test, (int8_t)0));
544 ATF_REQUIRE(sdp_put_int8(&test, (int8_t)INT8_MIN));
545 ATF_REQUIRE(sdp_put_int8(&test, (int8_t)INT8_MAX));
572 ATF_REQUIRE(sdp_put_int16(&test, (int16_t)0));
573 ATF_REQUIRE(sdp_put_int16(&test, (int16_t)INT8_MIN));
574 ATF_REQUIRE(sdp_put_int16(&test, (int16_t)INT8_MAX));
575 ATF_REQUIRE(sdp_put_int16(&test, (int16_t)INT16_MIN));
576 ATF_REQUIRE(sdp_put_int16(&test, (int16_t)INT16_MAX));
605 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)0));
606 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)INT8_MIN));
607 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)INT8_MAX));
608 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)INT16_MIN));
609 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)INT16_MAX));
610 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)INT32_MIN));
611 ATF_REQUIRE(sdp_put_int32(&test, (int32_t)INT32_MAX));
649 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)0));
650 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT8_MIN));
651 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT8_MAX));
652 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT16_MIN));
653 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT16_MAX));
654 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT32_MIN));
655 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT32_MAX));
656 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT64_MIN));
657 ATF_REQUIRE(sdp_put_int64(&test, (int64_t)INT64_MAX));
708 ATF_REQUIRE(sdp_put_seq(&test, (ssize_t)0));
709 ATF_REQUIRE(sdp_put_seq(&test, (ssize_t)UINT8_MAX));
710 ATF_REQUIRE(sdp_put_seq(&test, (ssize_t)UINT8_MAX + 1));
711 ATF_REQUIRE(sdp_put_seq(&test, (ssize_t)-1));
742 ATF_REQUIRE(sdp_put_alt(&test, (ssize_t)0));
743 ATF_REQUIRE(sdp_put_alt(&test, (ssize_t)UINT8_MAX));
744 ATF_REQUIRE(sdp_put_alt(&test, (ssize_t)UINT8_MAX + 1));
745 ATF_REQUIRE(sdp_put_alt(&test, (ssize_t)-1));
781 ATF_REQUIRE(sdp_put_str(&test, "Hello World!", 5));
782 ATF_REQUIRE(sdp_put_str(&test, "Hello\0World", 11));
783 ATF_REQUIRE(sdp_put_str(&test, "Hello World!", -1));
784 ATF_REQUIRE(sdp_put_str(&test, "Hello\0World", -1));
825 ATF_REQUIRE(sdp_put_url(&test, "http://www.netbsd.org/", 21));
826 ATF_REQUIRE(sdp_put_url(&test, "http://www.netbsd.org/", -1));