MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / LiteralLatin1

Method LiteralLatin1

extern/re2/re2/prefilter.cc:411–416  ·  view source on GitHub ↗

Constructs Info for literal rune for Latin1 encoded string.

Source from the content-addressed store, hash-verified

409
410// Constructs Info for literal rune for Latin1 encoded string.
411Prefilter::Info* Prefilter::Info::LiteralLatin1(Rune r) {
412 Info* info = new Info();
413 info->exact_.insert(RuneToStringLatin1(ToLowerRuneLatin1(r)));
414 info->is_exact_ = true;
415 return info;
416}
417
418// Constructs Info for dot (any character) or \C (any byte).
419Prefilter::Info* Prefilter::Info::AnyCharOrAnyByte() {

Callers

nothing calls this directly

Calls 3

RuneToStringLatin1Function · 0.85
ToLowerRuneLatin1Function · 0.85
insertMethod · 0.45

Tested by

no test coverage detected