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)  

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

Go to the source code of this file.

Classes

struct  pp_list
 

Functions

void FirstPage (int32_t page, boolean data)
 
void LastPage (int32_t page, boolean data)
 
void Reverse (boolean new)
 
boolean InPageList (int32_t i)
 
struct page_listNextPPage (void *dvi, struct page_list *page)
 
static void ListPage (int32_t pslow, int32_t pshigh)
 
boolean ParsePages (const char *s)
 
void ClearPpList (void)
 

Variables

static int32_t first = ((int32_t)_I32_MIN)
 
static int32_t last = _I32_MAX -1
 
static boolean abspage =false
 
static boolean reverse =false
 
boolean no_ppage =true
 
struct pp_listppages = 0
 

Function Documentation

◆ ClearPpList()

void ClearPpList ( void  )

Definition at line 175 of file ppagelist.c.

References abspage, first, free, last, pp_list::next, no_ppage, PAGE_FIRSTPAGE, PAGE_LASTPAGE, and ppages.

Referenced by DrawPages().

◆ FirstPage()

void FirstPage ( int32_t  page,
boolean  data 
)

Definition at line 39 of file ppagelist.c.

References abspage, data, first, and page.

◆ InPageList()

boolean InPageList ( int32_t  i)

Definition at line 98 of file ppagelist.c.

References i, next, ppages, pp_list::ps_high, and pp_list::ps_low.

Referenced by NextPPage(), pprescanpages(), and prescanpages().

◆ LastPage()

void LastPage ( int32_t  page,
boolean  data 
)

Definition at line 44 of file ppagelist.c.

References abspage, data, last, and page.

◆ ListPage()

static void ListPage ( int32_t  pslow,
int32_t  pshigh 
)
static

Definition at line 110 of file ppagelist.c.

References Fatal(), malloc, pp_list::next, next, no_ppage, NULL, ppages, pp_list::ps_high, and pp_list::ps_low.

Referenced by ParsePages().

◆ NextPPage()

struct page_list* NextPPage ( void dvi,
struct page_list page 
)

Definition at line 61 of file ppagelist.c.

References abspage, dvi, FindPage(), first, InPageList(), last, NextPage, no_ppage, NULL, PrevPage(), and reverse.

Referenced by DrawPages().

◆ ParsePages()

boolean ParsePages ( const char *  s)

Definition at line 133 of file ppagelist.c.

References c, ListPage(), PAGE_MAXPAGE, PAGE_MINPAGE, pp_list::ps_high, pp_list::ps_low, s, strtol(), and t.

Referenced by DecodeArgs(), and main().

◆ Reverse()

void Reverse ( boolean  new)

Definition at line 49 of file ppagelist.c.

References reverse.

Variable Documentation

◆ abspage

boolean abspage =false
static

◆ first

int32_t first = ((int32_t)_I32_MIN)
static

Part of the dvipng distribution

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Copyright (C) 2002-2010 Jan-Åke Larsson

Definition at line 29 of file ppagelist.c.

