ctype
if (ctype(c, C_IFS)) {
if (Xlength(cs, cp) == 0 && ctype(c, C_IFSWS))
while (Xlength(cs, cp) && ctype(cp[-1], C_IFS)
&& ctype(cp[-1], C_IFSWS))
#define IS_WORDC(c) !( ctype(c, C_LEX1) || (c) == '\'' || (c) == '"' \
&& ctype(c, C_IFS)))
|| (!ctype(c, C_IFSWS) && (c || word == IFS_NWS)))
word = ctype(c, C_IFSWS) ? IFS_WS : IFS_NWS;
if (ctype(c, C_SUBOP1)) {
} else if (ctype(c, C_SUBOP2)) { /* Note: ksh88 allows :%, :%%, etc */
&& (ctype(*sp, C_VAR1) || digit(*sp)))
if (ctype(c, C_SUBOP2) ||
&& (ctype(c, C_SUBOP2) || (state != XBASE && c != '+')))
while (*p && ctype(*p, C_IFS) && ctype(*p, C_IFSWS))
else if (ctype(c, C_VAR1))
&& ctype(c, C_LEX1))))
} else if (ctype(c, C_ALPHA)) {
} while (ctype(c, C_ALPHA|C_DIGIT));
} else if (ctype(c, C_DIGIT|C_VAR1)) {
if (ctype(*p, C_QUOTE))
#define letter(c) ctype(c, C_ALPHA)
#define digit(c) ctype(c, C_DIGIT)
#define letnum(c) ctype(c, C_ALPHA|C_DIGIT)
if (ctype(*p, C_QUOTE) || *p == '=')
#include <ctype.h>
u_int ctype, isize, dsize;
ctype = armreg_ctr_read();
if (ctype == cpu_idnum())
if (CPU_CT_FORMAT(ctype) == 4) {
if (CPU_CT4_L1IPOLICY(ctype) == CPU_CT4_L1_PIPT) {
if ((ctype & CPU_CT_S) == 0)
arm_pcache.cache_type = CPU_CT_CTYPE(ctype);
isize = CPU_CT_ISIZE(ctype);
dsize = CPU_CT_DSIZE(ctype);
if (ctl->ctype != XDCT_753) {
volatile u_char ctype; /* controller type */
} ctype[] = {
for (ctypep = ctype; ctypep->normal != -1 ; ctypep++) {
int ctype;
if ((ctype = ihidev_report_type_conv(type)) < 0)
rreq.type = ctype;
int ctype;
if ((ctype = ihidev_report_type_conv(type)) < 0)
rreq.type = ctype;
if (ctl->ctype != XDCT_753) {
volatile u_char ctype; /* controller type */
int ctype;
ctype = ISALPHA(c);
(alt == 0 || ISALPHA(c) == ctype));
u_char ctype;
ctype = CONF_ACK;
cp->screply(cp, sp, ctype, ident, msglen, msg);
cp->screply(cp, sp, ctype, ident, msglen, msg);
cp->screply(cp, sp, ctype, ident, msglen, msg);
cp->screply(cp, sp, ctype, ident, msglen, msg);
ctype = type == CP_RCR_NAK ? CONF_NAK : CONF_REJ;
cp->screply(cp, sp, ctype, ident, msglen, msg);
cp->screply(cp, sp, ctype, ident, msglen, msg);
cp->screply(cp, sp, ctype, ident, msglen, msg);
cp->screply(cp, sp, ctype, ident, msglen, msg);
int ctype = type == CP_RCR_REJ ? CONF_REJ : CONF_NAK;
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), ctype);
int ctype ;
ctype = type == CP_RCR_REJ ?
cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), ctype);
sppp_auth_screply(const struct cp *cp, struct sppp *sp, u_char ctype,
if (ctype == CONF_ACK) {
ATF_TC(ctype);
ATF_TC_HEAD(ctype, tc)
ATF_TC_BODY(ctype, tc)
ATF_TP_ADD_TC(tp, ctype);
is_text(const char *ctype)
return ctype &&
strncasecmp(ctype, "text/", sizeof("text/") - 1) == 0;
content_encoding_core(void *fh, const char *ctype)
if (!is_text(ctype))
content_encoding_by_name(const char *filename, const char *ctype)
enc = content_encoding_core(fp, ctype);
content_encoding_by_fileno(int fd, const char *ctype)
encoding = content_encoding_core(fp, ctype);
content_encoding(struct attachment *ap, const char *ctype)
return content_encoding_by_name(ap->a_name, ctype);
return content_encoding_by_fileno(ap->a_fileno, ctype);
sget_encoding(const char **str, const char *filename, const char *ctype, int num)
defename = content_encoding_by_name(filename, ctype);
duptoeol(char *s, const char *ctype)
sedwarn("whitespace after %s", ctype);