Classes | Namespaces | Macros | Functions | Variables
re2/re2/re2.cc File Reference
#include "re2/re2.h"
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <atomic>
#include <iterator>
#include <mutex>
#include <string>
#include <utility>
#include <vector>
#include "util/util.h"
#include "util/logging.h"
#include "util/strutil.h"
#include "util/utf.h"
#include "re2/prog.h"
#include "re2/regexp.h"
#include "re2/sparse_array.h"
Include dependency graph for re2/re2/re2.cc:

Go to the source code of this file.

Classes

union  re2::hooks::Hook< T >
 

Namespaces

 re2
 
 re2::hooks
 
 re2::re2_internal
 

Macros

#define DEFINE_HOOK(type, name)
 

Functions

static int re2::ascii_strcasecmp (const char *a, const char *b, size_t len)
 
template<typename T >
static void re2::hooks::DoNothing (const T &)
 
static int re2::Fanout (Prog *prog, std::vector< int > *histogram)
 
static int re2::FindMSBSet (uint32_t n)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, char *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, double *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, float *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, int *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, long *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, long long *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, short *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, signed char *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, std::string *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, StringPiece *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, unsigned char *dest)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, unsigned int *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, unsigned long *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, unsigned long long *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, unsigned short *dest, int radix)
 
template<>
bool re2::re2_internal::Parse (const char *str, size_t n, void *dest)
 
static RE2::ErrorCode re2::RegexpErrorToRE2 (re2::RegexpStatusCode code)
 
static const char * re2::re2_internal::TerminateNumber (char *buf, size_t nbuf, const char *str, size_t *np, bool accept_spaces)
 
static std::string re2::trunc (const StringPiece &pattern)
 

Variables

static const std::map< int, std::string > * re2::empty_group_names
 
static const std::map< std::string, int > * re2::empty_named_groups
 
static const std::string * re2::empty_string
 
static const int re2::kMaxArgs = 16
 
static const int re2::re2_internal::kMaxNumberLength = 32
 
static const int re2::kVecSize = 1+kMaxArgs
 

Macro Definition Documentation

◆ DEFINE_HOOK

#define DEFINE_HOOK (   type,
  name 
)
Value:
static Hook<type##Callback> name##_hook = {{&DoNothing<type>}}; \
void Set##type##Hook(type##Callback* cb) { name##_hook.Store(cb); } \
type##Callback* Get##type##Hook() { return name##_hook.Load(); }

Definition at line 1319 of file re2/re2/re2.cc.

setup.name
name
Definition: setup.py:542
absl::synchronization_internal::Get
static GraphId Get(const IdMap &id, int num)
Definition: abseil-cpp/absl/synchronization/internal/graphcycles_test.cc:44
asyncio_get_stats.type
type
Definition: asyncio_get_stats.py:37
cb
OPENSSL_EXPORT pem_password_cb * cb
Definition: pem.h:351


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