Home | History | Annotate | Download | only in liblights

Lines Matching refs:bytes

164     int bytes;
172 bytes = snprintf(buffer, sizeof(buffer), "%d\n", value);
173 while (bytes > 0) {
174 amt = write(prop->fd, buffer, bytes);
180 bytes -= amt;
190 int bytes;
199 bytes = snprintf(buffer, sizeof(buffer), "%d %d %d\n", red, green, blue);
200 while (bytes > 0) {
201 amt = write(prop->fd, buffer, bytes);
207 bytes -= amt;