/u-boot/common/eeprom/ |
H A D | eeprom_field.c | 33 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 D | eeprom.c | 225 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 D | sscanf.c | 156 * @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 D | vsprintf.c | 895 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 D | zynqmpbif.c | 152 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 D | ublimage.c | 49 char *endptr; local 53 value = strtoul(token, &endptr, 16); 54 if (errno || (token == endptr)) {
|
H A D | aisimage.c | 82 char *endptr; local 86 value = strtoul(token, &endptr, 16); 87 if (errno || (token == endptr)) {
|
H A D | sunxi-spl-image-builder.c | 408 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 D | imx8mimage.c | 40 char *endptr; local 44 value = strtoul(token, &endptr, 16); 45 if (errno || token == endptr) {
|
H A D | imximage.c | 102 char *endptr; local 106 value = strtoul(token, &endptr, 16); 107 if (errno || (token == endptr)) {
|
H A D | kwbimage.c | 1729 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 D | mxsimage.c | 507 char *endptr; local 518 id = strtoul(tok, &endptr, 16); 530 if (endptr == tok) {
|
/u-boot/cmd/ |
H A D | eeprom.c | 205 char *endptr; local 206 long value = simple_strtol(str, &endptr, 16); 208 return (*endptr != '\0') ? -1 : value;
|
H A D | nvedit.c | 206 char *endptr; local 227 i = dectoul(argv[argc - 1], &endptr); 228 if (*endptr != '\0') { /* no size */
|
/u-boot/scripts/dtc/libfdt/ |
H A D | fdt_overlay.c | 449 char *sep, *endptr; local 479 poffset = strtoul(sep + 1, &endptr, 10); 480 if ((*endptr != '\0') || (endptr <= (sep + 1)))
|
/u-boot/scripts/kconfig/ |
H A D | preprocess.c | 345 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 D | fsl_validate.c | 768 char *endptr; local 774 tmp = hextoul(p, &endptr); 781 return *p != '\0' && *endptr == '\0';
|
/u-boot/fs/ubifs/ |
H A D | super.c | 2160 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...] |