The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
Macros | Functions | Variables
btest.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include "filenames.h"
#include "backtrace.h"
#include "backtrace-supported.h"
#include "testlib.h"
+ Include dependency graph for btest.c:

Go to the source code of this file.

Macros

#define MAX_DESCRIPTOR   10
 
#define MIN_DESCRIPTOR   3
 

Functions

static void check_available_files (void)
 
static void check_open_files (void)
 
static int f12 (int f1line)
 
static int f13 (int f1line, int f2line)
 
static int f2 (int f1line)
 
static int f22 (int f1line)
 
static int f23 (int f1line, int f2line)
 
static int f3 (int f1line, int f2line)
 
static int f32 (int f1line)
 
static int f33 (int f1line, int f2line)
 
int main (int argc ATTRIBUTE_UNUSED, char **argv)
 
static int test1 (void)
 
static int test2 (void)
 
static int test3 (void)
 
static int test4 (void)
 
static int test5 (void)
 

Variables

static int fstat_status [MAX_DESCRIPTOR]
 

Macro Definition Documentation

◆ MAX_DESCRIPTOR

#define MAX_DESCRIPTOR   10

Definition at line 463 of file btest.c.

◆ MIN_DESCRIPTOR

#define MIN_DESCRIPTOR   3

Definition at line 462 of file btest.c.

Function Documentation

◆ check_available_files()

static void check_available_files ( void  )
static

Definition at line 470 of file btest.c.

+ Here is the caller graph for this function:

◆ check_open_files()

static void check_open_files ( void  )
static

Definition at line 480 of file btest.c.

+ Here is the caller graph for this function:

◆ f12()

static int f12 ( int  f1line)
inlinestatic

Definition at line 125 of file btest.c.

+ Here is the call graph for this function:

◆ f13()

static int f13 ( int  f1line,
int  f2line 
)
inlinestatic

Definition at line 131 of file btest.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ f2()

static int f2 ( int  f1line)
static

Definition at line 65 of file btest.c.

+ Here is the call graph for this function:

◆ f22()

static int f22 ( int  f1line)
static

Definition at line 177 of file btest.c.

+ Here is the call graph for this function:

◆ f23()

static int f23 ( int  f1line,
int  f2line 
)
static

Definition at line 183 of file btest.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ f3()

static int f3 ( int f1line   ,
int f2line   
)
static

Definition at line 71 of file btest.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ f32()

static int f32 ( int  f1line)
inlinestatic

Definition at line 327 of file btest.c.

+ Here is the call graph for this function:

◆ f33()

static int f33 ( int  f1line,
int  f2line 
)
inlinestatic

Definition at line 333 of file btest.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( int argc  ATTRIBUTE_UNUSED,
char **  argv 
)

Definition at line 497 of file btest.c.

+ Here is the call graph for this function:

◆ test1()

static int test1 ( void  )
static

Definition at line 52 of file btest.c.

+ Here is the caller graph for this function:

◆ test2()

static int test2 ( void  )
inlinestatic

Definition at line 114 of file btest.c.

+ Here is the caller graph for this function:

◆ test3()

static int test3 ( void  )
static

Definition at line 166 of file btest.c.

+ Here is the caller graph for this function:

◆ test4()

static int test4 ( void  )
inlinestatic

Definition at line 316 of file btest.c.

+ Here is the caller graph for this function:

◆ test5()

static int test5 ( void  )
static

Definition at line 391 of file btest.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ fstat_status

int fstat_status[MAX_DESCRIPTOR]
static

Definition at line 465 of file btest.c.