Lines Matching refs:end_ptr
27 char *end_ptr; in parse_common_args() local
36 *led = strtoul(argv[arg_idx_led], &end_ptr, 0); in parse_common_args()
37 if (*end_ptr != '\0') { in parse_common_args()
153 char *end_ptr; in cmd_set_brightness() local
161 value = strtoul(argv[arg_idx_value], &end_ptr, 0); in cmd_set_brightness()
162 if (*end_ptr != '\0') { in cmd_set_brightness()
207 char *end_ptr; in cmd_set_color() local
210 col = strtoul(argv[arg_idx_value + i], &end_ptr, 0); in cmd_set_color()
211 if (*end_ptr != '\0') { in cmd_set_color()
245 char *end_ptr; in cmd_set_channel() local
253 value = strtoul(argv[arg_idx_value], &end_ptr, 0); in cmd_set_channel()
254 if (*end_ptr != '\0') { in cmd_set_channel()
300 char *end_ptr; in cmd_write_channels() local
303 val = strtoul(argv[arg_idx_value + i], &end_ptr, 0); in cmd_write_channels()
304 if (*end_ptr != '\0') { in cmd_write_channels()