Back to index

tetex-bin  3.0
Classes | Defines | Typedefs | Functions | Variables
alephmem.h File Reference

Go to the source code of this file.

Classes

struct  hashw

Defines

#define newinputline(stream, mode, flag)   new_input_line (stream, mode)
#define initeqtbtable()   inithhashtable();
#define dumpeqtbtable()   dumphhashtable();
#define undumpeqtbtable()   undumphhashtable();
#define HASHTABLESIZE   23123
#define neweqtb(a)
#define neweqtbint(a)
#define neweqtbsc(a)
#define newequiv(a)
#define newequiv1(a)
#define neweqlevel(a)
#define neweqtype(a)
#define setneweqtb(a, v)
#define setneweqtbint(a, v)
#define setneweqtbsc(a, v)
#define setequiv(a, v)
#define setequiv1(a, v)
#define seteqlevel(a, v)
#define seteqtype(a, v)
#define newhashnext(a)
#define newhashtext(a)
#define sethashnext(a, d)
#define sethashtext(a, d)
#define newxeqlevel(a)
#define setintzero(w, a)   ((w).cint=(a))
#define setintone(w, a)   ((w).cint1=(a))

Typedefs

typedef struct hashw hashword

Functions

boolean new_input_line ()
boolean newinputln ()
int getc_two ()
int getfilemode ()
void ungetc_two ()
hashwordcreatehashpos ()
hashwordcreateeqtbpos ()
hashwordcreatexeqlevel ()
void inithhashtable ()
void dumphhashtable ()
void undumphhashtable ()
void allocatefonttable ()
void dumpfonttable ()
void undumpfonttable ()
void allocatefontsorttable ()
void dumpfontsorttable ()
void undumpfontsorttable ()
void allocateocptable ()
void dumpocptable ()
void undumpocptable ()
void odateandtime ()
void btestin ()
void runexternalocp ()

Variables

int ocptemp
memoryword ** fonttables
memoryword ** fontsorttables
int ** ocptables
hashword hashtable []

Class Documentation

struct hashw

Definition at line 36 of file alephmem.h.

Collaboration diagram for hashw:
Class Members
memoryword mw
integer p
struct hashw * ptr

Define Documentation

#define dumpeqtbtable ( )    dumphhashtable();

Definition at line 64 of file alephmem.h.

#define HASHTABLESIZE   23123

Definition at line 67 of file alephmem.h.

#define initeqtbtable ( )    inithhashtable();

Definition at line 63 of file alephmem.h.

#define neweqlevel (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.b1) : \
                                 (createeqtbpos(a)->mw.hh.b1))

Definition at line 83 of file alephmem.h.

#define neweqtb (   a)
Value:

Definition at line 68 of file alephmem.h.

#define neweqtbint (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.cint) : \
                                 (createeqtbpos(a)->mw.cint))

Definition at line 71 of file alephmem.h.

#define neweqtbsc (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.cint) : \
                                 (createeqtbpos(a)->mw.cint))

Definition at line 74 of file alephmem.h.

#define neweqtype (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.b0) : \
                                 (createeqtbpos(a)->mw.hh.b0))

Definition at line 86 of file alephmem.h.

#define newequiv (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.rh) : \
                                 (createeqtbpos(a)->mw.hh.rh))

Definition at line 77 of file alephmem.h.

#define newequiv1 (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                     (hashtable[(a)%HASHTABLESIZE].mw.cint1) : \
                                 (createeqtbpos(a)->mw.cint1))

Definition at line 80 of file alephmem.h.

#define newhashnext (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.v.LH) : \
                                 (createhashpos(a)->mw.hh.v.LH))

Definition at line 111 of file alephmem.h.

#define newhashtext (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.v.RH) : \
                                 (createhashpos(a)->mw.hh.v.RH))

Definition at line 114 of file alephmem.h.

#define newinputline (   stream,
  mode,
  flag 
)    new_input_line (stream, mode)

Definition at line 30 of file alephmem.h.

#define newxeqlevel (   a)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.cint) : \
                                 (createxeqlevel(a)->mw.cint))

Definition at line 124 of file alephmem.h.

#define seteqlevel (   a,
  v 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.b1=v) : \
                                 (createeqtbpos(a)->mw.hh.b1=v))

Definition at line 104 of file alephmem.h.

#define seteqtype (   a,
  v 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.b0=v) : \
                                 (createeqtbpos(a)->mw.hh.b0=v))

Definition at line 107 of file alephmem.h.

#define setequiv (   a,
  v 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.rh=v) : \
                                 (createeqtbpos(a)->mw.hh.rh=v))

Definition at line 98 of file alephmem.h.

#define setequiv1 (   a,
  v 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                      (hashtable[(a)%HASHTABLESIZE].mw.cint1=v) : \
                                 (createeqtbpos(a)->mw.cint1=v))

Definition at line 101 of file alephmem.h.

#define sethashnext (   a,
  d 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.v.LH=d) : \
                                 (createhashpos(a)->mw.hh.v.LH=d))

Definition at line 117 of file alephmem.h.

#define sethashtext (   a,
  d 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.hh.v.RH=d) : \
                                 (createhashpos(a)->mw.hh.v.RH=d))

Definition at line 120 of file alephmem.h.

#define setintone (   w,
  a 
)    ((w).cint1=(a))

Definition at line 129 of file alephmem.h.

#define setintzero (   w,
  a 
)    ((w).cint=(a))

Definition at line 128 of file alephmem.h.

#define setneweqtb (   a,
  v 
)
Value:

Definition at line 89 of file alephmem.h.

#define setneweqtbint (   a,
  v 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.cint=v) : \
                                 (createeqtbpos(a)->mw.cint=v))

Definition at line 92 of file alephmem.h.

#define setneweqtbsc (   a,
  v 
)
Value:
(((a)==hashtable[(a)%HASHTABLESIZE].p) ? \
                             (hashtable[(a)%HASHTABLESIZE].mw.cint=v) : \
                                 (createeqtbpos(a)->mw.cint=v))

Definition at line 95 of file alephmem.h.

#define undumpeqtbtable ( )    undumphhashtable();

Definition at line 65 of file alephmem.h.


Typedef Documentation

typedef struct hashw hashword

Function Documentation

Definition at line 26 of file aleph.c.

{
    string fname =
    kpse_find_file (nameoffile + 1, kpse_program_binary_format, true);

    if (fname) {
      libcfree(nameoffile);
      nameoffile = xmalloc(2+strlen(fname));
      namelength = strlen(fname);
      strcpy(nameoffile+1, fname);
    }
    else {
      libcfree(nameoffile);
      nameoffile = xmalloc(2);
      namelength = 0;
      nameoffile[0] = 0;
      nameoffile[1] = 0;
    }
}

Here is the caller graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 384 of file aleph.c.

Definition at line 333 of file aleph.c.

Definition at line 196 of file aleph.c.

Definition at line 436 of file aleph.c.

Definition at line 31 of file openclose.c.