fp20_priority.c File Reference

#include "qs_config.h"
#include "machdefs.h"
#include "fp20_priority.h"
#include "allocrus.h"
#include "except.h"

Include dependency graph for fp20_priority.c:

Go to the source code of this file.

Functions

void fp20_ILLutil_priority_changekey (fp20_ILLpriority *pri, int handle, EGfp20_t *newkey)
void fp20_ILLutil_priority_delete (fp20_ILLpriority *pri, int handle)
void fp20_ILLutil_priority_deletemin (fp20_ILLpriority *pri, EGfp20_t *keyval, void **en)
void fp20_ILLutil_priority_findmin (fp20_ILLpriority *pri, EGfp20_t *keyval, void **en)
void fp20_ILLutil_priority_free (fp20_ILLpriority *pri)
int fp20_ILLutil_priority_init (fp20_ILLpriority *pri, int k)
int fp20_ILLutil_priority_insert (fp20_ILLpriority *pri, void *data, EGfp20_t *keyval, int *handle)


Function Documentation

void fp20_ILLutil_priority_changekey ( fp20_ILLpriority pri,
int  handle,
EGfp20_t *  newkey 
)

Definition at line 249 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, and fp20_ILLutil_dheap_changekey().

Here is the call graph for this function:

void fp20_ILLutil_priority_delete ( fp20_ILLpriority pri,
int  handle 
)

Definition at line 215 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, fp20_ILLutil_dheap_delete(), fp20_ILLpriority::freelist, and fp20_ILLpriority::pri_info.

Here is the call graph for this function:

void fp20_ILLutil_priority_deletemin ( fp20_ILLpriority pri,
EGfp20_t *  keyval,
void **  en 
)

Definition at line 224 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, fp20_ILLutil_dheap_deletemin(), fp20_ILLpriority::freelist, fp20_ILLdheap::key, NULL, and fp20_ILLpriority::pri_info.

Here is the call graph for this function:

void fp20_ILLutil_priority_findmin ( fp20_ILLpriority pri,
EGfp20_t *  keyval,
void **  en 
)

Definition at line 143 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, fp20_ILLutil_dheap_findmin(), fp20_ILLdheap::key, NULL, and fp20_ILLpriority::pri_info.

Here is the call graph for this function:

void fp20_ILLutil_priority_free ( fp20_ILLpriority pri  ) 

Definition at line 134 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, fp20_ILLutil_dheap_free(), ILL_IFFREE, fp20_ILLpriority::pri_info, and fp20_ILLpriority::space.

Here is the call graph for this function:

int fp20_ILLutil_priority_init ( fp20_ILLpriority pri,
int  k 
)

Definition at line 103 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, fp20_ILLutil_dheap_init(), fp20_ILLpriority::freelist, ILL_CLEANUP_IF, ILL_IFFREE, ILL_SAFE_MALLOC, fp20_ILLpriority::pri_info, and fp20_ILLpriority::space.

Here is the call graph for this function:

int fp20_ILLutil_priority_insert ( fp20_ILLpriority pri,
void *  data,
EGfp20_t *  keyval,
int *  handle 
)

Definition at line 164 of file fp20_priority.c.

References fp20_ILLpriority::fp20_heap, fp20_ILLutil_dheap_insert(), fp20_ILLutil_dheap_resize(), fp20_ILLpriority::freelist, ILL_CLEANUP_IF, fp20_ILLdheap::key, fp20_ILLpriority::pri_info, and fp20_ILLpriority::space.

Here is the call graph for this function:


Generated on Thu Mar 29 09:38:26 2012 for QSopt_ex by  doxygen 1.4.7