/src/lib/libc/gen/ |
signalnumber.c | 49 char *ep; local in function:signalnumber 78 offs = strtol(name+1, &ep, 10); 79 if (ep == name+1 || *ep != '\0' ||
|
dehumanize_number.c | 63 char *ep, unit; local in function:dehumanize_number 106 tmp = strtoll(str, &ep, 10); 107 if (str[0] == '\0' || (ep != delimit && *ep != '\0')) {
|
getbsize.c | 58 char *ep, *p; local in function:__weak_alias 67 if ((n = strtol(p, &ep, 10)) < 0) 71 if (*ep && ep[1]) 73 switch (*ep) {
|
pw_scan.c | 66 char *ep; local in function:gettime 74 l = strtoll(p, &ep, 0); 75 if (p == ep || *ep != '\0') { 99 char *ep; local in function:getid 106 ul = strtoul(p, &ep, 0); 107 if (p == ep || *ep != '\0') { 108 ep = __UNCONST("Invalid number"); 112 ep = strerror(errno) [all...] |
/src/sys/arch/x68k/usr.bin/tvctrl/ |
tvctrl.c | 20 char *ep; local in function:main 27 num = strtoul(argv[0], &ep, 10); 28 if (num > 255 || *ep != '\0')
|
/src/usr.bin/rsh/ |
getport.c | 48 char *ep; local in function:getport 57 port = strtol(service, &ep, 0); 58 if ((service[0] != '\0' && *ep != '\0') ||
|
/src/common/lib/libc/atomic/ |
atomic_c11_compare_exchange_cas_16.c | 48 uint16_t * const ep = expected; local in function:__atomic_compare_exchange_2 49 const uint16_t old = *ep; 59 *ep = prev;
|
atomic_c11_compare_exchange_cas_32.c | 48 uint32_t * const ep = expected; local in function:__atomic_compare_exchange_4 49 const uint32_t old = *ep; 59 *ep = prev;
|
atomic_c11_compare_exchange_cas_8.c | 48 uint8_t * const ep = expected; local in function:__atomic_compare_exchange_1 49 const uint8_t old = *ep; 59 *ep = prev;
|
/src/lib/libc/inet/ |
inet_neta.c | 59 char *ep; local in function:__weak_alias 70 ep = dst + size; 71 if (ep <= dst) 78 advance = snprintf(dst, (size_t)(ep - dst), "%u", b); 79 if (advance <= 0 || advance >= ep - dst) 83 if (dst + 1 >= ep)
|
/src/lib/libcrypt/ |
util.c | 55 char *ep; local in function:getnum 63 rv = strtoul(str, &ep, 0); 65 if (str == ep || *ep) {
|
/src/sys/external/bsd/drm2/include/drm/ |
drm_sysctl.h | 33 const void *bp, *ep, *bd, *ed; member in struct:drm_sysctl_def
|
/src/usr.bin/nice/ |
nice.c | 65 char *ep; local in function:main 84 tmp = strtol(optarg, &ep, 10); 85 if (*ep != '\0' || tmp < INT_MIN || tmp > INT_MAX)
|
/src/usr.bin/printenv/ |
printenv.c | 63 char *cp, **ep; local in function:main 77 for (ep = environ; *ep; ep++) 78 (void)printf("%s\n", *ep); 86 for (ep = environ; *ep; ep++) 87 if (!memcmp(*ep, *argv, len)) { 88 cp = *ep + len [all...] |
/src/bin/stty/ |
gfmt.c | 77 char *ep, *p; local in function:gread 86 if (!(ep = strchr(p, '='))) 88 *ep++ = '\0'; 89 (void)sscanf(ep, "%lx", &tmp); 102 (void)sscanf(ep, "%ld", &tmp); 117 (void)sscanf(ep, "%ld", &tmp); 125 (void)sscanf(ep, "%ld", &tmp);
|
cchar.c | 102 char *arg, *ep, *name; local in function:csearch 125 val = strtol(arg, &ep, 10); 136 if (*ep != '\0') {
|
/src/games/random/ |
random.c | 67 char *ep; local in function:main 94 denom = strtod(*argv, &ep); 97 if (denom == 0 || *ep != '\0')
|
/src/lib/libc/compat/gen/ |
compat_readdir.c | 54 struct dirent e, *ep; local in function:readdir_r 56 if ((error = __readdir_r30(dirp, &e, &ep)) != 0)
|
/src/sbin/mount/ |
fattr.c | 51 char *ep; local in function:a_num 53 id = strtol(s, &ep, 0); 54 if (*ep || s == ep || id < 0) 83 char *ep; local in function:a_mask 85 rv = strtol(s, &ep, 8); 86 if (s == ep || *ep || rv < 0)
|
/src/sys/arch/sgimips/stand/common/ |
iris_parse.c | 48 char *ep = strcpy(bootpath, argv[1]); local in function:parse 49 ep = strrchr(bootpath, '/'); 50 if (ep == NULL) 53 strcpy(kernelname, ep + 1); 55 i = ep - bootpath; 58 ep = strchr(bootpath, '('); 59 if (ep == NULL) 64 strcpy(disksetting, ep + 1);
|
/src/tests/lib/libc/stdlib/ |
t_hsearch.c | 87 ENTRY e, *ep; local in function:ATF_TC_BODY 103 ep = hsearch(e, ENTER); 105 ATF_REQUIRE(ep != NULL); 106 ATF_REQUIRE_STREQ(ep->key, ch); 107 ATF_REQUIRE_EQ((intptr_t)ep->data, i); 117 ep = hsearch(e, FIND); 119 ATF_REQUIRE(ep != NULL); 120 ATF_REQUIRE_STREQ(ep->key, ch); 121 ATF_REQUIRE_EQ((intptr_t)ep->data, i); 137 ENTRY e, *ep; local in function:ATF_TC_BODY 172 ENTRY e, *ep; local in function:ATF_TC_BODY 193 ENTRY e, *ep, *ep2; local in function:ATF_TC_BODY 241 ENTRY e, *ep; local in function:ATF_TC_BODY 290 ENTRY e, *ep; local in function:ATF_TC_BODY 325 ENTRY e, *ep; local in function:ATF_TC_BODY 347 ENTRY e, *ep, *ep2; local in function:ATF_TC_BODY [all...] |
/src/bin/sh/ |
mystring.c | 117 char *ep = NULL; local in function:number 120 if (!is_digit(*s) || ((n = strtoimax(s, &ep, 10)), 121 (ep == NULL || ep == s || *ep != '\0')))
|
/src/common/lib/libc/stdlib/ |
_strtoi.h | 72 char *ep; local in function:_FUNCNAME 81 endptr = &ep;
|
/src/bin/pax/ |
dumptar.c | 63 char *ep, *b = buf(p, s); local in function:intarg 64 int r = (int)strtol(b, &ep, 8); 106 char *p, *ep; local in function:main 124 ep = (char *)p + (size_t)st.st_size; 126 for (; p < ep + sizeof(HD_USTAR);) {
|
/src/games/hack/ |
hack.rumors.c | 112 char *ep; local in function:outline 115 if ((ep = strchr(line, '\n')) != 0) 116 *ep = 0;
|