/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | wctype.in.h | 107 iswalnum (wint_t wc) in iswalnum() argument 109 return ((wc >= '0' && wc <= '9') in iswalnum() 110 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); in iswalnum() 114 iswalpha (wint_t wc) in iswalpha() argument 116 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; in iswalpha() 120 iswblank (wint_t wc) in iswblank() argument 122 return wc == ' ' || wc == '\t'; in iswblank() 126 iswcntrl (wint_t wc) in iswcntrl() argument 128 return (wc & ~0x1f) == 0 || wc == 0x7f; in iswcntrl() 132 iswdigit (wint_t wc) in iswdigit() argument [all …]
|
D | btowc.c | 31 wchar_t wc; in btowc() local 34 if (mbtowc (&wc, buf, 1) >= 0) in btowc() 35 return wc; in btowc()
|
D | mbrtowc.c | 348 wchar_t wc; in rpl_mbrtowc() local 349 size_t ret = mbrtowc (&wc, s, 1, ps); in rpl_mbrtowc() 358 *pwc = wc; in rpl_mbrtowc() 359 return (wc == 0 ? 0 : count); in rpl_mbrtowc() 369 wchar_t wc; in rpl_mbrtowc() local 370 size_t ret = mbrtowc (&wc, s, n, ps); in rpl_mbrtowc() 375 *pwc = wc; in rpl_mbrtowc() 376 if (wc == 0) in rpl_mbrtowc()
|
D | wctob.c | 27 wctob (wint_t wc) in wctob() argument 33 if (wctomb (buf, wc) == 1) in wctob()
|
D | wcrtomb.c | 28 wcrtomb (char *s, wchar_t wc, mbstate_t *ps) in wcrtomb() argument 43 int ret = wctomb (s, wc); in wcrtomb()
|
D | regex_internal.c | 222 wchar_t wc; in build_wcs_buffer() local 241 mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state); in build_wcs_buffer() 252 wc = (wchar_t) pstr->raw_mbs[pstr->raw_mbs_idx + byte_idx]; in build_wcs_buffer() 254 wc = pstr->trans[wc]; in build_wcs_buffer() 259 pstr->wcs[byte_idx++] = wc; in build_wcs_buffer() 294 wchar_t wc; in build_wcs_upper_buffer() local 311 mbclen = __mbrtowc (&wc, in build_wcs_upper_buffer() 316 wchar_t wcu = wc; in build_wcs_upper_buffer() 317 if (iswlower (wc)) in build_wcs_upper_buffer() 321 wcu = towupper (wc); in build_wcs_upper_buffer() [all …]
|
D | wchar.in.h | 130 extern int wctob (wint_t wc); 238 extern size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps);
|
D | regcomp.c | 329 wchar_t wc; in re_compile_fastmap_iter() local 339 if (__mbrtowc (&wc, (const char *) buf, p - buf, in re_compile_fastmap_iter() 341 && (__wcrtomb ((char *) buf, towlower (wc), &state) in re_compile_fastmap_iter() 1805 wint_t wc = re_string_wchar_at (input, in peek_token() local 1807 token->word_char = IS_WIDE_WORD_CHAR (wc) != 0; in peek_token() 1919 wint_t wc = re_string_wchar_at (input, re_string_cur_idx (input)); in peek_token() local 1920 token->word_char = IS_WIDE_WORD_CHAR (wc) != 0; in peek_token() 2638 wchar_t wc; in build_range_exp() local 2696 for (wc = 0; wc < SBC_MAX; ++wc) in build_range_exp() 2698 cmp_buf[2] = wc; in build_range_exp() [all …]
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
D | mbrtowc.m4 | 119 wchar_t wc; 122 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) 165 mbrtowc returns 2, and sets wc to 0x00F0. 166 mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ 171 wchar_t wc; 174 if (mbrtowc (&wc, input + 3, 6, &state) != 4 175 && mbtowc (&wc, input + 3, 6) == 4) 218 wchar_t wc; 222 wc = (wchar_t) 0xBADFACE; 223 mbrtowc (&wc, NULL, 5, &state); [all …]
|
D | wctob.m4 | 46 wchar_t wc; 48 if (mbtowc (&wc, "\374", 1) == 1) 49 if (wctob (wc) != (unsigned char) '\374')
|
D | double-slash-root.m4 | 28 if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then
|
/ndk/tests/device/test-stlport/unit/ |
D | codecvt_test.cpp | 519 wchar_t wc; in special_encodings() local 521 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc, to_next) == codecvt_base::ok ); in special_encodings() 522 CPPUNIT_ASSERT( to_next == &wc ); in special_encodings() 523 … CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc + 1, to_next) == codecvt_base::ok ); in special_encodings() 524 CPPUNIT_ASSERT( wc == L'0' ); in special_encodings() 525 CPPUNIT_ASSERT( to_next == &wc + 1 ); in special_encodings() 593 wchar_t wc; in special_encodings() local 601 &wc, &wc + 1, to_next); in special_encodings() 607 CPPUNIT_ASSERT( wc == utf8_wstr[windex++] ); in special_encodings() 608 wc = 0; in special_encodings() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | codecvt_test.cpp | 519 wchar_t wc; in special_encodings() local 521 CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc, to_next) == codecvt_base::ok ); in special_encodings() 522 CPPUNIT_ASSERT( to_next == &wc ); in special_encodings() 523 … CPPUNIT_ASSERT( cvt.in(state, &c, &c + 1, from_next, &wc, &wc + 1, to_next) == codecvt_base::ok ); in special_encodings() 524 CPPUNIT_ASSERT( wc == L'0' ); in special_encodings() 525 CPPUNIT_ASSERT( to_next == &wc + 1 ); in special_encodings() 593 wchar_t wc; in special_encodings() local 601 &wc, &wc + 1, to_next); in special_encodings() 607 CPPUNIT_ASSERT( wc == utf8_wstr[windex++] ); in special_encodings() 608 wc = 0; in special_encodings() [all …]
|
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 210 _Locale_mask_t _WLocale_ctype(struct _Locale_ctype *lctype, wint_t wc, _Locale_mask_t mask) { in _WLocale_ctype() argument 212 if ((mask & _Locale_ALPHA) != 0 && iswalpha(wc)) in _WLocale_ctype() 215 if ((mask & _Locale_CNTRL) != 0 && iswcntrl(wc)) in _WLocale_ctype() 218 if ((mask & _Locale_DIGIT) != 0 && iswdigit(wc)) in _WLocale_ctype() 221 if ((mask & _Locale_PRINT) != 0 && iswprint(wc)) in _WLocale_ctype() 224 if ((mask & _Locale_PUNCT) != 0 && iswpunct(wc)) in _WLocale_ctype() 227 if ((mask & _Locale_SPACE) != 0 && iswspace(wc)) in _WLocale_ctype() 230 if ((mask & _Locale_XDIGIT) != 0 && iswxdigit(wc)) in _WLocale_ctype() 233 if ((mask & _Locale_UPPER) != 0 && iswupper(wc)) in _WLocale_ctype() 236 if ((mask & _Locale_LOWER) != 0 && iswlower(wc)) in _WLocale_ctype() [all …]
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | sed.h | 252 #define WCRTOMB(s, wc, ps) \ argument 254 (*(s) = wctob ((wint_t) (wc)), 1) : \ 255 wcrtomb ((s), (wc), (ps))) 260 #define WCRTOMB(s, wc, ps) \ argument 261 wcrtomb ((s), (wc), (ps))
|
D | execute.c | 299 wchar_t wc; local 300 int n = MBRTOWC (&wc, string, length, &from_stat); 322 wc = towupper(wc); 324 wc = towlower(wc); 329 n = WCRTOMB (to->active + to->length, wc, &to->mbstate); 337 wc = towupper(wc); 339 wc = towlower(wc); 342 n = WCRTOMB (to->active + to->length, wc, &to->mbstate);
|
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
D | c_locale_glibc2.c | 294 _Locale_mask_t _WLocale_ctype( struct _Locale_ctype *__loc, wint_t wc, _Locale_mask_t __mask ) in _WLocale_ctype() argument 297 if ((__mask & _Locale_ALPHA) != 0 && iswalpha_l(wc, (locale_t)__loc)) in _WLocale_ctype() 300 if ((__mask & _Locale_CNTRL) != 0 && iswcntrl_l(wc, (locale_t)__loc)) in _WLocale_ctype() 303 if ((__mask & _Locale_DIGIT) != 0 && iswdigit_l(wc, (locale_t)__loc)) in _WLocale_ctype() 306 if ((__mask & _Locale_PRINT) != 0 && iswprint_l(wc, (locale_t)__loc)) in _WLocale_ctype() 309 if ((__mask & _Locale_PUNCT) != 0 && iswpunct_l(wc, (locale_t)__loc)) in _WLocale_ctype() 312 if ((__mask & _Locale_SPACE) != 0 && iswspace_l(wc, (locale_t)__loc)) in _WLocale_ctype() 315 if ((__mask & _Locale_XDIGIT) != 0 && iswxdigit_l(wc, (locale_t)__loc)) in _WLocale_ctype() 318 if ((__mask & _Locale_UPPER) != 0 && iswupper_l(wc, (locale_t)__loc)) in _WLocale_ctype() 321 if ((__mask & _Locale_LOWER) != 0 && iswlower_l(wc, (locale_t)__loc)) in _WLocale_ctype()
|
/ndk/build/tools/ |
D | gen-system-symbols.sh | 191 NUMFUNCS=$(echo $FUNCS | wc -w) 192 NUMVARS=$(echo $VARS | wc -w)
|
D | dev-system-import.sh | 140 NUM_PLATFORMS=$(echo $PLATFORMS | tr ' ' '\n' | wc -l) 316 local numfuncs=`echo $funcs | wc -w` 317 local numvars=`echo $vars | wc -w`
|
D | gen-platforms.sh | 367 numfuncs=$(echo $funcs | wc -w) 368 numvars=$(echo $vars | wc -w)
|
/ndk/sources/host-tools/sed-4.2.1/ |
D | configure | 5889 if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then 9546 wchar_t wc; 9549 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) 9631 mbrtowc returns 2, and sets wc to 0x00F0. 9632 mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ 9637 wchar_t wc; 9640 if (mbrtowc (&wc, input + 3, 6, &state) != 4 9641 && mbtowc (&wc, input + 3, 6) == 4) 9755 wchar_t wc; 9759 wc = (wchar_t) 0xBADFACE; [all …]
|
/ndk/sources/host-tools/sed-4.2.1/doc/ |
D | sed.info | 88 * wc -c:: Counting chars 89 * wc -w:: Counting words 90 * wc -l:: Counting lines 1181 * wc -c:: Counting chars 1182 * wc -w:: Counting words 1183 * wc -l:: Counting lines 1570 File: sed.info, Node: cat -b, Next: wc -c, Prev: cat -n, Up: Examples 1610 File: sed.info, Node: wc -c, Next: wc -w, Prev: cat -b, Up: Examples 1683 File: sed.info, Node: wc -w, Next: wc -l, Prev: wc -c, Up: Examples 1692 It is interesting that real `wc' programs have optimized loops for [all …]
|
/ndk/tests/ |
D | run-tests.sh | 567 ADB_DEVCOUNT=`echo "$ADB_DEVICES" | wc -l`
|
/ndk/build/core/ |
D | ndk-common.sh | 277 HOST_NUM_CPUS=`cat /proc/cpuinfo | grep processor | wc -l`
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
D | Makefile.in | 965 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 971 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
|