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)  

zutil.c File Reference
#include "zutil.h"
Include dependency graph for zutil.c:

Go to the source code of this file.

Functions

void exit ()
 
void zmemcpy (Bytef *dest, Bytef *source, uInt len)
 
int zmemcmp (Bytef *s1, Bytef *s2, uInt len)
 
void zmemzero (Bytef *dest, uInt len)
 
voidp ft_scalloc ()
 
void ft_sfree ()
 
voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
 
void zcfree (voidpf opaque, voidpf ptr)
 

Function Documentation

◆ exit()

void exit ( )

Referenced by __caryll_allocate_clean(), __caryll_allocate_dirty(), __caryll_reallocate(), __declspec(), _Escape(), _EscIO2(), _Ex_FatalError(), _GL_ATTRIBUTE_FORMAT_PRINTF(), _OutMem(), _synctex_abstract_handle(), AbortRun(), ErrorHandler::account(), BailErrorHandler::account(), addAlias(), addConverter(), addFile(), addFromUTrieEntry(), addkernpair(), ICUNotifier::addListener(), PSFrontEnd::addNumber(), addOfficialTaggedStandards(), addToKnownAliases(), drvbase::addtopath(), drvbase::PathInfo::addtopath(), addtype(), adjust_hlist(), AllDone(), alloc_gex_con(), allocString(), Package::allocString(), Compiler::appendReplaceElem(), applyOnRegion2(), applyOnSpaced(), aptex_utils_exit(), aptex_utils_init_start_time(), associate(), bad_prog(), bbdospecial(), beginDocument(), bin_write_xml(), Bitio_Flush(), Bitio_WriteToSocket(), BlockComputeSNR(), BMotionSearch(), BMotionSearchNoInterp(), bmp_outline(), bmp_scan_file(), boops(), BrotliAllocate(), BSearchName(), build_code(), build_readEntireFile(), buildstems(), bundle_write_xml(), BZ2_bz__AssertH__fail(), c_main(), calledit(), cannot(), capi(), cb_usage(), cb_usagehelp(), Error::cexit(), cf2_arrstack_setNumElements(), cf2_doStems(), cf2_getGlyphOutline(), cf2_interpT2CharString(), charstring_byte(), charstring_int(), check(), check_ligature_program(), checkarray(), checkc(), CheckChoosing(), checkedmalloc(), checkInvalidImageOption(), checkInvalidPrintOption(), checkn(), Normalizer2DataBuilder::checkNormForMapping(), chk_font_file(), cleanup(), cleanUpAndFail(), close_stdout(), CnvExtOpen(), codegen(), collect_reloc(), compile_regex(), compute_font_dimens(), ComputeFrameTable(), ComputeGOPFrames(), concat(), config_error(), configError(), ConnectToSocket(), convertpng(), copy_file(), copyFileName(), copyfont(), createCommonDataFile(), createData(), CreateListeningSocket(), createOneAliasList(), createtmpfile(), createZone(), decl_lv_underscore(), DecodeArgs(), DeCodeStr(), dexit(), dicvalread(), die(), dnproc(), do_args_first_pass(), do_encoding(), do_initex(), do_kern_pairs(), do_ligatures(), do_ofm_one_char_info(), do_test(), DoAATLayout(), doargs(), dolink(), doPlain2(), dopts(), dosubfrag(), doversion(), downpsfont(), drawingelement< nr, curtype >::drawingelement(), drvNOI::drvNOI(), drvPCB1::drvPCB1(), drvPDF::drvPDF(), dump(), Dump(), dump_config(), dumparabicdata(), dumpgposCursiveAttach(), dupcnstring(), dv2dt(), DVIOpen(), DVIReOpen(), emit_asm_wordreloc(), emit_fold(), emit_isolatin1(), emit_lib(), emit_peobj(), Package::enumDependencies(), envOption(), err(), err_ill(), err_unwind(), erri(), ERROR(), error(), error_at(), error_exit(), error_stop(), error_with_perror(), ErrorExit(), errorexit(), exec_command(), ExecuteTest(), Exit(), exit_(), expect(), extractbb(), Package::extractItem(), extractPackageName(), f_exit(), Fatal(), fatal(), fatal_error(), fatal_error_0(), fatal_error_1(), fatal_error_2(), fatal_error_s(), fatal_error_signal(), FcConfigGetPath(), FcInitLoadOwnConfig(), fclosepaths(), fconcisecontour(), FinalExitCleanUp(), find_ffofs(), find_rec(), find_sa_element(), FindBestMatch(), FindEncoding(), FindFonts(), Package::findItems(), FindKeyWord(), FindUnicharName(), finishPNG(), fix_dumpname(), flo_to_s(), flodivmod(), foldrule(), font_define(), fontdef(), FontPart(), Frame_Resize(), FramesToMPEG(), fsearch(), Fsize_Note(), FTC_MruNode_Prepend(), FTC_MruNode_Remove(), FTC_MruNode_Up(), FTopen(), full_qualified_tempnam(), GenBFrame(), BUILDRULES::generate(), generateData(), GenMBType(), GenMotionCode(), GenMPEGStream(), get_font_list(), get_image(), get_list(), icutools.databuilder.utils::get_local_dirname(), get_sizes(), get_unsigned_byte(), get_usertable(), GetAspectRatio(), getCount(), getfields(), getFileNameFromCTFont(), getfname(), getfontcharrange(), GetFrameRate(), getglyphbounds(), getmem(), getnativecharheightdepth(), getnativecharsidebearings(), getnativecharwd(), getOutFilename(), getOutputFileName(), getpages(), GetRemoteDecodedRefFrame(), GetRemoteFrame(), getTagNumber(), gettext(), gettextline(), getTitleBlock(), getToUnicodeValue(), GetUnusedFrame(), getzones(), gimp_quit(), glenc(), glnames(), glyphs(), gMemError(), GOPStoMPEG(), gposCursiveSubTable(), gregorio_exit(), groupsubstems(), handle_glyphs(), handle_gnames(), handle_head(), handle_header(), handle_name(), UnescapeTransliterator::handleTransliterate(), hash_init(), help(), help_formats(), help_message(), hessenberg(), hexnum(), hnj_malloc(), hnj_realloc(), hpack(), in_ln_gen(), infile(), init(), Init_Font_Engine(), initCollator_legacy(), XeTeXFontMgr_FC::initialize(), XeTeXFontInst::initialize(), initialize_inputstack(), initialize_notes(), initscreen(), initversionstring(), input_file(), internal_error_0(), internal_error_1(), interpret_maxmemory(), interpret_restart(), is_nt(), jinit_read_gif(), JM2JPEG(), JMovie2JPEG(), k_find_file(), kpathsea_open_file(), kpathsea_selfdir(), kpse_available(), lastpage(), layoutChars(), lcheck(), leapadd(), libdef_func(), libdef_lua(), libdef_module(), libdef_name(), libdef_push(), lj_ccallback_enter(), lj_cf_os_exit(), lj_err_throw(), load_fmt_file(), loadLists(), lookup(), lua_initialize(), luaD_throw(), LUAUI__LogError(), LUAUI_IError(), lzw_xship(), macro_call(), macroFile(), macroParse(), icutools.databuilder.__main__::main(), main(), makeextent(), makefontdef(), makeFullFilename(), makeFullFilenameAndDirs(), makehash(), makeheader(), maketex(), maketfm(), mallocFail(), mapchartoglyph(), mapglyphtoindex(), match_slash(), matrix(), MBCSOpen(), measure_native_glyph(), measure_native_node(), memory_exhausted(), Mhead_GenSequenceHeader(), mp_rle_huff_pblock(), Mpost_RLEHuffPBlock(), mrb_bug(), msg_out(), mt_exit(), my_getopt(), myalloc(), names_dump(), natfontdef(), new(), newabbr(), newCounter(), newgentry(), newLength(), drvPDF::newobject(), newTextBlock(), nextch(), nexttoken(), nkf_buf_push(), nkf_xmalloc(), nkf_xrealloc(), no_connection2(), normal_error(), normalizationCorrectionsLineFn(), NoteFrameDone(), NotifyDecodeServerReady(), NotifyMasterDone(), oadd(), ofm_get_arrays(), ofm_get_sizes(), oops(), Opcode_9A(), open_dtl(), open_dvi(), openafm(), openFile(), openfiles(), openfont(), openpfm(), opt_oops(), optFatalFunc(), options(), os_error(), os_exit(), otfcc_build(), otfcc_dump(), otfcc_get16u(), otfcc_get32u(), otfcc_get64u(), otl_read_gpos_cursive(), otp_read(), out_of_memory(), outAttribute(), outputBlock(), outzone(), overflow(), owrite(), pageout(), panic(), parm_iversion(), parm_version(), parse_args(), parse_charstring(), Parse_Specifics_File(), parse_switches(), ParseArgs(), parseFile(), parseFilename(), parseLine(), parseMappings(), parseNormalizationCorrections(), parseTagString(), pathtoint(), pbm_dumpfont(), pdf_open(), pdfserver(), pdftex_fail(), pfatal_error(), pkg_writeCharList(), PKopen(), plcnxt(), pm_allocrow(), pm_error(), pm_init(), pm_openr(), pm_openw(), pm_usage(), PMotionSearch(), pngtopnm_error_handler(), pnmtopng_error_handler(), pop(), postpost(), ppa_print_sweep(), ppm_parsecolor(), PPMtoYUV(), predospecial(), print(), print_layout_info_using_private_api(), print_version(), print_version_and_exit(), printglyphname(), printMatch(), PrintPrgErr(), PrintStartStats(), printUsage(), process(), process_command(), process_file(), Normalizer2DataBuilder::processData(), processOptions(), ProcessRefFrame(), ps_include(), pscopyuntil(), PSearchName(), PSFrontEnd::PSFrontEnd(), psscan(), push(), push_operand(), pxl_define(), ExtraData::rangeHandler(), CompositionBuilder::rangeHandler(), Decomposer::rangeHandler(), sub_path::read(), read_command_line(), read_config(), read_config_file(), read_options(), read_post(), read_rle_header(), read_stdin(), readAndStoreFile(), readconfig(), readcorpfile(), ReadDecodedRefFrame(), readEntireFile(), readError(), readFile(), ReadFrame(), readglyphs(), readin(), ReadInput(), ReadInputFileNames(), ReadIOConvert(), ReadJPEG(), readList(), readmetrics(), Package::readPackage(), ReadParamFile(), ReadPPM(), readttfencodings(), remove_newline(), renew(), renewDefinition(), replace(), replacefonts(), ResetFrame(), ResetPath(), reversepathsfromto(), rgbnorm(), rpytime(), rsigned(), rulesub(), Subprocess::run(), runexternalocp(), runsigned(), runt1asm(), s_1paus(), s_paus(), s_stop(), safe_fork(), SafeRead(), SafeWrite(), savePageSlice(), scan_char_metric(), ScanChars(), scandir(), scanner_scan(), ScanSubrs(), SearchPostscriptResources(), select_transform(), SendDecodedFrame(), SendRemoteFrame(), SeparateLine(), set_printer_specific_defaults(), SetBSearchAlg(), SetFCodeHelper(), SetFileFormat(), SetFramePattern(), Normalizer2DataBuilder::setHangulData(), NativeItem::setItem(), Package::setItemCapacity(), Normalizer2DataBuilder::setOneWayMapping(), SetPixelSearch(), Package::setPrefix(), SetPSearchAlg(), SetReferenceFrameType(), Normalizer2DataBuilder::setRoundTripMapping(), setseq(), settiestr(), Normalizer2DataBuilder::setUnicodeVersion(), SetupKillDimAreas(), SetupLaplace(), setupPNG(), SFD_GetFont(), SFD_GetFontMetaData(), SFDGetChar(), drvASY::show_image(), drvFIG::show_image(), sig_die(), sigint_handler(), slur_assert(), Package::sortItems(), spawn_command(), special(), Specifics_Init(), StartCombineServer(), StartDecodeServer(), StartIOServer(), StartMasterServer(), HtmlOutputDev::startPage(), stop1(), storeMapping(), storeMappingData(), storeRange(), str_split(), strncpy_s(), strprepProfileLineFn(), strsave(), strToDouble(), styleConv(), styread(), sumUpStates(), t1_abort(), t1_getline(), t2char(), tadd(), tfm_define(), tfm_get_n(), tfm_open(), tfmget(), tfmidx(), tie(), tiff2png_error_handler(), tmpfile_error(), too_many_bits(), tooManyBlocks(), tpic_parse_special(), DataDict::transform(), translate(), try_break(), ttf_fail(), ttfError(), ucm_addMapping(), ucm_addState(), ucm_open(), ucm_openTable(), ucm_parseHeaderLine(), ucm_processStates(), ucm_sortTable(), ucnv_enumDependencies(), udata_createDummy(), uexit(), unicode_init_user(), unicode_plane(), update_autofont_map(), UpdatePath(), ures_enumDependencies(), usage(), Usage(), usage_error(), usage_exit(), usage_help(), usageAndDie(), UsageExit(), utf16be_to_utf8(), utf16le_to_utf8(), utm_hasCapacity(), utm_open(), vcheck(), vector(), verror(), version(), VersionExit(), vf_define(), vfopen(), vpackage(), WaitForDecodedFrame(), WaitForOutputFile(), win32BeginDocument(), win32BeginPage(), win32SetupPrinter(), win32ShowPrintDialog(), wr_string(), write_file(), write_header(), write_interp_line(), write_job(), write_JPEG_file(), write_ovp(), write_pl(), write_stdout(), write_trailer(), writeAssemblyCode(), Normalizer2DataBuilder::writeBinaryFile(), writeCCode(), ExtraData::writeCompositions(), Normalizer2DataBuilder::writeCSourceFile(), Normalizer2DataBuilder::writeDataFile(), writeError(), ExtraData::writeExtraData(), ExtraData::writeMapping(), Normalizer2DataBuilder::writeNorm16(), Package::writePackage(), writePageImage(), writepfm(), writePNGData(), writezone(), wsort(), wtable(), xcalloc(), xfclose(), xfopen(), xmain(), xmain_exit(), xmalloc(), xrealloc(), yearistype(), yy_fatal_error(), yyerror(), and yylex().

◆ ft_scalloc()

voidp ft_scalloc ( )

Referenced by zcalloc().

◆ ft_sfree()

void ft_sfree ( )

Referenced by zcfree().

◆ zcalloc()

voidpf zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 
)

Definition at line 164 of file zutil.c.

References ft_scalloc(), items, and size.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateInit2_().

◆ zcfree()

void zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 173 of file zutil.c.

References ft_sfree(), and ptr.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateInit2_().

◆ zmemcmp()

int zmemcmp ( Bytef s1,
Bytef s2,
uInt  len 
)

Definition at line 28 of file zutil.c.

References j, len, s1, and s2.

◆ zmemcpy()

◆ zmemzero()

void zmemzero ( Bytef dest,
uInt  len 
)

Definition at line 41 of file zutil.c.

References dest, and len.

Referenced by fill_window().