Lines Matching refs:tbuf
237 char tbuf[BMAX]; /* temp buffer */
245 temp = refclock_gtlin(rbufp, tbuf, sizeof(tbuf), &trtmp);
280 if (!strncmp(tbuf, "TQ", 2)) {
281 up->qualchar = tbuf[2];
285 } else if (!strncmp(tbuf, "SR", 2)) {
286 strlcpy(up->status, tbuf + 2,
295 } else if (!strncmp(tbuf, "LA", 2)) {
296 strlcpy(up->latlon, tbuf + 2, sizeof(up->latlon));
300 } else if (!strncmp(tbuf, "LO", 2)) {
302 strlcat(up->latlon, tbuf + 2, sizeof(up->latlon));
306 } else if (!strncmp(tbuf, "LH", 2)) {
308 strlcat(up->latlon, tbuf + 2, sizeof(up->latlon));
312 } else if (!strncmp(tbuf, "DB", 2)) {
314 strlcat(up->latlon, tbuf + 2, sizeof(up->latlon));
341 strlcpy(pp->a_lastcode, tbuf, sizeof(pp->a_lastcode));