Home
last modified time | relevance | path

Searched refs:nentry (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dmalloc-overflow2.c11 int nentry; member
18 t->nentry = ((t->offset_max >> 2) + 31) / 32; in table_build()
19 …t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); // expected-warning {{the computation… in table_build()
26 return t->nentry; in table_build()
30 t->nentry = (sizeof(struct table) * 2 + 31) / 32; in table_build_1()
31 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); // no-warning in table_build_1()
32 return t->nentry; in table_build_1()