/ndk/sources/android/support/src/musl-ctype/ |
iswlower.c | 3 int iswlower(wint_t wc) 5 return towupper(wc) != wc || wc == 0xdf;
|
wcwidth.c | 11 int wcwidth(wchar_t wc) 13 if (wc < 0xffU) 14 return (wc+1 & 0x7f) >= 0x21 ? 1 : wc ? -1 : 0; 15 if ((wc & 0xfffeffffU) < 0xfffe) { 16 if ((table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1) 18 if ((wtable[wtable[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1 [all...] |
iswupper.c | 3 int iswupper(wint_t wc) 5 return towlower(wc) != wc;
|
iswcntrl.c | 4 int iswcntrl(wint_t wc) 6 return (unsigned)wc < 32 7 || (unsigned)(wc-0x7f) < 33 8 || (unsigned)(wc-0x2028) < 2 9 || (unsigned)(wc-0xfff9) < 3;
|
iswpunct.c | 7 int iswpunct(wint_t wc) 9 if (wc<0x20000U) 10 return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1;
|
iswalpha.c | 7 int iswalpha(wint_t wc) 9 if (wc<0x20000U) 10 return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1; 11 if (wc<0x2fffeU)
|
iswgraph.c | 3 int iswgraph(wint_t wc) 6 return !iswspace(wc) && iswprint(wc);
|
iswxdigit.c | 4 int iswxdigit(wint_t wc) 6 return (unsigned)(wc-'0') < 10 || (unsigned)((wc|32)-'a') < 6;
|
iswprint.c | 10 int iswprint(wint_t wc) 12 if (wc < 0xffU) 13 return (wc+1 & 0x7f) >= 0x21; 14 if (wc < 0x2028U || wc-0x202aU < 0xd800-0x202a || wc-0xe000U < 0xfff9-0xe000) 16 if (wc-0xfffcU > 0x10ffff-0xfffc || (wc&0xfffe)==0xfffe)
|
iswalnum.c | 4 int iswalnum(wint_t wc) 6 return iswdigit(wc) || iswalpha(wc);
|
iswdigit.c | 6 int iswdigit(wint_t wc) 8 return (unsigned)wc-'0' < 10;
|
iswctype.c | 18 int iswctype(wint_t wc, wctype_t type) 22 return iswalnum(wc); 24 return iswalpha(wc); 26 return iswblank(wc); 28 return iswcntrl(wc); 30 return iswdigit(wc); 32 return iswgraph(wc); 34 return iswlower(wc); 36 return iswprint(wc); 38 return iswpunct(wc); [all...] |
iswblank.c | 5 int iswblank(wint_t wc) 7 return isblank(wc);
|
wctrans.c | 11 wint_t towctrans(wint_t wc, wctrans_t trans) 13 if (trans == (wctrans_t)1) return towupper(wc); 14 if (trans == (wctrans_t)2) return towlower(wc); 15 return wc;
|
/external/bison/lib/ |
iswblank.c | 23 iswblank (wint_t wc) 25 return wc == ' ' || wc == '\t';
|
wcwidth.c | 30 wcwidth (wchar_t wc) 39 return uc_width (wc, encoding); 45 return wcwidth (wc); 47 return wc == 0 ? 0 : iswprint (wc) ? 1 : -1;
|
wctype.in.h | 162 (wint_t wc) 164 return ((wc >= '0' && wc <= '9') 165 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); 174 (wint_t wc) 176 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; 185 (wint_t wc) 187 return wc == ' ' || wc == '\t' [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
wctype.in.h | 107 iswalnum (wint_t wc) 109 return ((wc >= '0' && wc <= '9') 110 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); 114 iswalpha (wint_t wc) 116 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; 120 iswblank (wint_t wc) 122 return wc == ' ' || wc == '\t' [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
WordComposerTests.java | 28 final WordComposer wc = new WordComposer(); local 30 wc.setComposingWord(STR_WITHIN_BMP, null); 31 assertEquals(wc.size(), 33 assertFalse(wc.isCursorFrontOrMiddleOfComposingWord()); 34 wc.setCursorPositionWithinWord(2); 35 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); 37 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(2)); 38 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()); 40 assertTrue(wc.moveCursorByAndReturnIfInsideComposingWord(1)); 41 assertTrue(wc.isCursorFrontOrMiddleOfComposingWord()) [all...] |
/ndk/sources/android/support/src/musl-multibyte/ |
wcrtomb.c | 14 size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict st) 17 if ((unsigned)wc < 0x80) { 18 *s = wc; 20 } else if ((unsigned)wc < 0x800) { 21 *s++ = 0xc0 | (wc>>6); 22 *s = 0x80 | (wc&0x3f); 24 } else if ((unsigned)wc < 0xd800 || (unsigned)wc-0xe000 < 0x2000) { 25 *s++ = 0xe0 | (wc>>12); 26 *s++ = 0x80 | ((wc>>6)&0x3f) [all...] |
mbtowc.c | 14 int mbtowc(wchar_t *restrict wc, const char *restrict src, size_t n) 21 if (!wc) wc = (void *)&wc; 23 if (*s < 0x80) return !!(*wc = *s); 35 *wc = c; 42 *wc = c; 47 *wc = c<<6 | *s++-0x80;
|
wctomb.c | 14 int wctomb(char *s, wchar_t wc) 17 return wcrtomb(s, wc, 0);
|
/ndk/sources/host-tools/make-3.81/ |
amiga.h | 19 extern char * wildcard_expansion PARAMS ((char * wc, char * o));
|
/external/bison/darwin-lib/ |
wctype.h | 464 (wint_t wc) 466 return ((wc >= '0' && wc <= '9') 467 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); 476 (wint_t wc) 478 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; 487 (wint_t wc) 489 return wc == ' ' || wc == '\t' [all...] |
/external/bison/linux-lib/ |
wctype.h | 464 (wint_t wc) 466 return ((wc >= '0' && wc <= '9') 467 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); 476 (wint_t wc) 478 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; 487 (wint_t wc) 489 return wc == ' ' || wc == '\t' [all...] |