Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 3 of 3) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dargs.c141 char *endptr; in arg_parse_uint() local
143 rawval = strtol(arg->val, &endptr, 10); in arg_parse_uint()
145 if (arg->val[0] != '\0' && endptr[0] == '\0') { in arg_parse_uint()
153 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_uint()
160 char *endptr; in arg_parse_int() local
162 rawval = strtol(arg->val, &endptr, 10); in arg_parse_int()
164 if (arg->val[0] != '\0' && endptr[0] == '\0') { in arg_parse_int()
172 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_int()
183 char *endptr; in arg_parse_rational() local
187 rawval = strtol(arg->val, &endptr, 10); in arg_parse_rational()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c752 char *endptr = NULL; in dhd_sd_blocksize() local
765 func = strtol(argv[1], &endptr, 0); in dhd_sd_blocksize()
766 if (*endptr != '\0') { in dhd_sd_blocksize()
772 size = strtol(argv[2], &endptr, 0); in dhd_sd_blocksize()
773 if (*endptr != '\0') { in dhd_sd_blocksize()
1114 char *endptr = NULL; in dhd_idletime() local
1123 idletime = strtol(argv[1], &endptr, 0); in dhd_idletime()
1124 if (*endptr != '\0') { in dhd_idletime()
1136 endptr = buf + strlen(buf) + 1; in dhd_idletime()
1137 memcpy(endptr, &idletime, sizeof(uint32)); in dhd_idletime()
[all …]
Dminiopt.c60 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local
146 t->uval = (uint)strtoul(valstr, &endptr, 0); in miniopt()
148 t->good_int = (*endptr == '\0'); in miniopt()