9 #ifndef BROTLI_DEC_TRANSFORM_H_ 10 #define BROTLI_DEC_TRANSFORM_H_ 15 #if defined(__cplusplus) || defined(c_plusplus) 49 static const char kPrefixSuffix[208] =
50 "\0 \0, \0 of the \0 of \0s \0.\0 and \0 in \0\"\0 to \0\">\0\n\0. \0]\0" 51 " for \0 a \0 that \0\'\0 with \0 from \0 by \0(\0. The \0 on \0 as \0" 52 " is \0ing \0\n\t\0:\0ed \0=\"\0 at \0ly \0,\0=\'\0.com/\0. This \0" 53 " not \0er \0al \0ful \0ive \0less \0est \0ize \0\xc2\xa0\0ous ";
241 static const int kNumTransforms =
sizeof(kTransforms) /
sizeof(kTransforms[0]);
243 static int ToUpperCase(
uint8_t*
p) {
245 if (p[0] >=
'a' && p[0] <=
'z') {
265 while (*prefix) { dst[idx++] = (
uint8_t)*prefix++; }
277 while (i < len) { dst[idx++] = word[i++]; }
279 ToUpperCase(&dst[idx - len]);
283 int step = ToUpperCase(uppercase);
291 while (*suffix) { dst[idx++] = (
uint8_t)*suffix++; }
296 #if defined(__cplusplus) || defined(c_plusplus)
size_t(* Transform)(char *buffer, size_t buflen, const char *source, size_t srclen)
Definition: stringencode.h:123
DOMString p
Definition: WebCryptoAPI.idl:116
typename detail::transform< sizeof...(OpSeq2), Sequence1, OpSeq1, OpSeq2... >::type transform
Definition: Brigand.h:757
unsigned char uint8_t
Definition: skin_detection.h:18
bool t
Definition: UpdateContents.py:37
GLenum GLenum dst
Definition: gl2ext.h:304
OPENSSL_EXPORT const ASN1_OBJECT int const unsigned char int len
Definition: x509.h:1053
#define BROTLI_NOINLINE
Definition: port.h:217
unsigned char uint8_t
Definition: ptypes.h:89
Definition: xmlparse.c:154
for i
Definition: complexityMeasures.m:24