Searched defs:cc (Results 1 - 25 of 26) sorted by relevance

12

/ast/src/lib/libast/path/
H A Dpathexists.c57 int cc; local
90 cc = *ee;
101 c = cc;
/ast/src/lib/libast/comp/
H A Dcatopen.c99 Cc_t* cc; local
108 if (!(cc = newof(0, Cc_t, 1, 0)))
113 cc->cat = d;
116 if ((cc->cvt = iconv_open("", "utf")) == (iconv_t)(-1) || !(cc->tmp = sfstropen()))
119 free(cc);
124 cc->cvt = (iconv_t)(-1);
126 sfprintf(sfstderr, "AHA#%d:%s %s %s native %p\n", __LINE__, __FILE__, s, name, cc->cat);
128 return (_ast_nl_catd)cc;
H A Diconv.c239 _win_iconv_open(register Conv_t* cc, const char* t, const char* f) argument
244 if ((cc->from.index = _win_codeset(f)) < 0)
246 if ((cc->to.index = _win_codeset(t)) < 0)
249 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=0x%04x t=0x%04x\n", __LINE__, cc->from.index, cc->to.index);
251 return (_ast_iconv_t)cc;
262 Conv_t* cc = (Conv_t*)cd; local
272 error(DEBUG_TRACE, "AHA#%d _win_iconv from=0x%04x to=0x%04x\n", __LINE__, cc->from.index, cc->to.index);
274 if (cc
1049 register Conv_t* cc; local
1182 Conv_t* cc; local
1237 Conv_t* cc = (Conv_t*)cd; local
[all...]
/ast/src/lib/libexpr/
H A Dexcc.c113 print(Excc_t* cc, Exnode_t* expr) argument
120 sfprintf(cc->ccdisc->text, "sfprintf(%s, \"%s", expr->data.print.descriptor->op == CONSTANT && expr->data.print.descriptor->data.constant.value.integer == 2 ? "sfstderr" : "sfstdout", fmtesq(x->format, quote));
122 sfprintf(cc->ccdisc->text, "%s", fmtesq(x->format, quote));
123 sfprintf(cc->ccdisc->text, "\"");
130 sfprintf(cc->ccdisc->text, ", (");
131 gen(cc, x->param[i]);
132 sfprintf(cc->ccdisc->text, ")");
134 sfprintf(cc->ccdisc->text, ", (");
135 gen(cc, x->arg);
136 sfprintf(cc
148 scan(Excc_t* cc, Exnode_t* expr) argument
183 gen(Excc_t* cc, register Exnode_t* expr) argument
543 register Excc_t* cc = (Excc_t*)handle; local
558 register Excc_t* cc; local
586 exccclose(Excc_t* cc) argument
611 excc(Excc_t* cc, const char* name, Exid_t* sym, int type) argument
640 Excc_t* cc; local
[all...]
/ast/src/cmd/ie/
H A Deditlib.c327 register int cc; local
330 if((cc= *string)==0)
331 cc = c,c = 0;
334 if(cc==0)
338 *fp->ptr++ = cc;
/ast/src/cmd/mailx/
H A Dcollect.c150 off_t cc; local
163 if (filecopy(NiL, fp, name, of, NiL, (off_t)0, &lc, &cc, 0)) {
168 note(0, "%ld/%ld", (long)lc, (long)cc);
351 long cc; local
545 cc = tc = 0;
549 cc++;
551 code |= cc ? ((cc < tc / 80) ? CODE_QP : CODE_64) : CODE_TEXT;
592 cc = 0;
599 cc
[all...]
H A Dcmd2.c606 off_t cc; local
680 chars = &cc;
819 off_t cc; local
846 if (!getatt(ap, file, 0, &lc, &cc) && verbose)
847 note(PROMPT, " %d-%d %s %s %ld %ld", num, ap->count, ap->name, ap->type, (long)lc, (long)cc);
H A Dproc.c330 off_t cc = 0; local
361 cc += c;
382 *chars = cc;
H A Dcmd1.c475 off_t cc; local
513 lc = cc = 0;
525 cc += mp->m_size;
529 note(0, "\"%s\" %ld/%ld", cmd, (long)lc, (long)cc);
/ast/src/lib/libvcodex/Vcmisc/
H A Dvctranspose.c199 ssize_t r, nr, rr, c, nc, cc; local
210 for(cc = 0; cc < nc; ++cc, cdt += nrows)
/ast/src/cmd/3d/
H A Dstrmatch.c552 char cc[32]; local
554 if (x >= sizeof(cc))
555 x = sizeof(cc) - 1;
556 strncpy(cc, oldp, x);
557 cc[x] = 0;
558 if (iswctype(sc, wctype(cc)))
/ast/src/lib/libdss/
H A Dcxcomp.c505 identifier(Cx_t* cx, Cxcompile_t* cc, register int c, Cxoperand_t* r) argument
549 variable(Cx_t* cx, Cxcompile_t* cc, int c, Cxtype_t* m, Cxtype_t** type) argument
555 if (identifier(cx, cc, c, &a))
602 codecast(Cx_t* cx, Cxcompile_t* cc, Cxtype_t* t, Cxcallout_f cast, void* pointer) argument
611 if ((cx->flags & CX_DEBUG) && sfstrtell(cc->xp))
612 cxcodetrace(cx, "comp", &c, (unsigned int)sfstrtell(cc->xp) / sizeof(c), 0, 0);
613 sfwrite(cc->xp, &c, sizeof(c));
622 code(Cx_t* cx, Cxcompile_t* cc, Cxexpr_t* expr, int op, int pp, Cxtype_t* type1, Cxtype_t* type2, void* pointer, Cxnumber_t number, Cxvariable_t* ref) argument
641 if ((cc->pp += pp) > cc
853 prototype(Cx_t* cx, Cxcompile_t* cc, Cxvariable_t* v, Cxtype_t** tp, char** sp, char** ep, int* op) argument
944 parse(Cx_t* cx, Cxcompile_t* cc, Cxexpr_t* expr, int precedence, Cxvariable_t** ref) argument
1608 node(Cx_t* cx, Cxcompile_t* cc, size_t n) argument
1626 compile(Cx_t* cx, Cxcompile_t* cc, int balanced) argument
1685 compose(Cx_t* cx, Cxcompile_t* cc, int prec) argument
1962 defaults(register Cxcompile_t* cc, register Cxexpr_t* expr, Cxexpr_t* parent, Sfio_t* op) argument
2065 Cxcompile_t* cc; local
[all...]
/ast/src/cmd/re/
H A Dsed1.c79 #define cc ac macro
669 xx,ac,bc,cc,dc,xx,xx,gc,hc,ic,xx,xx,lc,xx,nc,xx, /* a-n */
/ast/src/lib/libz/
H A Dgzio.c827 unsigned char cc = (unsigned char) c; /* required for big endian systems */ local
829 return gzwrite(file, &cc, 1) == 1 ? (int)cc : -1;
/ast/src/lib/libast/port/
H A Dastlicense.c202 char cc[3]; member in struct:Notice_s
252 int cc; local
254 cc = notice->cc[1];
259 PUT(b, notice->cc[n > 0 ? 0 : 1]);
261 PUT(b, cc);
262 PUT(b, notice->cc[n > 0 ? 1 : 2]);
271 PUT(b, cc);
286 PUT(b, cc);
549 notice.cc[
[all...]
/ast/src/lib/libast/regex/
H A Dregcomp.c1038 register int cc; local
1043 cc = 0;
1055 cc = -1;
1060 cc = -1;
1074 cc = 1;
1079 cc = 1;
1082 if (cc > 0)
1084 cc = -1;
1111 cc = -1;
1116 cc
1428 Cchr_t* cc; local
[all...]
H A Dregnexec.c725 register int cc; local
747 cc = type[co] >> REX_NEST_SHIFT;
768 if (c == cc)
784 if (c != cc)
/ast/src/lib/libpp/
H A Dppproto.c91 char cc[3]; /* beg mid end comment char */ member in struct:Proto_s
2152 free((char*)proto); /* some ANSI cc's botch the free() prototype */
2241 if (!(proto->cc[0] = comment[0]))
2245 proto->cc[1] = comment[1];
2246 proto->cc[2] = comment[2] ? comment[2] : comment[0];
2249 proto->cc[1] = proto->cc[2] = comment[0];
2277 if (!notice && !options || (comlen = astlicense(com, sizeof(com), NiL, "type=check", proto->cc[0], proto->cc[1], proto->cc[
[all...]
/ast/src/cmd/html/
H A Dhtml2rtf.c894 register int cc; local
916 cc = tc = 0;
951 if ((cc -= strlen(s)) <= 0)
953 cc = 0;
1003 state.sp->title_cc = cc;
1052 cc = state.sp->title_cc;
1099 cc += sfprintf(op, "\\'%02x", n);
1106 cc += sfputr(op, ep->value, -1);
1114 cc += sfprintf(op, "&%s;", s);
1124 cc
[all...]
H A Dtroff2html.h141 int cc; /* tag control character */ member in struct:Env_s
H A Dtroff2html.c1019 v->cc = DEFAULT_cc;
2542 state.env->cc = (ap->argc >= 1) ? ap->argv[1][0] : DEFAULT_cc;
2860 if (v || s[0] != state.env->cc && s[0] != state.env->c2 || s[1] != 'i')
3649 if (cc <= 0) \
3651 if (cc < 0) \
3652 cc++; \
3656 cc++; \
3667 register int cc; local
3691 cc = 0;
3706 cc
[all...]
/ast/src/cmd/std/
H A Ddd.c458 size_t cc; local
908 cc = n;
910 if ((d = iconv_write(state.cvt, state.tmp, &cb, &cc, &state.iconv)) < 0)
/ast/src/cmd/ksh93/sh/
H A Dmacro.c1378 int cc=fcmbget(&LEN),peek=LEN; local
1379 if(type && cc=='}')
1381 cc = fcmbget(&LEN);
1384 if(mp->quote && cc=='"')
1386 cc = fcmbget(&LEN);
1390 if(cc==0)
/ast/src/cmd/INIT/
H A Dmamake.c1339 register char* cc; local
1351 if (!(cc = (char*)search(state.vars, "CC", NiL)))
1352 cc = "cc";
1357 s = cc = path(pro, cc, 1);
1375 append(tmp, cc);
2326 if (*s == 'r' && !strcmp(s, "recurse") || *s == 'c' && !strncmp(s, "cc-", 3))
H A Dproto.c1320 char cc[3]; member in struct:Proto_s
1571 char cc[3]; member in struct:Notice_s
1610 int cc; variable
1612 cc = notice->cc[1];
1617 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[n > 0 ? 0 : 1])):(( notice->cc[n > 0 ? 0 : 1]),(-1)));
1619 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( cc)):(( cc),(-1)));
1620 ((( b)->nxt<( b)->end)?(*( b)->nxt++=( notice->cc[
[all...]

Completed in 67 milliseconds

12