Home
last modified time | relevance | path

Searched refs:ch (Results 26 – 50 of 631) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/
H A Dpostprint.c247 if ( ch == 'L' ) in header()
318 switch ( ch ) { in options()
631 switch ( ch ) { in text()
640 spaces(ch); in text()
649 spaces(ch); in text()
667 if ( isascii(ch) && isprint(ch) ) in text()
668 oput(ch); in text()
670 #define isintlprint(ch) ((ch)&0x80) in text() argument
672 if (isintlprint(ch) || isss(ch)) { in text()
764 spaces(int ch) in spaces() argument
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_selfcred.c154 child_t *ch; in init_slot() local
161 ch = child[s]; in init_slot()
165 free(ch); in init_slot()
173 free(ch); in init_slot()
181 ch = child[s]; in init_slot()
231 ch = child[i]; in get_cslot()
234 ret = ch; in get_cslot()
287 ret = ch; in get_cslot()
509 child_t *ch; in _nscd_proc_iamhere() local
633 ch = NULL; in _nscd_proc_iamhere()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dsubr.c183 int ch, pos; in smb_simplecrypt() local
190 ch = *src++; in smb_simplecrypt()
191 if (isascii(ch)) in smb_simplecrypt()
192 ch = (isupper(ch) ? ('A' + (ch - 'A' + 13) % 26) : in smb_simplecrypt()
193 islower(ch) ? ('a' + (ch - 'a' + 13) % 26) : ch); in smb_simplecrypt()
194 ch ^= pos; in smb_simplecrypt()
206 int len, ch, pos; in smb_simpledecrypt() local
223 ch ^= pos; in smb_simpledecrypt()
226 ch = (isupper(ch) ? ('A' + (ch - 'A' + 13) % 26) : in smb_simpledecrypt()
227 islower(ch) ? ('a' + (ch - 'a' + 13) % 26) : ch); in smb_simpledecrypt()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dinsch.c47 insch(ch) in insch() argument
48 chtype ch; in insch()
53 __m_trace("insch(%p)", ch);
56 code = winsch(stdscr, ch);
64 mvinsch(y, x, ch) in mvinsch() argument
66 chtype ch;
71 __m_trace("mvinsch(%d, %d, %p)", y, x, ch);
75 code = winsch(stdscr, ch);
83 mvwinsch(w, y, x, ch) in mvwinsch() argument
86 chtype ch;
[all …]
H A Dinch.c47 chtype ch; in chtype() local
53 ch = winch(stdscr); in chtype()
55 return __m_return_chtype("inch", ch); in chtype()
62 chtype ch; variable
68 if ((ch = (chtype) wmove(stdscr, y, x)) != (chtype) ERR)
69 ch = winch(stdscr);
71 return __m_return_chtype("mvinch", ch);
79 chtype ch; variable
85 if ((ch = (chtype) wmove(w, y, x)) != (chtype) ERR)
86 ch = winch(w);
[all …]
H A Daddch.c45 (addch)(chtype ch)
50 __m_trace("addch(%lx)", ch);
53 code = waddch(stdscr, ch);
59 (mvaddch)(int y, int x, chtype ch)
64 __m_trace("mvaddch(%d, %d, %lx)", y, x, ch);
68 code = waddch(stdscr, ch);
74 (mvwaddch)(WINDOW *w, int y, int x, chtype ch)
79 __m_trace("mvwaddch(%p, %d, %d, %lx)", w, y, x, ch);
83 code = waddch(w, ch);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dinch.c52 chtype ch; in inch() local
54 ch = winch(stdscr); in inch()
56 return (ch); in inch()
64 chtype ch; in mvinch() local
66 if ((ch = (chtype) wmove(stdscr, y, x)) != (chtype) ERR) in mvinch()
67 ch = winch(stdscr); in mvinch()
69 return (ch); in mvinch()
77 chtype ch; in mvwinch() local
79 if ((ch = (chtype) wmove(w, y, x)) != (chtype) ERR) in mvwinch()
80 ch = winch(w); in mvwinch()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_comp.c176 while (ch != '\0') { in res_hnok()
179 if (periodchar(ch)) { in res_hnok()
182 if (!borderchar(ch)) in res_hnok()
185 if (!borderchar(ch)) in res_hnok()
188 if (!middlechar(ch)) in res_hnok()
191 pch = ch, ch = nch; in res_hnok()
217 int ch, escaped = 0; in res_mailok() local
225 if (!domainchar(ch)) in res_mailok()
234 if (periodchar(ch)) in res_mailok()
245 int ch; in res_dnok() local
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c80 int ch; in ns_format_ttl() local
83 if (isascii(ch) && isupper(ch)) in ns_format_ttl()
84 *p = tolower(ch); in ns_format_ttl()
93 int ch, digits, dirty; in ns_parse_ttl() local
99 while ((ch = *src++) != '\0') { in ns_parse_ttl()
100 if (!isascii(ch) || !isprint(ch)) in ns_parse_ttl()
102 if (isdigit(ch)) { in ns_parse_ttl()
104 tmp += (ch - '0'); in ns_parse_ttl()
110 if (islower(ch)) in ns_parse_ttl()
111 ch = toupper(ch); in ns_parse_ttl()
[all …]
/illumos-gate/usr/src/cmd/tr/
H A Dcset.c66 cset_add(struct cset *cs, wchar_t ch) in cset_add() argument
81 csn->csn_min = csn->csn_max = ch; in cset_add()
95 if (cset_rangecmp(csn, ch) == 0) in cset_add()
104 ncsn->csn_min = ncsn->csn_max = ch; in cset_add()
105 if (cset_rangecmp(csn, ch) < 0) { in cset_add()
214 if (ch < t->csn_min) in cset_rangecmp()
216 if (ch > t->csn_max) in cset_rangecmp()
235 if (cset_rangecmp(t, ch) < 0) { in cset_splay()
277 t = cset_splay(t, ch); in cset_delete()
278 assert(cset_rangecmp(t, ch) == 0); in cset_delete()
[all …]
H A Dcmap.c118 cmap_lookup_hard(struct cmap *cm, wint_t ch) in cmap_lookup_hard() argument
122 cm->cm_root = cmap_splay(cm->cm_root, ch); in cmap_lookup_hard()
123 if (cm->cm_root->cmn_from == ch) in cmap_lookup_hard()
136 wint_t ch; in cmap_cache() local
138 for (ch = 0; ch < CM_CACHE_SIZE; ch++) in cmap_cache()
139 cm->cm_cache[ch] = cmap_lookup_hard(cm, ch); in cmap_cache()
162 cmap_splay(struct cmapnode *t, wint_t ch) in cmap_splay() argument
175 if (ch < t->cmn_from) { in cmap_splay()
177 ch < t->cmn_left->cmn_from) { in cmap_splay()
188 } else if (ch > t->cmn_from) { in cmap_splay()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c150 while ((ch = GETC(file_buf, ibcfg_cntr)) == ' ' || ch == '\t') in ib_lex()
157 switch (ch) { in ib_lex()
189 ch == '\t' || ch == '\f') in ib_lex()
202 switch (ch) { in ib_lex()
222 while (ch >= '0' && ch <= '7') { in ib_lex()
223 ch -= '0'; in ib_lex()
243 if (ch == -1) { in ib_lex()
253 if (iswhite(ch) || (ch == '\n')) { in ib_lex()
287 } else if (isalpha(ch) || ch == '\\') { in ib_lex()
299 while (isnamechar(ch) || ch == '\\') { in ib_lex()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dbase64.c213 int tarindex, state, ch; local
219 while ((ch = *src++) != '\0') {
223 if (ch == Pad64)
226 pos = strchr(Base64, ch);
281 ch = *src++; /*%< Skip it, get next. */
289 for ((void)NULL; ch != '\0'; ch = *src++)
290 if (!isspace(ch))
293 if (ch != Pad64)
295 ch = *src++; /*%< Skip the = */
304 for ((void)NULL; ch != '\0'; ch = *src++)
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dgetprm.c54 wchar_t ch; local
60 iswspace(ch) || (ch == '\n')) {
71 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) && ch) {
72 if (iswspace(ch) || ch == '\n' || ch == '\0') {
76 switch (ch) {
83 width = mbtowc(&ch, s+1, MB_CUR_MAX);
84 if ((ch == '>') || (ch == '&'))
96 width = mbtowc(&ch, s+1, MB_CUR_MAX);
97 if (ch == '<') {
162 wchar_t ch; local
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.h162 #define SA_MIX_OUT_EN(ch) (1 << ((ch) + 28)) argument
163 #define SA_MIX_IN_EN(ch) (1 << ((ch) + 24)) argument
164 #define SA_PLAY_RATE(ch, rate) ((rate) << (((ch) * 2) + 16)) argument
165 #define SA_PLAY_START(ch) (1 << (ch)) argument
166 #define SA_RECORD_START(ch) (1 << ((ch) + 8)) argument
168 #define SA_SPA(ch) (1U << (ch)) argument
169 #define SA_SRA(ch) (1U << ((ch) + 8)) argument
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dputc.c46 putc(int ch, FILE *iop) in putc() argument
52 ret = putc_unlocked(ch, iop); in putc()
58 putc_unlocked(int ch, FILE *iop) in putc_unlocked() argument
63 return (__flsbuf((unsigned char) ch, iop)); in putc_unlocked()
65 return (*iop->_ptr++ = (unsigned char)ch); in putc_unlocked()
69 _putc_internal(int ch, FILE *iop) in _putc_internal() argument
72 return (__flsbuf((unsigned char) ch, iop)); in _putc_internal()
74 return (*iop->_ptr++ = (unsigned char)ch); in _putc_internal()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c52 #define isnewline(ch) ((ch) == '\n' || (ch) == '\r' || (ch) == '\f') argument
53 #define isnamechar(ch) (isalpha(ch) || isdigit(ch) || (ch) == '_' ||\ argument
54 (ch) == '-')
162 int ch; in find_eol() local
202 while ((ch = getc(fp)) == ' ' || ch == '\t') in lex()
239 ch == '\t' || ch == '\f') { in lex()
282 while (ch >= '0' && ch <= '7') { in lex()
323 if (ch == ' ' || ch == '\t' || ch == '\n') { in lex()
330 } else if (ch == '~' || ch == '-') { in lex()
375 } else if (isalpha(ch) || ch == '\\') { in lex()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Duuid_from_string.c40 hex2int(int ch) in hex2int() argument
42 if (ch >= '0' && ch <= '9') in hex2int()
43 return ch - '0'; in hex2int()
44 if (ch >= 'a' && ch <= 'f') in hex2int()
45 return 10 + ch - 'a'; in hex2int()
46 if (ch >= 'A' && ch <= 'F') in hex2int()
47 return 10 + ch - 'A'; in hex2int()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_q.c167 eibnx_child_t *ch; in eibnx_enqueue_child() local
181 for (ch = info->ti_child; ch; ch = ch->ch_next) { in eibnx_enqueue_child()
183 ch->ch_dip = dip; in eibnx_enqueue_child()
206 eibnx_child_t *ch; in eibnx_update_child() local
209 for (ch = info->ti_child; ch; ch = ch->ch_next) { in eibnx_update_child()
230 eibnx_child_t *ch; in eibnx_find_child_dip_by_inst() local
234 for (ch = info->ti_child; ch != NULL; ch = ch->ch_next) { in eibnx_find_child_dip_by_inst()
235 dip = ch->ch_dip; in eibnx_find_child_dip_by_inst()
247 eibnx_child_t *ch; in eibnx_find_child_dip_by_gw() local
251 for (ch = info->ti_child; ch != NULL; ch = ch->ch_next) { in eibnx_find_child_dip_by_gw()
[all …]
/illumos-gate/usr/src/cmd/more/
H A Dmore.c186 char ch; variable
1197 char ch; variable
1270 if (ch >= '0' && ch <= '9') { in number()
1586 char ch; in readch() local
1662 if ((ch < ' ' && ch != '\n' && ch != ESC) || ch == RUBOUT) { in ttyin()
1663 ch += ch == RUBOUT ? -0100 : 0100; in ttyin()
1668 if (ch != '\n' && ch != ESC) { in ttyin()
1698 char ch; in expand() local
1745 if ((ch < ' ' && ch != '\n' && ch != ESC) || ch == RUBOUT) { in show()
1746 ch += ch == RUBOUT ? -0100 : 0100; in show()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/wide/
H A Dwio_get.c60 int ch, prev; local
63 for (prev = EOF; (ch = (*wio->get)(wio->object)) != EOF; prev = ch) {
65 if (ch != prev) {
71 mb = (char) ch;
79 (void) (*wio->unget)(ch, wio->object);
108 int ch; local
126 if ((ch = (*wio->get)(wio->object)) == EOF)
129 wio->_mb[wio->_next] = ch;
144 if (ch != '\n') {
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A Dtcvn%viscii.c106 unsigned char ch = 0; in _icv_iconv() local
115 ch = tcvn_comb_data[idx].composed[(unsigned char)**inbuf - 0xb0]; in _icv_iconv()
130 ch = (unsigned char)**inbuf; in _icv_iconv()
134 ch = (unsigned char)**inbuf; in _icv_iconv()
135 if (ch >= 0x41 && ch <= 0xad in _icv_iconv()
136 && ((tcvn_comp_bases_mask0[(ch-0x40) >> 5] >> (ch & 0x1f)) & 1)) { in _icv_iconv()
141 st->last = ch; in _icv_iconv()
149 tcvn_2_viscii(ch, &chout); in _icv_iconv()
150 if (ch != 0x0 && chout == 0x0) { in _icv_iconv()
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c65 int ch; in main() local
68 switch (ch) { in main()
119 char ch; in extract() local
121 ch = getachar(); in extract()
123 switch (ch) { in extract()
128 ch = getachar(); in extract()
130 if (ch == 'd') in extract()
140 if (ch == '\\') in extract()
141 ch = getachar(); in extract()
145 ch = getachar(); in extract()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwaddnstr.c50 chtype ch; in waddnstr() local
80 while (((ch = *str) != 0) && (i-- > 0)) { in waddnstr()
87 if (_mbtrue && ISMBIT(ch)) { in waddnstr()
91 c = RBYTE(ch); in waddnstr()
115 if ((ch >= ' ') && (ch != _CTRL('?')) && (curx < maxx_1)) { in waddnstr()
123 ch = _WCHAR(win, ch); in waddnstr()
124 _y[cury][curx] = ch; in waddnstr()
128 win->_y16[cury][curx] = _TO_OCHTYPE(ch); in waddnstr()
135 if (waddch(win, ch) == ERR) { in waddnstr()
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.h43 void srpt_ch_add_ref(srpt_channel_t *ch);
44 void srpt_ch_release_ref(srpt_channel_t *ch, uint_t wait);
45 void srpt_ch_disconnect(srpt_channel_t *ch);
46 void srpt_ch_cleanup(srpt_channel_t *ch);
48 ibt_wrid_t srpt_ch_alloc_swqe_wrid(srpt_channel_t *ch,
50 void srpt_ch_free_swqe_wrid(srpt_channel_t *ch, ibt_wrid_t id);
52 ibt_status_t srpt_ch_post_send(srpt_channel_t *ch, srpt_iu_t *iu,

12345678910>>...26