Lines Matching defs:count
54 /* 32-bit count of alive CPUs. This includes both CPs and IFAs */
229 int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) {
245 *count = *((int*) (csd.deref + CSD_NUMBER_ONLINE_CPUS));
248 *cpu_infos = uv__malloc(*count * sizeof(uv_cpu_info_t));
254 while (idx < *count) {
274 int* count) {
285 *count = 0;
324 ++(*count);
327 if ((*count) == 0) {
334 *addresses = uv__calloc(1, *count * sizeof(uv_interface_address_t));
354 /* All conditions above must match count loop */
396 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) {
410 *count = 0;
474 (*count)++;
477 if (*count == 0 && count_v6 == 0) {
484 *addresses = uv__calloc(1, (*count + count_v6) *
500 *count += count_v6;
505 count_names = *count;
527 /* All conditions above must match count loop */
572 int count) {
574 for (i = 0; i < count; ++i)
815 int count;
870 count = 48; /* Benchmarks suggest this gives the best throughput. */
1018 if (nfds == ARRAY_SIZE(events) && --count != 0) {