Lines Matching refs:reslen
622 ExpandString(struct chat *c, const char *str, char *result, int reslen, int cr) in ExpandString() argument
626 result[--reslen] = '\0'; in ExpandString()
627 while (*str && reslen > 0) { in ExpandString()
643 reslen--; in ExpandString()
647 reslen--; in ExpandString()
651 reslen--; in ExpandString()
655 reslen--; in ExpandString()
658 strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen); in ExpandString()
660 reslen -= len; in ExpandString()
665 strncpy(result, c->phone, reslen); in ExpandString()
667 reslen -= len; in ExpandString()
672 strncpy(result, c->physical->dl->bundle->cfg.auth.name, reslen); in ExpandString()
674 reslen -= len; in ExpandString()
678 reslen--; in ExpandString()
689 reslen--; in ExpandString()
694 reslen--; in ExpandString()
698 if (--reslen > 0) { in ExpandString()
702 if (--reslen > 0) in ExpandString()