Lines Matching defs:pos
474 int i, pos = 0;
477 pos += sprintf(array + pos, "%x", LED_ACTIVE(led_mux, i));
479 array[pos] = '\0';
588 int ret, pos = 0;
648 pos += sprintf(buf + pos, "LED %d FAIL\n",
659 if (pos == 0)
660 pos = sprintf(buf, "OK\n");
663 pos = sprintf(buf, "FAIL\n");
668 return pos;
744 int i, ret, pos = 0;
760 buf[pos++] = val + '0';
762 buf[pos++] = '\n';
763 ret = pos;