Lines Matching refs:i

43   int i;  in TEST_IMPL()  local
139 for (i = 0; i < count; i++) { in TEST_IMPL()
140 printf(" model: %s\n", cpus[i].model); in TEST_IMPL()
141 printf(" speed: %d\n", cpus[i].speed); in TEST_IMPL()
142 printf(" times.sys: %llu\n", (unsigned long long) cpus[i].cpu_times.sys); in TEST_IMPL()
144 (unsigned long long) cpus[i].cpu_times.user); in TEST_IMPL()
146 (unsigned long long) cpus[i].cpu_times.idle); in TEST_IMPL()
147 printf(" times.irq: %llu\n", (unsigned long long) cpus[i].cpu_times.irq); in TEST_IMPL()
149 (unsigned long long) cpus[i].cpu_times.nice); in TEST_IMPL()
158 for (i = 0; i < count; i++) { in TEST_IMPL()
159 printf(" name: %s\n", interfaces[i].name); in TEST_IMPL()
160 printf(" internal: %d\n", interfaces[i].is_internal); in TEST_IMPL()
163 (unsigned char)interfaces[i].phys_addr[0], in TEST_IMPL()
164 (unsigned char)interfaces[i].phys_addr[1], in TEST_IMPL()
165 (unsigned char)interfaces[i].phys_addr[2], in TEST_IMPL()
166 (unsigned char)interfaces[i].phys_addr[3], in TEST_IMPL()
167 (unsigned char)interfaces[i].phys_addr[4], in TEST_IMPL()
168 (unsigned char)interfaces[i].phys_addr[5]); in TEST_IMPL()
170 if (interfaces[i].address.address4.sin_family == AF_INET) { in TEST_IMPL()
171 uv_ip4_name(&interfaces[i].address.address4, buffer, sizeof(buffer)); in TEST_IMPL()
172 } else if (interfaces[i].address.address4.sin_family == AF_INET6) { in TEST_IMPL()
173 uv_ip6_name(&interfaces[i].address.address6, buffer, sizeof(buffer)); in TEST_IMPL()
178 if (interfaces[i].netmask.netmask4.sin_family == AF_INET) { in TEST_IMPL()
179 uv_ip4_name(&interfaces[i].netmask.netmask4, buffer, sizeof(buffer)); in TEST_IMPL()
181 } else if (interfaces[i].netmask.netmask4.sin_family == AF_INET6) { in TEST_IMPL()
182 uv_ip6_name(&interfaces[i].netmask.netmask6, buffer, sizeof(buffer)); in TEST_IMPL()