Lines Matching refs:buf1
120 char buf[256], buf1[32];
137 snprintf(buf1, sizeof(buf1), ",index=%u", index);
138 if (strlen(buf) + strlen(buf1) < sizeof(buf))
139 strcat(buf, buf1);
142 snprintf(buf1, sizeof(buf1), ",device=%u", device);
143 if (strlen(buf) + strlen(buf1) < sizeof(buf))
144 strcat(buf, buf1);
147 snprintf(buf1, sizeof(buf1), ",subdevice=%u", subdevice);
148 if (strlen(buf) + strlen(buf1) < sizeof(buf))
149 strcat(buf, buf1);