Home
last modified time | relevance | path

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

123456789

/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()
Dmbrtowc.c355 wchar_t wc; in rpl_mbrtowc() local
356 size_t ret = mbrtowc (&wc, s, 1, ps); in rpl_mbrtowc()
365 *pwc = wc; in rpl_mbrtowc()
366 return (wc == 0 ? 0 : count); in rpl_mbrtowc()
376 wchar_t wc; in rpl_mbrtowc() local
377 size_t ret = mbrtowc (&wc, s, n, ps); in rpl_mbrtowc()
382 *pwc = wc; in rpl_mbrtowc()
383 if (wc == 0) in rpl_mbrtowc()
/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/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/chromium_org/third_party/mesa/src/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/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/compiler-rt/lib/tsan/
Danalyze_libtsan.sh29 tot=$(wc -l < $file)
31 rsp=$(grep '(%rsp)' $file | wc -l)
32 push=$(grep 'push' $file | wc -l)
33 pop=$(grep 'pop' $file | wc -l)
34 call=$(grep 'call' $file | wc -l)
35 load=$(egrep 'mov .*\,.*\(.*\)|cmp .*\,.*\(.*\)' $file | wc -l)
36 store=$(egrep 'mov .*\(.*\),' $file | wc -l)
37 mov=$(grep 'mov' $file | wc -l)
38 lea=$(grep 'lea' $file | wc -l)
39 sh=$(grep 'shr\|shl' $file | wc -l)
[all …]
/external/skia/src/gpu/gl/win/
DSkNativeGLContext_win.cpp54 WNDCLASS wc; in createGLContext() local
55 wc.cbClsExtra = 0; in createGLContext()
56 wc.cbWndExtra = 0; in createGLContext()
57 wc.hbrBackground = NULL; in createGLContext()
58 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in createGLContext()
59 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in createGLContext()
60 wc.hInstance = hInstance; in createGLContext()
61 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in createGLContext()
62 wc.lpszClassName = TEXT("Griffin"); in createGLContext()
63 wc.lpszMenuName = NULL; in createGLContext()
[all …]
/external/chromium_org/third_party/skia/src/gpu/gl/win/
DSkNativeGLContext_win.cpp54 WNDCLASS wc; in createGLContext() local
55 wc.cbClsExtra = 0; in createGLContext()
56 wc.cbWndExtra = 0; in createGLContext()
57 wc.hbrBackground = NULL; in createGLContext()
58 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in createGLContext()
59 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in createGLContext()
60 wc.hInstance = hInstance; in createGLContext()
61 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in createGLContext()
62 wc.lpszClassName = TEXT("Griffin"); in createGLContext()
63 wc.lpszMenuName = NULL; in createGLContext()
[all …]
/external/chromium_org/third_party/npapi/npspy/windows/
Dloggerw.cpp68 WNDCLASS wc; in platformInit() local
69 wc.style = 0; in platformInit()
70 wc.lpfnWndProc = DefDlgProc; in platformInit()
71 wc.cbClsExtra = 0; in platformInit()
72 wc.cbWndExtra = DLGWINDOWEXTRA; in platformInit()
73 wc.hInstance = hInst; in platformInit()
74 wc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_ICON_APP)); in platformInit()
75 wc.hCursor = LoadCursor(0, IDC_ARROW); in platformInit()
76 wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1); in platformInit()
77 wc.lpszMenuName = NULL; in platformInit()
[all …]
/external/valgrind/main/auxprogs/
Dgsl19test107 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-V | wc -l)
110 echo -n " Valgrind passes: " && (grep PASS: out-V | 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-V | wc -l)) >> summary.txt
115 (echo -n " Valgrind passes: " && (grep PASS: out-V | wc -l)) >> summary.txt
Dgsl16test102 echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)
103 echo -n " Native passes: " && (grep PASS: out-REF | wc -l)
104 echo -n " Valgrind fails: " && (grep FAIL: out-V | wc -l)
105 echo -n " Valgrind passes: " && (grep PASS: out-V | wc -l)
107 (echo -n " Native fails: " && (grep FAIL: out-REF | wc -l)) >> summary.txt
108 (echo -n " Native passes: " && (grep PASS: out-REF | wc -l)) >> summary.txt
109 (echo -n " Valgrind fails: " && (grep FAIL: out-V | wc -l)) >> summary.txt
110 (echo -n " Valgrind passes: " && (grep PASS: out-V | wc -l)) >> summary.txt
/external/mksh/src/
Dexpr.c704 unsigned int wc; in utf_widthadj() local
707 if (!UTFMODE || (len = utf_mbtowc(&wc, src)) == (size_t)-1 || in utf_widthadj()
708 wc == 0) in utf_widthadj()
710 else if ((width = utf_wcwidth(wc)) < 0) in utf_widthadj()
723 unsigned int wc; in utf_mbswidth() local
730 if (((len = utf_mbtowc(&wc, s)) == (size_t)-1) || in utf_mbswidth()
731 ((cw = utf_wcwidth(wc)) == -1)) { in utf_mbswidth()
776 unsigned int c, wc; in utf_mbtowc() local
778 if ((wc = *s++) < 0x80) { in utf_mbtowc()
781 *dst = wc; in utf_mbtowc()
[all …]
/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/mesa3d/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c134 WNDCLASS wc; in wglCreatePbufferARB() local
135 memset(&wc, 0, sizeof wc); in wglCreatePbufferARB()
136 wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); in wglCreatePbufferARB()
137 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in wglCreatePbufferARB()
138 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in wglCreatePbufferARB()
139 wc.lpfnWndProc = WndProc; in wglCreatePbufferARB()
140 wc.lpszClassName = "wglpbuffer"; in wglCreatePbufferARB()
141 wc.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW; in wglCreatePbufferARB()
142 RegisterClass(&wc); in wglCreatePbufferARB()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/
Dstw_ext_pbuffer.c134 WNDCLASS wc; in wglCreatePbufferARB() local
135 memset(&wc, 0, sizeof wc); in wglCreatePbufferARB()
136 wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); in wglCreatePbufferARB()
137 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in wglCreatePbufferARB()
138 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in wglCreatePbufferARB()
139 wc.lpfnWndProc = WndProc; in wglCreatePbufferARB()
140 wc.lpszClassName = "wglpbuffer"; in wglCreatePbufferARB()
141 wc.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW; in wglCreatePbufferARB()
142 RegisterClass(&wc); in wglCreatePbufferARB()
/external/chromium/chrome/browser/ui/views/status_icons/
Dstatus_tray_win.cc18 WNDCLASSEX wc = {0}; in StatusTrayWin() local
19 wc.cbSize = sizeof(wc); in StatusTrayWin()
20 wc.lpfnWndProc = base::win::WrappedWindowProc<StatusTrayWin::WndProcStatic>; in StatusTrayWin()
21 wc.hInstance = hinst; in StatusTrayWin()
22 wc.lpszClassName = chrome::kStatusTrayWindowClass; in StatusTrayWin()
23 ATOM clazz = RegisterClassEx(&wc); in StatusTrayWin()
/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/src/utils/win/
DSkWGL_win.cpp155 WNDCLASS wc; in create_dummy_window() local
157 wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; in create_dummy_window()
158 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in create_dummy_window()
159 wc.cbClsExtra = 0; in create_dummy_window()
160 wc.cbWndExtra = 0; in create_dummy_window()
161 wc.hInstance = module; in create_dummy_window()
162 wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); in create_dummy_window()
163 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in create_dummy_window()
164 wc.hbrBackground = NULL; in create_dummy_window()
165 wc.lpszMenuName = NULL; in create_dummy_window()
[all …]
/external/chromium_org/third_party/skia/src/utils/win/
DSkWGL_win.cpp155 WNDCLASS wc; in create_dummy_window() local
157 wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; in create_dummy_window()
158 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in create_dummy_window()
159 wc.cbClsExtra = 0; in create_dummy_window()
160 wc.cbWndExtra = 0; in create_dummy_window()
161 wc.hInstance = module; in create_dummy_window()
162 wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); in create_dummy_window()
163 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in create_dummy_window()
164 wc.hbrBackground = NULL; in create_dummy_window()
165 wc.lpszMenuName = NULL; in create_dummy_window()
[all …]
/external/chromium_org/chrome/browser/
Derrorpage_browsertest.cc286 content::WebContents* wc = in IN_PROC_BROWSER_TEST_F() local
296 EXPECT_EQ(2, wc->GetController().GetEntryCount()); in IN_PROC_BROWSER_TEST_F()
302 TestFailProvisionalLoadObserver fail_observer(wc); in IN_PROC_BROWSER_TEST_F()
305 content::Source<NavigationController>(&wc->GetController())); in IN_PROC_BROWSER_TEST_F()
306 wc->GetRenderViewHost()->ExecuteJavascriptInWebFrame( in IN_PROC_BROWSER_TEST_F()
315 EXPECT_EQ(2, wc->GetController().GetEntryCount()); in IN_PROC_BROWSER_TEST_F()
326 content::Source<NavigationController>(&wc->GetController())); in IN_PROC_BROWSER_TEST_F()
327 wc->GetRenderViewHost()->ExecuteJavascriptInWebFrame( in IN_PROC_BROWSER_TEST_F()
335 TestFailProvisionalLoadObserver fail_observer(wc); in IN_PROC_BROWSER_TEST_F()
338 content::Source<NavigationController>(&wc->GetController())); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/base/win/
Dwrapped_window_proc_unittest.cc60 WNDCLASS wc = {0}; in TEST() local
61 wc.lpfnWndProc = base::win::WrappedWindowProc<TestWindowProc>; in TEST()
62 wc.hInstance = hinst; in TEST()
63 wc.lpszClassName = class_name.c_str(); in TEST()
64 RegisterClass(&wc); in TEST()
/external/chromium_org/base/win/
Dwrapped_window_proc_unittest.cc60 WNDCLASS wc = {0}; in TEST() local
61 wc.lpfnWndProc = base::win::WrappedWindowProc<TestWindowProc>; in TEST()
62 wc.hInstance = hinst; in TEST()
63 wc.lpszClassName = class_name.c_str(); in TEST()
64 RegisterClass(&wc); in TEST()

123456789