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)  

squeeze.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
Include dependency graph for squeeze.c:

Go to the source code of this file.

Macros

#define O_BINARY   0
 
#define LINELENGTH   (72)
 
#define BUFLENGTH   (1000)
 

Functions

static void specialout (char c)
 
static void strout (char *s)
 
static void cmdout (char *s)
 
int main (int argc, char *argv[])
 

Variables

static char buf [(1000)]
 
static FILEin
 
static FILEout
 
static int linepos = 0
 
static int lastspecial = 1
 

Macro Definition Documentation

◆ BUFLENGTH

#define BUFLENGTH   (1000)

Definition at line 33 of file squeeze.c.

◆ LINELENGTH

#define LINELENGTH   (72)

Definition at line 32 of file squeeze.c.

◆ O_BINARY

#define O_BINARY   0

Definition at line 18 of file squeeze.c.

Function Documentation

◆ cmdout()

static void cmdout ( char *  s)
static

Definition at line 70 of file squeeze.c.

References cutout::l, lastspecial, LINELENGTH, linepos, s, and strlen().

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ specialout()

static void specialout ( char  c)
static

Definition at line 45 of file squeeze.c.

References c, lastspecial, LINELENGTH, and linepos.

Referenced by main().

◆ strout()

static void strout ( char *  s)
static

Definition at line 57 of file squeeze.c.

References lastspecial, LINELENGTH, linepos, s, and strlen().

Referenced by main(), and trans2dvi().

Variable Documentation

◆ buf

char buf[(1000)]
static

Definition at line 35 of file squeeze.c.

Referenced by main().

◆ in

FILE* in
static

Definition at line 36 of file squeeze.c.

