Home
last modified time | relevance | path

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

1234567

/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()
Diswblank.c23 iswblank (wint_t wc) in iswblank() argument
25 return wc == ' ' || wc == '\t'; in iswblank()
Dmbswidth.c100 wchar_t wc; in mbsnwidth() local
104 bytes = mbrtowc (&wc, p, plimit - p, &mbstate); in mbsnwidth()
136 w = wcwidth (wc); in mbsnwidth()
148 if (!iswcntrl (wc)) in mbsnwidth()
Dwchar.in.h171 _GL_FUNCDECL_RPL (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE);
172 _GL_CXXALIAS_RPL (wctob, int, (wint_t wc));
176 _GL_FUNCDECL_SYS (wctob, int, (wint_t wc) _GL_ATTRIBUTE_PURE);
178 _GL_CXXALIAS_SYS (wctob, int, (wint_t wc));
344 _GL_FUNCDECL_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
345 _GL_CXXALIAS_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
348 _GL_FUNCDECL_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
350 _GL_CXXALIAS_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps));
821 _GL_FUNCDECL_SYS (wcschr, wchar_t *, (const wchar_t *wcs, wchar_t wc)
834 _GL_CXXALIASWARN1 (wcschr, wchar_t *, (wchar_t *wcs, wchar_t wc));
[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/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/libcxx/include/support/ibm/
Dxlocale.h144 int iswalnum_l(wchar_t wc, locale_t locale) in iswalnum_l() argument
146 return __xiswalnum(locale, wc); in iswalnum_l()
150 int iswalpha_l(wchar_t wc, locale_t locale) in iswalpha_l() argument
152 return __xiswalpha(locale, wc); in iswalpha_l()
156 int iswblank_l(wchar_t wc, locale_t locale) in iswblank_l() argument
158 return __xiswblank(locale, wc); in iswblank_l()
162 int iswcntrl_l(wchar_t wc, locale_t locale) in iswcntrl_l() argument
164 return __xiswcntrl(locale, wc); in iswcntrl_l()
168 int iswdigit_l(wchar_t wc, locale_t locale) in iswdigit_l() argument
170 return __xiswdigit(locale, wc); in iswdigit_l()
[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/
DSkCreatePlatformGLContext_win.cpp47 WNDCLASS wc; in WinGLContext() local
48 wc.cbClsExtra = 0; in WinGLContext()
49 wc.cbWndExtra = 0; in WinGLContext()
50 wc.hbrBackground = NULL; in WinGLContext()
51 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in WinGLContext()
52 wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); in WinGLContext()
53 wc.hInstance = hInstance; in WinGLContext()
54 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in WinGLContext()
55 wc.lpszClassName = TEXT("Griffin"); in WinGLContext()
56 wc.lpszMenuName = NULL; in WinGLContext()
[all …]
/external/mksh/src/
Dexpr.c768 unsigned int wc; in utf_widthadj() local
771 if (!UTFMODE || (len = utf_mbtowc(&wc, src)) == (size_t)-1 || in utf_widthadj()
772 wc == 0) in utf_widthadj()
774 else if ((width = utf_wcwidth(wc)) < 0) in utf_widthadj()
787 unsigned int wc; in utf_mbswidth() local
794 if (((len = utf_mbtowc(&wc, s)) == (size_t)-1) || in utf_mbswidth()
795 ((cw = utf_wcwidth(wc)) == -1)) { in utf_mbswidth()
840 unsigned int c, wc; in utf_mbtowc() local
842 if ((wc = *s++) < 0x80) { in utf_mbtowc()
845 *dst = wc; in utf_mbtowc()
[all …]
Dmisc.c1144 unsigned int wc; in print_value_quoted() local
1152 n = utf_mbtowc(&wc, (const char *)p); in print_value_quoted()
1155 shf_fprintf(shf, "\\u%04X", wc); in print_value_quoted()
2134 int wc, i, c, fc; in unbksl() local
2145 wc = 7; in unbksl()
2148 wc = '\b'; in unbksl()
2154 wc = CTRL(c); in unbksl()
2158 wc = 033; in unbksl()
2161 wc = '\f'; in unbksl()
2164 wc = '\n'; in unbksl()
[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.ll7 %0 = tail call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i1 %b1, i1 %b2) #0
25 %0 = tail call i32 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i32 %b1, i32 %b2) #0
44 %0 = tail call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i8 %b1, i8 %b2) #0
/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/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/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.cpp179 WNDCLASS wc; in create_dummy_window() local
181 wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; in create_dummy_window()
182 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in create_dummy_window()
183 wc.cbClsExtra = 0; in create_dummy_window()
184 wc.cbWndExtra = 0; in create_dummy_window()
185 wc.hInstance = module; in create_dummy_window()
186 wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); in create_dummy_window()
187 wc.hCursor = LoadCursor(NULL, IDC_ARROW); in create_dummy_window()
188 wc.hbrBackground = NULL; in create_dummy_window()
189 wc.lpszMenuName = NULL; in create_dummy_window()
[all …]
/external/toybox/toys/other/
Dhexedit.c89 wchar_t wc; in draw_tail() local
91 len = mbrtowc(&wc, end, 99, 0); in draw_tail()
92 if (len<0 || wc<32 || (w = wcwidth(wc))<0) { in draw_tail()
101 len = mbrtowc(&wc, start, 99, 0); in draw_tail()
102 if (len<0 || wc<32 || (w = wcwidth(wc))<0) len = w = 1; in draw_tail()
/external/fio/engines/
Drdma.c119 static int client_recv(struct thread_data *td, struct ibv_wc *wc) in client_recv() argument
123 if (wc->byte_len != sizeof(rd->recv_buf)) { in client_recv()
124 log_err("Received bogus data, size %d\n", wc->byte_len); in client_recv()
151 static int server_recv(struct thread_data *td, struct ibv_wc *wc) in server_recv() argument
155 if (wc->wr_id == FIO_RDMA_MAX_IO_DEPTH) { in server_recv()
169 struct ibv_wc wc; in cq_event_handler() local
175 while ((ret = ibv_poll_cq(rd->cq, 1, &wc)) == 1) { in cq_event_handler()
179 if (wc.status) { in cq_event_handler()
181 wc.status, ibv_wc_status_str(wc.status)); in cq_event_handler()
185 switch (wc.opcode) { in cq_event_handler()
[all …]

1234567