Classes | Namespaces | Macros | Enumerations | Functions | Variables
protobuf/src/google/protobuf/stubs/structurally_valid.cc File Reference
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/stringpiece.h>
Include dependency graph for protobuf/src/google/protobuf/stubs/structurally_valid.cc:

Go to the source code of this file.

Classes

struct  google::protobuf.internal::RemapEntry
 
struct  google::protobuf.internal::UTF8StateMachineObj
 

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define D__   (kExitDoAgain)
 
#define RJ_   (kExitReject)
 
#define RJA   (kExitRejectAlt)
 
#define S11   (kExitReplace1S0)
 
#define S1_   (kExitReplace1)
 
#define S21   (kExitReplace21)
 
#define S2_   (kExitReplace2)
 
#define S31   (kExitReplace31)
 
#define S32   (kExitReplace32)
 
#define S3_   (kExitReplace3)
 
#define SP_   (kExitSpecial)
 
#define T1_   (kExitReplaceOffset1)
 
#define T2_   (kExitReplaceOffset2)
 
#define X__   (kExitIllegalStructure)
 

Enumerations

enum  google.protobuf.internal::ExitReason {
  google.protobuf.internal::kExitDstSpaceFull = 239, google.protobuf.internal::kExitIllegalStructure, google.protobuf.internal::kExitOK, google.protobuf.internal::kExitReject,
  google.protobuf.internal::kExitReplace1, google.protobuf.internal::kExitReplace2, google.protobuf.internal::kExitReplace3, google.protobuf.internal::kExitReplace21,
  google.protobuf.internal::kExitReplace31, google.protobuf.internal::kExitReplace32, google.protobuf.internal::kExitReplaceOffset1, google.protobuf.internal::kExitReplaceOffset2,
  google.protobuf.internal::kExitReplace1S0, google.protobuf.internal::kExitSpecial, google.protobuf.internal::kExitDoAgain, google.protobuf.internal::kExitRejectAlt,
  google.protobuf.internal::kExitNone, google.protobuf.internal::kExitDstSpaceFull = 239, google.protobuf.internal::kExitIllegalStructure, google.protobuf.internal::kExitOK,
  google.protobuf.internal::kExitReject, google.protobuf.internal::kExitReplace1, google.protobuf.internal::kExitReplace2, google.protobuf.internal::kExitReplace3,
  google.protobuf.internal::kExitReplace21, google.protobuf.internal::kExitReplace31, google.protobuf.internal::kExitReplace32, google.protobuf.internal::kExitReplaceOffset1,
  google.protobuf.internal::kExitReplaceOffset2, google.protobuf.internal::kExitReplace1S0, google.protobuf.internal::kExitSpecial, google.protobuf.internal::kExitDoAgain,
  google.protobuf.internal::kExitRejectAlt, google.protobuf.internal::kExitNone
}
 

Functions

static bool google.protobuf.internal::InStateZero (const UTF8ScanObj *st, const uint8 *Tbl)
 
PROTOBUF_EXPORT bool google.protobuf.internal::IsStructurallyValidUTF8 (const char *buf, int len)
 
PROTOBUF_EXPORT char * google.protobuf.internal::UTF8CoerceToStructurallyValid (StringPiece str, char *dst, char replace_char)
 
int google.protobuf.internal::UTF8GenericScan (const UTF8ScanObj *st, const char *str, int str_length, int *bytes_consumed)
 
int google.protobuf.internal::UTF8GenericScanFastAscii (const UTF8ScanObj *st, const char *str, int str_length, int *bytes_consumed)
 
PROTOBUF_EXPORT int google.protobuf.internal::UTF8SpnStructurallyValid (StringPiece str)
 

Variables

static const uint8 google.protobuf.internal::utf8acceptnonsurrogates []
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_BYTES = 1
 
static const unsigned char google.protobuf.internal::utf8acceptnonsurrogates_fast [256]
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_HIADD = 0x00000000
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_LOSUB = 0x20202020
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_MAX_EXPAND_X4 = 0
 
static const UTF8ScanObj google.protobuf.internal::utf8acceptnonsurrogates_obj
 
static const RemapEntry google.protobuf.internal::utf8acceptnonsurrogates_remap_base []
 
static const unsigned char google.protobuf.internal::utf8acceptnonsurrogates_remap_string []
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_SHIFT = 8
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_STATE0 = 0
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_STATE0_SIZE = 256
 
static const unsigned int google.protobuf.internal::utf8acceptnonsurrogates_TOTAL_SIZE = 2304
 

Macro Definition Documentation

◆ D__

#define D__   (kExitDoAgain)

◆ RJ_

#define RJ_   (kExitReject)

◆ RJA

#define RJA   (kExitRejectAlt)

◆ S11

#define S11   (kExitReplace1S0)

◆ S1_

#define S1_   (kExitReplace1)

◆ S21

#define S21   (kExitReplace21)

◆ S2_

#define S2_   (kExitReplace2)

◆ S31

#define S31   (kExitReplace31)

◆ S32

#define S32   (kExitReplace32)

◆ S3_

#define S3_   (kExitReplace3)

◆ SP_

#define SP_   (kExitSpecial)

◆ T1_

#define T1_   (kExitReplaceOffset1)

◆ T2_

#define T2_   (kExitReplaceOffset2)

◆ X__

#define X__   (kExitIllegalStructure)


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