• Home
  • Raw
  • Download

Lines Matching refs:argptr

156       c->argptr = &arg_term;  in chat_UpdateSet()
166 if (c->arg < c->argc && (c->arg < 0 || *c->argptr == '\0')) { in chat_UpdateSet()
180 c->argptr = c->nargptr; in chat_UpdateSet()
189 if ((c->argptr = c->argv[++c->arg]) == NULL) { in chat_UpdateSet()
197 c->nargptr = c->argptr; in chat_UpdateSet()
206 " '-' chars, all ignored\n", c->argptr); in chat_UpdateSet()
208 c->nargptr = chat_NextChar(c->argptr, '-'); in chat_UpdateSet()
221 (*c->argptr != '!' || c->argptr[1] == '!'); in chat_UpdateSet()
224 ExpandString(c, c->argptr, c->exp + 2, sizeof c->exp - 2, needcr); in chat_UpdateSet()
268 c->argptr = &arg_term; in chat_UpdateSet()
288 c->argptr = c->exp + (c->exp[2] == '!' ? 3 : 2); in chat_UpdateSet()
289 c->arglen = strlen(c->argptr); in chat_UpdateSet()
299 if (!strncmp(begin, c->argptr, c->arglen)) { in chat_UpdateSet()
301 c->argptr += c->arglen; in chat_UpdateSet()
307 log_Printf(LogCHAT, "Expect(%d): %s\n", c->TimeoutSec, c->argptr); in chat_UpdateSet()
328 return c->argptr && physical_IsSet(&c->physical->desc, fdset); in chat_IsSet()
450 !strncmp(begin, c->argptr, c->arglen)) { in chat_Read()
462 c->argptr += c->arglen; in chat_Read()
504 while (sz >= 0 && c->argptr[sz] == '\n') in chat_Write()
506 log_Printf(LogCHAT, "Send: %.*s\n", sz + 1, c->argptr); in chat_Write()
515 c->argptr -= 2; in chat_Write()
517 memcpy(c->argptr, "\377\003", 2); /* Prepend HDLC header */ in chat_Write()
520 wrote = physical_Write(c->physical, c->argptr, c->arglen); in chat_Write()
528 c->argptr += 2; in chat_Write()
533 c->argptr += 2; in chat_Write()
536 c->argptr += wrote; in chat_Write()
556 c->argptr = NULL; in chat_Init()
579 c->argptr = NULL; in chat_Setup()