Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
structurally_valid.cc File Reference
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/stringpiece.h>
Include dependency graph for 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)
 

Typedefs

typedef UTF8StateMachineObj google.protobuf.internal::UTF8ScanObj
 

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
}
 

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 (const 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 (const 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)

Definition at line 112 of file structurally_valid.cc.

◆ RJ_

#define RJ_   (kExitReject)

Definition at line 101 of file structurally_valid.cc.

◆ RJA

#define RJA   (kExitRejectAlt)

Definition at line 113 of file structurally_valid.cc.

◆ S11

#define S11   (kExitReplace1S0)

Definition at line 110 of file structurally_valid.cc.

◆ S1_

#define S1_   (kExitReplace1)

Definition at line 102 of file structurally_valid.cc.

◆ S21

#define S21   (kExitReplace21)

Definition at line 105 of file structurally_valid.cc.

◆ S2_

#define S2_   (kExitReplace2)

Definition at line 103 of file structurally_valid.cc.

◆ S31

#define S31   (kExitReplace31)

Definition at line 106 of file structurally_valid.cc.

◆ S32

#define S32   (kExitReplace32)

Definition at line 107 of file structurally_valid.cc.

◆ S3_

#define S3_   (kExitReplace3)

Definition at line 104 of file structurally_valid.cc.

◆ SP_

#define SP_   (kExitSpecial)

Definition at line 111 of file structurally_valid.cc.

◆ T1_

#define T1_   (kExitReplaceOffset1)

Definition at line 108 of file structurally_valid.cc.

◆ T2_

#define T2_   (kExitReplaceOffset2)

Definition at line 109 of file structurally_valid.cc.

◆ X__

#define X__   (kExitIllegalStructure)

Definition at line 100 of file structurally_valid.cc.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04