Lines Matching defs:pos
470 int i, pos = 0;
473 pos += sprintf(array + pos, "%x", LED_ACTIVE(led_mux, i));
475 array[pos] = '\0';
584 int i, ret, pos = 0;
643 pos += sprintf(buf + pos, "LED %d FAIL\n", i);
652 if (pos == 0)
653 pos = sprintf(buf, "OK\n");
656 pos = sprintf(buf, "FAIL\n");
661 return pos;
737 int i, ret, pos = 0;
753 buf[pos++] = val + '0';
755 buf[pos++] = '\n';
756 ret = pos;