Referenced by __gmpn_mu_bdiv_q_itch(), __gmpn_mu_bdiv_qr_itch(), __gmpn_mu_div_qr_itch(), __gmpn_mu_divappr_q(), __gmpn_mu_divappr_q_itch(), __gmpn_preinv_mu_div_qr(), __gmpn_preinv_mu_div_qr_itch(), __gmpn_tdiv_qr(), __gmpz_tdiv_r_2exp(), _cairo_bentley_ottmann_tessellate_boxes(), _cairo_gl_get_shader_by_type(), _cairo_pen_find_active_ccw_vertices(), _cairo_pen_find_active_cw_vertices(), _cairo_stroker_join(), _cairo_stroker_join_is_clockwise(), _cairo_utf8_to_ucs4(), _cairo_utf8_to_utf16(), _cmsBuildKToneCurve(), _cmsFloat2Half(), _cmsGetFormatterAlpha(), _cmsHandleExtraChannels(), _readencstring(), _ReadPSFont(), AddEncodedName(), addinfo(), addObjMap(), UnicodeRemapping::addRemapping(), AddToStem(), GlobalParams::addUnicodeRemapping(), adjusteskz_(), aes256DecryptBlock(), aes256EncryptBlock(), aesDecryptBlock(), aesEncryptBlock(), aesReadBlock(), Package::allocString(), Metrics::apply_ligature(), applytfmfontmapping(), PSOutputDev::asciiHexDecodeType1EexecSection(), base64_decode(), base64_encode(), BaseToBase(), bmeps_jpg(), bmeps_jpg_bb(), bmeps_jpg_wh(), bmeps_png(), bmeps_png_bb(), bmeps_png_wh(), bmeps_pnm(), bmeps_pnm_bb(), bmeps_pnm_wh(), bmeps_run(), bmeps_run_bb(), bmeps_tiff(), bmeps_tiff_bb(), bmeps_tiff_wh(), bmeps_wh(), BROTLI_UNALIGNED_LOAD16LE(), BROTLI_UNALIGNED_LOAD32LE(), BROTLI_UNALIGNED_LOAD64LE(), BrotliClusterHistograms(), BrotliHistogramRemap(), buf_get_be32(), buf_get_be64(), CachedXFORM(), CachedXFORMGamutCheck(), cairo_gl_shader_get_fragment_source(), cairo_type1_font_subset_decrypt_charstring(), cairo_type1_font_subset_decrypt_eexec_segment(), cairo_type1_font_subset_write_encrypted(), cairo_type1_write_stream_encrypted(), CalcRLEHuffLength(), PSInterpreter::callActions(), caryll_ElementInterfaceOf(), caseFoldReadRaw(), checkObject(), cmsMD5_Transform(), cnvSigType(), collapse_continuations(), compress(), compressOrNot(), ComputeGradientValue(), consumeLine(), iconv_wrapper::iconv::convert(), convert(), ConvertPathToFormat(), convertStringToHexString(), convertStringToPDFString(), FileSystem::copy(), createCommonDataFile(), CStr::CStr(), decNumberFromInt32(), lz4::decompress(), decrypteexec(), disposeCffIndex(), ditch_line(), Do_ContextPos(), Do_ContextSubst(), Do_Glyph_Lookup(), Do_String_Lookup(), dodata(), GfxColorTransform::doTransform(), escapehex(), escapename(), escapestring(), eskb4_(), extractIndex(), fea_handle_include(), fea_ParseDeciPoints(), fea_ParseNameId(), fea_ParseTableKeywords(), fea_ParseTag(), fea_ParseTok(), fileExists(), findObjMap(), FloatXFORM(), ft_bitmap_assure_buffer(), FT_Outline_EmboldenXY(), func_abspath(), func_realpath(), gd_getin(), gdImageCreateFromBmp(), gdImageCreateFromBmpPtr(), gdImageCreateFromGifPtr(), gdImageCreateFromTga(), gdImageCreateFromTgaPtr(), gdImageCreateFromWBMP(), gdImageCreateFromWBMPPtr(), Sectioner::gen(), gen_hex_dump(), DecryptStream::getChar(), GfxCalGrayColorSpace::getCMYK(), GfxCalRGBColorSpace::getCMYK(), GfxLabColorSpace::getCMYK(), GfxICCBasedColorSpace::getCMYK(), GfxImageColorMap::getCMYKByteLine(), GfxImageColorMap::getCMYKLine(), GfxDeviceGrayColorSpace::getCMYKLine(), GfxDeviceRGBColorSpace::getCMYKLine(), GfxDeviceCMYKColorSpace::getCMYKLine(), GfxICCBasedColorSpace::getCMYKLine(), GfxIndexedColorSpace::getCMYKLine(), GfxGouraudTriangleShading::getColor(), GfxPatchMeshShading::getColor(), GfxFunctionShading::getColor(), GfxImageColorMap::getDeviceNLine(), GfxDeviceGrayColorSpace::getDeviceNLine(), GfxDeviceRGBColorSpace::getDeviceNLine(), GfxDeviceCMYKColorSpace::getDeviceNLine(), GfxICCBasedColorSpace::getDeviceNLine(), GfxIndexedColorSpace::getDeviceNLine(), GfxCalGrayColorSpace::getGray(), GfxCalRGBColorSpace::getGray(), GfxLabColorSpace::getGray(), GfxICCBasedColorSpace::getGray(), GfxImageColorMap::getGrayByteLine(), GfxImageColorMap::getGrayLine(), GfxDeviceGrayColorSpace::getGrayLine(), GfxDeviceRGBColorSpace::getGrayLine(), getmbi(), GfxCalGrayColorSpace::getRGB(), GfxCalRGBColorSpace::getRGB(), GfxLabColorSpace::getRGB(), GfxICCBasedColorSpace::getRGB(), GfxImageColorMap::getRGBByteLine(), GfxImageColorMap::getRGBLine(), GfxDeviceGrayColorSpace::getRGBLine(), GfxDeviceRGBColorSpace::getRGBLine(), GfxDeviceCMYKColorSpace::getRGBLine(), GfxICCBasedColorSpace::getRGBLine(), GfxIndexedColorSpace::getRGBLine(), GfxImageColorMap::getRGBXLine(), GfxDeviceGrayColorSpace::getRGBXLine(), GfxDeviceRGBColorSpace::getRGBXLine(), GfxDeviceCMYKColorSpace::getRGBXLine(), GfxICCBasedColorSpace::getRGBXLine(), GfxIndexedColorSpace::getRGBXLine(), getsquez_(), getstring(), GfxDeviceCMYKColorSpacegetRGBLineHelper(), glob_match(), handleFile(), i915_shader_linear_color(), i915_shader_radial_coord(), if(), inflate(), inflate_fast(), inflateSync(), init_error_limit(), InitFiles(), inner_close(), inner_join(), IsInflectionPoint(), join(), join_is_clockwise(), jpg_run(), loadLists(), DecryptStream::lookChar(), EncryptStream::lookChar(), Lookup_AlternateSubst(), Lookup_ChainContextPos(), Lookup_ChainContextPos1(), Lookup_ChainContextPos2(), Lookup_ChainContextPos3(), Lookup_ChainContextSubst(), Lookup_ChainContextSubst1(), Lookup_ChainContextSubst2(), Lookup_ChainContextSubst3(), Lookup_ContextPos(), Lookup_ContextPos1(), Lookup_ContextPos2(), Lookup_ContextPos3(), Lookup_ContextSubst(), Lookup_ContextSubst1(), Lookup_ContextSubst2(), Lookup_ContextSubst3(), Lookup_CursivePos(), Lookup_LigatureSubst(), Lookup_MarkBasePos(), Lookup_MarkLigPos(), Lookup_MarkMarkPos(), Lookup_MultipleSubst(), Lookup_PairPos(), Lookup_PairPos1(), Lookup_PairPos2(), Lookup_SinglePos(), Lookup_SingleSubst(), MacStrToUtf8(), main(), make1bar_(), make2bar_(), makeabar_(), makeByteCodewords(), UnicodeRemapping::map(), MD5Transform(), SplashXPath::mergeSegments(), mp_quant_block(), mp_quant_zig_block(), mp_rle_huff_block(), mp_rle_huff_pblock(), mpn_mu_bdiv_q_old(), mpn_mu_bdiv_qr_old(), mpn_mu_div_qr2(), mpn_mu_div_qr_choose_in(), mpn_mu_divappr_q_choose_in(), mpn_preinv_mu_divappr_q(), Mpost_QuantZigBlock(), Mpost_RLEHuffIBlock(), Mpost_RLEHuffPBlock(), Mpost_UnQuantZigBlock(), Mpost_UnQuantZigBlockLaplace(), mrb_io_s_popen_args(), mrb_ipsocket_pton(), SysFontInfo::mungeName1(), SysFontInfo::mungeName2(), new_job(), NullFloatXFORM(), NullXFORM(), operator""_in(), out_string(), outer_close(), outer_join(), PSInterpreter::output(), parseFile(), UnicodeRemapping::parseFile(), parseline(), parsetype3(), pdfsetmatrix(), Plotter::Plotter(), pm_readbiglong(), pm_readbigshort(), pm_readlittlelong(), pm_readlittleshort(), png_run(), posmpz_dec_ui(), posmpz_inc_ui(), PostScriptFunction::PostScriptFunction(), pr_load_colormap(), pr_load_header(), pr_load_image(), PrecalculatedXFORM(), PrecalculatedXFORMGamutCheck(), premultiply_bgra(), print_pbm(), PsSpecialHandler::process(), putFixed(), quote_for_env(), GnomeFontInstance::rasterizeGlyphs(), EncFile::read(), read_entry(), read_length(), read_next_number(), read_pnm_line(), readFinalZonesAndRules(), ReadPSFont(), readwbmp(), realdecrypt(), StreamReader::replaceStream(), rle_compress(), runbyte1(), SampledFunction::SampledFunction(), selectglyph(), Ghostscript::set_stdio(), CharsetDetector::setText(), InputText::setText(), SFApplyFeatureFilename(), SFDReadUTF7Str(), sfnts2tempfile(), drvWMF::show_text(), skipheader(), stroker_intersects_join(), Efont::OpenType::Substitution::Substitution(), IdentityFunction::transform(), SampledFunction::transform(), ExponentialFunction::transform(), StitchingFunction::transform(), PostScriptFunction::transform(), triplet_decode(), TT_GPOS_Apply_String(), TT_GSUB_Add_String(), TT_GSUB_Apply_String(), u_strFromPunycode_68(), ucbuf_autodetect(), ucbuf_autodetect_fs(), ucbuf_open(), ucnv_convert_68(), unescapehex(), unicodeNormalizeNFKC(), unicodeToAscii7(), unpremultiply_bgra(), UnQuantZig(), uprv_decNumberFromInt32_68(), utf16be_to_utf8(), utf16le_to_utf8(), Utf8ToMacStr(), utf8toutf16be(), Efont::Type1Definition::value_normalize(), Filter::PipeD::vi_precopy(), Filter::PipeD::vi_read(), writeAssemblyCode(), writeCCode(), PSImage::writeEPSImage(), Encoder::writeFrom(), and MiniPS::Tokenizer::yylex().

◆ lastspecial

int lastspecial = 1
static

Definition at line 38 of file squeeze.c.

Referenced by cmdout(), specialout(), and strout().

◆ linepos

int linepos = 0
static

Definition at line 37 of file squeeze.c.

Referenced by cmdout(), main(), specialout(), and strout().

◆ out

FILE * out
static

Definition at line 36 of file squeeze.c.

Referenced by main().