Home
last modified time | relevance | path

Searched refs:ch (Results 76 – 100 of 631) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/cmd/sendmail/src/
H A Dratectrl.c306 CHash_T *ch = &CHashAry[(hv + i) & CPMHMASK]; local
310 ch->ch_Family == AF_INET &&
312 ch->ch_Addr4.s_addr == 0))
314 chBest = ch;
321 ch->ch_Family == AF_INET6 &&
323 &ch->ch_Addr6) != 0 ||
324 IN6_IS_ADDR_UNSPECIFIED(&ch->ch_Addr6)))
326 chBest = ch;
331 if (chBest == NULL || ch->ch_LTime == 0 ||
332 ch->ch_LTime < chBest->ch_LTime)
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dutf8.c75 int ch, i, mask, want; in _UTF8_mbrtowc() local
108 ch = (unsigned char)*s; in _UTF8_mbrtowc()
109 if ((ch & 0x80) == 0) { in _UTF8_mbrtowc()
112 *pwc = ch; in _UTF8_mbrtowc()
113 if (zero || ch != '\0') { in _UTF8_mbrtowc()
119 if ((ch & 0xe0) == 0xc0) { in _UTF8_mbrtowc()
123 } else if ((ch & 0xf0) == 0xe0) { in _UTF8_mbrtowc()
127 } else if ((ch & 0xf8) == 0xf0) { in _UTF8_mbrtowc()
134 } else if ((ch & 0xfc) == 0xf8) { in _UTF8_mbrtowc()
162 wch = us->ch; in _UTF8_mbrtowc()
[all …]
H A Dmskanji.c77 return (ps == NULL || ((const _MSKanjiState *)ps)->ch == 0); in _MSKanji_mbsinit()
89 if ((ms->ch & ~0xFF) != 0) { in _MSKanji_mbrtowc()
105 if (ms->ch != 0) { in _MSKanji_mbrtowc()
110 wc = (ms->ch << 8) | (*s & 0xFF); in _MSKanji_mbrtowc()
113 ms->ch = 0; in _MSKanji_mbrtowc()
120 ms->ch = wc; in _MSKanji_mbrtowc()
151 if (ms->ch != 0) { in _MSKanji_wcrtomb()
H A Dbig5.c74 return (ps == NULL || ((const _BIG5State *)ps)->ch == 0); in _BIG5_mbsinit()
95 if ((bs->ch & ~0xFF) != 0) { in _BIG5_mbrtowc()
111 if (bs->ch != 0) { in _BIG5_mbrtowc()
116 wc = (bs->ch << 8) | (*s & 0xFF); in _BIG5_mbrtowc()
119 bs->ch = 0; in _BIG5_mbrtowc()
128 bs->ch = wc; in _BIG5_mbrtowc()
157 if (bs->ch != 0) { in _BIG5_wcrtomb()
H A Dgbk.c74 return (ps == NULL || ((const _GBKState *)ps)->ch == 0); in _GBK_mbsinit()
95 if ((gs->ch & ~0xFF) != 0) { in _GBK_mbrtowc()
111 if (gs->ch != 0) { in _GBK_mbrtowc()
116 wc = (gs->ch << 8) | (*s & 0xFF); in _GBK_mbrtowc()
119 gs->ch = 0; in _GBK_mbrtowc()
128 gs->ch = wc; in _GBK_mbrtowc()
157 if (gs->ch != 0) { in _GBK_wcrtomb()
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c225 while ((ch = kobj_getc(file)) == ' ' || ch == '\t') in kobj_lex()
262 ch == '\t' || ch == '\f') { in kobj_lex()
305 while (ch >= '0' && ch <= '7') { in kobj_lex()
346 if (iswhite(ch) || (ch == '\n')) { in kobj_lex()
398 } else if (isalpha(ch) || ch == '\\' || ch == '_') { in kobj_lex()
410 while (isnamechar(ch) || ch == '\\') { in kobj_lex()
449 int ch; in kobj_find_eol() local
516 int ch; in do_sysfile_cmd() local
702 !isnewline(ch) && ch != ':') { in do_sysfile_cmd()
729 while ((ch = kobj_getc(file)) == ' ' || ch == '\t') in do_sysfile_cmd()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dts.c37 letter(int ch) in letter() argument
39 if (ch >= 'a' && ch <= 'z') in letter()
41 if (ch >= 'A' && ch <= 'Z') in letter()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c185 char *rest, ch; in ffs_dir() local
228 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in ffs_dir()
247 *rest = ch; in ffs_dir()
261 *rest = ch; in ffs_dir()
270 if (dp->d_ino && print_possibilities && ch != '/' in ffs_dir()
281 || (print_possibilities && ch != '/'))); in ffs_dir()
286 *(dirname = rest) = ch; in ffs_dir()
H A Dgraphics.c201 void graphics_putchar(int ch) { in graphics_putchar() argument
202 ch &= 0xff; in graphics_putchar()
206 if (ch == '\n') { in graphics_putchar()
213 } else if (ch == '\r') { in graphics_putchar()
221 text[fonty * ROWBYTES + fontx] = ch; in graphics_putchar()
617 int i, ch, invert, offset; in graphics_cursor() local
623 ch = text[fonty * ROWBYTES + fontx] & 0xff; in graphics_cursor()
625 pat = font8x16 + (ch << 4); in graphics_cursor()
641 if (ch == DISP_VERT || ch == DISP_LL || in graphics_cursor()
642 ch == DISP_UR || ch == DISP_LR) { in graphics_cursor()
[all …]
H A Dfsys_ufs2.c209 char *rest, ch; in ufs2_dir() local
253 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); in ufs2_dir()
268 *rest = ch; in ufs2_dir()
282 *rest = ch; in ufs2_dir()
291 if (dp->d_ino && print_possibilities && ch != '/' in ufs2_dir()
302 || (print_possibilities && ch != '/'))); in ufs2_dir()
307 *(dirname = rest) = ch; in ufs2_dir()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/typedef/
H A Dtst.TypedefDataAssign.d60 char ch; member
66 char ch; member
103 ns.ch = 'c';
107 nu.ch = 'd';
113 printf("Struct: %c, %d, %d\n", ns.ch, ns.in, ns.lg);
114 printf("Union: %c, %d, %d\n", nu.ch, nu.in, nu.lg);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c129 int ch; local
145 for (p = t->bt_rdata.data;; *p++ = ch)
146 if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
147 if (ch != EOF)
148 *p = ch;
157 if (ch == EOF)
186 int bval, ch; local
192 sz = t->bt_rdata.size;; *p++ = ch, --sz) {
193 if ((ch = getc(t->bt_rfp)) == EOF || ch == bval) {
196 if (ch == EOF && data.size == 0)
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vops2.c199 if ((savecnt > 1) && (ch == 'o' || ch == 'O')) { in vappend()
203 if ((savecnt > 1) && (ch == 'a' || ch == 'A' || ch == 'i' || ch == 'I')) in vappend()
234 if (ch == 'r') in vappend()
254 if (ch == 'o') in vappend()
270 switch (ch) { in vappend()
554 if (ch == 'R') in vappend()
632 switch (ch) { in vappend()
949 int c, ch; local
1004 ch = c;
1008 c = ch;
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dsimba.c882 ddi_acc_handle_t ch; in simba_save_config_regs() local
954 pci_config_get8(ch, PCI_BCNF_PRIBUS); in simba_save_config_regs()
956 pci_config_get8(ch, PCI_BCNF_SECBUS); in simba_save_config_regs()
962 pci_config_teardown(&ch); in simba_save_config_regs()
983 ddi_acc_handle_t ch; in simba_restore_config_regs() local
1016 pci_config_put16(ch, PCI_BCNF_BCNTRL, in simba_restore_config_regs()
1023 pci_config_put8(ch, PCI_BCNF_PRIBUS, in simba_restore_config_regs()
1025 pci_config_put8(ch, PCI_BCNF_SECBUS, in simba_restore_config_regs()
1027 pci_config_put8(ch, PCI_BCNF_SUBBUS, in simba_restore_config_regs()
1029 pci_config_put16(ch, PCI_BCNF_BCNTRL, in simba_restore_config_regs()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8.c169 krb5_ucs4 ch; in krb5int_utf8_to_ucs4() local
180 ch = c[0] & mask[len]; in krb5int_utf8_to_ucs4()
186 ch <<= 6; in krb5int_utf8_to_ucs4()
187 ch |= c[i] & 0x3f; in krb5int_utf8_to_ucs4()
190 *out = ch; in krb5int_utf8_to_ucs4()
196 krb5_ucs4 ch; in krb5int_utf8_to_ucs2() local
199 if (krb5int_utf8_to_ucs4(p, &ch) == -1 || ch > 0xFFFF) in krb5int_utf8_to_ucs2()
201 *out = (krb5_ucs2) ch; in krb5int_utf8_to_ucs2()
455 krb5_ucs4 chs, ch; in krb5int_utf8_strchr() local
457 if (krb5int_utf8_to_ucs4(chr, &ch) == -1) in krb5int_utf8_strchr()
[all …]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_flsbuf.c47 _flsbuf(int ch, FILE *iop) in _flsbuf() argument
66 if ((*iop->_ptr++ = (unsigned char)ch) == '\n') in _flsbuf()
72 uch = (unsigned char)ch; in _flsbuf()
85 (void) PUTC(ch, iop); /* recursive call */ in _flsbuf()
88 return ((iop->_flag & _IOERR) ? EOF : (unsigned char)ch); in _flsbuf()
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_auto.c131 u_int ch; local
135 ch = 0;
157 if (isprint(ch) || ch == 0xa)
166 if (isprint(ch) || ch == 0xa)
325 ch = 0;
345 if (isprint(ch) || ch == 0xa)
520 ch = 0;
542 if (isprint(ch) || ch == 0xa)
1217 if (isprint(ch) || ch == 0xa)
1227 if (isprint(ch) || ch == 0xa)
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c274 sctp_chunk_hdr_t *ch; in sctp_first_chunk() local
288 return (ch); in sctp_first_chunk()
297 if (!ch) { in sctp_next_chunk()
308 ch = (sctp_chunk_hdr_t *)((char *)ch + ch_len + pad); in sctp_next_chunk()
1421 dmp->b_wptr = (uchar_t *)ch + ntohs(ch->sch_len); in sctp_data_chunk()
2300 remaining = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*ftsn); in sctp_process_forward_tsn()
3300 p = ch + 1; in sctp_check_input()
3602 ntohs(((sctp_parm_hdr_t *)(ch + 1))->sph_type), ch); in sctp_process_abort()
3705 if (ch == NULL) { in sctp_input_data()
4361 ch = sctp_next_chunk(ch, &mlen); in sctp_input_data()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A Dviscii%tcvn.c98 unsigned char ch = 0; in _icv_iconv() local
100 viscii_2_tcvn((unsigned char*)*inbuf, &ch); in _icv_iconv()
101 if (**inbuf != 0x0 && ch == 0) { in _icv_iconv()
103 ch = NON_ID_CHAR; in _icv_iconv()
106 **outbuf = ch; in _icv_iconv()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/
H A Din.chargend.c53 unsigned char ch; in initring() local
57 for (ch = 0; ch <= RINGSIZE; ++ch) { in initring()
58 if (isprint(ch)) in initring()
59 *endring++ = ch; in initring()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-qic.c130 char ch; local
132 ch = 0200 + i;
133 if ('\0' == ch)
134 ch = '0';
135 line_in[i] = ch;
146 char ch; local
148 ch = 0200 + i;
149 if ('\0' == ch)
150 ch = '0';
151 line_in[i] = ch;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/sysevent/
H A Dtst.post_chan.c32 evchan_t *ch; in main() local
34 if (sysevent_evc_bind("channel_dtest", &ch, in main()
41 if (sysevent_evc_publish(ch, "class_dtest", "subclass_dtest", in main()
43 (void) sysevent_evc_unbind(ch); in main()
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Di18n.cc50 get_char_semantics_value(wchar_t ch) in get_char_semantics_value() argument
58 return char_semantics[get_char_semantics_entry(ch)]; in get_char_semantics_value()
76 get_char_semantics_entry(wchar_t ch) in get_char_semantics_entry() argument
80 char_sem_char = (wchar_t *) wcschr(char_semantics_char, ch); in get_char_semantics_entry()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwinsch.c45 winsch(w, ch) in winsch() argument
47 chtype ch;
53 __m_trace("winsch(%p, %lx)", w, ch);
56 (void) __m_chtype_cc(ch, &cc);
H A Dwaddch.c45 waddch(w, ch) in waddch() argument
47 chtype ch;
53 __m_trace("waddch(%p, %lx)", w, ch);
56 (void) __m_chtype_cc(ch, &cc);

12345678910>>...26