Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 25 of 35) sorted by relevance

12

/external/compiler-rt/lib/asan/
Dasan_interceptors.cc553 static inline void FixRealStrtolEndptr(const char *nptr, char **endptr) { in FixRealStrtolEndptr() argument
555 if (nptr == *endptr) { in FixRealStrtolEndptr()
559 while (IsSpace(*nptr)) nptr++; in FixRealStrtolEndptr()
560 if (*nptr == '+' || *nptr == '-') nptr++; in FixRealStrtolEndptr()
561 *endptr = (char*)nptr; in FixRealStrtolEndptr()
563 CHECK(*endptr >= nptr); in FixRealStrtolEndptr()
566 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT in INTERCEPTOR() argument
570 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR()
573 long result = REAL(strtol)(nptr, &real_endptr, base); // NOLINT in INTERCEPTOR()
578 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
[all …]
Dasan_intercepted_functions.h102 int atoi(const char *nptr);
103 long atol(const char *nptr); // NOLINT
104 long strtol(const char *nptr, char **endptr, int base); // NOLINT
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libc.cc18 s64 internal_atoll(const char *nptr) { in internal_atoll() argument
19 return internal_simple_strtoll(nptr, (char**)0, 10); in internal_atoll()
177 s64 internal_simple_strtoll(const char *nptr, char **endptr, int base) { in internal_simple_strtoll() argument
179 while (IsSpace(*nptr)) nptr++; in internal_simple_strtoll()
183 char *old_nptr = (char*)nptr; in internal_simple_strtoll()
184 if (*nptr == '+') { in internal_simple_strtoll()
186 nptr++; in internal_simple_strtoll()
187 } else if (*nptr == '-') { in internal_simple_strtoll()
189 nptr++; in internal_simple_strtoll()
191 while (IsDigit(*nptr)) { in internal_simple_strtoll()
[all …]
Dsanitizer_libc.h27 s64 internal_atoll(const char *nptr);
47 s64 internal_simple_strtoll(const char *nptr, char **endptr, int base);
/external/protobuf/src/google/protobuf/stubs/
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) { in strto32() argument
293 return strtol(nptr, endptr, base); in strto32()
295 return strto32_adaptor(nptr, endptr, base); in strto32()
298 inline uint32 strtou32(const char *nptr, char **endptr, int base) { in strtou32() argument
300 return strtoul(nptr, endptr, base); in strtou32()
302 return strtou32_adaptor(nptr, endptr, base); in strtou32()
307 inline int64 strto64(const char *nptr, char **endptr, int base) { in strto64() argument
310 return strtoll(nptr, endptr, base); in strto64()
[all …]
/external/clang/test/CodeGen/
Dlibcalls-fno-builtin.c23 double strtod(const char *nptr, char **endptr);
24 float strtof(const char *nptr, char **endptr);
25 long double strtold(const char *nptr, char **endptr);
26 long int strtol(const char *nptr, char **endptr, int base);
27 long long int strtoll(const char *nptr, char **endptr, int base);
28 unsigned long int strtoul(const char *nptr, char **endptr, int base);
29 unsigned long long int strtoull(const char *nptr, char **endptr, int base);
/external/openssl/crypto/bn/asm/
Dx86_64-mont.pl695 my $nptr="%rcx"; # const BN_ULONG *nptr,
730 # +40 saved $nptr
736 mov $nptr,40(%rsp)
1198 my ($topbit,$nptr)=("%rbp",$aptr);
1202 mov 40(%rsp),$nptr # restore $nptr
1212 lea ($nptr,$num),$nptr # end of n[] buffer
1215 mov 0($nptr,$j),%rax # n[0] # modsched #
1216 mov 8($nptr,$j),$Ni[1] # n[1] # modsched #
1240 mov 16($nptr,$j),$Ni[0] # n[2]
1258 mov 24($nptr,$j),$Ni[1] # n[3]
[all …]
/external/compiler-rt/lib/asan/lit_tests/Linux/
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) { in strtol() argument
17 return __interceptor_strtol(nptr, endptr, base); in strtol()
Dinterception_failure_test.cc15 extern "C" long strtol(const char *nptr, char **endptr, int base) { in strtol() argument
/external/libvpx/libvpx/examples/
Ddecode_with_drops.txt20 char *nptr;
21 n = strtol(argv[3], &nptr, 0);
22 m = strtol(nptr+1, NULL, 0);
23 is_range = *nptr == '-';
24 if(!n || !m || (*nptr != '-' && *nptr != '/'))
Ddecode_with_partial_drops.txt130 char *nptr;
134 n = strtol(argv[arg_num], &nptr, 0);
135 mode = (*nptr == '\0' || *nptr == ',') ? 2 : (*nptr == '-') ? 1 : 0;
137 m = strtol(nptr+1, NULL, 0);
138 if((!n && !m) || (*nptr != '-' && *nptr != '/' &&
139 *nptr != '\0' && *nptr != ','))
/external/clang/test/Analysis/
Dmethod-call-intra-p.cpp9 void ttt(const int &nptr);
10 virtual void vttt(const int *nptr);
13 virtual void vttt(const int *nptr);
Dtaint-tester.c187 int atoi(const char *nptr);
188 long atol(const char *nptr);
189 long long atoll(const char *nptr);
Dnull-deref-ps.c294 void ttt(const int *nptr);
295 void ttt2(const int *nptr);
/external/openssh/openbsd-compat/
Dstrtoul.c48 strtoul(const char *nptr, char **endptr, int base) in strtoul() argument
58 s = nptr; in strtoul()
105 *endptr = (char *) (any ? s - 1 : nptr); in strtoul()
Dstrtoll.c50 strtoll(const char *nptr, char **endptr, int base) in strtoll() argument
62 s = nptr; in strtoll()
145 *endptr = (char *) (any ? s - 1 : nptr); in strtoll()
/external/bison/lib/
Dstrtol.c238 INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, in INTERNAL()
287 save = s = nptr; in INTERNAL()
411 if (save - nptr >= 2 && TOUPPER (save[-1]) == L_('X') in INTERNAL()
416 *endptr = (STRING_TYPE *) nptr; in INTERNAL()
429 strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, in strtol() argument
432 return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM); in strtol()
/external/aac/libSYS/src/
DgenericStds.cpp365 INT FDKatoi(const char *nptr) { return atoi(nptr); } in FDKatoi() argument
366 long FDKatol(const char *nptr) { return atol(nptr); } in FDKatol() argument
367 float FDKatof(const char *nptr) { return (float)atof(nptr); } in FDKatof() argument
/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc476 void CallAtoi(const char *nptr) { in CallAtoi() argument
477 Ident(atoi(nptr)); in CallAtoi()
479 void CallAtol(const char *nptr) { in CallAtol() argument
480 Ident(atol(nptr)); in CallAtol()
482 void CallAtoll(const char *nptr) { in CallAtoll() argument
483 Ident(atoll(nptr)); in CallAtoll()
517 void CallStrtol(const char *nptr, char **endptr, int base) { in CallStrtol() argument
518 Ident(strtol(nptr, endptr, base)); in CallStrtol()
520 void CallStrtoll(const char *nptr, char **endptr, int base) { in CallStrtoll() argument
521 Ident(strtoll(nptr, endptr, base)); in CallStrtoll()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc228 INTERCEPTOR(long, strtol, const char *nptr, char **endptr, // NOLINT in INTERCEPTOR() argument
231 long res = REAL(strtol)(nptr, endptr, base); // NOLINT in INTERCEPTOR()
238 INTERCEPTOR(long long, strtoll, const char *nptr, char **endptr, // NOLINT in INTERCEPTOR() argument
241 long res = REAL(strtoll)(nptr, endptr, base); //NOLINT in INTERCEPTOR()
248 INTERCEPTOR(unsigned long, strtoul, const char *nptr, char **endptr, // NOLINT in INTERCEPTOR() argument
251 unsigned long res = REAL(strtoul)(nptr, endptr, base); // NOLINT in INTERCEPTOR()
258 INTERCEPTOR(unsigned long long, strtoull, const char *nptr, // NOLINT in INTERCEPTOR() argument
261 unsigned long res = REAL(strtoull)(nptr, endptr, base); // NOLINT in INTERCEPTOR()
268 INTERCEPTOR(double, strtod, const char *nptr, char **endptr) { // NOLINT in INTERCEPTOR() argument
270 double res = REAL(strtod)(nptr, endptr); // NOLINT in INTERCEPTOR()
[all …]
/external/qemu/
Dcutils.c325 int64_t strtosz_suffix(const char *nptr, char **end, const char default_suffix) in strtosz_suffix() argument
334 val = strtod(nptr, &endptr); in strtosz_suffix()
335 if (isnan(val) || endptr == nptr || errno != 0) { in strtosz_suffix()
408 int64_t strtosz(const char *nptr, char **end) in strtosz() argument
410 return strtosz_suffix(nptr, end, STRTOSZ_DEFSUFFIX_MB); in strtosz()
/external/linux-tools-perf/util/include/linux/
Dkernel.h96 simple_strtoul(const char *nptr, char **endptr, int base) in simple_strtoul() argument
98 return strtoul(nptr, endptr, base); in simple_strtoul()
/external/llvm/test/CodeGen/X86/
D2008-03-14-SpillerCrash.ll11 define i64 @____wcstoll_l_internal(i32* %nptr, i32** %endptr, i32 %base, i32 %group, %struct.__loca…
14 %tmp83 = getelementptr i32* %nptr, i32 1 ; <i32*> [#uses=1]
/external/qemu/android/utils/
Dmisc.h74 extern int strtoi(const char *nptr, char **endptr, int base);
/external/aac/libSYS/include/
DgenericStds.h382 INT FDKatoi(const char *nptr);
383 long FDKatol(const char *nptr);
384 float FDKatof(const char *nptr);

12