HomeSort by: relevance | last modified time | path
    Searched defs:wc (Results 1 - 25 of 146) sorted by relevancy

1 2 3 4 5 6

  /src/external/bsd/nvi/dist/perl_scripts/
wc.pl 1 sub wc { subroutine
  /src/external/bsd/nvi/dist/tcl_scripts/
wc.tcl 1 # Id: wc.tcl,v 8.2 1995/11/18 12:59:12 bostic Exp (Berkeley) Date: 1995/11/18 12:59:12
3 proc wc {} { procedure
  /src/lib/libc/stdio/
fgetws.c 49 wint_t wc; local
64 wc = __fgetwc_unlock(fp);
74 *wsp++ = (wchar_t)wc;
75 if (wc == L'\n') {
fgetwc.c 47 wchar_t wc; local
65 nr = mbrtowc(&wc, (const char *)fp->_p,
75 if (wc == L'\0') {
86 return wc;
fgetwln.c 81 wint_t wc; local
88 while ((wc = __fgetwc_unlock(fp)) != WEOF) {
95 *((wchar_t *)(void *)_EXT(fp)->_fgetstr_buf + len++) = wc;
96 if (wc == L'\n')
109 if (len == 0 || (wc == WEOF && !__sfeof(fp)))
  /src/external/bsd/mdocml/dist/
test-wchar.c 26 wchar_t wc; local
52 wc = L'*';
53 if (putwchar(wc) != (wint_t)wc) {
  /src/external/gpl3/gdb/dist/gnulib/import/
btowc.c 32 wchar_t wc; local
35 if (mbtowc (&wc, buf, 1) >= 0)
36 return wc;
mbtowc-impl.h 30 wchar_t wc; local
34 result = mbrtowc (&wc, s, n, &state);
41 *pwc = wc;
42 return (wc == 0 ? 0 : result);
mbrtowc-impl-utf8.h 72 unsigned int wc = variable
77 if (FITS_IN_CHAR_TYPE (wc))
80 *pwc = wc;
117 unsigned int wc = variable
123 if (FITS_IN_CHAR_TYPE (wc))
126 *pwc = wc;
  /src/external/gpl3/gdb.old/dist/gnulib/import/
btowc.c 32 wchar_t wc; local
35 if (mbtowc (&wc, buf, 1) >= 0)
36 return wc;
mbtowc-impl.h 30 wchar_t wc; local
34 result = mbrtowc (&wc, s, n, &state);
41 *pwc = wc;
42 return (wc == 0 ? 0 : result);
mbrtowc-impl-utf8.h 72 unsigned int wc = variable
77 if (FITS_IN_CHAR_TYPE (wc))
80 *pwc = wc;
117 unsigned int wc = variable
123 if (FITS_IN_CHAR_TYPE (wc))
126 *pwc = wc;
  /src/external/bsd/flex/dist/examples/fastwc/
mywc.c 1 /* A simple but fairly efficient C version of the Unix "wc" tool */
8 int c, cc = 0, wc = 0, lc = 0; local
14 ++wc;
25 done: printf( "%8d%8d%8d\n", lc, wc, cc );
  /src/external/bsd/openldap/dist/servers/slapd/back-wt/
bind.c 37 wt_ctx *wc; local
62 wc = wt_ctx_get(op, wi);
63 if( !wc ){
73 rc = wt_dn2entry(op->o_bd, wc, &op->o_req_ndn, &e);
compare.c 42 wt_ctx *wc = NULL; local
47 wc = wt_ctx_get(op, wi);
48 if( !wc ){
56 rc = wt_dn2entry(op->o_bd, wc, &op->o_req_ndn, &e);
71 rc = wt_dn2aentry(op->o_bd, wc, &op->o_req_ndn, &e);
ctx.c 31 wt_ctx *wc; local
33 wc = ch_malloc( sizeof( wt_ctx ) );
34 if( !wc ) {
39 memset(wc, 0, sizeof(wt_ctx));
41 rc = wi->wi_conn->open_session(wi->wi_conn, NULL, NULL, &wc->session);
50 return wc;
53 rc = wi->wi_cache->open_session(wi->wi_cache, NULL, NULL, &wc->idlcache_session);
61 return wc;
67 wt_ctx *wc = data; local
69 if(wc->session)
90 wt_ctx *wc = NULL; local
    [all...]
operational.c 42 wt_ctx *wc = NULL; local
47 wc = wt_ctx_get(op, wi);
48 if( !wc ){
54 rc = wt_dn2id_has_children(op, wc, e->e_id);
  /src/external/mit/libuv/dist/test/
test-semaphore.c 52 worker_config wc; local
54 memset(&wc, 0, sizeof(wc));
56 ASSERT_OK(uv_sem_init(&wc.sem, 0));
57 ASSERT_OK(uv_mutex_init(&wc.mutex));
58 ASSERT_OK(uv_thread_create(&thread, worker, &wc));
61 uv_mutex_lock(&wc.mutex);
62 ASSERT_EQ(1, wc.posted);
63 uv_sem_wait(&wc.sem); /* should not block */
64 uv_mutex_unlock(&wc.mutex); /* ergo, it should be ok to unlock after wait *
76 worker_config wc; local
    [all...]
  /src/bin/ls/
util.c 89 * The reasons why we don't use putwchar(wc) here are:
90 * - If wc == L'\0', we need to restore the initial shift state, but
96 printwc(wchar_t wc, mbstate_t *pst)
101 size = wcrtomb(buf, wc, pst);
104 if (wc == L'\0') {
111 return wc == L'\0' ? 0 : wcwidth(wc);
131 wchar_t wc; local
145 rv = mbrtowc(&wc, src, span, &src_state);
146 if (rv == 0) { /* assert(wc == L'\0'); *
    [all...]
  /src/lib/libc/citrus/
citrus_stdenc_template.h 118 wchar_t wc; local
122 ret = _FUNCNAME(mbrtowc_priv)(_CE_TO_EI(ce), &wc, s, n,
126 _FUNCNAME(stdenc_wctocs)(_CE_TO_EI(ce), csid, idx, wc);
138 wchar_t wc; local
142 wc = 0;
145 ret = _FUNCNAME(stdenc_cstowc)(_CE_TO_EI(ce), &wc, csid, idx);
150 return _FUNCNAME(wcrtomb_priv)(_CE_TO_EI(ce), s, n, wc, _TO_STATE(ps),
156 _citrus_wc_t * __restrict wc,
160 return _FUNCNAME(mbrtowc_priv)(_CE_TO_EI(ce), wc, s, n,
166 char * __restrict s, size_t n, _citrus_wc_t wc,
    [all...]
  /src/lib/libc/locale/
_wcstol.h 58 wint_t wc; local
82 wc = (wchar_t) *s++;
83 } while (iswspace_l(wc, loc));
84 if (wc == L'-') {
86 wc = *s++;
89 if (wc == L'+')
90 wc = *s++;
93 wc == L'0' && (*s == L'x' || *s == L'X')) {
94 wc = s[1];
99 base = wc == L'0' ? 8 : 10
    [all...]
_wcstoul.h 57 wint_t wc; local
76 wc = (wchar_t) *s++;
77 } while (iswspace_l(wc, loc));
78 if (wc == L'-') {
80 wc = *s++;
83 if (wc == L'+')
84 wc = *s++;
87 wc == L'0' && (*s == L'x' || *s == L'X')) {
88 wc = s[1];
93 base = wc == L'0' ? 8 : 10
    [all...]
  /src/lib/libcurses/
addwstr.c 135 wchar_t wc[2]; local
156 wc[0] = *p;
157 wc[1] = L'\0';
158 if (setcchar( &cc, wc, win->wattr, 0, NULL ) == ERR)
  /src/tests/lib/libc/locale/
t_mbtowc.c 179 wchar_t wc; local
185 ret = mbtowc(&wc, "\xe4", 1);
189 (void)printf("Result: 0x%08lX\n",(unsigned long)wc);
190 ret = wctomb(back, wc);
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
mbswidth.c 52 # define iswcntrl(wc) (((wc) & ~0x1f) == 0 || (wc) == 0x7f)
123 wchar_t wc; local
127 bytes = mbrtowc (&wc, p, plimit - p, &mbstate);
159 w = wcwidth (wc);
166 width += (iswcntrl (wc) ? 0 : 1);

Completed in 36 milliseconds

1 2 3 4 5 6