Home | History | Annotate | Download | only in msan

Lines Matching full:nmemb

81 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) {
83 SIZE_T res = REAL(fread)(ptr, size, nmemb, file);
89 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb,
92 SIZE_T res = REAL(fread_unlocked)(ptr, size, nmemb, file);
765 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) {
766 if (CallocShouldReturnNullDueToOverflow(size, nmemb)) return 0;
773 SIZE_T size_in_words = ((nmemb * size) + kWordSize - 1) / kWordSize;
779 return MsanReallocate(&stack, 0, nmemb * size, sizeof(u64), true);