Macros | Functions | Variables
unit1309.c File Reference
#include "curlcheck.h"
#include "splay.h"
Include dependency graph for unit1309.c:

Go to the source code of this file.

Macros

#define NUM_NODES   50
 

Functions

 fail_unless (root==NULL, "tree not empty after removing all nodes")
 
 fail_unless (root==NULL, "tree not empty when it should be")
 
 for (i=0;i< NUM_NODES;i++)
 
 for (i=0;i<=1100;i+=100)
 
 puts ("Result:")
 
 splayprint (root, 0, 1)
 
static void splayprint (struct Curl_tree *t, int d, char output)
 
static CURLcode unit_setup (void)
 
static void unit_stop (void)
 

Variables

int i
 
int j
 
struct Curl_tree nodes [NUM_NODES *3]
 
int rc
 
struct Curl_treeremoved = NULL
 
struct Curl_treeroot = NULL
 
struct curltime tv_now = {0, 0}
 

Macro Definition Documentation

◆ NUM_NODES

#define NUM_NODES   50

Definition at line 71 of file unit1309.c.

Function Documentation

◆ fail_unless() [1/2]

fail_unless ( root  = =NULL,
"tree not empty after removing all nodes  
)

◆ fail_unless() [2/2]

fail_unless ( root  = =NULL,
"tree not empty when it should be"   
)

◆ for() [1/2]

for ( )

Definition at line 81 of file unit1309.c.

◆ for() [2/2]

for ( i  = 0; i <= 1100; i += 100)

Definition at line 128 of file unit1309.c.

◆ puts()

puts ( "Result:"  )

◆ splayprint() [1/2]

splayprint ( root  ,
,
 
)

◆ splayprint() [2/2]

static void splayprint ( struct Curl_tree t,
int  d,
char  output 
)
static

Definition at line 37 of file unit1309.c.

◆ unit_setup()

static CURLcode unit_setup ( void  )
static

Definition at line 27 of file unit1309.c.

◆ unit_stop()

static void unit_stop ( void  )
static

Definition at line 32 of file unit1309.c.

Variable Documentation

◆ i

int i

Definition at line 76 of file unit1309.c.

◆ j

int j

Definition at line 76 of file unit1309.c.

◆ nodes

struct Curl_tree nodes[NUM_NODES *3]

Definition at line 74 of file unit1309.c.

◆ rc

int rc

Definition at line 75 of file unit1309.c.

◆ removed

removed = NULL

Definition at line 73 of file unit1309.c.

◆ root

root = NULL

Definition at line 73 of file unit1309.c.

◆ tv_now

struct curltime tv_now = {0, 0}

Definition at line 77 of file unit1309.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sun May 15 2022 02:25:02