w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

GString.cc File Reference
#include <aconf.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <limits.h>
#include "gmem.h"
#include "gmempp.h"
#include "GString.h"
Include dependency graph for GString.cc:

Go to the source code of this file.

Classes

union  GStringFormatArg
 

Enumerations

enum  GStringFormatType {
  fmtIntDecimal , fmtIntHex , fmtIntOctal , fmtIntBinary ,
  fmtUIntDecimal , fmtUIntHex , fmtUIntOctal , fmtUIntBinary ,
  fmtLongDecimal , fmtLongHex , fmtLongOctal , fmtLongBinary ,
  fmtULongDecimal , fmtULongHex , fmtULongOctal , fmtULongBinary ,
  fmtDouble , fmtDoubleTrim , fmtChar , fmtString ,
  fmtGString , fmtSpace
}
 

Functions

static int size (int len)
 

Variables

static const char * formatStrings []
 

Enumeration Type Documentation

◆ GStringFormatType

Enumerator
fmtIntDecimal 
fmtIntHex 
fmtIntOctal 
fmtIntBinary 
fmtUIntDecimal 
fmtUIntHex 
fmtUIntOctal 
fmtUIntBinary 
fmtLongDecimal 
fmtLongHex 
fmtLongOctal 
fmtLongBinary 
fmtULongDecimal 
fmtULongHex 
fmtULongOctal 
fmtULongBinary 
fmtDouble 
fmtDoubleTrim 
fmtChar 
fmtString 
fmtGString 
fmtSpace 

Definition at line 46 of file GString.cc.

Function Documentation

◆ size()

static int size ( int  len)
inlinestatic

Definition at line 102 of file GString.cc.

References delta, gMemError(), INT_MAX, and len.

Referenced by GString::resize().

Variable Documentation

◆ formatStrings

const char* formatStrings[]
static
Initial value:
= {
"d", "x", "o", "b", "ud", "ux", "uo", "ub",
"ld", "lx", "lo", "lb", "uld", "ulx", "ulo", "ulb",
"f", "g",
"c",
"s",
"t",
"w",
}
#define NULL
Definition: ftobjs.h:61

Definition at line 83 of file GString.cc.

Referenced by GString::appendfv(), and GooString::appendfv().