Searched refs:cc (Results 1 - 14 of 14) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dnvram.c72 unsigned char cc; local
80 error = PEnvread(offset, 1, &cc);
84 c = (int)cc;
100 unsigned char cc; local
112 cc = (unsigned char)c;
113 error = PEnvwrite(offset, 1, &cc);
H A Dkm.c299 int cc = -1; local
302 cc = ndqb(&tp->t_outq, 0);
303 if (cc == 0)
305 cc = min(cc, sizeof buf);
306 (void) q_to_b(&tp->t_outq, (unsigned char *)buf, cc);
307 for (cp = buf; cp < &buf[cc]; cp++)
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dtty_subr.c175 int cc; local
180 cc = clp->c_cl - clp->c_cf;
182 cc = clp->c_ce - clp->c_cf;
183 if (cc > count)
184 cc = count;
185 bcopy(clp->c_cf, p, cc);
186 count -= cc;
187 p += cc;
188 clp->c_cc -= cc;
189 clp->c_cf += cc;
207 register int cc; local
244 int cc; local
358 int cc; local
405 static int cc; variable
[all...]
H A Dtty_compat.c245 register cc_t *cc; local
247 cc = term->c_cc;
248 cc[VINTR] = tc->t_intrc;
249 cc[VQUIT] = tc->t_quitc;
250 cc[VSTART] = tc->t_startc;
251 cc[VSTOP] = tc->t_stopc;
252 cc[VEOF] = tc->t_eofc;
253 cc[VEOL] = tc->t_brkc;
255 cc[VEOL2] = _POSIX_VDISABLE;
266 register cc_t *cc; local
380 register cc_t *cc = tp->t_cc; local
399 register cc_t *cc = tp->t_cc; local
416 register cc_t *cc = tp->t_cc; local
[all...]
H A Dtty_pty.c320 int cc; local
323 cc = min(uio_resid(uio), BUFSIZ);
325 cc = min(cc, tp->t_canq.c_cc - 1);
326 cc = q_to_b(&tp->t_canq, (u_char *)buf, cc);
327 error = uiomove(buf, cc, uio);
487 int error = 0, cc; local
505 cc = min(uio_resid(uio),
507 uiomove((caddr_t)&tp->t_termios, cc,
645 int cc = 0; local
760 u_char *cc = tp->t_cc; local
[all...]
H A Dtty_ptmx.c666 int cc; local
669 cc = min(uio_resid(uio), BUFSIZ);
671 cc = min(cc, tp->t_canq.c_cc - 1);
672 cc = q_to_b(&tp->t_canq, (u_char *)buf, cc);
673 error = uiomove(buf, cc, uio);
865 int error = 0, cc; local
890 cc = min(uio_resid(uio),
892 uiomove((caddr_t)&tp->t_termios, cc,
1141 int cc = 0; local
1263 u_char *cc; local
[all...]
H A Dtty.c375 ((c) == '\n' || (((c) == cc[VEOF] || \
376 (c) == cc[VEOL] || ((c) == cc[VEOL2] && lflag & IEXTEN)) && \
386 cc_t *cc; local
424 cc = tp->t_cc;
483 if (CCEQ(cc[VLNEXT], c)) {
494 if (CCEQ(cc[VDISCARD], c)) {
511 if (CCEQ(cc[VINTR], c) || CCEQ(cc[VQUIT], c)) {
516 CCEQ(cc[VINT
1590 cc_t *cc = tp->t_cc; local
1913 int cc, ce; local
[all...]
H A Duipc_socket2.c596 sbreserve(struct sockbuf *sb, u_long cc) argument
598 if ((u_quad_t)cc > (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES))
600 sb->sb_hiwat = cc;
601 sb->sb_mbmax = min(cc * sb_efficiency, sb_max);
751 panic("cc %ld != %ld || mbcnt %ld != %ld\n", len, sb->sb_cc,
1218 panic("%s: sb %p so %p cc %ld mbcnt %ld mb %p mbtail %p "
1572 * still be negative (cc > hiwat or mbcnt > mbmax). Should detect
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dkm.c334 int cc = -1; local
338 cc = ndqb(&tp->t_outq, 0);
339 if (cc == 0)
341 cc = min(cc, sizeof buf);
342 (void) q_to_b(&tp->t_outq, buf, cc);
343 for (cp = buf; cp < &buf[cc]; cp++) {
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dtty.h259 int b_to_q(const u_char *cp, int cc, struct clist *q);
263 void ndflush(struct clist *q, int cc);
268 int q_to_b(struct clist *q, u_char *cp, int cc);
H A Dsocketvar.h454 extern int sbreserve(struct sockbuf *sb, u_long cc);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_sym.c1004 char *aa, *bb, *cc; local
1016 cc = (char *)c;
1017 for (; size > 0; size--, aa++, bb++, cc++) {
1019 *aa = *cc;
1020 *cc = *bb;
/macosx-10.5.8/xnu-1228.15.4/libsyscall/
H A DMakefile.xbs11 .SUFFIXES: .S .s .c .cc .cpp .cxx .m .C
57 mig -arch ${MACHINE_ARCH} -cc ${CC} -user ${.PREFIX}User.c -server ${.PREFIX}Server.c -header ${.PREFIX}.h ${.IMPSRC}
/macosx-10.5.8/xnu-1228.15.4/libkern/
H A Dzlib.c591 { uch cc = (c); \
593 s->l_buf[s->last_lit++] = cc; \
594 s->dyn_ltree[cc].Freq++; \
4476 uInt mask; /* (1 << w) - 1, to avoid cc -O bug on HP */
4634 mask = (1 << w) - 1; /* needed on HP, cc -O bug */

Completed in 130 milliseconds