Lines Matching refs:idbuf
127 char idbuf[sizeof(buf)]; in load_good_table() local
137 nr = sscanf(buf, "%s%llu%lg", idbuf, &val, &rate); in load_good_table()
142 if (useless_number(idbuf)) in load_good_table()
146 n->id = strdup(idbuf); in load_good_table()
178 char idbuf[sizeof(buf)]; in load_ugly_table() local
188 idbuf[0] = 0; in load_ugly_table()
189 strncat(idbuf, buf, sizeof(idbuf) - 1); in load_ugly_table()
199 if (off < sizeof(idbuf)) { in load_ugly_table()
200 idbuf[off] = 0; in load_ugly_table()
201 strncat(idbuf, p, sizeof(idbuf) - off - 1); in load_ugly_table()
206 n->id = strdup(idbuf); in load_ugly_table()