Searched refs:endptr (Results 1 - 25 of 73) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dbb_strtonum.c29 static unsigned long long handle_errors(unsigned long long v, char **endp, char *endptr) argument
31 if (endp) *endp = endptr;
36 if (endptr[-1] == '-')
40 if (endptr[0]) {
42 if (isalnum(endptr[0]) || errno)
54 char *endptr; local
62 v = strtoull(arg, &endptr, base);
63 return handle_errors(v, endp, endptr);
69 char *endptr; local
73 v = strtoll(arg, &endptr, bas
81 char *endptr; local
92 char *endptr; local
105 char *endptr; local
117 char *endptr; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/share/grabbag/
H A Dseektable.c30 static FLAC__int64 local__strtoll(const char *src, char **endptr) argument
48 if(endptr)
49 *endptr = (char*)src;
109 char *endptr; local
111 const FLAC__int64 n = local__strtoll(pt, &endptr);
113 const FLAC__int64 n = (FLAC__int64)strtoll(pt, &endptr, 10);
116 (n > 0 || (endptr > pt && *endptr == ';')) && /* is a valid number (extra check needed for "0") */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dstrtoofft.c55 curlx_strtoll(const char *nptr, char **endptr, int base) argument
80 if(endptr) {
81 *endptr = end;
138 if(endptr)
139 *endptr = end;
H A Dstrtoofft.h51 curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/
H A Dvty.h161 char *endptr = NULL; \
162 (V) = strtoul ((STR), &endptr, 10); \
163 if ((V) == ULONG_MAX || *endptr != '\0') \
172 char *endptr = NULL; \
173 (V) = strtoul ((STR), &endptr, 10); \
174 if ((V) == ULONG_MAX || *endptr != '\0' \
H A Dkeychain.c282 char *endptr = NULL;
286 index = strtoul (argv[0], &endptr, 10);
287 if (index == ULONG_MAX || *endptr != '\0')
309 char *endptr = NULL;
313 index = strtoul (argv[0], &endptr, 10);
314 if (index == ULONG_MAX || *endptr != '\0')
382 char *endptr = NULL;
408 hour = strtoul (time_str, &endptr, 10);
409 if (hour == ULONG_MAX || *endptr != '\0' || hour < 0 || hour > 23)
420 min = strtoul (time_str, &endptr, 1
281 char *endptr = NULL; variable
308 char *endptr = NULL; variable
381 char *endptr = NULL; local
510 char *endptr = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/libtest/
H A Dfirst.c86 char *endptr; local
87 long num = strtol(env, &endptr, 10);
88 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/clib/
H A Dstrtol.c51 strtol(nptr, endptr, base)
53 char ** endptr;
139 if (endptr != NULL)
140 *endptr = (char *)(any ? s - 1 : nptr);
H A Dstrtoul.c51 strtoul(nptr, endptr, base)
53 char ** endptr;
118 if (endptr != NULL)
119 *endptr = (char *)(any ? s - 1 : nptr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_cb_prg.c125 char *endptr; local
126 long num = strtol(colp, &endptr, 10);
127 if((endptr != colp) && (endptr == colp + strlen(colp)) && (num > 0))
H A Dtool_operhlp.c230 char *endptr; local
231 long num = strtol(env, &endptr, 10);
232 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/
H A Dospf_vty.h25 char *endptr = NULL; \
26 (V) = strtoul ((STR), &endptr, 10); \
27 if (*endptr != '\0' || ((V) == ULONG_MAX && errno == ERANGE)) \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-daemon/
H A Dsetproctitle.c55 char **new_environ, *endptr; local
63 endptr = i ? environ[i-1] + strlen(environ[i-1]) : argv[argc-1] + strlen(argv[argc-1]);
66 argv_size = endptr - argv_buffer[0];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/
H A Dfiles.c72 char *endptr; local
73 *dest = strtoul(line, &endptr, 0);
74 return endptr[0] == '\0';
97 char *opt, *val, *endptr; local
139 buffer[0] = strtoul(val, &endptr, 0);
140 retval = (endptr[0] == '\0');
143 result_u16 = htons(strtoul(val, &endptr, 0));
145 retval = (endptr[0] == '\0');
148 result_u16 = htons(strtol(val, &endptr, 0));
150 retval = (endptr[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dstrtol.c240 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, argument
380 if (endptr != NULL)
381 *endptr = (STRING_TYPE *) s;
411 if (endptr != NULL)
415 *endptr = (STRING_TYPE *) &save[-1];
418 *endptr = (STRING_TYPE *) nptr;
432 strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr,
435 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);
431 strtol(const STRING_TYPE *nptr, STRING_TYPE **endptr, int base LOCALE_PARAM_PROTO) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dstrtol.c240 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, argument
380 if (endptr != NULL)
381 *endptr = (STRING_TYPE *) s;
411 if (endptr != NULL)
415 *endptr = (STRING_TYPE *) &save[-1];
418 *endptr = (STRING_TYPE *) nptr;
432 strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr,
435 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);
431 strtol(const STRING_TYPE *nptr, STRING_TYPE **endptr, int base LOCALE_PARAM_PROTO) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libpwdgrp/
H A Dpwd_grp.c653 char *endptr; local
674 unsigned long t = strtoul(line, &endptr, 10);
679 if ((endptr == line) || (*endptr != ':')) {
682 line = endptr;
707 char *endptr; local
727 *((gid_t *) p) = strtoul(line, &endptr, 10);
736 if ((endptr == line) || (*endptr != ':')) {
741 p = endptr;
811 char *endptr; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/
H A Dfiles.c156 char *opt, *val, *endptr; local
211 buffer[0] = strtoul(val, &endptr, 0);
212 retval = (endptr[0] == '\0');
218 unsigned long tmp = strtoul(val, &endptr, 0);
220 retval = (endptr[0] == '\0' /*&& tmp < 0x10000*/);
224 long tmp = strtol(val, &endptr, 0);
226 retval = (endptr[0] == '\0');
230 unsigned long tmp = strtoul(val, &endptr, 0);
232 retval = (endptr[0] == '\0');
236 long tmp = strtol(val, &endptr,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/
H A Dutils.c104 char *endptr; local
107 endptr = strchr(s, t);
108 if (!endptr)
112 slen = endptr - s;
127 char *endptr; local
130 endptr = strchr(s, t);
131 if (!endptr)
135 slen = endptr - s;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/sibyte/cfe/
H A Dsetup.c187 char *tmp, *endptr; local
213 initrd_size = simple_strtoul(str, &endptr, 16);
214 if (*endptr) {
219 initrd_start = simple_strtoul(tmp, &endptr, 16);
220 if (*endptr) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripngd/
H A Dripng_routemap.c131 char *endptr = NULL;
159 metric = strtol (pnt, &endptr, 10);
161 if (metric == LONG_MAX || *endptr != '\0')
129 char *endptr = NULL; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdsuper.c165 char *endptr; local
167 mtdnr = simple_strtoul(dev_name + 3, &endptr, 0);
168 if (!*endptr) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/
H A Dbcmstdlib.h100 #define strtol(nptr, endptr, base) ((long)strtoul((nptr), (endptr), (base)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/glib/
H A Dgstrfuncs.in.h136 gchar **endptr);
138 gchar **endptr);
140 gchar **endptr,
143 gchar **endptr,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/glib/
H A Dgstrfuncs.in.h136 gchar **endptr);
138 gchar **endptr);
140 gchar **endptr,
143 gchar **endptr,

Completed in 229 milliseconds

123