/illumos-gate/usr/src/boot/include/ |
H A D | ctype.h | 89 #define isalpha(c) __sbistype((c), _CTYPE_A) argument 90 #define iscntrl(c) __sbistype((c), _CTYPE_C) argument 91 #define isdigit(c) __sbistype((c), _CTYPE_D) argument 92 #define isgraph(c) __sbistype((c), _CTYPE_G) argument 93 #define islower(c) __sbistype((c), _CTYPE_L) argument 99 #define tolower(c) __sbtolower(c) argument 100 #define toupper(c) __sbtoupper(c) argument 115 #define _tolower(c) __sbtolower(c) argument 116 #define _toupper(c) __sbtoupper(c) argument 117 #define isascii(c) (((c) & ~0x7F) == 0) argument [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regclass.c | 68 static int Isalnum(int c) { return iswalnum(c); } in Isalnum() 69 static int Isalpha(int c) { return iswalpha(c); } in Isalpha() 70 static int Isblank(int c) { return iswblank(c); } in Isblank() 71 static int Iscntrl(int c) { return iswcntrl(c); } in Iscntrl() 72 static int Isdigit(int c) { return iswdigit(c); } in Isdigit() 73 static int Notdigit(int c) { return !iswdigit(c); } in Notdigit() 74 static int Isgraph(int c) { return iswgraph(c); } in Isgraph() 75 static int Islower(int c) { return iswlower(c); } in Islower() 76 static int Isprint(int c) { return iswprint(c); } in Isprint() 77 static int Ispunct(int c) { return iswpunct(c); } in Ispunct() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lctype.h | 50 #define testprop(c,p) (luai_ctype_[(c)+1] & (p)) argument 55 #define lislalpha(c) testprop(c, MASK(ALPHABIT)) argument 57 #define lisdigit(c) testprop(c, MASK(DIGITBIT)) argument 58 #define lisspace(c) testprop(c, MASK(SPACEBIT)) argument 59 #define lisprint(c) testprop(c, MASK(PRINTBIT)) argument 65 #define ltolower(c) ((c) | ('A' ^ 'a')) argument 83 #define lisdigit(c) (isdigit(c)) argument 84 #define lisspace(c) (isspace(c)) argument 85 #define lisprint(c) (isprint(c)) argument 86 #define lisxdigit(c) (isxdigit(c)) argument [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/libstand/ |
H A D | ctype.c | 22 isdigit(int c) in isdigit() 28 isupper(int c) in isupper() 35 islower(int c) in islower() 41 isspace(int c) in isspace() 48 isxdigit(int c) in isxdigit() 55 isalpha(int c) in isalpha() 62 isalnum(int c) in isalnum() 68 ispunct(int c) in ispunct() 77 iscntrl(int c) in iscntrl() 83 isprint(int c) in isprint() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kiconv_ja.h | 59 #define KICONV_JA_NGET(c) \ argument 67 #define KICONV_JA_NGET_REP_FR_MB(c) \ argument 77 #define KICONV_JA_NGET_REP_TO_MB(c) \ argument 87 #define KICONV_JA_NPUT(c) \ argument 141 #define KICONV_JA_ISASC(c) ((c) <= 0x7f) argument 151 #define KICONV_JA_ISCS1(c) (((c) >= 0xa1) && ((c) <= 0xfe)) argument 160 #define KICONV_JA_ISCS2(c) (((c) >= 0xa1) && ((c) <= 0xdf)) argument 163 #define KICONV_JA_ISCS3(c) (((c) >= 0xa1) && ((c) <= 0xfe)) argument 172 #define KICONV_JA_ISSJMB_1(c) \ argument 177 #define KICONV_JA_ISSJKANJI1(c) \ argument [all …]
|
H A D | int_const.h | 78 #define INT8_C(c) (c) argument 79 #define INT16_C(c) (c) argument 80 #define INT32_C(c) (c) argument 83 #define INT64_C(c) __CONCAT__(c,l) argument 92 #define UINT8_C(c) __CONCAT__(c,u) argument 94 #define UINT16_C(c) __CONCAT__(c,u) argument 96 #define UINT32_C(c) __CONCAT__(c,u) argument 99 #define UINT64_C(c) __CONCAT__(c,ul) argument 109 #define INTMAX_C(c) __CONCAT__(c,l) argument 111 #define UINTMAX_C(c) __CONCAT__(c,ul) argument
|
H A D | ctype.h | 70 isdigit(char c) in isdigit() 77 isxdigit(char c) in isxdigit() 84 islower(char c) in islower() 91 isupper(char c) in isupper() 98 isalpha(char c) in isalpha() 105 isalnum(char c) in isalnum() 112 isprint(char c) in isprint() 119 isspace(char c) in isspace()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.char.h | 28 #define iswdigit(c) isdigit(c) argument 29 #define iswalpha(c) isalpha(c) argument 30 #define isphonogram(c) 0 argument 31 #define isideogram(c) 0 argument 32 #define isauxsp(c) 0 argument 50 #define quoted(c) ((unsigned)(c) & QUOTE) argument 55 #define isglob(c) cmap(c, _GLOB) argument 56 #define ismeta(c) cmap(c, _META) argument 57 #define digit(c) cmap(c, _DIG) argument 61 #define letter(c) \ argument [all …]
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4macs.c | 47 dochcom(wchar_t **ap, int c) in dochcom() 60 docq(wchar_t **ap, int c) in docq() 81 dodecr(wchar_t **ap, int c) in dodecr() 87 dodef(wchar_t **ap, int c) in dodef() 116 dodefn(wchar_t **ap, int c) in dodefn() 130 dodiv(wchar_t **ap, int c) in dodiv() 156 dodnl(wchar_t **ap, int c) in dodnl() 165 dodump(wchar_t **ap, int c) in dodump() 211 doerrp(wchar_t **ap, int c) in doerrp() 251 doif(wchar_t **ap, int c) in doif() [all …]
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | ctype.h | 53 #define isalpha(c) ((__ctype + 1)[c] & (_U | _L)) argument 54 #define isupper(c) ((__ctype + 1)[c] & _U) argument 55 #define islower(c) ((__ctype + 1)[c] & _L) argument 56 #define isdigit(c) ((__ctype + 1)[c] & _N) argument 57 #define isxdigit(c) ((__ctype + 1)[c] & _X) argument 58 #define isalnum(c) ((__ctype + 1)[c] & (_U | _L | _N)) argument 59 #define isspace(c) ((__ctype + 1)[c] & _S) argument 60 #define ispunct(c) ((__ctype + 1)[c] & _P) argument 62 #define isgraph(c) ((__ctype + 1)[c] & (_P | _U | _L | _N)) argument 63 #define iscntrl(c) ((__ctype + 1)[c] & _C) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_oss.c | 475 oss_open(audio_client_t *c, int oflag) in oss_open() 531 oss_close(audio_client_t *c) in oss_close() 742 sndctl_dsp_post(audio_client_t *c) in sndctl_dsp_post() 977 sndctl_dsp_silence(audio_client_t *c) in sndctl_dsp_silence() 988 sndctl_dsp_skip(audio_client_t *c) in sndctl_dsp_skip() 1000 sndctl_dsp_halt_input(audio_client_t *c) in sndctl_dsp_halt_input() 1022 sndctl_dsp_halt(audio_client_t *c) in sndctl_dsp_halt() 1030 sndctl_dsp_sync(audio_client_t *c) in sndctl_dsp_sync() 1909 oss_output(audio_client_t *c) in oss_output() 1915 oss_input(audio_client_t *c) in oss_input() [all …]
|
H A D | audio_client.c | 74 auclnt_get_private(audio_client_t *c) in auclnt_get_private() 699 audio_client_t *c; in auimpl_set_pcmvol() local 1008 auclnt_drain(audio_client_t *c) in auclnt_drain() 1035 audio_client_t *c; in auimpl_client_create() local 1147 auclnt_close(audio_client_t *c) in auclnt_close() 1189 audio_client_t *c; in auclnt_hold_by_devt() local 1237 auclnt_hold(audio_client_t *c) in auclnt_hold() 1245 auclnt_release(audio_client_t *c) in auclnt_release() 1267 audio_client_t *c; in auclnt_dev_walk_clients() local 1347 auclnt_get_rq(audio_client_t *c) in auclnt_get_rq() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmdbuf.c | 129 mdb_cmdbuf_insert(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_insert() 213 mdb_cmdbuf_backspace(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_backspace() 233 mdb_cmdbuf_delchar(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_delchar() 250 mdb_cmdbuf_fwdchar(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_fwdchar() 262 mdb_cmdbuf_backchar(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_backchar() 296 mdb_cmdbuf_home(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_home() 304 mdb_cmdbuf_end(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_end() 333 mdb_cmdbuf_fwdword(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_fwdword() 387 mdb_cmdbuf_backword(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_backword() 419 mdb_cmdbuf_kill(mdb_cmdbuf_t *cmd, int c) in mdb_cmdbuf_kill() [all …]
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | chg_char.c | 103 FIELD * c = C(f); in _next_word() local 163 FIELD * c = C(f); in _beg_field() local 174 FIELD * c = C(f); in _end_field() local 191 FIELD *c = C(f); in _beg_line() local 202 FIELD *c = C(f); in _end_line() local 263 FIELD *c = C(f); in _scr_fline() local 278 FIELD *c = C(f); in _scr_bline() local 363 FIELD *c = C(f); in _scr_fchar() local 390 FIELD *c = C(f); in _scr_hfline() local 406 FIELD *c = C(f); in _scr_hbline() local [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | ctype.h | 95 #define space(c) ((c<QUOTE) && _ctype1[c]&(T_SPC)) argument 96 #define eofmeta(c) ((c<QUOTE) && _ctype1[c]&(_META|T_EOF)) argument 97 #define qotchar(c) ((c<QUOTE) && _ctype1[c]&(T_QOT)) argument 99 #define dipchar(c) ((c<QUOTE) && _ctype1[c]&(T_DIP)) argument 101 #define escchar(c) ((c<QUOTE) && _ctype1[c]&(T_ESC)) argument 109 #define digit(c) ((c<QUOTE) && _ctype2[c]&(T_DIG)) argument 111 #define defchar(c) ((c<QUOTE) && _ctype2[c]&(T_DEF)) argument 112 #define setchar(c) ((c<QUOTE) && _ctype2[c]&(T_SET)) argument 114 #define letter(c) ((c<QUOTE) && _ctype2[c]&(T_IDC)) argument 115 #define alphanum(c) ((c<QUOTE) && _ctype2[c]&(_IDCH)) argument [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | k5-utf8.h | 234 #define KRB5_ASCII(c) (!((c) & 0x80)) argument 235 #define KRB5_SPACE(c) ((c) == ' ' || (c) == '\t' || (c) == '\n') argument 236 #define KRB5_DIGIT(c) ((c) >= '0' && (c) <= '9') argument 237 #define KRB5_LOWER(c) ((c) >= 'a' && (c) <= 'z') argument 238 #define KRB5_UPPER(c) ((c) >= 'A' && (c) <= 'Z') argument 239 #define KRB5_ALPHA(c) (KRB5_LOWER(c) || KRB5_UPPER(c)) argument 240 #define KRB5_ALNUM(c) (KRB5_ALPHA(c) || KRB5_DIGIT(c)) argument 242 #define KRB5_LDH(c) (KRB5_ALNUM(c) || (c) == '-') argument 244 #define KRB5_HEXLOWER(c) ((c) >= 'a' && (c) <= 'f') argument 245 #define KRB5_HEXUPPER(c) ((c) >= 'A' && (c) <= 'F') argument [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ja/common/ |
H A D | japanese.h | 35 #define GET(c) ((c) = *ip, ip++, ileft--) argument 36 #define PUT(c) (*op = (c), op++, oleft--) argument 72 #define NGET(c, msg) \ argument 79 #define NPUT(c, msg) \ argument 152 #define ISASC(c) ((c) <= 0x7f) argument 155 #define ISC1CTRL(c) (((c) >= 0x80) && ((c) <= 0x9f)) argument 162 #define ISCS1(c) (((c) >= 0xa1) && ((c) <= 0xfe)) argument 171 #define ISCS2(c) (((c) >= 0xa1) && ((c) <= 0xdf)) argument 174 #define ISCS3(c) (((c) >= 0xa1) && ((c) <= 0xfe)) argument 180 #define ISSJKANA(c) (((c) >= 0xa1) && ((c) <= 0xdf)) argument [all …]
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | string.h | 36 #define _smb_between(l, c, u) ((l) <= (c) && (c) <= (u)) argument 38 #define smb_isalpha(c) (smb_islower(c) || smb_isupper(c)) argument 39 #define smb_isdigit(c) _smb_between('0', (c), '9') argument 40 #define smb_isalnum(c) (smb_isalpha(c) || smb_isdigit(c)) argument 41 #define smb_isxdigit(c) (smb_isdigit(c) || \ argument 44 #define smb_isblank(c) ((c) == ' ' || (c) == '\t') argument 45 #define smb_isspace(c) ((c) == ' ' || \ argument 50 #define smb_isascii(c) (!((c) &~ 0x7F)) argument 53 #define smb_isalpha_ascii(c) \ argument 55 #define smb_isalnum_ascii(c) (smb_isalpha_ascii(c) || smb_isdigit(c)) argument [all …]
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bootinfo64.c | 58 #define COPY32(v, a, c) { \ argument 65 #define MOD_STR(t, a, s, c) { \ argument 73 #define MOD_NAME(a, s, c) MOD_STR(MODINFO_NAME, a, s, c) argument 74 #define MOD_TYPE(a, s, c) MOD_STR(MODINFO_TYPE, a, s, c) argument 75 #define MOD_ARGS(a, s, c) MOD_STR(MODINFO_ARGS, a, s, c) argument 77 #define MOD_VAR(t, a, s, c) { \ argument 85 #define MOD_ADDR(a, s, c) MOD_VAR(MODINFO_ADDR, a, s, c) argument 86 #define MOD_SIZE(a, s, c) MOD_VAR(MODINFO_SIZE, a, s, c) argument 88 #define MOD_METADATA(a, mm, c) { \ argument 96 #define MOD_END(a, c) { \ argument [all …]
|
H A D | bootinfo32.c | 56 #define COPY32(v, a, c) { \ argument 63 #define MOD_STR(t, a, s, c) { \ argument 71 #define MOD_NAME(a, s, c) MOD_STR(MODINFO_NAME, a, s, c) argument 72 #define MOD_TYPE(a, s, c) MOD_STR(MODINFO_TYPE, a, s, c) argument 73 #define MOD_ARGS(a, s, c) MOD_STR(MODINFO_ARGS, a, s, c) argument 75 #define MOD_VAR(t, a, s, c) { \ argument 83 #define MOD_ADDR(a, s, c) MOD_VAR(MODINFO_ADDR, a, s, c) argument 84 #define MOD_SIZE(a, s, c) MOD_VAR(MODINFO_SIZE, a, s, c) argument 86 #define MOD_METADATA(a, mm, c) { \ argument 94 #define MOD_END(a, c) { \ argument [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | getline.h | 44 #define IS_CTRL_CHAR(c) ((unsigned char)(c) < ' ' || (unsigned char)(c)=='\177') argument 50 #define IS_META_CHAR(c) (((unsigned char)(c) & 0x80) && !isprint((int)(unsigned char)(c))) argument 56 #define MAKE_CTRL(c) ((c)=='?' ? '\177' : ((unsigned char)toupper(c) & ~0x40)) argument 62 #define MAKE_META(c) ((unsigned char)(c) | 0x80) argument 68 #define CTRL_TO_CHAR(c) (toupper((unsigned char)(c) | 0x40)) argument 74 #define META_TO_CHAR(c) ((unsigned char)(c) & ~0x80) argument
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | rfb.c | 152 rfb_free_client(rfb_client_t *c) in rfb_free_client() 270 rfb_handshake_auth(rfb_client_t *c) in rfb_handshake_auth() 474 rfb_handshake(rfb_client_t *c) in rfb_handshake() 618 rfb_recv_update(rfb_client_t *c) in rfb_recv_update() 646 rfb_recv_key_event(rfb_client_t *c) in rfb_recv_key_event() 687 rfb_recv_cut_text(rfb_client_t *c) in rfb_recv_cut_text() 714 rfb_recv_qemu(rfb_client_t *c) in rfb_recv_qemu() 982 rfb_send_screen(rfb_client_t *c) in rfb_send_screen() 1170 rfb_client_t *c = arg; in rfb_client_rx_thread() local 1213 rfb_client_t *c = arg; in rfb_client_tx_thread() local [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_comp.c | 153 #define hyphenchar(c) ((c) == 0x2d) argument 154 #define bslashchar(c) ((c) == 0x5c) argument 156 #define underscorechar(c) ((c) == 0x5f) argument 158 #define periodchar(c) ((c) == PERIOD) argument 159 #define asterchar(c) ((c) == 0x2a) argument 160 #define alphachar(c) (((c) >= 0x41 && (c) <= 0x5a) \ argument 162 #define digitchar(c) ((c) >= 0x30 && (c) <= 0x39) argument 164 #define borderchar(c) (alphachar(c) || digitchar(c)) argument 166 #define middlechar(c) (borderchar(c) || hyphenchar(c) || underscorechar(c)) argument 168 #define middlechar(c) (borderchar(c) || hyphenchar(c)) argument [all …]
|
/illumos-gate/usr/src/uts/intel/sys/acpi/ |
H A D | acclib.h | 176 #define isdigit(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_DI)) argument 177 #define isspace(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_SP)) argument 178 #define isxdigit(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_XD)) argument 179 #define isupper(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_UP)) argument 180 #define islower(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_LO)) argument 181 #define isprint(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACPI_X… argument 182 #define isalpha(c) (AcpiGbl_Ctypes[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP)) argument 357 #define putchar(c) fputc(stdout, c) argument 358 #define getchar(c) fgetc(stdin) argument
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | kctype.h | 111 #define iskorea1(c) ((_hctype_+1)[(unsigned char)(c)]&_K1) argument 112 #define iskorea2(c) ((_hctype_+1)[(unsigned char)(c)]&_K2) argument 114 #define ishangraph(c) ((_hctype_+1)[(unsigned char)(c)]&_GR) argument 115 #define ishangul(c) ((_hctype_+1)[(unsigned char)(c)]&_HN) argument 116 #define ishanja(c) ((_hctype_+1)[(unsigned char)(c)]&_HJ) argument 117 #define ishanusr(c) ((_hctype_+1)[(unsigned char)(c)]&_HU) argument 118 #define ishreserve(c) ((_hctype_+1)[(unsigned char)(c)]&_HR) argument
|