Home
last modified time | relevance | path

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

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c753 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()
[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()
/hardware/st/secure_element2/secure_element/esehal/src/
Dlibse-gto.c65 char *endptr; in log_level() local
68 prio = strtol(priority, &endptr, 10); in log_level()
69 if ((endptr[0] == '\0') || isspace(endptr[0])) in log_level()
/hardware/interfaces/tetheroffload/aidl/default/
DOffload.cpp236 char* endptr; in validateIpAddressOrPrefix() local
237 unsigned long prefixlen = strtoul(prefixString, &endptr, 10); in validateIpAddressOrPrefix()
238 if (*endptr != '\0') return false; in validateIpAddressOrPrefix()
/hardware/google/apf/
Dapf_run.c285 char *endptr; in main() local
326 filter_age = strtoul(optarg, &endptr, 10); in main()
332 if (endptr == optarg) { in main()
/hardware/google/gfxstream/guest/mesa/src/util/
Du_debug.c214 char *endptr; in debug_parse_num_option() local
216 result = strtoll(str, &endptr, 0); in debug_parse_num_option()
217 if (str == endptr) { in debug_parse_num_option()
/hardware/interfaces/camera/common/default/
DCameraParameters.cpp286 static int parse_pair(const char* str, int* first, int* second, char delim, char** endptr = NULL) { in parse_pair() argument
302 if (endptr) { in parse_pair()
303 *endptr = end; in parse_pair()
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp1977 char *endptr, *param, *val_p; in setupTwtRequest() local
2006 msg.wake_dur_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2008 msg.wake_int_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2010 msg.wake_int_min_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2012 msg.wake_int_max_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2014 msg.wake_dur_min_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2016 msg.wake_dur_max_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2018 msg.avg_pkt_size = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2020 msg.avg_pkt_num = strtoul(val_p, &endptr, 0); in setupTwtRequest()
2022 msg.wake_time_off_us = strtoul(val_p, &endptr, 0); in setupTwtRequest()
[all …]
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c303 char *endptr = NULL; in wpa_driver_cmd_set_congestion_report() local
309 enable = strtol(cmd, &endptr, 10); in wpa_driver_cmd_set_congestion_report()
329 if (!(*endptr) || in wpa_driver_cmd_set_congestion_report()
330 ((threshold = strtol(endptr, &endptr, 10)) < 0 || threshold > 100) || in wpa_driver_cmd_set_congestion_report()
331 !(*endptr) || in wpa_driver_cmd_set_congestion_report()
332 ((interval = strtol(endptr, &endptr, 10)) < 1 || interval > 30)) { in wpa_driver_cmd_set_congestion_report()
360 char *endptr = NULL; in wpa_driver_cmd_set_tx_power() local
366 dbm = strtol(cmd, &endptr, 10); in wpa_driver_cmd_set_tx_power()
367 if (*endptr || dbm < 0) { in wpa_driver_cmd_set_tx_power()
5748 char *endptr = NULL; in wpa_driver_nl80211_driver_cmd() local
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParameters.h1090 char delim, char **endptr);
DQCameraParameters.cpp6550 char **endptr = NULL) in parse_pair() argument
6567 if (endptr) { in parse_pair()
6568 *endptr = end; in parse_pair()