webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
structurally_valid.cc File Reference
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/stringpiece.h>

Classes

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

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

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

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

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)
 
LIBPROTOBUF_EXPORT bool google.protobuf.internal::IsStructurallyValidUTF8 (const char *buf, int len)
 
LIBPROTOBUF_EXPORT int google.protobuf.internal::UTF8SpnStructurallyValid (const StringPiece &str)
 
LIBPROTOBUF_EXPORT char * google.protobuf.internal::UTF8CoerceToStructurallyValid (const StringPiece &str, char *dst, char replace_char)
 

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)