Referenced by OT::CmapSubtableFormat14::_add_links_to_variation_records(), _addAttributeToList(), _addExtensionToList(), _addVariantToList(), _cairo_contour_reverse(), _cairo_contour_simplify_chain(), _cairo_ps_surface_emit_header(), _cairo_scaled_glyph_set_metrics(), _cairo_win32_printing_surface_emit_win32_glyphs(), _Gen816Enc(), _sortVariants(), _SPLCopyTransformedHintMasks(), _SplineSetApprox(), _SplineSetFindBounds(), _SplineSetFindClippedBounds(), _SplineSetStroke(), _synctex_merge_strings(), _uninit_f2c(), add_section_name(), SegmentedCMap::addBFRange(), SegmentedCMap::addCIDRange(), StandardPluralRanges::addPluralRange(), addrange(), NumericRanges< T >::addRange(), AddTempKP(), adobermkern(), af_glyph_hints_align_edge_points(), af_glyph_hints_reload(), af_latin_hints_compute_segments(), af_latin_metrics_init_blues(), drvPPTX::angle_between(), Normalizer2WithImpl::append(), NoopNormalizer2::append(), apply_normalization(), aptex_program(), assertpath(), graphite2::Vector< T >::assign(), AssignPtNumbers(), util::base64_copy(), begin_file_reading(), bestblue(), binarySearch(), build_name_tree(), bundle_write_xml(), cairo_cff_font_read_fdselect(), cff_builder_close_contour(), cff_encoding_lookup(), cff_fd_select_get(), cff_pack_charsets(), cff_pack_encoding(), cff_pack_fdselect(), cff_parseOutline(), cff_parser_within_limits(), cff_read_fdselect(), clear_bits(), ClearPpList(), close_fusion_glyph(), OT::DefaultUVS::collect_unicodes(), collectargs(), comment_tokenize(), compute_ambitus(), concatenate(), DVIToSVG::convert(), ConvertOverToFrac(), Efont::OpenType::Coverage::Coverage(), cp_decl_multi(), create_initial_state(), PSOutputDev::createDeviceNTintFunc(), curveto2(), CvtPsSplineSet2(), Decompose_Curve(), decShiftToMost(), graphite2::distance(), do_run_callback(), dochdir(), doOpenChoice(), draw_bezier_curve(), draw_bezier_patch(), draw_simple_glyf(), DumpClass(), dumpGPOSsimplepos(), DumpKernClass(), SimBuffer::Linked::each_sub(), ELFindEdges(), CollationDataBuilder::encodeExpansion(), CollationDataBuilder::encodeExpansion32(), CollationFastLatinBuilder::encodeTwoCEs(), end_file_reading(), graphite2::Vector< T >::erase(), error(), expand(), extend_section_name(), extractFirst(), FcNameParseCharSet(), FcNameParseRange(), FcNameUnparseLangSet(), FcObjectSetBuild(), FcObjectSetVaBuild(), fea_ApplyLookupListPair(), fea_ParseDeviceTable(), fea_ParseMarkedGlyphs(), ToUnicodeMap::fillRange(), find_unicode_charmap(), find_variant_selector_charmap(), PDFCore::findAll(), TextPage::findCharRange(), FindEdgesSplineSet(), finish_articles(), firm_up_the_line(), SimBuffer::Linked::first_sub(), FirstPage(), fnt_cmap_char_next(), free_blocks(), fs_fixup_line(), FT_Outline_Decompose(), FT_Outline_EmboldenXY(), FT_Outline_Get_Orientation(), FT_Outline_Reverse(), FT_Stroker_ParseOutline(), FTC_CMapCache_Lookup(), FTC_Manager_Compress(), FTC_Manager_FlushN(), FTC_MruList_RemoveSelection(), FTC_MruNode_Prepend(), FTC_MruNode_Remove(), FTC_MruNode_Up(), g_read(), gdImageColorClosestAlpha(), gdImageColorClosestHWB(), CFF::Encoding1::get_code(), CFF::FDSelect3_4< GID_TYPE, FD_TYPE >::get_fd(), CFF::Charset1_2< TYPE >::get_glyph(), hb_ot_shape_fallback_kern_driver_t::get_kerning(), get_next(), getAppleClassTable(), getfontcharrange(), SimBuffer::Linked::getLength(), getmark(), getmidi_(), getprogname(), glob_match(), glorpline(), gmpscan(), gray_render_line(), gray_render_scanline(), gz_zero(), HandlePage(), hb_set_add_range(), hb_set_del_range(), hb_set_next_range(), hb_set_previous_range(), HICopyTrans(), HIMerge(), id_lookup(), init_prim(), init_terminal(), initialize_inputstack(), input_line(), input_ln(), graphite2::Vector< T >::insert(), intel_bo_create(), hb_set_t::intersects(), OT::ClassDefFormat2::intersects_class(), is_connectable_interglyph_ambitus(), is_connectable_interglyph_notes(), l_set_node_data(), SimBuffer::Linked::Linked(), lj_debug_getinfo(), lj_debug_line(), LookUpToken(), luacstring_input(), luaK_ret(), lyricsParagraph(), main(), main_initialize(), make_article(), Splash::makeStrokePath(), MakeVirtualLine(), mangle_fontname(), SplashXPath::mergeSegments(), MonoFigure(), mort_classes(), mpfr_fdump(), mplib_solve_path(), nameGlyphsAccordingToCFF(), names_match(), new_input_line(), next_line(), hb_set_t::next_range(), NextPPage(), util::normalize_space(), normalizeSecondAndAppend(), Normalizer2WithImpl::normalizeSecondAndAppend(), NoopNormalizer2::normalizeSecondAndAppend(), numaClipToInterval(), numaGetSumOnInterval(), ObjectStream::ObjectStream(), CMapReader::op_beginbfrange(), MessageStream::operator<<(), machine_index_t< Iter >::operator=(), SimBuffer::Linked::operator=(), Outline::Outline(), PSInterpreter::output(), PageRanges::parse(), Efont::Cff::Font::parse_encoding(), DvipsEncoding::parse_words(), parse_xref_stream(), parse_xref_table(), parse_xrefstm_subsec(), CMapReader::parseCIDChars(), TransliteratorIDParser::parseFilterID(), drvSK::pathsCanBeMerged(), pdf_dev_set_string(), pdf_doc_add_bead(), pdf_doc_bookmarks_down(), pdf_doc_set_origin(), pdf_get_object(), PfEd_Guides(), pfr_glyph_close_contour(), png_ascii_from_fixed(), PNMtoYUV(), PPMtoYUV(), ppxref_find_local(), ppxref_load_stream(), ppxref_load_table(), ppxref_sort_sects(), hb_set_t::previous_range(), primitive_(), ZoneInfo::print(), printcharset(), printDocBBox(), printWordBBox(), processAssignment(), prompt_file_name(), ps_builder_close_contour(), PSCharStringToBB(), pseudo_input(), psh_blues_set_zones_0(), psh_glyph_compute_extrema(), psh_glyph_compute_inflections(), psh_glyph_find_strong_points(), psh_glyph_init(), psh_glyph_interpolate_other_points(), U_NAMESPACE_BEGIN::PluralRangesDataSink::put(), read_numeral(), read_objstm(), read_toks(), readcffenc(), readcffset(), readfdselect(), readttfencodings(), readttfheader(), XRef::readXRefStream(), XRef::readXRefStreamSection(), XRef::readXRefTable(), realdecrypt(), RemoveStupidControlPoints(), util::replace(), res_getStringNoTrace_68(), StandardPluralRanges::resolve(), number::impl::NumberRangeFormatterImpl::resolveModifierPlurals(), retstat(), runlengthMembershipOnLine(), CFF::FDSelect3_4< GID_TYPE, FD_TYPE >::sanitize(), sarrayToStringRange(), SCNumberPoints(), section_lookup(), section_name_cmp(), Bezier::segmentize(), U_NAMESPACE_BEGIN::serializeSingle(), setos2(), SFDParseMMSubroutine(), SFDReadDeviceTable(), SFKernClassTempDecompose(), SPLCatagorizePoints(), SPLCategorizePoints(), SPLCopyTranslatedHintMasks(), SplFigureHintMasks(), SPLFirstVisitSplines(), SplineCharFindBounds(), SplineCharQuickBounds(), SplineCharQuickConservativeBounds(), SplineFontFindBounds(), SplineFontLayerFindBounds(), SplineInSplineSet(), SplinePointListCopySelected(), SplinePointListCopySelected1(), SplinePointListFree(), SplinePointListMDFree(), SplinePointListRemoveSelected(), SplinePointListSelect(), SplinePointListSplit(), SplinePointListTransform(), SplinePointListTransformExtended(), SplinePointsFree(), SplineSetAddExtrema(), SplineSetBeziersClear(), SplineSetIntersect(), SplineSetOfSpline(), SplineSetReverse(), SplineSetsRemoveAnnoyingExtrema(), SplineSetsUntick(), SplineSetTick(), SPLMaxHeight(), SPLMinHeight(), SplResolveSplitHints(), SSAddPoints(), SSPSApprox(), SSRemoveUTurns(), SSRmNullSplines(), SSToMContour(), SSttfApprox(), XRef::XRefTableWriter::startSection(), XRef::XRefStreamWriter::startSection(), SimBuffer::B::substr(), SimBuffer::B::substr_grow(), String::substring(), t1_builder_close_contour(), t1_cmap_custom_char_next(), T1_Get_Advances(), t_open_in(), term_input(), test_for_cs(), tokenize(), topenin(), util::trim(), ttfLookUpCMAP2(), UC_UTF16BE_decode_char(), unescapehex(), unorm2_append_68(), unorm2_normalizeSecondAndAppend_68(), unpack_varargs_float(), unpack_varargs_int(), unpack_varargs_reg(), unpack_varargs_stack(), unpack_varargs_stack_skip(), unumrf_formatDecimalRange_68(), unumrf_formatDoubleRange_68(), Update(), ures_findResource_68(), utf8_deco(), var_lookup_(), graphite2::Vector< T >::Vector(), SimBuffer::Linked::vi_mkbeg(), SimBuffer::Linked::vi_mkend(), XMLElement::wrap(), write_polygons(), PSImage::writeEPSImage(), and SimBuffer::Linked::~Linked().

