Namespaces | Enumerations | Functions
bloaty/third_party/re2/util/rune.cc File Reference
#include <stdarg.h>
#include <string.h>
#include "util/utf.h"
Include dependency graph for bloaty/third_party/re2/util/rune.cc:

Go to the source code of this file.

Namespaces

 re2
 

Enumerations

enum  {
  re2::Bit1 = 7, re2::Bitx = 6, re2::Bit2 = 5, re2::Bit3 = 4,
  re2::Bit4 = 3, re2::Bit5 = 2, re2::T1 = ((1<<(Bit1+1))-1) ^ 0xFF, re2::Tx = ((1<<(Bitx+1))-1) ^ 0xFF,
  re2::T2 = ((1<<(Bit2+1))-1) ^ 0xFF, re2::T3 = ((1<<(Bit3+1))-1) ^ 0xFF, re2::T4 = ((1<<(Bit4+1))-1) ^ 0xFF, re2::T5 = ((1<<(Bit5+1))-1) ^ 0xFF,
  re2::Rune1 = (1<<(Bit1+0*Bitx))-1, re2::Rune2 = (1<<(Bit2+1*Bitx))-1, re2::Rune3 = (1<<(Bit3+2*Bitx))-1, re2::Rune4 = (1<<(Bit4+3*Bitx))-1,
  re2::Maskx = (1<<Bitx)-1, re2::Testx = Maskx ^ 0xFF, re2::Bad = Runeerror
}
 

Functions

int re2::chartorune (Rune *rune, const char *str)
 
int re2::fullrune (const char *str, int n)
 
int re2::runelen (Rune rune)
 
int re2::runetochar (char *str, const Rune *rune)
 
int re2::utflen (const char *s)
 
char * re2::utfrune (const char *s, Rune c)
 


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