• Home
  • Raw
  • Download

Lines Matching refs:endptr

753 	char *endptr = NULL;  in dhd_sd_blocksize()  local
766 func = strtol(argv[1], &endptr, 0); in dhd_sd_blocksize()
767 if (*endptr != '\0') { in dhd_sd_blocksize()
773 size = strtol(argv[2], &endptr, 0); in dhd_sd_blocksize()
774 if (*endptr != '\0') { in dhd_sd_blocksize()
1115 char *endptr = NULL; in dhd_idletime() local
1124 idletime = strtol(argv[1], &endptr, 0); in dhd_idletime()
1125 if (*endptr != '\0') { in dhd_idletime()
1137 endptr = buf + strlen(buf) + 1; in dhd_idletime()
1138 memcpy(endptr, &idletime, sizeof(uint32)); in dhd_idletime()
1139 endptr += sizeof(uint32); in dhd_idletime()
1140 err = dhd_set(dhd, DHD_SET_VAR, &buf[0], (endptr - buf)); in dhd_idletime()
1164 char *endptr = NULL; in dhd_idleclock() local
1173 idleclock = strtol(argv[1], &endptr, 0); in dhd_idleclock()
1174 if (*endptr != '\0') { in dhd_idleclock()
1182 endptr = buf + strlen(buf) + 1; in dhd_idleclock()
1183 memcpy(endptr, &idleclock, sizeof(int32)); in dhd_idleclock()
1184 endptr += sizeof(int32); in dhd_idleclock()
1185 err = dhd_set(dhd, DHD_SET_VAR, &buf[0], (endptr - buf)); in dhd_idleclock()
1215 char *endptr; in dhd_sprom()
1315 offset = strtoul(*++argv, &endptr, 0) * 2; in dhd_sprom()
1316 if (*endptr != '\0') { in dhd_sprom()
1332 *wordptr++ = (uint16)strtoul(*argv, &endptr, 0); in dhd_sprom()
1333 if (*endptr != '\0') { in dhd_sprom()
2533 char *endptr = NULL; in dhd_logstamp() local
2545 valn[0] = strtol(argv[0], &endptr, 0); in dhd_logstamp()
2546 if (*endptr != '\0') { in dhd_logstamp()
2553 valn[1] = strtol(argv[1], &endptr, 0); in dhd_logstamp()
2554 if (*endptr != '\0') { in dhd_logstamp()
2570 char *endptr = NULL; in dhd_sd_reg() local
2595 sdreg.func = strtoul(*argv++, &endptr, 0); in dhd_sd_reg()
2596 if (*endptr != '\0') { in dhd_sd_reg()
2604 sdreg.offset = strtoul(*argv++, &endptr, 0); in dhd_sd_reg()
2605 if (*endptr != '\0') { in dhd_sd_reg()
2612 sdreg.value = strtoul(*argv, &endptr, 0); in dhd_sd_reg()
2613 if (*endptr != '\0') { in dhd_sd_reg()
2664 char *endptr = NULL; in dhd_do_msglevel() local
2686 val = strtoul(s, &endptr, 0); in dhd_do_msglevel()
2688 if (*endptr != '\0') { in dhd_do_msglevel()
2776 char *endptr = NULL; in dhd_var_setint() local
2796 val = strtol(*argv, &endptr, 0); in dhd_var_setint()
2797 if (*endptr != '\0') { in dhd_var_setint()