Searched refs:n_req (Results 1 – 3 of 3) sorted by relevance
1720 static void grow_offsets(IPtoFunOrObjCompleter* ip2fo, Int n_req) in grow_offsets() argument1732 if (ip2fo->sz_offsets >= n_req) in grow_offsets()1737 if (n_req < ip2fo->n_ips) in grow_offsets()1738 n_req = ip2fo->n_ips; in grow_offsets()1739 if (n_req < ip2fo->sz_offsets + 5) in grow_offsets()1740 n_req = ip2fo->sz_offsets + 5; in grow_offsets()1743 n_req * sizeof(Int)); in grow_offsets()1744 for (i = ip2fo->sz_offsets; i < n_req; i++) in grow_offsets()1748 n_req * sizeof(Int)); in grow_offsets()1749 for (i = ip2fo->sz_offsets; i < n_req; i++) in grow_offsets()[all …]
349 Word n_req = 1; in alloc_symname_array() local351 while (*pp) { n_req++; pp++; } in alloc_symname_array()353 const HChar** arr = dinfo_zalloc("redir.asa.1", (n_req+1) * sizeof(HChar*)); in alloc_symname_array()358 vg_assert(i == n_req); in alloc_symname_array()359 vg_assert(arr[n_req] == NULL); in alloc_symname_array()
333 static double fragmentation(unsigned long n_req, unsigned long n_alloc) in fragmentation() argument338 return 100.0 - (100.0 * n_req / n_alloc); in fragmentation()