◆ last

int32_t last = _I32_MAX -1
static

Definition at line 29 of file ppagelist.c.

Referenced by _cairo_contour_add_reversed(), _cairo_contour_reverse(), _cairo_contour_simplify(), _cairo_contour_simplify_chain(), _cairo_damage_reduce(), _OTLookupCopyInto(), _SPLCopyTransformedHintMasks(), _SplineSetApprox(), _tessellate_fan(), _TIFFFindFieldInfo(), _tr_flush_block(), _tr_stored_block(), aat_dumplcar(), aat_dumpopbd(), add_section_name(), SegmentedCMap::addBFRange(), AddBs(), SegmentedCMap::addCIDRange(), addrange(), NumericRanges< T >::addRange(), AddSlc(), AddToList(), adjleap(), aes256DecryptBlock(), aesDecryptBlock(), af_glyph_hints_align_edge_points(), af_latin_hints_compute_segments(), af_latin_metrics_init_blues(), AltUniCopy(), AnchorPointsCopy(), AnchorPointsDuplicate(), XMLElement::append(), appendNodeToGraph(), ParagraphLayout::appendRun(), Metrics::apply_alternates_single(), apply_normalization(), aptex_program(), graphite2::Vector< T >::assign(), util::base64_copy(), BaseLangCopy(), bbtree_add(), bestblue(), besthyst(), binarySearch(), build_command_line(), build_name_tree(), BuildFondList(), cairo_cff_font_read_fdselect(), cf2_stack_roll(), cff_insertILToGraph(), cff_parseOutline(), cff_parser_within_limits(), cffdict_input(), cffdict_input_array(), CfgNext(), check_eightbit(), check_euc_kanji(), check_sj_kanji(), CheckForMailArriving(), circlearcsto(), clear_bits(), ClearPpList(), cmsIsToneCurveMonotonic(), OT::DefaultUVS::collect_unicodes(), complete_rfork(), DVIToSVG::convert(), ConvertOverToFrac(), Efont::OpenType::Coverage::Coverage(), decNumberFromString(), Decompose_Curve(), CharstringCheckerErrorHandler< T >::decorate(), define_makeflags(), DVIReader::defineFont(), deflate_stored(), graphite2::distance(), do_dvi_pages(), do_mps_pages(), DStemInfoCopy(), DumpClass(), dumpcoveragetable(), DumpHints(), DumpKernClass(), dumppointarrays(), DumpStrArray(), EIAddSpline(), EntityReverse(), eolprocess(), graphite2::Vector< T >::erase(), EraseStroke(), error(), extend_section_name(), FcConfigAdd(), FcNameFindNext(), FcNameParseCharSet(), FcNameParseRange(), FcValueListAppend(), fea_ApplyLookupListContextual(), fea_ApplyLookupListCursive(), fea_ApplyLookupListMark2(), fea_ApplyLookupListPST(), fea_LookupTypeFromItem(), fea_ParseBroket(), fea_ParseMarkedGlyphs(), FFLineTo(), FigureStemActive(), ToUnicodeMap::fillRange(), find_in_given_path(), FindAllRefs(), finddyncap(), FindLongestMatch(), finish_articles(), firm_up_the_line(), free_blocks(), FT_Outline_Decompose(), FT_Outline_EmboldenXY(), FT_Outline_Get_Orientation(), FT_Outline_Reverse(), FT_Stroker_ParseOutline(), FTC_MruNode_Prepend(), FTC_MruNode_Up(), gen_consts(), generate_bezier(), Normalizer::generateChar(), OT::CmapSubtableFormat4::accelerator_t::get_glyph(), get_next(), get_onechar(), getall(), GetNextWord(), getzones(), GlyphDataInit(), gww_iconv(), gxv_mort_subtable_type2_ligActionOffset_validate(), gxv_morx_subtable_type2_ligActionIndex_validate(), HandlePage(), hb_set_add_range(), hb_set_del_range(), hb_set_next_range(), hb_set_previous_range(), HICopyTrans(), HIMerge(), ht_append_table(), id_lookup(), if(), ImageListCopy(), in_ln_ascii(), in_ln_gen(), inflate(), inflate_fast(), inflateBack(), init_terminal(), initial_reordering_consonant_syllable(), initialize_inputstack(), inner_close(), inner_join(), input_line(), input_ln(), graphite2::Vector< T >::insert(), OT::glyf::Glyph::CompositeGlyph::instructions_length(), hb_set_t::intersects(), BaseCryptStream::isBinary(), BaseStream::isBinary(), DecryptStream::isBinary(), jbg_buf_remove_zeros(), JoinAContour(), JoinAllNeeded(), LastPage(), LigaCreateFromOldStyleMultiple(), LineTo(), SimBuffer::Linked::Linked(), luacstring_input(), luaL_traceback(), luaV_concat(), luaV_execute(), main(), make_article(), Splash::makeStrokePath(), match_ctx_clean(), mime_global_b64(), mime_global_dot(), mime_global_eol(), mime_global_qp(), mime_global_qpwrp(), mime_global_unb64(), mime_global_unqp(), mime_global_wrp(), MinimumDistanceCopy(), mkbalanced(), MonoFollowBackward(), MonoFollowForward(), MonoSplit(), mort_classes(), morx_dumpLigaFeature(), morx_lookupmap(), narrow_conv_emit(), new_input_line(), next_line(), hb_set_t::next_range(), NextPPage(), util::normalize_space(), numaClipToInterval(), numaGetSumOnInterval(), CMapReader::op_beginbfrange(), open_fmt_file(), opendir(), MessageStream::operator<<(), ClipperLib::operator<<(), SimBuffer::Linked::operator=(), OptimizeByComputingLinearization(), otf_dumpgdef(), otv_ClassDef_validate(), otv_Coverage_validate(), Outline::Outline(), PSInterpreter::output(), PageRanges::parse(), ParseBaseLang(), CMapReader::parseCIDChars(), drvSK::pathsCanBeMerged(), pdf_doc_add_bead(), PfEd_Colours(), PfEd_GlyphComments(), PfEd_Layer(), pfed_read_glyph_layer(), pfed_read_layer(), pfr_glyph_close_contour(), png_build_16to8_table(), ppdoc_load_entries(), ppxref_sort_sects(), hb_set_t::previous_range(), drvFIG::print_polyline_coords(), drvFIG::print_spline_coords1(), drvFIG::print_spline_coords2(), printDocBBox(), printWordBBox(), process_pfa(), process_precedence(), prompt_file_name(), pseudo_input(), PSTCopy(), read_toks(), readAnchorPoint(), readcffenc(), readttfbase(), readttfbaseminmax(), readttfcompositglyph(), readttfencodings(), readttflookups(), RefCharsCopy(), remove_dots(), removedyncap(), runlengthMembershipOnLine(), s_CFE_process(), S_close(), sarrayToStringRange(), scan_key(), SCNumberPoints(), SCReinstanciateRefChar(), SCttfApprox(), search_cur_bkref_entry(), section_lookup(), OT::CoverageFormat2::serialize(), OT::Coverage::serialize(), setos2(), SFDGetChar(), SFDGetMinimumDistances(), SFDParseBaseScript(), SFDParseJustify(), SFDParseMacFeatures(), SFDParseMacNames(), SFDReadDeviceTable(), SFDReadDHints(), SFDReadHintInstances(), SFDReadHints(), SFFillFromTTF(), SFKernClassTempDecompose(), SFLigaturePrepare(), drvWMF::show_text(), SListCopy(), sort_r_simple(), graphite2::sparse::sparse(), SpecLookup(), SPLCatagorizePoints(), SPLCategorizePoints(), Spline2DFindExtrema(), SplineCharFindBounds(), SplineCharQuickBounds(), SplineCharQuickConservativeBounds(), SplineCopyAfter(), SplineCopyBefore(), SplineFontFindBounds(), SplineFontLayerFindBounds(), SplinePointListCopy(), SplinePointListCopySelected(), SplinePointListCopySelected1(), SplinePointListRemoveSelected(), SplinePointListSplit(), SplineRemoveExtremaTooClose(), SplineSetsPSApprox(), SplineSetsTTFApprox(), SplinesFromEntityChar(), SplineToMonotonic(), splitedge(), SSsToMContours(), SSToMContour(), StemInfoCopy(), strip_newlines(), String::substring(), t1_ClosePath(), t1_CopyPath(), t1_CopyRegion(), t_open_in(), tconcat(), term_input(), TIFFFindFieldInfo(), topenin(), AAT::KerxSubTableFormat1< KernSubTableHeader >::driver_context_t::transition(), util::trim(), ttf_dumpgvar(), ttfApprox(), ttfbuildcontours(), ttfFindPointInSC(), u2encoding_strncpy(), u_strrchr(), ubidi_setPara_68(), unpack_varargs_reg(), unpack_varargs_stack(), unpack_varargs_stack_skip(), Unwind(), uprv_decNumberFromString_68(), utf8_oced(), UTF8Position(), graphite2::Vector< T >::Vector(), SimBuffer::Linked::vi_mkbeg(), SimBuffer::Linked::vi_mkend(), Efont::AfmParser::vis(), work(), XMLElement::wrap(), CollationKeys::writeSortKeyUpToQuaternary(), and yylex().

◆ no_ppage

boolean no_ppage =true

Definition at line 31 of file ppagelist.c.

Referenced by ClearPpList(), ListPage(), and NextPPage().

◆ ppages

struct pp_list * ppages = 0

Referenced by ClearPpList(), InPageList(), and ListPage().

◆ reverse