Lines Matching refs:endptr
68 char *endptr; in cmd_unreg() local
76 c_token = strtoul(argv[2], &endptr, 16); in cmd_unreg()
80 } else if (errno || endptr == argv[2] || *endptr) { in cmd_unreg()
103 char *endptr; in cmd_open() local
112 c_token = strtoul(argv[2], &endptr, 16); in cmd_open()
116 } else if (errno || endptr == argv[2] || *endptr) { in cmd_open()
123 mseconds = strtoul(argv[3], &endptr, 10); in cmd_open()
127 } else if (errno || endptr == argv[3] || *endptr) { in cmd_open()
156 char *endptr; in cmd_close() local
164 c_token = strtoul(argv[2], &endptr, 16); in cmd_close()
168 } else if (errno || endptr == argv[2] || *endptr) { in cmd_close()
211 char *endptr; in cmd_send() local
220 c_token = strtoul(argv[2], &endptr, 16); in cmd_send()
224 } else if (errno || endptr == argv[2] || *endptr) { in cmd_send()
231 request.a0 = strtoul(argv[3], &endptr, 16); in cmd_send()
235 } else if (errno || endptr == argv[3] || *endptr) { in cmd_send()
241 request.a1 = strtoul(argv[4], &endptr, 16); in cmd_send()
245 } else if (errno || endptr == argv[4] || *endptr) { in cmd_send()
252 request.a2 = strtoul(argv[5], &endptr, 16); in cmd_send()
256 } else if (errno || endptr == argv[5] || *endptr) { in cmd_send()
263 request.a3 = strtoul(argv[6], &endptr, 16); in cmd_send()
267 } else if (errno || endptr == argv[6] || *endptr) { in cmd_send()
274 request.a4 = strtoul(argv[7], &endptr, 16); in cmd_send()
278 } else if (errno || endptr == argv[7] || *endptr) { in cmd_send()
285 request.a5 = strtoul(argv[8], &endptr, 16); in cmd_send()
289 } else if (errno || endptr == argv[8] || *endptr) { in cmd_send()
296 request.a6 = strtoul(argv[9], &endptr, 16); in cmd_send()
300 } else if (errno || endptr == argv[9] || *endptr) { in cmd_send()
307 request.a7 = strtoul(argv[10], &endptr, 16); in cmd_send()
311 } else if (errno || endptr == argv[10] || *endptr) { in cmd_send()