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

1234

/netbsd-6-1-5-RELEASE/gnu/dist/grep/lib/
H A Dstrtoumax.c57 strtoumax (char const *ptr, char **endptr, int base) argument
60 if (sizeof (uintmax_t) == sizeof function (ptr, endptr, base)) \
61 return function (ptr, endptr, base);
77 char *p, *endptr; local
79 printf ("sizeof strtoull(): %d\n", sizeof strtoull(p, &endptr, 10));
80 printf ("sizeof strtoul(): %d\n", sizeof strtoul(p, &endptr, 10));
/netbsd-6-1-5-RELEASE/lib/libc/gdtoa/
H A D_strtof.c40 strtof(const char *nptr, char **endptr)
43 return _strtof(nptr, endptr);
H A D_strtold.c40 strtold(const char *nptr, char **endptr)
43 return _strtold(nptr, endptr);
H A Dstrtold_subr.c41 strtold(const char *nptr, char **endptr)
45 (void)STRTOP(GDTOA_LD_FMT)(nptr, endptr, &ld);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/8_c_compatibility/cstdlib/
H A Dfunctions.cc34 char** endptr = 0; local
51 ret = std::tr1::strtoll(s, endptr, base);
52 uret = std::tr1::strtoull(s, endptr, base);
54 fret = std::tr1::strtof(s, endptr);
55 ldret = std::tr1::strtold(s, endptr);
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/lib/
H A Dstrtoll.c45 strtoll(const char *ptr, const char **endptr, int base) argument
55 if (endptr != NULL) {
56 *endptr = cp;
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/libamu/
H A Dmtab.c177 char *eq, *endptr; local
193 endptr = NULL;
194 i = strtol(eq, &endptr, 0); /* hex and octal allowed ;-) */
195 if (!endptr ||
196 (endptr != eq && (*endptr == ',' || *endptr == '\0'))) {
198 * endptr set means strtol saw a non-digit. If the non-digit is a
236 char *endptr = strchr(eq, ','); local
239 if (!endptr)
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/locale/
H A D_wcstod.h55 _FUNCNAME(const wchar_t * __restrict nptr, wchar_t ** __restrict endptr) argument
63 /* endptr may be null */
113 if (endptr != NULL)
115 *endptr = __UNCONST(start + (size_t)(end - buf));
122 if (endptr != NULL)
123 *endptr = __UNCONST(nptr);
H A D_wcstoul.h47 _FUNCNAME(nptr, endptr, base)
49 wchar_t **endptr; variable
59 /* endptr may be NULL */
117 if (endptr != 0)
118 *endptr = __UNCONST(any ? s - 1 : nptr);
H A D_wcstol.h48 _FUNCNAME(nptr, endptr, base)
50 wchar_t **endptr; variable
60 /* endptr may be NULL */
141 if (endptr != 0)
142 *endptr = __UNCONST(any ? s - 1 : nptr);
/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/src/
H A Dstrtoc.c35 mpc_strtoc (mpc_ptr rop, const char *nptr, char **endptr, int base, mpc_rnd_t rnd) { argument
78 if (endptr != NULL)
79 *endptr = (char*) p;
83 if (endptr != NULL)
84 *endptr = (char*) nptr;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/
H A Dfunctions.cc32 char** endptr = 0; local
48 ret = std::tr1::strtoimax(s, endptr, base);
49 uret = std::tr1::strtoumax(s, endptr, base);
/netbsd-6-1-5-RELEASE/gnu/dist/diffutils/lib/
H A Dstrtoimax.c88 strtoimax (char const *ptr, char **endptr, int base) argument
96 return strtoll (ptr, endptr, base);
102 return strtol (ptr, endptr, base);
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/stand/lcboot/
H A Dmain.c457 char *endptr; local
462 p = (const char *) strtoul(opt, &endptr, 16);
463 if (opt == endptr) {
469 limit = (const char *) strtoul(opt, &endptr, 16);
470 if (opt == endptr) {
520 char *endptr; local
537 reclen_bk = reclen = strtoul(s2lbuf, &endptr, 16);
538 if (endptr != &s2lbuf[2])
570 recaddr = strtoul(s2lbuf, &endptr, 16);
571 if (endptr !
638 char *endptr; local
650 char *endptr; local
712 char *endptr; local
[all...]
/netbsd-6-1-5-RELEASE/external/mit/lua/dist/src/
H A Dlobject.c93 char *endptr; local
94 *result = lua_str2number(s, &endptr);
95 if (endptr == s) return 0; /* conversion failed */
96 if (*endptr == 'x' || *endptr == 'X') /* maybe an hexadecimal constant? */
97 *result = cast_num(strtoul(s, &endptr, 16));
98 if (*endptr == '\0') return 1; /* most common case */
99 while (isspace(cast(unsigned char, *endptr))) endptr++;
100 if (*endptr !
[all...]
/netbsd-6-1-5-RELEASE/common/lib/libc/stdlib/
H A D_strtol.h46 _FUNCNAME(const char *nptr, char **endptr, int base) argument
54 /* endptr may be NULL */
60 if (endptr != NULL)
62 *endptr = __UNCONST(nptr);
165 if (endptr != NULL)
167 *endptr = __UNCONST(any ? s - 1 : nptr);
H A D_strtoul.h45 _FUNCNAME(const char *nptr, char **endptr, int base) argument
53 /* endptr may be NULL */
124 if (endptr != NULL)
126 *endptr = __UNCONST(any ? s - 1 : nptr);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Ddbgcnt.c105 char *endptr = NULL; local
111 value = strtol (colon + 1, &endptr, 10);
113 if (endptr != NULL && endptr != colon + 1
115 return endptr;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/
H A Dmakeucnid.c77 char *endptr; local
78 start = strtoul (l, &endptr, 16);
79 if (endptr == l || (*endptr != '-' && ! isspace (*endptr)))
81 l = endptr;
86 end = strtoul (l + 1, &endptr, 16);
89 l = endptr;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Dmakeucnid.c77 char *endptr; local
78 start = strtoul (l, &endptr, 16);
79 if (endptr == l || (*endptr != '-' && ! isspace (*endptr)))
81 l = endptr;
86 end = strtoul (l + 1, &endptr, 16);
89 l = endptr;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dauxv.h33 gdb_byte **readptr, gdb_byte *endptr,
/netbsd-6-1-5-RELEASE/dist/nvi/clib/
H A Dstrtol.c58 strtol(const char *nptr, char **endptr, register int base) argument
130 if (endptr != 0)
131 *endptr = (char *)(any ? s - 1 : nptr);
H A Dstrtoul.c58 strtoul(const char *nptr, char **endptr, register int base) argument
109 if (endptr != 0)
110 *endptr = (char *)(any ? s - 1 : nptr);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/
H A Dstrtoul.c76 isc_strtoul(const char *nptr, char **endptr, int base) { argument
128 if (endptr != 0)
129 DE_CONST(any ? s - 1 : nptr, *endptr);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dstrtoul.c82 lwres_strtoul(const char *nptr, char **endptr, int base) { argument
134 if (endptr != 0)
135 DE_CONST(any ? s - 1 : nptr, *endptr);

Completed in 189 milliseconds

1234