Lines Matching refs:reslen
627 ExpandString(struct chat *c, const char *str, char *result, int reslen, int cr) in ExpandString() argument
631 result[--reslen] = '\0'; in ExpandString()
632 while (*str && reslen > 0) { in ExpandString()
648 reslen--; in ExpandString()
652 reslen--; in ExpandString()
656 reslen--; in ExpandString()
660 reslen--; in ExpandString()
663 strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen); in ExpandString()
665 reslen -= len; in ExpandString()
670 strncpy(result, c->phone, reslen); in ExpandString()
672 reslen -= len; in ExpandString()
677 strncpy(result, c->physical->dl->bundle->cfg.auth.name, reslen); in ExpandString()
679 reslen -= len; in ExpandString()
683 reslen--; in ExpandString()
694 reslen--; in ExpandString()
699 reslen--; in ExpandString()
703 if (--reslen > 0) { in ExpandString()
707 if (--reslen > 0) in ExpandString()