Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
bloaty/third_party/re2/re2/testing/tester.cc File Reference
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <string>
#include "util/util.h"
#include "util/flags.h"
#include "util/logging.h"
#include "util/strutil.h"
#include "re2/testing/tester.h"
#include "re2/prog.h"
#include "re2/re2.h"
#include "re2/regexp.h"
Include dependency graph for bloaty/third_party/re2/re2/testing/tester.cc:

Go to the source code of this file.

Classes

struct  re2::ParseMode
 
struct  re2::TestInstance::Result
 

Namespaces

 re2
 

Typedefs

typedef TestInstance::Result re2::Result
 

Enumerations

enum  { re2::kMaxSubmatch = 1+16 }
 

Functions

 DEFINE_bool (dump_prog, false, "dump regexp program")
 
 DEFINE_bool (dump_rprog, false, "dump reversed regexp program")
 
 DEFINE_bool (log_okay, false, "log successful runs")
 
 DEFINE_int32 (max_regexp_failures, 100, "maximum number of regexp test failures (-1 = unlimited)")
 
 DEFINE_string (regexp_engines, "", "pattern to select regexp engines to test")
 
static const char * re2::EngineName (Engine e)
 
static uint32_t re2::Engines ()
 
static std::string re2::FormatAnchor (Prog::Anchor anchor)
 
static std::string re2::FormatCapture (const StringPiece &text, const StringPiece &s)
 
static std::string re2::FormatKind (Prog::MatchKind kind)
 
static std::string re2::FormatMode (Regexp::ParseFlags flags)
 
static bool re2::NonASCII (const StringPiece &text)
 
static bool re2::ResultOkay (const Result &r, const Result &correct)
 
bool re2::TestRegexpOnText (const StringPiece &regexp, const StringPiece &text)
 

Variables

static Prog::Anchor re2::anchors []
 
const char * re2::engine_names [kEngineMax]
 
static Prog::MatchKind re2::kinds []
 
static const Regexp::ParseFlags re2::multi_line
 
static ParseMode re2::parse_modes []
 
static const Regexp::ParseFlags re2::single_line
 

Function Documentation

◆ DEFINE_bool() [1/3]

DEFINE_bool ( dump_prog  ,
false  ,
"dump regexp program"   
)

◆ DEFINE_bool() [2/3]

DEFINE_bool ( dump_rprog  ,
false  ,
"dump reversed regexp program"   
)

◆ DEFINE_bool() [3/3]

DEFINE_bool ( log_okay  ,
false  ,
"log successful runs"   
)

◆ DEFINE_int32()

DEFINE_int32 ( max_regexp_failures  ,
100  ,
"maximum number of regexp test failures (-1 = unlimited)"   
)

◆ DEFINE_string()

DEFINE_string ( regexp_engines  ,
""  ,
"pattern to select regexp engines to test  
)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:34