Lines Matching refs:nptr

611 static ALWAYS_INLINE auto StrtolImpl(void *ctx, Fn real, const char *nptr,  in StrtolImpl()  argument
615 return real(nptr, endptr, base); in StrtolImpl()
617 auto res = real(nptr, &real_endptr, base); in StrtolImpl()
618 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in StrtolImpl()
623 INTERCEPTOR(ret_type, func, const char *nptr, char **endptr, int base) { \
627 return StrtolImpl(ctx, REAL(func), nptr, endptr, base); \
638 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR_STRTO_BASE()
642 return REAL(atoi)(nptr); in INTERCEPTOR_STRTO_BASE()
645 return REAL(atoi)(nptr); in INTERCEPTOR_STRTO_BASE()
652 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR_STRTO_BASE()
653 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR_STRTO_BASE()
654 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR_STRTO_BASE()
658 INTERCEPTOR(long, atol, const char *nptr) { in INTERCEPTOR() argument
662 return REAL(atol)(nptr); in INTERCEPTOR()
665 return REAL(atol)(nptr); in INTERCEPTOR()
668 long result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR()
669 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
670 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()
674 INTERCEPTOR(long long, atoll, const char *nptr) { in INTERCEPTOR() argument
679 return REAL(atoll)(nptr); in INTERCEPTOR()
682 long long result = REAL(strtoll)(nptr, &real_endptr, 10); in INTERCEPTOR()
683 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
684 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()