/external/libppp/src/ |
D | ccp.c | 163 struct ccp *ccp; in ccp_ReportStatus() local 167 ccp = &l->ccp; in ccp_ReportStatus() 169 prompt_Printf(arg->prompt, "%s: %s [%s]\n", l->name, ccp->fsm.name, in ccp_ReportStatus() 170 State2Nam(ccp->fsm.state)); in ccp_ReportStatus() 171 if (ccp->fsm.state == ST_OPENED) { in ccp_ReportStatus() 173 protoname(ccp->my_proto), protoname(ccp->his_proto)); in ccp_ReportStatus() 175 ccp->uncompout, ccp->compout, in ccp_ReportStatus() 176 ccp->compin, ccp->uncompin); in ccp_ReportStatus() 179 if (ccp->in.algorithm != -1) in ccp_ReportStatus() 181 (*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt)); in ccp_ReportStatus() [all …]
|
D | ccp.h | 91 struct ccp { struct 121 #define fsm2ccp(fp) (fp->proto == PROTO_CCP ? (struct ccp *)fp : NULL) argument 134 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *); 135 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *); 145 struct mbuf *(*Write)(void *, struct ccp *, struct link *, int, u_short *, 150 extern void ccp_Init(struct ccp *, struct bundle *, struct link *, 152 extern void ccp_Setup(struct ccp *); 153 extern int ccp_Required(struct ccp *); 154 extern int ccp_MTUOverhead(struct ccp *); 159 extern u_short ccp_Proto(struct ccp *); [all …]
|
D | pred.c | 174 Pred1Output(void *v, struct ccp *ccp, struct link *l __unused, in Pred1Output() argument 198 ccp->uncompout += orglen; in Pred1Output() 202 ccp->compout += len; in Pred1Output() 206 ccp->compout += orglen; in Pred1Output() 212 *proto = ccp_Proto(ccp); in Pred1Output() 217 Pred1Input(void *v, struct ccp *ccp, u_short *proto, struct mbuf *bp) in Pred1Input() argument 234 ccp->uncompin += len & 0x7fff; in Pred1Input() 237 ccp->compin += olen; in Pred1Input() 241 fsm_Reopen(&ccp->fsm); in Pred1Input() 250 fsm_Reopen(&ccp->fsm); in Pred1Input() [all …]
|
D | deflate.c | 69 DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, in DeflateOutput() argument 156 ccp->uncompout += ilen; in DeflateOutput() 157 ccp->compout += ilen; /* We measure this stuff too */ in DeflateOutput() 177 ccp->uncompout += ilen; in DeflateOutput() 178 ccp->compout += olen; in DeflateOutput() 183 *proto = ccp_Proto(ccp); in DeflateOutput() 199 DeflateInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mi) in DeflateInput() argument 227 ccp_SendResetReq(&ccp->fsm); in DeflateInput() 264 ccp_SendResetReq(&ccp->fsm); in DeflateInput() 306 ccp_SendResetReq(&ccp->fsm); in DeflateInput() [all …]
|
D | mppe.c | 158 MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, in MPPEOutput() argument 173 ccp->compout += ilen; in MPPEOutput() 174 ccp->uncompout += ilen; in MPPEOutput() 223 *proto = ccp_Proto(ccp); in MPPEOutput() 225 ccp->uncompout += ilen; in MPPEOutput() 226 ccp->compout += len; in MPPEOutput() 241 MPPEInput(void *v, struct ccp *ccp, u_short *proto, struct mbuf *mp) in MPPEInput() argument 250 ccp->compin += ilen; in MPPEInput() 315 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() 330 fsm_Output(&ccp->fsm, CODE_RESETREQ, ccp->fsm.reqid++, NULL, 0, in MPPEInput() [all …]
|
D | link.h | 55 struct ccp ccp; /* Our compression FSM */ member
|
D | command.c | 944 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped() 948 arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped() 1294 fp = &command_ChooseLink(arg)->ccp.fsm; in OpenCommand() 1336 fp = &command_ChooseLink(arg)->ccp.fsm; in CloseCommand() 1367 struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm : in DownCommand() 1368 &arg->bundle->ncp.mp.link.ccp.fsm; in DownCommand() 1415 l->ccp.fsm.StoppedTimer.load = 0; in SetStoppedTimeout() 1420 l->ccp.fsm.StoppedTimer.load = atoi(arg->argv[arg->argn+1]) * SECTICKS; in SetStoppedTimeout() 1747 l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]); in SetVariable() 1748 if (l->ccp.cfg.deflate.out.winsize < 8 || in SetVariable() [all …]
|
D | physical.c | 226 ccp_Init(&p->link.ccp, dl->bundle, &p->link, &dl->fsmp); in physical_Create() 627 p->link.ccp.fsm.bundle = dl->bundle; in iov2physical() 628 p->link.ccp.fsm.link = &p->link; in iov2physical() 630 memset(&p->link.ccp.fsm.FsmTimer, '\0', sizeof p->link.ccp.fsm.FsmTimer); in iov2physical() 631 memset(&p->link.ccp.fsm.OpenTimer, '\0', sizeof p->link.ccp.fsm.OpenTimer); in iov2physical() 632 memset(&p->link.ccp.fsm.StoppedTimer, '\0', in iov2physical() 633 sizeof p->link.ccp.fsm.StoppedTimer); in iov2physical() 634 p->link.ccp.fsm.parent = &dl->fsmp; in iov2physical() 635 ccp_SetupCallbacks(&p->link.ccp); in iov2physical() 699 timer_Stop(&p->link.ccp.fsm.FsmTimer); in physical2iov() [all …]
|
D | datalink.c | 242 ccp_Setup(&dl->physical->link.ccp); in datalink_LoginDone() 593 (*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm); in datalink_LayerUp() 614 int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp); in datalink_NCPUp() 629 dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */ in datalink_NCPUp() 649 fsm_Up(&dl->physical->link.ccp.fsm); in datalink_NCPUp() 650 fsm_Open(&dl->physical->link.ccp.fsm); in datalink_NCPUp() 758 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_LayerDown() 919 memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg, in datalink_Clone() 920 sizeof dl->physical->link.ccp.cfg); in datalink_Clone() 1009 fsm2initial(&dl->physical->link.ccp.fsm); in datalink_Close() [all …]
|
D | mp.c | 285 ccp_Init(&mp->link.ccp, mp->bundle, &mp->link, &mp->fsmp); in mp_Init() 367 if (ccp_SetOpenMode(&mp->link.ccp)) { in mp_Up() 368 fsm_Up(&mp->link.ccp.fsm); in mp_Up() 369 fsm_Open(&mp->link.ccp.fsm); in mp_Up() 393 fsm2initial(&mp->link.ccp.fsm); in mp_Down() 657 if (l->ccp.fsm.state != ST_OPENED && ccp_Required(&l->ccp)) { in mp_Output()
|
D | Makefile | 7 SRCS= acf.c arp.c async.c auth.c bundle.c cbcp.c ccp.c chap.c chat.c \
|
D | physical.h | 28 struct ccp;
|
/external/mksh/src/ |
D | main.c | 166 const char *ccp, **wp; in main() local 196 ccp = kshname; in main() 198 while ((i = ccp[argi++])) { in main() 200 ccp += argi; in main() 203 if (*ccp == '-') in main() 204 ++ccp; in main() 207 if (!*ccp) in main() 208 ccp = empty_argv[0]; in main() 215 if (!strcmp(ccp, builtin(mkshbuiltins[i].name, in main() 227 if (!strcmp(ccp, "sh")) in main() [all …]
|
D | exec.c | 57 const char *s, *ccp; in execute() local 91 (ccp = skip_wdvarname(t->vars[0], true)) != t->vars[0] && in execute() 93 ccp[0] == CHAR && ccp[1] == '=' && ccp[2] == EOS && in execute() 98 size_t n = ccp - t->vars[0] + 2, z; in execute() 363 if (!(ccp = do_selectargs(ap, is_first))) { in execute() 368 setstr(global(t->str), ccp, KSH_UNWIND_ERROR); in execute() 410 ccp = evalstr(t->str, DOTILDE); in execute() 414 gmatchx(ccp, s, false))) { in execute() 1422 const char *ccp; in hereinval() local 1441 ccp = evalstr(yylval.cp, 0); in hereinval() [all …]
|
D | var.c | 1380 const char *ccp; in set_array() local 1424 while ((ccp = vals[i])) { in set_array() 1426 if (*ccp == '[') { in set_array() 1429 while (*ccp) { in set_array() 1430 if (*ccp == ']' && --level == 0) in set_array() 1432 if (*ccp == '[') in set_array() 1434 ++ccp; in set_array() 1436 if (*ccp == ']' && level == 0 && ccp[1] == '=') { in set_array() 1437 strndupx(cp, vals[i] + 1, ccp - (vals[i] + 1), in set_array() 1442 ccp += 2; in set_array() [all …]
|
D | funcs.c | 1775 const char *ccp; in c_read() local 1811 if ((fd = coproc_getfd(R_OK, &ccp)) < 0) { in c_read() 1812 bi_errorf("%s: %s", "-p", ccp); in c_read() 1835 else if ((fd = check_fd(builtin_opt.optarg, R_OK, &ccp)) < 0) { in c_read() 1836 bi_errorf("%s: %s: %s", "-u", builtin_opt.optarg, ccp); in c_read() 1852 if ((ccp = cstrchr(*wp, '?')) != NULL) { in c_read() 1854 allocd[ccp - *wp] = '\0'; in c_read() 1863 shf_puts(ccp + 1, shl_out); in c_read() 2017 ccp = cp = Xclose(xs, xp); in c_read() 2037 while (bytesread && is_ifsws(*ccp)) { in c_read() [all …]
|
/external/clang/test/SemaCXX/ |
D | const-cast.cpp | 13 typedef cc *ccp; typedef 14 typedef volatile ccp ccvp;
|
D | cstyle-cast.cpp | 14 typedef cc *ccp; typedef 15 typedef volatile ccp ccvp;
|
D | functional-cast.cpp | 43 typedef cc *ccp; typedef 44 typedef volatile ccp ccvp;
|
/external/clang/test/Sema/ |
D | format-strings-scanf.c | 153 const char *ccp, volatile char* vcp, in test_qualifiers() argument 157 …scanf("%s", ccp); // expected-warning{{format specifies type 'char *' but the argument has type 'c… in test_qualifiers()
|
/external/ppp/pppd/ |
D | Makefile.linux | 14 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c md5.c ccp.c \ 18 HEADERS = ccp.h chap-new.h ecp.h fsm.h ipcp.h \ 23 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o \
|
D | Android.mk | 12 ccp.c \
|
D | Makefile.sol2 | 12 tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o \
|
/external/jpeg/ |
D | configure | 1100 char const *const *ccp; 1109 ccp = &g + (g ? g-g : 0); 1111 ++ccp; 1112 p = (char**) ccp; 1113 ccp = (char const *const *) p;
|
/external/qemu/distrib/jpeg-6b/ |
D | configure | 1100 char const *const *ccp; 1109 ccp = &g + (g ? g-g : 0); 1111 ++ccp; 1112 p = (char**) ccp; 1113 ccp = (char const *const *) p;
|