Lines Matching defs:fmtbeg
75 sfmtoff(const char **fmtbeg, const char *fmtch, off_t off)
81 len = fmtch - *fmtbeg + sizeof(PRId64);
83 (void)strlcpy(newfmt, *fmtbeg, len - sizeof(PRId64) + 1);
85 *fmtbeg = fmtch + 1;
91 sfmtint(const char **fmtbeg, const char *fmtch, int num)
97 len = fmtch - *fmtbeg + 2; /* space for 'd' and '\0' */
99 (void)strlcpy(newfmt, *fmtbeg, len);
101 *fmtbeg = fmtch + 1;
107 sfmtstr(const char **fmtbeg, const char *fmtch, const char *str)
113 len = fmtch - *fmtbeg + 2; /* space for 's' and '\0' */
115 (void)strlcpy(newfmt, *fmtbeg, len);
117 *fmtbeg = fmtch + 1;
139 sfmtfield(const char **fmtbeg, const char *fmtch, struct message *mp)
152 *fmtbeg = q + 1;
183 str = sfmtstr(fmtbeg, fmtch, p);
184 *fmtbeg = q + 1;
210 sfmtflag(const char **fmtbeg, const char *fmtch, struct message *mp)
267 return sfmtstr(fmtbeg, fmtch, disp);