#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <limits.h>
#include <assert.h>
#include <errno.h>
#include <string>
#include <algorithm>
#include "pcrecpp_internal.h"
#include "pcre.h"
#include "pcrecpp.h"
#include "pcre_stringpiece.h"
Go to the source code of this file.
Namespaces | |
namespace | pcrecpp |
Defines | |
#define | DEFINE_INTEGER_PARSERS(name) |
Functions | |
static int | pcrecpp::NewlineMode (int pcre_options) |
static const char * | pcrecpp::TerminateNumber (char *buf, const char *str, int n) |
Variables | |
static const int | pcrecpp::kMaxArgs = 16 |
static const int | pcrecpp::kVecSize = (1 + kMaxArgs) * 3 |
static const string | pcrecpp::empty_string |
static RE_Options | pcrecpp::default_options |
static const int | pcrecpp::kMaxNumberLength = 32 |
#define DEFINE_INTEGER_PARSERS | ( | name | ) |
Value:
bool Arg::parse_##name(const char* str, int n, void* dest) { \ return parse_##name##_radix(str, n, dest, 10); \ } \ bool Arg::parse_##name##_hex(const char* str, int n, void* dest) { \ return parse_##name##_radix(str, n, dest, 16); \ } \ bool Arg::parse_##name##_octal(const char* str, int n, void* dest) { \ return parse_##name##_radix(str, n, dest, 8); \ } \ bool Arg::parse_##name##_cradix(const char* str, int n, void* dest) { \ return parse_##name##_radix(str, n, dest, 0); \ }
Definition at line 868 of file pcrecpp.cc.