LibreOffice Module vcl (master)  1
Classes | Functions
list.cxx File Reference
#include <assert.h>
#include <cstdlib>
#include "list.h"
Include dependency graph for list.cxx:

Go to the source code of this file.

Classes

struct  list_
 

Functions

static lnode * newNode (void *el)
 
static lnode * appendPrim (list pThis, void *el)
 
list listNewEmpty ()
 
void listDispose (list pThis)
 
void listSetElementDtor (list pThis, list_destructor f)
 
voidlistCurrent (list pThis)
 
int listCount (list pThis)
 
int listIsEmpty (list pThis)
 
int listNext (list pThis)
 
int listSkipForward (list pThis, int n)
 
int listToFirst (list pThis)
 
int listToLast (list pThis)
 
list listAppend (list pThis, void *el)
 
list listRemove (list pThis)
 
list listClear (list pThis)
 

Function Documentation

static lnode* appendPrim ( list  pThis,
void el 
)
static

Definition at line 64 of file list.cxx.

References list_::aCount, list_::cptr, list_::head, newNode(), and list_::tail.

Referenced by listAppend().

list listAppend ( list  pThis,
void el 
)

Definition at line 177 of file list.cxx.

References appendPrim().

Referenced by vcl::AddTable(), vcl::glyfAdd(), and vcl::TrueTypeTableNew_name().

list listClear ( list  pThis)

Definition at line 212 of file list.cxx.

References list_::aCount, list_::cptr, list_::eDtor, list_::head, and list_::tail.

Referenced by listDispose().

int listCount ( list  pThis)
void* listCurrent ( list  pThis)
void listDispose ( list  pThis)
int listIsEmpty ( list  pThis)

Definition at line 128 of file list.cxx.

References list_::aCount.

Referenced by vcl::FindTable(), and vcl::StreamToMemory().

list listNewEmpty ( void  )
int listNext ( list  pThis)
list listRemove ( list  pThis)

Definition at line 185 of file list.cxx.

References list_::aCount, list_::cptr, list_::eDtor, list_::head, and list_::tail.

Referenced by vcl::RemoveTable().

void listSetElementDtor ( list  pThis,
list_destructor  f 
)
int listSkipForward ( list  pThis,
int  n 
)

Definition at line 139 of file list.cxx.

References list_::cptr.

Referenced by listNext().

int listToFirst ( list  pThis)
int listToLast ( list  pThis)

Definition at line 166 of file list.cxx.

References list_::cptr, and list_::tail.

Referenced by vcl::glyfAdd().

static lnode* newNode ( void el)
static

Definition at line 54 of file list.cxx.

Referenced by appendPrim().