/external/flac/src/share/utf8/ |
D | charset_test.c | 30 int wc; in test_any() local 47 wc = 'x'; in test_any() 48 assert(charset_mbtowc(charset, &wc, "a", 0) == 0 && wc == 'x'); in test_any() 49 assert(charset_mbtowc(charset, &wc, "", 1) == 0 && wc == 0); in test_any() 50 assert(charset_mbtowc(charset, &wc, "b", 1) == 1 && wc == 'b'); in test_any() 51 assert(charset_mbtowc(charset, &wc, "", 2) == 0 && wc == 0); in test_any() 52 assert(charset_mbtowc(charset, &wc, "c", 2) == 1 && wc == 'c'); in test_any() 68 int wc; in test_utf8() local 75 wc = 0; in test_utf8() 76 assert(charset_mbtowc(charset, &wc, "\177", 1) == 1 && wc == 127); in test_utf8() [all …]
|
D | charset.c | 82 int wc, i, k; in utf8_mbtowc() local 117 wc = *s++ & ((1 << (7 - k)) - 1); in utf8_mbtowc() 121 wc = (wc << 6) | (*s++ & 0x3f); in utf8_mbtowc() 123 if (wc < (1 << (5 * k - 4))) in utf8_mbtowc() 126 *pwc = wc; in utf8_mbtowc() 132 uint32_t wc = wc1; in utf8_wctomb() local 136 if (wc < (1u << 7)) { in utf8_wctomb() 137 *s++ = wc; in utf8_wctomb() 140 else if (wc < (1u << 11)) { in utf8_wctomb() 141 *s++ = 0xc0 | (wc >> 6); in utf8_wctomb() [all …]
|
/external/curl/lib/ |
D | wildcard.c | 41 CURLcode Curl_wildcard_init(struct WildcardData *wc) in Curl_wildcard_init() argument 43 Curl_llist_init(&wc->filelist, fileinfo_dtor); in Curl_wildcard_init() 44 wc->state = CURLWC_INIT; in Curl_wildcard_init() 49 void Curl_wildcard_dtor(struct WildcardData *wc) in Curl_wildcard_dtor() argument 51 if(!wc) in Curl_wildcard_dtor() 54 if(wc->dtor) { in Curl_wildcard_dtor() 55 wc->dtor(wc->protdata); in Curl_wildcard_dtor() 56 wc->dtor = ZERO_NULL; in Curl_wildcard_dtor() 57 wc->protdata = NULL; in Curl_wildcard_dtor() 59 DEBUGASSERT(wc->protdata == NULL); in Curl_wildcard_dtor() [all …]
|
/external/mesa3d/src/glx/windows/ |
D | windowsgl.c | 79 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/llvm-project/libcxx/include/support/ibm/ |
D | xlocale.h | 88 int iswalnum_l(wchar_t wc, locale_t locale) in iswalnum_l() argument 90 return __xiswalnum(locale, wc); in iswalnum_l() 94 int iswalpha_l(wchar_t wc, locale_t locale) in iswalpha_l() argument 96 return __xiswalpha(locale, wc); in iswalpha_l() 100 int iswblank_l(wchar_t wc, locale_t locale) in iswblank_l() argument 102 return __xiswblank(locale, wc); in iswblank_l() 106 int iswcntrl_l(wchar_t wc, locale_t locale) in iswcntrl_l() argument 108 return __xiswcntrl(locale, wc); in iswcntrl_l() 112 int iswdigit_l(wchar_t wc, locale_t locale) in iswdigit_l() argument 114 return __xiswdigit(locale, wc); in iswdigit_l() [all …]
|
/external/libcxx/include/support/ibm/ |
D | xlocale.h | 89 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/ |
D | Window2.cpp | 53 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/libcxx/include/ |
D | cwctype | 30 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/mesa3d/src/gallium/targets/graw-gdi/ |
D | graw_gdi.c | 69 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 = TEXT("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/llvm-project/libcxx/include/ |
D | cwctype | 29 int iswalnum(wint_t wc); 30 int iswalpha(wint_t wc); 31 int iswblank(wint_t wc); // C99 32 int iswcntrl(wint_t wc); 33 int iswdigit(wint_t wc); 34 int iswgraph(wint_t wc); 35 int iswlower(wint_t wc); 36 int iswprint(wint_t wc); 37 int iswpunct(wint_t wc); 38 int iswspace(wint_t wc); [all …]
|
/external/compiler-rt/lib/tsan/ |
D | analyze_libtsan.sh | 40 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/llvm-project/compiler-rt/lib/tsan/ |
D | analyze_libtsan.sh | 40 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/ |
D | linestack.c | 92 int (*escout)(FILE *out, int cols, int wc)) in crunch_str() argument 98 wchar_t wc; in crunch_str() local 100 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str() 101 if (!escmore || wc>255 || !strchr(escmore, wc)) { in crunch_str() 111 wc = *end; in crunch_str() 116 if ((col = escout(out, col, wc))<0) break; in crunch_str() 126 int crunch_escape(FILE *out, int cols, int wc) in crunch_escape() argument 131 if (wc<' ') rc = sprintf(buf, "^%c", '@'+wc); in crunch_escape() 132 else if (wc<256) rc = sprintf(buf, "<%02X>", wc); in crunch_escape() 133 else rc = sprintf(buf, "U+%04X", wc); in crunch_escape() [all …]
|
/external/toybox/toys/pending/ |
D | unicode.c | 21 static void codepoint(unsigned wc) { in codepoint() argument 26 printf("U+%04X : ", wc); in codepoint() 27 if (wc < ' ') printf("%.3s", low+(wc*3)); in codepoint() 28 else if (wc == 0x7f) printf("DEL"); in codepoint() 30 toybuf[n = wctoutf8(toybuf, wc)] = 0; in codepoint() 55 wchar_t wc; in unicode_main() local 58 while ((n = utf8towc(&wc, s, l)) > 0) { in unicode_main() 59 codepoint(wc); in unicode_main()
|
/external/f2fs-tools/lib/ |
D | libf2fs.c | 62 static const char *utf8_to_wchar(const char *input, wchar_t *wc, in utf8_to_wchar() argument 66 *wc = (wchar_t) input[0]; in utf8_to_wchar() 70 *wc = (((wchar_t) input[0] & 0x1f) << 6) | in utf8_to_wchar() 75 *wc = (((wchar_t) input[0] & 0x0f) << 12) | in utf8_to_wchar() 81 *wc = (((wchar_t) input[0] & 0x07) << 18) | in utf8_to_wchar() 88 *wc = (((wchar_t) input[0] & 0x03) << 24) | in utf8_to_wchar() 96 *wc = (((wchar_t) input[0] & 0x01) << 30) | in utf8_to_wchar() 107 static u_int16_t *wchar_to_utf16(u_int16_t *output, wchar_t wc, size_t outsize) in wchar_to_utf16() argument 109 if (wc <= 0xffff) { in wchar_to_utf16() 112 output[0] = cpu_to_le16(wc); in wchar_to_utf16() [all …]
|
/external/mksh/src/ |
D | expr.c | 711 unsigned int wc; in utf_widthadj() local 714 if (!UTFMODE || (len = utf_mbtowc(&wc, src)) == (size_t)-1 || in utf_widthadj() 715 wc == 0) in utf_widthadj() 717 else if ((width = utf_wcwidth(wc)) < 0) in utf_widthadj() 730 unsigned int wc; in utf_mbswidth() local 737 if (((len = utf_mbtowc(&wc, s)) == (size_t)-1) || in utf_mbswidth() 738 ((cw = utf_wcwidth(wc)) == -1)) { in utf_mbswidth() 793 unsigned int c, wc; in utf_mbtowc() local 795 if ((wc = ord(rtt2asc(*s++))) < 0x80) { in utf_mbtowc() 798 *dst = wc; in utf_mbtowc() [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | widenable-conditions.ll | 14 %wc = call i1 @llvm.experimental.widenable.condition() 15 %lhs = and i1 %b, %wc 29 %wc = call i1 @llvm.experimental.widenable.condition() 30 %lhs = and i1 %b, %wc 49 %wc = call i1 @llvm.experimental.widenable.condition() 50 call void @use(i1 %wc) 51 %lhs = and i1 %b, %wc 63 %wc = call i1 @llvm.experimental.widenable.condition() 64 %lhs = and i1 %wc, %b 79 %wc = call i1 @llvm.experimental.widenable.condition() [all …]
|
/external/skia/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 65 WNDCLASS wc; in WinGLTestContext() local 66 wc.cbClsExtra = 0; in WinGLTestContext() 67 wc.cbWndExtra = 0; in WinGLTestContext() 68 wc.hbrBackground = nullptr; in WinGLTestContext() 69 wc.hCursor = LoadCursor(nullptr, IDC_ARROW); in WinGLTestContext() 70 wc.hIcon = LoadIcon(nullptr, IDI_APPLICATION); in WinGLTestContext() 71 wc.hInstance = hInstance; in WinGLTestContext() 72 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in WinGLTestContext() 73 wc.lpszClassName = TEXT("Griffin"); in WinGLTestContext() 74 wc.lpszMenuName = nullptr; in WinGLTestContext() [all …]
|
/external/skqp/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 65 WNDCLASS wc; in WinGLTestContext() local 66 wc.cbClsExtra = 0; in WinGLTestContext() 67 wc.cbWndExtra = 0; in WinGLTestContext() 68 wc.hbrBackground = nullptr; in WinGLTestContext() 69 wc.hCursor = LoadCursor(nullptr, IDC_ARROW); in WinGLTestContext() 70 wc.hIcon = LoadIcon(nullptr, IDI_APPLICATION); in WinGLTestContext() 71 wc.hInstance = hInstance; in WinGLTestContext() 72 wc.lpfnWndProc = (WNDPROC) DefWindowProc; in WinGLTestContext() 73 wc.lpszClassName = TEXT("Griffin"); in WinGLTestContext() 74 wc.lpszMenuName = nullptr; in WinGLTestContext() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_predict.c | 340 tmsize_t wc = cc / 2; in swabHorAcc16() local 342 TIFFSwabArrayOfShort(wp, wc); in swabHorAcc16() 352 tmsize_t wc = cc / 2; in horAcc16() local 361 if (wc > stride) { in horAcc16() 362 wc -= stride; in horAcc16() 365 wc -= stride; in horAcc16() 366 } while (wc > 0); in horAcc16() 375 tmsize_t wc = cc / 4; in swabHorAcc32() local 377 TIFFSwabArrayOfLong(wp, wc); in swabHorAcc32() 387 tmsize_t wc = cc / 4; in horAcc32() local [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | closure.h | 130 wrapped_closure* wc = static_cast<wrapped_closure*>(arg); local 131 grpc_iomgr_cb_func cb = wc->cb; 132 void* cb_arg = wc->cb_arg; 133 gpr_free(wc); 145 closure_impl::wrapped_closure* wc = local 146 static_cast<closure_impl::wrapped_closure*>(gpr_malloc(sizeof(*wc))); 147 wc->cb = cb; 148 wc->cb_arg = cb_arg; 150 grpc_closure_init(file, line, &wc->wrapper, closure_impl::closure_wrapper, 151 wc); [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | crbit-asm.ll | 8 %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/ |
D | nfnl_osf.c | 153 char *ptr, wc; in xt_osf_parse_opt() local 160 wc = OSF_WSS_PLAIN; in xt_osf_parse_opt() 198 wc = OSF_WSS_MODULO; in xt_osf_parse_opt() 201 wc = OSF_WSS_MSS; in xt_osf_parse_opt() 204 wc = OSF_WSS_MTU; in xt_osf_parse_opt() 207 wc = OSF_WSS_PLAIN; in xt_osf_parse_opt() 213 if (wc) in xt_osf_parse_opt() 227 wc = OSF_WSS_MODULO; in xt_osf_parse_opt() 230 if (wc) in xt_osf_parse_opt() 262 opt[*optnum].wc.wc = wc; in xt_osf_parse_opt() [all …]
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | crbit-asm.ll | 11 %0 = tail call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i1 %b1, i1 %b2) #0 33 %0 = tail call i32 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i32 %b1, i32 %b2) #0 52 %0 = tail call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i8 %b1, i8 %b2) #0
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | closure.h | 146 wrapped_closure* wc = static_cast<wrapped_closure*>(arg); local 147 grpc_iomgr_cb_func cb = wc->cb; 148 void* cb_arg = wc->cb_arg; 149 gpr_free(wc); 163 closure_impl::wrapped_closure* wc = local 164 static_cast<closure_impl::wrapped_closure*>(gpr_malloc(sizeof(*wc))); 165 wc->cb = cb; 166 wc->cb_arg = cb_arg; 168 grpc_closure_init(file, line, &wc->wrapper, closure_impl::closure_wrapper, wc, 171 grpc_closure_init(&wc->wrapper, closure_impl::closure_wrapper, wc, scheduler); [all …]
|