Home
last modified time | relevance | path

Searched refs:wc (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/external/bison/lib/
Dwctype.in.h162 (wint_t wc) in rpl_iswalnum() argument
164 return ((wc >= '0' && wc <= '9') in rpl_iswalnum()
165 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); in rpl_iswalnum()
174 (wint_t wc) in rpl_iswalpha() argument
176 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; in rpl_iswalpha()
185 (wint_t wc) in rpl_iswblank() argument
187 return wc == ' ' || wc == '\t'; in rpl_iswblank()
196 (wint_t wc) in rpl_iswcntrl() argument
198 return (wc & ~0x1f) == 0 || wc == 0x7f; in rpl_iswcntrl()
207 (wint_t wc) in rpl_iswdigit() argument
[all …]
Dmbchar.h171 wchar_t wc; /* if wc_valid: the current character */ member
185 #define mb_iseq(mbc, sc) ((mbc).wc_valid && (mbc).wc == (sc))
186 #define mb_isnul(mbc) ((mbc).wc_valid && (mbc).wc == 0)
190 ? (int) (mbc1).wc - (int) (mbc2).wc \
202 ? (int) towlower ((mbc1).wc) - (int) towlower ((mbc2).wc) \
213 ? (mbc1).wc == (mbc2).wc \
218 ? towlower ((mbc1).wc) == towlower ((mbc2).wc) \
224 ((mbc).wc_valid && (mbc).wc >= 0 && (mbc).wc <= 127)
225 #define mb_isalnum(mbc) ((mbc).wc_valid && iswalnum ((mbc).wc))
226 #define mb_isalpha(mbc) ((mbc).wc_valid && iswalpha ((mbc).wc))
[all …]
Dwcwidth.c30 wcwidth (wchar_t wc) in wcwidth() argument
39 return uc_width (wc, encoding); in wcwidth()
45 return wcwidth (wc); in wcwidth()
47 return wc == 0 ? 0 : iswprint (wc) ? 1 : -1; in wcwidth()
/external/bison/linux-lib/
Dwctype.h464 (wint_t wc) in iswalnum() argument
466 return ((wc >= '0' && wc <= '9') in iswalnum()
467 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); in iswalnum()
476 (wint_t wc) in iswalpha() argument
478 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; in iswalpha()
487 (wint_t wc) in iswblank() argument
489 return wc == ' ' || wc == '\t'; in iswblank()
498 (wint_t wc) in iswcntrl() argument
500 return (wc & ~0x1f) == 0 || wc == 0x7f; in iswcntrl()
509 (wint_t wc) in iswdigit() argument
[all …]
/external/bison/darwin-lib/
Dwctype.h464 (wint_t wc) in iswalnum() argument
466 return ((wc >= '0' && wc <= '9') in iswalnum()
467 || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); in iswalnum()
476 (wint_t wc) in iswalpha() argument
478 return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; in iswalpha()
487 (wint_t wc) in iswblank() argument
489 return wc == ' ' || wc == '\t'; in iswblank()
498 (wint_t wc) in iswcntrl() argument
500 return (wc & ~0x1f) == 0 || wc == 0x7f; in iswcntrl()
509 (wint_t wc) in iswdigit() argument
[all …]
/external/curl/lib/
Dwildcard.c33 CURLcode Curl_wildcard_init(struct WildcardData *wc) in Curl_wildcard_init() argument
35 DEBUGASSERT(wc->filelist == NULL); in Curl_wildcard_init()
38 wc->filelist = Curl_llist_alloc(Curl_fileinfo_dtor); in Curl_wildcard_init()
39 if(!wc->filelist) {; in Curl_wildcard_init()
45 void Curl_wildcard_dtor(struct WildcardData *wc) in Curl_wildcard_dtor() argument
47 if(!wc) in Curl_wildcard_dtor()
50 if(wc->tmp_dtor) { in Curl_wildcard_dtor()
51 wc->tmp_dtor(wc->tmp); in Curl_wildcard_dtor()
52 wc->tmp_dtor = ZERO_NULL; in Curl_wildcard_dtor()
53 wc->tmp = NULL; in Curl_wildcard_dtor()
[all …]
/external/mesa3d/src/glx/windows/
Dwindowsgl.c79 WNDCLASSEX wc; in windows_create_context() local
80 wc.cbSize = sizeof(WNDCLASSEX); in windows_create_context()
81 wc.style = CS_HREDRAW | CS_VREDRAW; in windows_create_context()
82 wc.lpfnWndProc = DefWindowProc; in windows_create_context()
83 wc.cbClsExtra = 0; in windows_create_context()
84 wc.cbWndExtra = 0; in windows_create_context()
85 wc.hInstance = GetModuleHandle(NULL); in windows_create_context()
86 wc.hIcon = 0; in windows_create_context()
87 wc.hCursor = 0; in windows_create_context()
88 wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH); in windows_create_context()
[all …]
/external/libcxx/include/support/ibm/
Dxlocale.h89 int iswalnum_l(wchar_t wc, locale_t locale) in iswalnum_l() argument
91 return __xiswalnum(locale, wc); in iswalnum_l()
95 int iswalpha_l(wchar_t wc, locale_t locale) in iswalpha_l() argument
97 return __xiswalpha(locale, wc); in iswalpha_l()
101 int iswblank_l(wchar_t wc, locale_t locale) in iswblank_l() argument
103 return __xiswblank(locale, wc); in iswblank_l()
107 int iswcntrl_l(wchar_t wc, locale_t locale) in iswcntrl_l() argument
109 return __xiswcntrl(locale, wc); in iswcntrl_l()
113 int iswdigit_l(wchar_t wc, locale_t locale) in iswdigit_l() argument
115 return __xiswdigit(locale, wc); in iswdigit_l()
[all …]
/external/lzma/CPP/Windows/Control/
DWindow2.cpp53 WNDCLASS wc; in CreateEx() local
54 if (!::GetClassInfo(instance, className, &wc)) in CreateEx()
57 wc.style = 0; in CreateEx()
58 wc.lpfnWndProc = WindowProcedure; in CreateEx()
59 wc.cbClsExtra = 0; in CreateEx()
60 wc.cbWndExtra = 0; in CreateEx()
61 wc.hInstance = instance; in CreateEx()
62 wc.hIcon = NULL; in CreateEx()
63 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in CreateEx()
64 wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); in CreateEx()
[all …]
/external/mesa3d/src/gallium/targets/graw-gdi/
Dgraw_gdi.c69 WNDCLASSEX wc; in graw_create_window_and_screen() local
86 memset(&wc, 0, sizeof wc); in graw_create_window_and_screen()
87 wc.cbSize = sizeof wc; in graw_create_window_and_screen()
88 wc.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW; in graw_create_window_and_screen()
89 wc.lpfnWndProc = window_proc; in graw_create_window_and_screen()
90 wc.lpszClassName = "graw-gdi"; in graw_create_window_and_screen()
91 wc.hInstance = GetModuleHandle(NULL); in graw_create_window_and_screen()
92 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in graw_create_window_and_screen()
93 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in graw_create_window_and_screen()
94 wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1); in graw_create_window_and_screen()
[all …]
/external/libcxx/include/
Dcwctype30 int iswalnum(wint_t wc);
31 int iswalpha(wint_t wc);
32 int iswblank(wint_t wc); // C99
33 int iswcntrl(wint_t wc);
34 int iswdigit(wint_t wc);
35 int iswgraph(wint_t wc);
36 int iswlower(wint_t wc);
37 int iswprint(wint_t wc);
38 int iswpunct(wint_t wc);
39 int iswspace(wint_t wc);
[all …]
/external/f2fs-tools/lib/
Dlibf2fs.c42 static const char *utf8_to_wchar(const char *input, wchar_t *wc, in utf8_to_wchar() argument
46 *wc = (wchar_t) input[0]; in utf8_to_wchar()
50 *wc = (((wchar_t) input[0] & 0x1f) << 6) | in utf8_to_wchar()
55 *wc = (((wchar_t) input[0] & 0x0f) << 12) | in utf8_to_wchar()
61 *wc = (((wchar_t) input[0] & 0x07) << 18) | in utf8_to_wchar()
68 *wc = (((wchar_t) input[0] & 0x03) << 24) | in utf8_to_wchar()
76 *wc = (((wchar_t) input[0] & 0x01) << 30) | in utf8_to_wchar()
87 static u_int16_t *wchar_to_utf16(u_int16_t *output, wchar_t wc, size_t outsize) in wchar_to_utf16() argument
89 if (wc <= 0xffff) { in wchar_to_utf16()
92 output[0] = cpu_to_le16(wc); in wchar_to_utf16()
[all …]
/external/compiler-rt/lib/tsan/
Danalyze_libtsan.sh40 tot=$(wc -l < $file)
42 rsp=$(grep '(%rsp)' $file | wc -l)
43 push=$(grep 'push' $file | wc -l)
44 pop=$(grep 'pop' $file | wc -l)
45 call=$(grep 'call' $file | wc -l)
46 load=$(egrep 'mov .*\,.*\(.*\)|cmp .*\,.*\(.*\)' $file | wc -l)
47 store=$(egrep 'mov .*\(.*\),' $file | wc -l)
48 mov=$(grep 'mov' $file | wc -l)
49 lea=$(grep 'lea' $file | wc -l)
50 sh=$(grep 'shr\|shl' $file | wc -l)
[all …]
/external/toybox/lib/
Dlinestack.c87 int (*escout)(FILE *out, int cols, int wc)) in crunch_str() argument
93 wchar_t wc; in crunch_str() local
95 if ((bytes = mbrtowc(&wc, end, MB_CUR_MAX, 0))>0 && (col = wcwidth(wc))>=0) in crunch_str()
97 if (!escmore || wc>255 || !strchr(escmore, wc)) { in crunch_str()
107 wc = *end; in crunch_str()
111 if (escout) col = escout(out, col, wc); in crunch_str()
121 int crunch_escape(FILE *out, int cols, int wc) in crunch_escape() argument
126 if (wc<' ') rc = sprintf(buf, "^%c", '@'+wc); in crunch_escape()
127 else if (wc<256) rc = sprintf(buf, "<%02X>", wc); in crunch_escape()
128 else rc = sprintf(buf, "U+%04X", wc); in crunch_escape()
[all …]
/external/mksh/src/
Dexpr.c709 unsigned int wc; in utf_widthadj() local
712 if (!UTFMODE || (len = utf_mbtowc(&wc, src)) == (size_t)-1 || in utf_widthadj()
713 wc == 0) in utf_widthadj()
715 else if ((width = utf_wcwidth(wc)) < 0) in utf_widthadj()
728 unsigned int wc; in utf_mbswidth() local
735 if (((len = utf_mbtowc(&wc, s)) == (size_t)-1) || in utf_mbswidth()
736 ((cw = utf_wcwidth(wc)) == -1)) { in utf_mbswidth()
792 unsigned int c, wc; in utf_mbtowc() local
794 if ((wc = *s++) < 0x80) { in utf_mbtowc()
797 *dst = wc; in utf_mbtowc()
[all …]
/external/skia/tools/gpu/gl/win/
DCreatePlatformGLTestContext_win.cpp48 WNDCLASS wc; in WinGLTestContext() local
49 wc.cbClsExtra = 0; in WinGLTestContext()
50 wc.cbWndExtra = 0; in WinGLTestContext()
51 wc.hbrBackground = nullptr; in WinGLTestContext()
52 wc.hCursor = LoadCursor(nullptr, IDC_ARROW); in WinGLTestContext()
53 wc.hIcon = LoadIcon(nullptr, IDI_APPLICATION); in WinGLTestContext()
54 wc.hInstance = hInstance; in WinGLTestContext()
55 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in WinGLTestContext()
56 wc.lpszClassName = TEXT("Griffin"); in WinGLTestContext()
57 wc.lpszMenuName = nullptr; in WinGLTestContext()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_predict.c324 tmsize_t wc = cc / 2; in swabHorAcc16() local
326 TIFFSwabArrayOfShort(wp, wc); in swabHorAcc16()
335 tmsize_t wc = cc / 2; in horAcc16() local
339 if (wc > stride) { in horAcc16()
340 wc -= stride; in horAcc16()
343 wc -= stride; in horAcc16()
344 } while (wc > 0); in horAcc16()
352 tmsize_t wc = cc / 4; in swabHorAcc32() local
354 TIFFSwabArrayOfLong(wp, wc); in swabHorAcc32()
363 tmsize_t wc = cc / 4; in horAcc32() local
[all …]
/external/valgrind/auxprogs/
Dgsl19test112 echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)
113 echo -n " Native passes: " && (grep PASS: out-REF | wc -l)
114 echo -n " Valgrind fails: " && (grep FAIL: out-V | wc -l)
115 echo -n " Valgrind passes: " && (grep PASS: out-V | wc -l)
117 (echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)) >> summary.txt
118 (echo -n " Native passes: " && (grep PASS: out-REF | wc -l)) >> summary.txt
119 (echo -n " Valgrind fails: " && (grep FAIL: out-V | wc -l)) >> summary.txt
120 (echo -n " Valgrind passes: " && (grep PASS: out-V | wc -l)) >> summary.txt
Dgsl16test107 echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)
108 echo -n " Native passes: " && (grep PASS: out-REF | wc -l)
109 echo -n " Valgrind fails: " && (grep FAIL: out-VAL | wc -l)
110 echo -n " Valgrind passes: " && (grep PASS: out-VAL | wc -l)
112 (echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)) >> summary.txt
113 (echo -n " Native passes: " && (grep PASS: out-REF | wc -l)) >> summary.txt
114 (echo -n " Valgrind fails: " && (grep FAIL: out-VAL | wc -l)) >> summary.txt
115 (echo -n " Valgrind passes: " && (grep PASS: out-VAL | wc -l)) >> summary.txt
/external/llvm/test/CodeGen/PowerPC/
Dcrbit-asm.ll8 %0 = tail call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i1 %b1, i1 %b2) #0
26 %0 = tail call i32 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i32 %b1, i32 %b2) #0
45 %0 = tail call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i8 %b1, i8 %b2) #0
/external/iptables/utils/
Dnfnl_osf.c153 char *ptr, wc; in xt_osf_parse_opt() local
161 wc = OSF_WSS_PLAIN; in xt_osf_parse_opt()
199 wc = OSF_WSS_MODULO; in xt_osf_parse_opt()
202 wc = OSF_WSS_MSS; in xt_osf_parse_opt()
205 wc = OSF_WSS_MTU; in xt_osf_parse_opt()
208 wc = OSF_WSS_PLAIN; in xt_osf_parse_opt()
214 if (wc) in xt_osf_parse_opt()
228 wc = OSF_WSS_MODULO; in xt_osf_parse_opt()
231 if (wc) in xt_osf_parse_opt()
263 opt[*optnum].wc.wc = wc; in xt_osf_parse_opt()
[all …]
/external/skia/tests/
DPipeTest.cpp56 SkCanvas* wc = serializer.beginWrite(SkRect::MakeWH(100, 100), &stream); in DEF_TEST() local
57 wc->drawImage(img, 0, 0, nullptr); in DEF_TEST()
64 wc = serializer.beginWrite(SkRect::MakeWH(100, 100), &stream); in DEF_TEST()
65 wc->drawImage(img, 0, 0, nullptr); in DEF_TEST()
107 SkCanvas* wc = serializer.beginWrite(SkRect::MakeWH(100, 100), &stream); in DEF_TEST() local
108 wc->drawImage(img, 0, 0, nullptr); in DEF_TEST()
127 SkCanvas* wc = serializer.beginWrite(SkRect::MakeWH(100, 100), &stream); in DEF_TEST() local
128 wc->drawPicture(picture); in DEF_TEST()
135 wc = serializer.beginWrite(SkRect::MakeWH(100, 100), &stream); in DEF_TEST()
136 wc->drawPicture(picture); in DEF_TEST()
[all …]
/external/bison/m4/
Dmbrtowc.m4145 wchar_t wc;
148 if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
199 mbrtowc returns 2, and sets wc to 0x00F0.
200 mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
205 wchar_t wc;
208 if (mbrtowc (&wc, input + 3, 6, &state) != 4
209 && mbtowc (&wc, input + 3, 6) == 4)
264 wchar_t wc;
268 wc = (wchar_t) 0xBADFACE;
269 ret = mbrtowc (&wc, input, 5, &state);
[all …]
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp125 WNDCLASS wc; in ANGLEGLContext() local
126 wc.cbClsExtra = 0; in ANGLEGLContext()
127 wc.cbWndExtra = 0; in ANGLEGLContext()
128 wc.hbrBackground = nullptr; in ANGLEGLContext()
129 wc.hCursor = LoadCursor(nullptr, IDC_ARROW); in ANGLEGLContext()
130 wc.hIcon = LoadIcon(nullptr, IDI_APPLICATION); in ANGLEGLContext()
131 wc.hInstance = hInstance; in ANGLEGLContext()
132 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in ANGLEGLContext()
133 wc.lpszClassName = TEXT("ANGLE-win"); in ANGLEGLContext()
134 wc.lpszMenuName = nullptr; in ANGLEGLContext()
[all …]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c169 WNDCLASS wc; in wglCreatePbufferARB() local
170 memset(&wc, 0, sizeof wc); in wglCreatePbufferARB()
171 wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); in wglCreatePbufferARB()
172 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in wglCreatePbufferARB()
173 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in wglCreatePbufferARB()
174 wc.lpfnWndProc = WndProc; in wglCreatePbufferARB()
175 wc.lpszClassName = "wglpbuffer"; in wglCreatePbufferARB()
176 wc.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW; in wglCreatePbufferARB()
177 RegisterClass(&wc); in wglCreatePbufferARB()

12345678910>>...14