#include <config.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <atf-c.h>
#include "isctest.h"
#include <isc/buffer.h>
#include <isc/result.h>
Go to the source code of this file.
Functions | |
ATF_TC (isc_buffer_reserve) | |
ATF_TC_HEAD (isc_buffer_reserve, tc) | |
ATF_TC_BODY (isc_buffer_reserve, tc) | |
ATF_TC (isc_buffer_reallocate) | |
ATF_TC_HEAD (isc_buffer_reallocate, tc) | |
ATF_TC_BODY (isc_buffer_reallocate, tc) | |
ATF_TP_ADD_TCS (tp) |
ATF_TC | ( | isc_buffer_reserve | ) |
ATF_TC_HEAD | ( | isc_buffer_reserve | , | |
tc | ||||
) |
Definition at line 30 of file buffer_test.c.
ATF_TC_BODY | ( | isc_buffer_reserve | , | |
tc | ||||
) |
Definition at line 34 of file buffer_test.c.
References isc_buffer_add, isc_buffer_allocate(), isc_buffer_free(), isc_buffer_reserve(), ISC_BUFFER_VALID, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_test_begin(), isc_test_end(), ISC_TRUE, isc_buffer::length, and mctx.
ATF_TC | ( | isc_buffer_reallocate | ) |
ATF_TC_HEAD | ( | isc_buffer_reallocate | , | |
tc | ||||
) |
Definition at line 104 of file buffer_test.c.
ATF_TC_BODY | ( | isc_buffer_reallocate | , | |
tc | ||||
) |
Definition at line 108 of file buffer_test.c.
References isc_buffer_allocate(), isc_buffer_free(), isc_buffer_reallocate(), ISC_BUFFER_VALID, ISC_R_NOSPACE, ISC_R_SUCCESS, isc_test_begin(), isc_test_end(), ISC_TRUE, isc_buffer::length, and mctx.
ATF_TP_ADD_TCS | ( | tp | ) |
Definition at line 140 of file buffer_test.c.
References isc_buffer_reallocate(), and isc_buffer_reserve().