Lines Matching refs:nptr

644 INTERCEPTOR(long, strtol, const char *nptr,  // NOLINT  in INTERCEPTOR()  argument
650 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR()
653 long result = REAL(strtol)(nptr, &real_endptr, base); // NOLINT in INTERCEPTOR()
654 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in INTERCEPTOR()
658 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() argument
662 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR()
666 return REAL(atoi)(nptr); in INTERCEPTOR()
673 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR()
674 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
675 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()
679 INTERCEPTOR(long, atol, const char *nptr) { // NOLINT in INTERCEPTOR() argument
683 if (UNLIKELY(!asan_inited)) return REAL(atol)(nptr); in INTERCEPTOR()
687 return REAL(atol)(nptr); in INTERCEPTOR()
690 long result = REAL(strtol)(nptr, &real_endptr, 10); // NOLINT in INTERCEPTOR()
691 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
692 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()
697 INTERCEPTOR(long long, strtoll, const char *nptr, // NOLINT in INTERCEPTOR() argument
703 return REAL(strtoll)(nptr, endptr, base); in INTERCEPTOR()
706 long long result = REAL(strtoll)(nptr, &real_endptr, base); // NOLINT in INTERCEPTOR()
707 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in INTERCEPTOR()
711 INTERCEPTOR(long long, atoll, const char *nptr) { // NOLINT in INTERCEPTOR() argument
716 return REAL(atoll)(nptr); in INTERCEPTOR()
719 long long result = REAL(strtoll)(nptr, &real_endptr, 10); // NOLINT in INTERCEPTOR()
720 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
721 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()