/external/libutf/ |
D | utf.h | 6 typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/ typedef 36 int runetochar(char* s, const Rune* r); 49 int chartorune(Rune* r, const char* s); 59 int charntorune(Rune* r, const char* s, int n); 66 int isvalidcharntorune(const char* str, int n, Rune* r, int* consumed); 70 int runelen(Rune r); 76 int runenlen(const Rune* r, int n); 111 const char* utfrune(const char* s, Rune r); 119 const char* utfrrune(const char* s, Rune r); 149 Rune* runestrcat(Rune* s1, const Rune* s2); [all …]
|
D | runetypebody.h | 3 static Rune __isspacer[] = { 18 isspacerune(Rune c) in isspacerune() 20 Rune *p; in isspacerune() 28 static Rune __isdigitr[] = { 74 isdigitrune(Rune c) in isdigitrune() 76 Rune *p; in isdigitrune() 84 static Rune __isalphar[] = { 470 static Rune __isalphas[] = { 577 isalpharune(Rune c) in isalpharune() 579 Rune *p; in isalpharune() [all …]
|
D | runetype.c | 18 Rune* 19 rbsearch(Rune c, Rune *t, int n, int ne) in rbsearch() 21 Rune *p; in rbsearch() 48 static Rune __isideographicr[] = { 60 isideographicrune(Rune c) in isideographicrune() 62 Rune *p; in isideographicrune()
|
D | runestrdup.c | 20 Rune* 21 runestrdup(const Rune *s) in runestrdup() 23 Rune *ns; in runestrdup() 25 ns = (Rune*)malloc(sizeof(Rune)*(runestrlen(s) + 1)); in runestrdup()
|
D | runestrchr.c | 20 Rune* 21 runestrchr(const Rune *s, Rune c) in runestrchr() 23 Rune c0 = c; in runestrchr() 24 Rune c1; in runestrchr()
|
D | runestrncat.c | 19 Rune* 20 runestrncat(Rune *s1, const Rune *s2, long n) in runestrncat() 22 Rune *os1; in runestrncat() 25 s1 = (Rune*)runestrchr(s1, 0); in runestrncat()
|
D | runestrcat.c | 19 Rune* 20 runestrcat(Rune *s1, const Rune *s2) in runestrcat() 23 runestrcpy((Rune*)runestrchr(s1, 0), s2); in runestrcat()
|
D | runestrcpy.c | 19 Rune* 20 runestrcpy(Rune *s1, const Rune *s2) in runestrcpy() 22 Rune *os1; in runestrcpy()
|
D | runestrecpy.c | 19 Rune* 20 runestrecpy(Rune *s1, Rune *es1, const Rune *s2) in runestrecpy()
|
D | runestrrchr.c | 20 Rune* 21 runestrrchr(const Rune *s, Rune c) in runestrrchr() 23 const Rune *r; in runestrrchr()
|
D | runestrncpy.c | 19 Rune* 20 runestrncpy(Rune *s1, const Rune *s2, long n) in runestrncpy() 23 Rune *os1; in runestrncpy()
|
D | runestrstr.c | 24 Rune* 25 runestrstr(const Rune *s1, const Rune *s2) in runestrstr() 27 const Rune *p, *pa, *pb; in runestrstr()
|
D | runestrcmp.c | 20 runestrcmp(const Rune *s1, const Rune *s2) in runestrcmp() 22 Rune c1, c2; in runestrcmp()
|
D | runestrncmp.c | 20 runestrncmp(const Rune *s1, const Rune *s2, long n) in runestrncmp() 22 Rune c1, c2; in runestrncmp()
|
D | rune.c | 66 charntorune(Rune *rune, const char *str, int length) in charntorune() 169 chartorune(Rune *rune, const char *str) in chartorune() 247 isvalidcharntorune(const char* str, int length, Rune* rune, int* consumed) { in isvalidcharntorune() 253 runetochar(char *str, const Rune *rune) in runetochar() 310 runelen(Rune rune) in runelen() 318 runenlen(const Rune *r, int nrune) in runenlen()
|
D | utfrune.c | 21 utfrune(const char *s, Rune c) in utfrune() 24 Rune r; in utfrune()
|
D | utfrrune.c | 21 utfrrune(const char *s, Rune c) in utfrrune() 24 Rune r; in utfrrune()
|
D | runestrlen.c | 20 runestrlen(const Rune *s) in runestrlen()
|
D | utflen.c | 24 Rune rune; in utflen()
|
D | utfnlen.c | 24 Rune rune; in utfnlen()
|
D | utfutf.c | 30 Rune r; in utfutf()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | JSON.cpp | 402 static void encodeUtf8(uint32_t Rune, std::string &Out) { in encodeUtf8() argument 403 if (Rune < 0x80) { in encodeUtf8() 404 Out.push_back(Rune & 0x7F); in encodeUtf8() 405 } else if (Rune < 0x800) { in encodeUtf8() 406 uint8_t FirstByte = 0xC0 | ((Rune & 0x7C0) >> 6); in encodeUtf8() 407 uint8_t SecondByte = 0x80 | (Rune & 0x3F); in encodeUtf8() 410 } else if (Rune < 0x10000) { in encodeUtf8() 411 uint8_t FirstByte = 0xE0 | ((Rune & 0xF000) >> 12); in encodeUtf8() 412 uint8_t SecondByte = 0x80 | ((Rune & 0xFC0) >> 6); in encodeUtf8() 413 uint8_t ThirdByte = 0x80 | (Rune & 0x3F); in encodeUtf8() [all …]
|
/external/syzkaller/vendor/golang.org/x/text/unicode/bidi/ |
D | gen.go | 76 r1 := p.Rune(0) 77 r2 := p.Rune(1) 110 r := p.Rune(0)
|
D | gen_ranges.go | 45 fn(p.Rune(0), BN) // Boundary Neutral
|
/external/libtextclassifier/lang_id/ |
D | custom-tokenizer.cc | 68 Rune rune; in AppendLowerCase() 71 Rune lower = tolowerrune(rune); in AppendLowerCase()
|