Searched refs:endptr (Results 1 - 18 of 18) sorted by relevance

/u-boot/common/eeprom/
H A Deeprom_field.c33 char *endptr; local
58 byte = simple_strtoul(tmp, &endptr, 0);
59 if (*endptr != '\0' || byte < 0)
76 char *endptr; local
90 val = simple_strtoul(tok, &endptr, 0);
91 if (*endptr != '\0')
/u-boot/board/compulab/common/
H A Deeprom.c225 char *endptr; local
230 int num = simple_strtol(tok, &endptr, 0);
231 if (*endptr != '\0')
238 int remainder = simple_strtol(tok, &endptr, 0);
239 if (*endptr != '\0')
338 char *endptr; local
348 unsigned char day = (unsigned char)simple_strtol(tok1, &endptr, 0);
349 if (*endptr != '\0' || day == 0) {
359 unsigned int year = simple_strtol(tok3, &endptr, 0);
360 if (*endptr !
[all...]
/u-boot/lib/
H A Dsscanf.c156 * @endptr: pointer to number's end in the string
162 strtoq(const char *nptr, char **endptr, int base) argument
179 if (endptr != 0)
180 *endptr = __DECONST(char *, info->any ? s - 1 : nptr);
190 * @endptr: pointer to number's end in the string
197 strtouq(const char *nptr, char **endptr, int base) argument
214 if (endptr != 0)
215 *endptr = __DECONST(char *, info->any ? s - 1 : nptr);
H A Dvsprintf.c895 char *endptr; local
897 *num = simple_strtoull(p, &endptr, 16);
898 return *p != '\0' && *endptr == '\0';
903 char *endptr; local
905 *num = hextoul(p, &endptr);
906 return *p != '\0' && *endptr == '\0';
/u-boot/tools/
H A Dzynqmpbif.c152 char *endptr; local
154 bf->load = strtoll(line, &endptr, 0);
156 return endptr;
161 char *endptr; local
163 bf->entry = strtoll(line, &endptr, 0);
165 return endptr;
170 char *endptr; local
172 bf->offset = strtoll(line, &endptr, 0);
174 return endptr;
179 char *endptr local
[all...]
H A Dublimage.c49 char *endptr; local
53 value = strtoul(token, &endptr, 16);
54 if (errno || (token == endptr)) {
H A Daisimage.c82 char *endptr; local
86 value = strtoul(token, &endptr, 16);
87 if (errno || (token == endptr)) {
H A Dsunxi-spl-image-builder.c408 char *endptr = NULL; local
435 info.ecc_strength = strtol(optarg, &endptr, 0);
436 if (*endptr == '/')
437 info.ecc_step_size = strtol(endptr + 1, NULL, 0);
H A Dimx8mimage.c40 char *endptr; local
44 value = strtoul(token, &endptr, 16);
45 if (errno || token == endptr) {
H A Dimximage.c102 char *endptr; local
106 value = strtoul(token, &endptr, 16);
107 if (errno || (token == endptr)) {
H A Dkwbimage.c1729 char *endptr; local
1741 el->binary.loadaddr = strtoul(value, &endptr, 16);
1742 if (*endptr) {
1758 el->binary.args[argi] = strtoul(value, &endptr, 16);
1759 if (*endptr) {
H A Dmxsimage.c507 char *endptr; local
518 id = strtoul(tok, &endptr, 16);
530 if (endptr == tok) {
/u-boot/cmd/
H A Deeprom.c205 char *endptr; local
206 long value = simple_strtol(str, &endptr, 16);
208 return (*endptr != '\0') ? -1 : value;
H A Dnvedit.c206 char *endptr; local
227 i = dectoul(argv[argc - 1], &endptr);
228 if (*endptr != '\0') { /* no size */
/u-boot/scripts/dtc/libfdt/
H A Dfdt_overlay.c449 char *sep, *endptr; local
479 poffset = strtoul(sep + 1, &endptr, 10);
480 if ((*endptr != '\0') || (endptr <= (sep + 1)))
/u-boot/scripts/kconfig/
H A Dpreprocess.c345 char *tmp, *name, *res, *endptr, *prev, *p; local
359 n = strtoul(tmp, &endptr, 10);
360 if (!*endptr && n > 0 && n <= argc) {
/u-boot/board/freescale/common/
H A Dfsl_validate.c768 char *endptr; local
774 tmp = hextoul(p, &endptr);
781 return *p != '\0' && *endptr == '\0';
/u-boot/fs/ubifs/
H A Dsuper.c2160 char *endptr; local
2180 dev = simple_strtoul(name + 3, &endptr, 0);
2183 if (*endptr == '\0')
2187 if (*endptr == '_' && isdigit(endptr[1])) {
2188 vol = simple_strtoul(endptr + 1, &endptr, 0);
2189 if (*endptr != '\0')
2195 if ((*endptr == ':' || *endptr
[all...]

Completed in 163 milliseconds