Home
last modified time | relevance | path

Searched refs:Rune (Results 1 – 25 of 38) sorted by relevance

12

/external/libutf/
Dutf.h6 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 …]
Drunetypebody.h3 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 …]
Drunetype.c18 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()
Drunestrdup.c20 Rune*
21 runestrdup(const Rune *s) in runestrdup()
23 Rune *ns; in runestrdup()
25 ns = (Rune*)malloc(sizeof(Rune)*(runestrlen(s) + 1)); in runestrdup()
Drunestrchr.c20 Rune*
21 runestrchr(const Rune *s, Rune c) in runestrchr()
23 Rune c0 = c; in runestrchr()
24 Rune c1; in runestrchr()
Drunestrncat.c19 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()
Drunestrcat.c19 Rune*
20 runestrcat(Rune *s1, const Rune *s2) in runestrcat()
23 runestrcpy((Rune*)runestrchr(s1, 0), s2); in runestrcat()
Drunestrcpy.c19 Rune*
20 runestrcpy(Rune *s1, const Rune *s2) in runestrcpy()
22 Rune *os1; in runestrcpy()
Drunestrecpy.c19 Rune*
20 runestrecpy(Rune *s1, Rune *es1, const Rune *s2) in runestrecpy()
Drunestrrchr.c20 Rune*
21 runestrrchr(const Rune *s, Rune c) in runestrrchr()
23 const Rune *r; in runestrrchr()
Drunestrncpy.c19 Rune*
20 runestrncpy(Rune *s1, const Rune *s2, long n) in runestrncpy()
23 Rune *os1; in runestrncpy()
Drunestrstr.c24 Rune*
25 runestrstr(const Rune *s1, const Rune *s2) in runestrstr()
27 const Rune *p, *pa, *pb; in runestrstr()
Drunestrcmp.c20 runestrcmp(const Rune *s1, const Rune *s2) in runestrcmp()
22 Rune c1, c2; in runestrcmp()
Drunestrncmp.c20 runestrncmp(const Rune *s1, const Rune *s2, long n) in runestrncmp()
22 Rune c1, c2; in runestrncmp()
Drune.c66 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()
Dutfrune.c21 utfrune(const char *s, Rune c) in utfrune()
24 Rune r; in utfrune()
Dutfrrune.c21 utfrrune(const char *s, Rune c) in utfrrune()
24 Rune r; in utfrrune()
Drunestrlen.c20 runestrlen(const Rune *s) in runestrlen()
Dutflen.c24 Rune rune; in utflen()
Dutfnlen.c24 Rune rune; in utfnlen()
Dutfutf.c30 Rune r; in utfutf()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DJSON.cpp402 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/
Dgen.go76 r1 := p.Rune(0)
77 r2 := p.Rune(1)
110 r := p.Rune(0)
Dgen_ranges.go45 fn(p.Rune(0), BN) // Boundary Neutral
/external/libtextclassifier/lang_id/
Dcustom-tokenizer.cc68 Rune rune; in AppendLowerCase()
71 Rune lower = tolowerrune(rune); in AppendLowerCase()

12