Home
last modified time | relevance | path

Searched +full:- +full:wc (Results 1 – 25 of 976) sorted by relevance

12345678910>>...40

/external/flac/src/share/utf8/
Dcharset_test.c16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 int wc; in test_any() local
39 assert(charset_mbtowc(charset, 0, (char *)(-1), 0) == 0); in test_any()
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
[all …]
Dcharset.c16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 * 8-bit char, 16-bit short and 32-bit int.
45 * on the locale. Locale-dependent functions can be dangerous:
65 c1 += 'A' - 'a'; in ascii_strcasecmp()
68 c2 += 'A' - 'a'; in ascii_strcasecmp()
72 return (uint8_t)*s1 - (uint8_t)*s2; in ascii_strcasecmp()
76 * UTF-8 equivalents of the C library's wctomb() and mbtowc().
82 int wc, i, k; in utf8_mbtowc() local
94 return -1; in utf8_mbtowc()
102 return -1; in utf8_mbtowc()
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dwidenable-conditions.ll2 ; RUN: opt < %s -instcombine -S | FileCheck %s
4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
8 ; CHECK-LABEL: @test1(
9 ; CHECK-NEXT: [[WC:%.*]] = call i1 @llvm.experimental.widenable.condition()
10 ; CHECK-NEXT: [[LHS:%.*]] = and i1 [[WC]], [[B:%.*]]
11 ; CHECK-NEXT: [[AND:%.*]] = and i1 [[LHS]], [[A:%.*]]
12 ; CHECK-NEXT: ret i1 [[AND]]
14 %wc = call i1 @llvm.experimental.widenable.condition()
15 %lhs = and i1 %b, %wc
[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.h1 // -*- C++ -*-
2 //===--------------------- support/ibm/xlocale.h -------------------===//
9 //===----------------------------------------------------------------------===//
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
[all …]
/external/clang/test/CodeGen/
Dppc64-inline-asm.c1 // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -O2 -emit-llvm -o - %s | FileCheck %s
5 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i1()
7 // CHECK-LABEL: define zeroext i1 @test_wc_i1(i1 zeroext %b1, i1 zeroext %b2) in test_wc_i1()
8 // CHECK: call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i1 %b1, i1 %b2) in test_wc_i1()
13 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i32()
15 // CHECK-LABEL: signext i32 @test_wc_i32(i32 signext %b1, i32 signext %b2) in test_wc_i32()
16 // CHECK: call i32 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i32 %b1, i32 %b2) in test_wc_i32()
21 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i8()
23 // CHECK-LABEL: zeroext i8 @test_wc_i8(i8 zeroext %b1, i8 zeroext %b2) in test_wc_i8()
24 // CHECK: call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i8 %b1, i8 %b2) in test_wc_i8()
/external/llvm-project/libcxx/include/support/ibm/
Dxlocale.h1 // -*- C++ -*-
2 //===--------------------- support/ibm/xlocale.h -------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
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()
[all …]
/external/lzma/CPP/Windows/Control/
DWindow2.cpp33 tempWindow.SetUserDataLongPtr((LONG_PTR)(((LPCREATESTRUCT)lParam)->lpCreateParams)); in WindowProcedure()
36 window->Attach(aHWND); in WindowProcedure()
46 return window->OnMessage(message, wParam, lParam); in WindowProcedure()
53 WNDCLASS wc; in CreateEx() local
54 if (!::GetClassInfo(instance, className, &wc)) in CreateEx()
56 // wc.style = CS_HREDRAW | CS_VREDRAW; 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()
[all …]
/external/toybox/tests/
Dwc.test3 [ -f testing.sh ] && . testing.sh
14 testing "wc" "wc >/dev/null && echo yes" "yes\n" "" ""
15 testing "empty file" "wc" " 0 0 0\n" "" ""
16 testing "standard input" "wc" " 1 3 5\n" "" "a b\nc"
17 testing "standard input -c" "wc -c" "5\n" "" "a b\nc"
18 testing "standard input -cl" "wc -cl" " 1 5\n" "" "a b\nc"
19 testing "-c" "wc -c file1" "26 file1\n" "" ""
20 testing "-l" "wc -l file1" "4 file1\n" "" ""
21 testing "-w" "wc -w file1" "5 file1\n" "" ""
22 testing "one file" "wc file1" "4 5 26 file1\n" "" ""
[all …]
Difconfig.test6 # Commands used: grep, grep -i, ip link, ip tuntap, wc -l
15 # hw ether|infiniband ADDRESS - set LAN hardware address (AA:BB:CC...)
16 # txqueuelen LEN - number of buffered packets before output blocks
18 # irq|io_addr|mem_start ADDR - micromanage obsolete hardware
19 # outfill|keepalive INTEGER - SLIP analog dialup line quality monitoring
20 # metric INTEGER - added to Linux 0.9.10 with comment "never used", still true
22 [ -f testing.sh ] && . testing.sh
24 if [ "$(id -u)" -ne 0 ]
44 testing "dummy0 down and if config /-only" \
45 "ifconfig dummy0 down && ifconfig | grep dummy | wc -l" \
[all …]
/external/curl/lib/
Dwildcard.c8 * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
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()
[all …]
/external/libcxx/include/
Dwctype.h1 // -*- C++ -*-
2 //===--------------------------- wctype.h ---------------------------------===//
9 //===----------------------------------------------------------------------===//
27 int iswalnum(wint_t wc);
28 int iswalpha(wint_t wc);
29 int iswblank(wint_t wc); // C99
30 int iswcntrl(wint_t wc);
31 int iswdigit(wint_t wc);
32 int iswgraph(wint_t wc);
33 int iswlower(wint_t wc);
[all …]
Dcwctype1 // -*- C++ -*-
2 //===--------------------------- cwctype ----------------------------------===//
9 //===----------------------------------------------------------------------===//
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);
[all …]
/external/llvm-project/libcxx/include/
Dwctype.h1 // -*- C++ -*-
2 //===--------------------------- wctype.h ---------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
26 int iswalnum(wint_t wc);
27 int iswalpha(wint_t wc);
28 int iswblank(wint_t wc); // C99
29 int iswcntrl(wint_t wc);
30 int iswdigit(wint_t wc);
31 int iswgraph(wint_t wc);
[all …]
Dcwctype1 // -*- C++ -*-
2 //===--------------------------- cwctype ----------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
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);
[all …]
/external/llvm-project/clang/test/CodeGen/
Dppc64-inline-asm.c1 // RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -O2 -emit-llvm -o - %s | FileCheck %s
5 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i1()
7 // CHECK-LABEL: define zeroext i1 @test_wc_i1(i1 zeroext %b1, i1 zeroext %b2) in test_wc_i1()
8 // CHECK: call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i1 %b1, i1 %b2) in test_wc_i1()
13 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i32()
15 // CHECK-LABEL: signext i32 @test_wc_i32(i32 signext %b1, i32 signext %b2) in test_wc_i32()
16 // CHECK: call i32 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i32 %b1, i32 %b2) in test_wc_i32()
21 asm("crand %0, %1, %2" : "=wc"(o) : "wc"(b1), "wc"(b2) : ); in test_wc_i8()
23 // CHECK-LABEL: zeroext i8 @test_wc_i8(i8 zeroext %b1, i8 zeroext %b2) in test_wc_i8()
24 // CHECK: call i8 asm "crand $0, $1, $2", "=^wc,^wc,^wc"(i8 %b1, i8 %b2) in test_wc_i8()
[all …]
/external/mesa3d/src/gallium/targets/graw-gdi/
Dgraw_gdi.c16 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
32 #include "target-helpers/inline_debug_helper.h"
33 #include "target-helpers/inline_sw_helper.h"
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()
[all …]
/external/compiler-rt/lib/tsan/
Danalyze_libtsan.sh5 set -e
6 set -u
14 grep __tsan_$1.: -A 10000 ${OBJDUMP_CONTENTS} | \
30 OUTPUT_DIR=$(mktemp -t -d analyze_libtsan_out.XXXXXXXX)
34 objdump -d $BIN > ${OBJDUMP_CONTENTS}
35 nm -S $BIN | grep "__tsan_" > ${NM_CONTENTS}
40 tot=$(wc -l < $file)
41 size=$(grep __tsan_$f$ ${NM_CONTENTS} | awk --non-decimal-data '{print ("0x"$2)+0}')
42 rsp=$(grep '(%rsp)' $file | wc -l)
43 push=$(grep 'push' $file | wc -l)
[all …]
/external/llvm-project/compiler-rt/lib/tsan/
Danalyze_libtsan.sh5 set -e
6 set -u
14 grep __tsan_$1.: -A 10000 ${OBJDUMP_CONTENTS} | \
30 OUTPUT_DIR=$(mktemp -t -d analyze_libtsan_out.XXXXXXXX)
34 objdump -d $BIN > ${OBJDUMP_CONTENTS}
35 nm -S $BIN | grep "__tsan_" > ${NM_CONTENTS}
40 tot=$(wc -l < $file)
41 size=$(grep __tsan_$f$ ${NM_CONTENTS} | awk --non-decimal-data '{print ("0x"$2)+0}')
42 rsp=$(grep '(%rsp)' $file | wc -l)
43 push=$(grep 'push' $file | wc -l)
[all …]
/external/toybox/lib/
Dlinestack.c18 if (pos > catch->len) error_exit("linestack_addstack past end."); in linestack_addstack()
21 if (catch->len+throw->len >= catch->max) { in linestack_addstack()
23 catch->max = ((catch->len+throw->len)|63)+1; in linestack_addstack()
24 *lls = xmalloc(sizeof(struct linestack)+catch->max*sizeof(struct ptr_len)); in linestack_addstack()
29 if (pos != catch->len) in linestack_addstack()
30 memmove((*lls)->idx+pos+throw->len, catch->idx+pos, in linestack_addstack()
31 (catch->len-pos)*sizeof(struct ptr_len)); in linestack_addstack()
40 memcpy(catch->idx+pos, throw->idx, throw->len*sizeof(struct ptr_len)); in linestack_addstack()
41 catch->len += throw->len; in linestack_addstack()
63 linestack_insert(lls, (*lls)->len, line, strlen(line)); in linestack_append()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_predict.c2 * Copyright (c) 1988-1997 Sam Leffler
3 * Copyright (c) 1991-1997 Silicon Graphics, Inc.
13 * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
33 #define PredictorState(tif) ((TIFFPredictorState*) (tif)->tif_data)
58 TIFFDirectory* td = &tif->tif_dir; in PredictorSetup()
60 switch (sp->predictor) /* no differencing */ in PredictorSetup()
65 if (td->td_bitspersample != 8 in PredictorSetup()
66 && td->td_bitspersample != 16 in PredictorSetup()
67 && td->td_bitspersample != 32) { in PredictorSetup()
68 TIFFErrorExt(tif->tif_clientdata, module, in PredictorSetup()
[all …]
/external/toybox/toys/pending/
Dunicode.c1 /* unicode.c - convert between Unicode and UTF-8
13 usage: unicode [[min]-max]
15 Convert between Unicode code points and UTF-8, in both directions.
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()
43 // unicode 660-666 => table of `U+0600 : ٠ : 0xd9 0xa0` etc. in unicode_main()
44 if (sscanf(*args, "%x-%x%c", &from, &to, &next) == 2) { in unicode_main()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_exec_reloc.c27 IGT_TEST_DESCRIPTION("Basic sanity check of execbuf-ioctl relocations.");
72 buf[i-1]--; in write_dword()
100 enum mode { MEM, CPU, WC, GTT }; enumerator
127 -1, 0); in from_mmap()
128 igt_assert(relocs != (void *)-1); in from_mmap()
144 case WC: in from_mmap()
170 while (relocs[0].presumed_offset == ~0ull && retry--) in from_mmap()
175 igt_assert_eq_u64(value, obj.offset + max - 1); in from_mmap()
232 igt_assert_eq_u64(relocs->presumed_offset, obj.offset); in from_gpu()
303 batch[i]--; in active()
[all …]
/external/f2fs-tools/lib/
Dlibf2fs.c52 #ifndef ANDROID_WINDOWS_HOST /* O_BINARY is windows-specific flag */
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()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DGuardUtils.cpp1 //===-- GuardUtils.cpp - Utils for work with guards -------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
26 "guards-predicate-pass-branch-weight", cl::Hidden, cl::init(1 << 20),
32 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt)); in makeGuardControlFlowExplicit()
33 SmallVector<Value *, 4> Args(std::next(Guard->arg_begin()), Guard->arg_end()); in makeGuardControlFlowExplicit()
35 auto *CheckBB = Guard->getParent(); in makeGuardControlFlowExplicit()
37 SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true); in makeGuardControlFlowExplicit()
39 auto *CheckBI = cast<BranchInst>(CheckBB->getTerminator()); in makeGuardControlFlowExplicit()
[all …]

12345678910>>...40