/u-boot/common/eeprom/ |
A D | eeprom_field.c | 33 char *endptr; in __eeprom_field_update_bin() local 58 byte = simple_strtoul(tmp, &endptr, 0); in __eeprom_field_update_bin() 59 if (*endptr != '\0' || byte < 0) in __eeprom_field_update_bin() 76 char *endptr; in __eeprom_field_update_bin_delim() local 90 val = simple_strtoul(tok, &endptr, 0); in __eeprom_field_update_bin_delim() 91 if (*endptr != '\0') in __eeprom_field_update_bin_delim()
|
/u-boot/board/compulab/common/ |
A D | eeprom.c | 234 char *endptr; in eeprom_field_update_bin_ver() local 239 int num = simple_strtol(tok, &endptr, 0); in eeprom_field_update_bin_ver() 240 if (*endptr != '\0') in eeprom_field_update_bin_ver() 247 int remainder = simple_strtol(tok, &endptr, 0); in eeprom_field_update_bin_ver() 248 if (*endptr != '\0') in eeprom_field_update_bin_ver() 347 char *endptr; in eeprom_field_update_date() local 357 unsigned char day = (unsigned char)simple_strtol(tok1, &endptr, 0); in eeprom_field_update_date() 358 if (*endptr != '\0' || day == 0) { in eeprom_field_update_date() 368 unsigned int year = simple_strtol(tok3, &endptr, 0); in eeprom_field_update_date() 369 if (*endptr != '\0') { in eeprom_field_update_date()
|
/u-boot/tools/ |
A D | relocate-rela.c | 57 char *endptr; in read_num() local 58 *num = strtoull(str, &endptr, 16); in read_num() 59 return str[0] && !endptr[0]; in read_num()
|
A D | zynqmpbif.c | 152 char *endptr; in parse_load() local 154 bf->load = strtoll(line, &endptr, 0); in parse_load() 156 return endptr; in parse_load() 161 char *endptr; in parse_entry() local 165 return endptr; in parse_entry() 170 char *endptr; in parse_offset() local 174 return endptr; in parse_offset() 179 char *endptr = NULL; in parse_partition_owner() local 182 endptr = line + 4; in parse_partition_owner() 185 endptr = line + 5; in parse_partition_owner() [all …]
|
A D | ublimage.c | 49 char *endptr; in get_cfg_value() local 53 value = strtoul(token, &endptr, 16); in get_cfg_value() 54 if (errno || (token == endptr)) { in get_cfg_value()
|
A D | sunxi-spl-image-builder.c | 408 char *endptr = NULL; in main() local 435 info.ecc_strength = strtol(optarg, &endptr, 0); in main() 436 if (*endptr == '/') in main() 437 info.ecc_step_size = strtol(endptr + 1, NULL, 0); in main()
|
A D | aisimage.c | 82 char *endptr; in get_cfg_value() local 86 value = strtoul(token, &endptr, 16); in get_cfg_value() 87 if (errno || (token == endptr)) { in get_cfg_value()
|
A D | imx8mimage.c | 40 char *endptr; in get_cfg_value() local 44 value = strtoul(token, &endptr, 16); in get_cfg_value() 45 if (errno || token == endptr) { in get_cfg_value()
|
A D | imximage.c | 102 char *endptr; in get_cfg_value() local 106 value = strtoul(token, &endptr, 16); in get_cfg_value() 107 if (errno || (token == endptr)) { in get_cfg_value()
|
A D | mxsimage.c | 507 char *endptr; in sb_token_to_long() local 518 id = strtoul(tok, &endptr, 16); in sb_token_to_long() 530 if (endptr == tok) { in sb_token_to_long()
|
/u-boot/lib/ |
A D | sscanf.c | 162 strtoq(const char *nptr, char **endptr, int base) in strtoq() argument 179 if (endptr != 0) in strtoq() 180 *endptr = __DECONST(char *, info->any ? s - 1 : nptr); in strtoq() 197 strtouq(const char *nptr, char **endptr, int base) in strtouq() argument 214 if (endptr != 0) in strtouq() 215 *endptr = __DECONST(char *, info->any ? s - 1 : nptr); in strtouq()
|
A D | vsprintf.c | 861 char *endptr; in str2off() local 863 *num = simple_strtoull(p, &endptr, 16); in str2off() 864 return *p != '\0' && *endptr == '\0'; in str2off() 869 char *endptr; in str2long() local 871 *num = simple_strtoul(p, &endptr, 16); in str2long() 872 return *p != '\0' && *endptr == '\0'; in str2long()
|
/u-boot/cmd/ |
A D | eeprom.c | 223 char *endptr; in parse_numeric_param() local 224 int value = simple_strtol(str, &endptr, 16); in parse_numeric_param() 226 return (*endptr != '\0') ? -1 : value; in parse_numeric_param()
|
A D | nvedit.c | 405 char *endptr; in do_env_ask() local 426 i = simple_strtoul(argv[argc - 1], &endptr, 10); in do_env_ask() 427 if (*endptr != '\0') { /* no size */ in do_env_ask()
|
/u-boot/scripts/dtc/libfdt/ |
A D | fdt_overlay.c | 449 char *sep, *endptr; in overlay_fixup_phandle() local 479 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle() 480 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
|
/u-boot/scripts/kconfig/ |
A D | preprocess.c | 345 char *tmp, *name, *res, *endptr, *prev, *p; in eval_clause() local 359 n = strtoul(tmp, &endptr, 10); in eval_clause() 360 if (!*endptr && n > 0 && n <= argc) { in eval_clause()
|
/u-boot/fs/ubifs/ |
A D | super.c | 2157 char *endptr; in open_ubi() local 2177 dev = simple_strtoul(name + 3, &endptr, 0); in open_ubi() 2180 if (*endptr == '\0') in open_ubi() 2184 if (*endptr == '_' && isdigit(endptr[1])) { in open_ubi() 2185 vol = simple_strtoul(endptr + 1, &endptr, 0); in open_ubi() 2186 if (*endptr != '\0') in open_ubi() 2192 if ((*endptr == ':' || *endptr == '!') && endptr[1] != '\0') in open_ubi() 2193 return ubi_open_volume_nm(dev, ++endptr, mode); in open_ubi()
|
/u-boot/board/freescale/common/ |
A D | fsl_validate.c | 764 char *endptr; in str2longbe() local 770 tmp = simple_strtoul(p, &endptr, 16); in str2longbe() 777 return *p != '\0' && *endptr == '\0'; in str2longbe()
|