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

123

/external/compiler-rt/lib/asan/lit_tests/Linux/
H A Dinterception_test.cc14 extern "C" long __interceptor_strtol(const char *nptr, char **endptr, int base);
15 extern "C" long strtol(const char *nptr, char **endptr, int base) { argument
17 return __interceptor_strtol(nptr, endptr, base);
H A Dinterception_failure_test.cc15 extern "C" long strtol(const char *nptr, char **endptr, int base) { argument
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil_unittest.cc58 // Verify that the endptr is set correctly even if not all text was parsed.
60 char* endptr; local
61 EXPECT_EQ(1.5, NoLocaleStrtod(text, &endptr));
62 EXPECT_EQ(3, endptr - text);
73 EXPECT_EQ(1.5, NoLocaleStrtod(text, &endptr));
74 EXPECT_EQ(3, endptr - text);
H A Dstrutil.h286 LIBPROTOBUF_EXPORT int32 strto32_adaptor(const char *nptr, char **endptr,
288 LIBPROTOBUF_EXPORT uint32 strtou32_adaptor(const char *nptr, char **endptr,
291 inline int32 strto32(const char *nptr, char **endptr, int base) { argument
293 return strtol(nptr, endptr, base);
295 return strto32_adaptor(nptr, endptr, base);
298 inline uint32 strtou32(const char *nptr, char **endptr, int base) { argument
300 return strtoul(nptr, endptr, base);
302 return strtou32_adaptor(nptr, endptr, base);
307 inline int64 strto64(const char *nptr, char **endptr, int base) { argument
310 return strtoll(nptr, endptr, bas
313 strtou64(const char *nptr, char **endptr, int base) argument
[all...]
/external/libmtp/examples/
H A Dtrexist.c35 char *endptr; local
46 id = strtoul(argv[1], &endptr, 10);
47 if ( *endptr != 0 ) {
H A Dgetfile.c59 char *endptr; local
69 id = strtoul(argv[1], &endptr, 10);
70 if ( *endptr != 0 ) {
H A Ddelfile.c84 char *endptr; local
89 id = strtoul(argv[i], &endptr, 10);
90 if ( *endptr != 0 ) {
H A Dgetplaylist.c54 char *endptr; local
65 id = strtoul(argv[1], &endptr, 10);
66 if ( *endptr != 0 ) {
/external/libvpx/
H A Dargs.c156 char *endptr; local
158 rawval = strtol(arg->val, &endptr, 10);
160 if (arg->val[0] != '\0' && endptr[0] == '\0')
169 die("Option %s: Invalid character '%c'\n", arg->name, *endptr);
177 char *endptr; local
179 rawval = strtol(arg->val, &endptr, 10);
181 if (arg->val[0] != '\0' && endptr[0] == '\0')
190 die("Option %s: Invalid character '%c'\n", arg->name, *endptr);
203 char *endptr; local
207 rawval = strtol(arg->val, &endptr, 1
238 char *endptr; local
[all...]
/external/valgrind/main/cachegrind/
H A Dcg-arch.c81 Char* endptr; local
85 i1 = VG_(strtoll10)(optval, &endptr); if (*endptr != ',') goto bad;
86 i2 = VG_(strtoll10)(endptr+1, &endptr); if (*endptr != ',') goto bad;
87 i3 = VG_(strtoll10)(endptr+1, &endptr); if (*endptr != '\0') goto bad;
/external/openssh/openbsd-compat/
H A Dstrtoll.c50 strtoll(const char *nptr, char **endptr, int base) argument
144 if (endptr != 0)
145 *endptr = (char *) (any ? s - 1 : nptr);
H A Dstrtoul.c48 strtoul(const char *nptr, char **endptr, int base) argument
104 if (endptr != 0)
105 *endptr = (char *) (any ? s - 1 : nptr);
/external/chromium/third_party/libevent/
H A Devutil.c180 evutil_strtoll(const char *s, char **endptr, int base) argument
183 return (ev_int64_t)strtoll(s, endptr, base);
185 return (ev_int64_t)strtol(s, endptr, base);
197 if (endptr)
198 *endptr = (char*) s;
201 return (ev_int64_t) _strtoi64(s, endptr, base);
/external/chromium/base/
H A Ddir_reader_posix_unittest.cc66 char *endptr; local
67 const unsigned long value = strtoul(reader.name(), &endptr, 10);
69 EXPECT_FALSE(*endptr);
H A Dlinux_util.cc106 char *endptr; local
108 strtoull(buf + sizeof(kSocketLinkPrefix) - 1, &endptr, 10);
109 if (*endptr != ']')
211 char *endptr; local
212 const unsigned long int pid_ul = strtoul(dent->d_name, &endptr, 10);
213 if (pid_ul == ULONG_MAX || *endptr)
267 char *endptr; local
268 const unsigned long int tid_ul = strtoul(dent->d_name, &endptr, 10);
269 if (tid_ul == ULONG_MAX || *endptr)
/external/dbus/tools/
H A Dstrtoll.c65 strtoll(const char * nptr, char ** endptr, int base) argument
162 if (endptr != NULL)
163 *endptr = (char *)(any ? s - 1 : nptr);
H A Dstrtoull.c66 strtoull(const char * nptr, char ** endptr, int base) argument
141 if (endptr != NULL)
142 *endptr = (char *)(any ? s - 1 : nptr);
/external/qemu/android/utils/
H A Dmisc.h74 extern int strtoi(const char *nptr, char **endptr, int base);
/external/qemu/
H A Dcutils.c328 char *endptr; local
334 val = strtod(nptr, &endptr);
335 if (isnan(val) || endptr == nptr || errno != 0) {
347 c = *endptr;
384 * If not terminated by whitespace, ',', or \0, increment endptr
390 endptr++;
391 if (!qemu_isspace(*endptr) && *endptr != ',' && *endptr != 0) {
402 *end = endptr;
[all...]
/external/oprofile/libutil++/
H A Dstring_manip.cpp140 char* endptr; local
144 ret = strtoul(str.c_str(), &endptr, 0);
145 if (*endptr)
/external/bison/lib/
H A Dstrtol.c252 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, argument
392 if (endptr != NULL)
393 *endptr = (STRING_TYPE *) s;
423 if (endptr != NULL)
427 *endptr = (STRING_TYPE *) &save[-1];
430 *endptr = (STRING_TYPE *) nptr;
444 strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr,
447 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);
443 strtol(const STRING_TYPE *nptr, STRING_TYPE **endptr, int base LOCALE_PARAM_PROTO) argument
/external/compiler-rt/lib/asan/
H A Dasan_interceptors.cc483 static inline void FixRealStrtolEndptr(const char *nptr, char **endptr) { argument
484 CHECK(endptr != 0);
485 if (nptr == *endptr) {
491 *endptr = (char*)nptr;
493 CHECK(*endptr >= nptr);
497 char **endptr, int base) {
500 return REAL(strtol)(nptr, endptr, base);
504 if (endptr != 0) {
505 *endptr = real_endptr;
550 char **endptr, in
496 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, int base) argument
549 INTERCEPTOR(long long, strtoll, const char *nptr, char **endptr, int base) argument
[all...]
/external/valgrind/main/include/
H A Dpub_tool_libcbase.h50 // "x"/"X".) If 'endptr' isn't NULL, it gets filled in with the first
51 // non-digit char. Returns 0 if no number could be converted, and 'endptr'
64 extern Long VG_(strtoll10) ( Char* str, Char** endptr );
65 extern Long VG_(strtoll16) ( Char* str, Char** endptr );
66 extern ULong VG_(strtoull10) ( Char* str, Char** endptr );
67 extern ULong VG_(strtoull16) ( Char* str, Char** endptr );
73 extern double VG_(strtod) ( Char* str, Char** endptr );
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.cc160 s64 internal_simple_strtoll(const char *nptr, char **endptr, int base) { argument
181 if (endptr != 0) {
182 *endptr = (have_digits) ? (char*)nptr : old_nptr;
/external/icu4c/tools/pkgdata/
H A Dpkgtypes.c157 CharList *endptr = NULL, *tmp; local
161 end = &endptr;
245 CharList *endptr = NULL;
250 end = &endptr;

Completed in 396 milliseconds

123