PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
static chr * | longest (struct vars *v, struct dfa *d, chr *start, chr *stop, int *hitstopp) |
static chr * | shortest (struct vars *v, struct dfa *d, chr *start, chr *min, chr *max, chr **coldp, int *hitstopp) |
static int | matchuntil (struct vars *v, struct dfa *d, chr *probe, struct sset **lastcss, chr **lastcp) |
static chr * | dfa_backref (struct vars *v, struct dfa *d, chr *start, chr *min, chr *max, bool shortest) |
static chr * | lastcold (struct vars *v, struct dfa *d) |
static struct dfa * | newdfa (struct vars *v, struct cnfa *cnfa, struct colormap *cm, struct smalldfa *sml) |
static void | freedfa (struct dfa *d) |
static unsigned | hash (unsigned *uv, int n) |
static struct sset * | initialize (struct vars *v, struct dfa *d, chr *start) |
static struct sset * | miss (struct vars *v, struct dfa *d, struct sset *css, color co, chr *cp, chr *start) |
static int | lacon (struct vars *v, struct cnfa *pcnfa, chr *cp, color co) |
static struct sset * | getvacant (struct vars *v, struct dfa *d, chr *cp, chr *start) |
static struct sset * | pickss (struct vars *v, struct dfa *d, chr *cp, chr *start) |
|
static |
Definition at line 506 of file rege_dfa.c.
References dfa::backmax, dfa::backmin, dfa::backno, DUPINF, vars::g, colormap::max, vars::pmatch, shortest(), vars::start, start, and colormap::v.
Referenced by longest(), and shortest().
|
static |
Definition at line 691 of file rege_dfa.c.
References dfa::arraysmalloced, FREE, dfa::incarea, dfa::ismalloced, dfa::outsarea, dfa::ssets, and dfa::statesarea.
Referenced by newdfa().
Definition at line 973 of file rege_dfa.c.
References assert, arcp::co, FDEBUG, sset::flags, i, sset::inchain, sset::ins, dfa::lastnopr, dfa::lastpost, sset::lastseen, LOCKED, dfa::ncolors, NOPROGRESS, sset::outs, pickss(), POSTSTATE, arcp::ss, dfa::ssets, and start.
Referenced by initialize(), and miss().
|
static |
Definition at line 715 of file rege_dfa.c.
References i.
Referenced by addHyperLogLog(), agg_refill_hash_table(), be_tls_get_certificate_hash(), bernoulli_nextsampletuple(), calc_key_id(), ChooseTablespace(), compute_partition_hash_value(), delete_item(), dshash_delete_key(), dshash_find(), dshash_find_or_insert(), ExecInitHashJoin(), ExtendBufferedRelShared(), hashagg_batch_read(), hashagg_spill_tuple(), hashing(), InvalidateTSCacheCallBack(), InvalidateVictimBuffer(), json_unique_hash(), jsonb_hash(), jsonb_hash_extended(), jsonb_path_ops__extract_nodes(), JsonbHashScalarValue(), JsonbHashScalarValueExtended(), k_hashes(), lookup_hash_entries(), LookupTupleHashEntry(), LookupTupleHashEntry_internal(), LookupTupleHashEntryHash(), mdc_finish(), mdcbuf_finish(), pgtls_get_peer_certificate_hash(), ResetUnloggedRelationsInDbspaceDir(), saop_element_hash(), satisfies_hash_partition(), sepgsql_avc_compute(), sepgsql_avc_lookup(), system_nextsampleblock(), TupleHashTableHash(), and varstr_abbrev_convert().
Definition at line 731 of file rege_dfa.c.
References assert, BSET, dfa::cnfa, sset::flags, getvacant(), HASH, sset::hash, i, dfa::lastnopr, dfa::lastpost, sset::lastseen, LOCKED, NOPROGRESS, dfa::nssused, cnfa::post, cnfa::pre, dfa::ssets, start, STARTER, sset::states, and dfa::wordsper.
Referenced by longest(), matchuntil(), and shortest().
Definition at line 916 of file rege_dfa.c.
References assert, ERR, FDEBUG, vars::g, getladfa(), guts::lacons, subre::latype, LATYPE_IS_AHEAD, LATYPE_IS_POS, vars::lblastcp, vars::lblastcss, matchuntil(), cnfa::ncolors, vars::re, REG_ETOOBIG, shortest(), STACK_TOO_DEEP, and vars::stop.
Referenced by miss().
Definition at line 585 of file rege_dfa.c.
References sset::flags, i, dfa::lastnopr, sset::lastseen, NOPROGRESS, dfa::nssused, dfa::ssets, and vars::start.
Referenced by shortest().
|
static |
Definition at line 42 of file rege_dfa.c.
References assert, dfa::backno, cnfa::bos, dfa::cm, dfa::cnfa, dfa_backref(), DUPINF, vars::eflags, cnfa::eos, FDEBUG, sset::flags, cnfa::flags, GETCOLOR, i, initialize(), ISERR, dfa::lastpost, sset::lastseen, MATCHALL, cnfa::maxmatchall, cnfa::minmatchall, miss(), vars::nmatch, dfa::nssused, sset::outs, vars::pmatch, POSTSTATE, REG_FTRACE, REG_NOTBOL, REG_NOTEOL, dfa::ssets, vars::start, start, vars::stop, and colormap::v.
Referenced by ProcessSyncRequests().
|
static |
Definition at line 371 of file rege_dfa.c.
References assert, cnfa::bos, dfa::cm, dfa::cnfa, DUPINF, vars::eflags, cnfa::eos, FDEBUG, sset::flags, cnfa::flags, GETCOLOR, initialize(), sset::lastseen, MATCHALL, cnfa::maxmatchall, cnfa::minmatchall, miss(), sset::outs, POSTSTATE, REG_FTRACE, REG_NOTBOL, REG_NOTEOL, dfa::ssets, vars::start, vars::stop, and colormap::v.
Referenced by lacon().
|
static |
Definition at line 777 of file rege_dfa.c.
References assert, BSET, colormap::cd, dfa::cm, dfa::cnfa, CNFA_NOPROGRESS, arcp::co, carc::co, COLORLESS, FDEBUG, sset::flags, colordesc::flags, cnfa::flags, for(), getvacant(), HASH, sset::hash, HASLACONS, HIT, i, sset::inchain, sset::ins, INTERRUPT, ISBSET, ISERR, lacon(), cnfa::ncolors, NOPROGRESS, dfa::nssused, dfa::nstates, sset::outs, cnfa::post, POSTSTATE, PSEUDO, RAINBOW, vars::re, arcp::ss, dfa::ssets, start, sset::states, cnfa::states, cnfa::stflags, carc::to, dfa::wordsper, and dfa::work.
Referenced by longest(), matchuntil(), and shortest().
|
static |
Definition at line 607 of file rege_dfa.c.
References dfa::arraysmalloced, assert, dfa::backmax, dfa::backmin, dfa::backno, dfa::cm, dfa::cnfa, smalldfa::dfa, vars::eflags, ERR, FEWCOLORS, freedfa(), dfa::incarea, smalldfa::incarea, dfa::ismalloced, dfa::lastnopr, dfa::lastpost, MALLOC, dfa::ncolors, cnfa::ncolors, dfa::nssets, dfa::nssused, dfa::nstates, cnfa::nstates, dfa::outsarea, smalldfa::outsarea, REG_ESPACE, REG_SMALL, dfa::search, dfa::ssets, smalldfa::ssets, dfa::statesarea, smalldfa::statesarea, UBITS, dfa::wordsper, dfa::work, and WORK.
Definition at line 1044 of file rege_dfa.c.
References arcp::co, ERR, FDEBUG, sset::flags, i, dfa::incarea, sset::inchain, sset::ins, sset::lastseen, LOCKED, dfa::ncolors, dfa::nssets, dfa::nssused, sset::outs, dfa::outsarea, REG_ASSERT, dfa::search, arcp::ss, dfa::ssets, start, sset::states, dfa::statesarea, WHITE, and dfa::wordsper.
Referenced by getvacant().
|
static |
Definition at line 204 of file rege_dfa.c.
References assert, dfa::backno, cnfa::bos, dfa::cm, dfa::cnfa, dfa_backref(), DUPINF, vars::eflags, cnfa::eos, FDEBUG, sset::flags, cnfa::flags, GETCOLOR, initialize(), lastcold(), sset::lastseen, MATCHALL, colormap::max, cnfa::maxmatchall, cnfa::minmatchall, miss(), vars::nmatch, sset::outs, vars::pmatch, POSTSTATE, REG_FTRACE, REG_NOTBOL, REG_NOTEOL, dfa::ssets, vars::start, start, vars::stop, and colormap::v.
Referenced by dfa_backref(), and lacon().