• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:features

13  * acting on its behalf a paid-up, nonexclusive, irrevocable,
19 * and others acting on its behalf a paid-up, nonexclusive,
68 iperf_errexit(NULL, "error - failed to open %s: %s\n", in readentropy()
74 iperf_errexit(NULL, "error - failed to read %s: %s\n", in readentropy()
121 for (pos = 0; pos < (COOKIE_SIZE - 1); pos++) { in make_cookie()
122 out[pos] = rndchars[out[pos] % (sizeof(rndchars) - 1)]; in make_cookie()
161 d = tv->tv_sec + tv->tv_usec / 1000000; in timeval_to_double()
169 if ( tv0->tv_sec == tv1->tv_sec && tv0->tv_usec == tv1->tv_usec ) in timeval_equals()
180 time1 = tv0->tv_sec + (tv0->tv_usec / 1000000.0); in timeval_diff()
181 time2 = tv1->tv_sec + (tv1->tv_usec / 1000000.0); in timeval_diff()
183 time1 = time1 - time2; in timeval_diff()
185 time1 = -time1; in timeval_diff()
216 userdiff = ((rtemp.ru_utime.tv_sec * 1000000.0 + rtemp.ru_utime.tv_usec) - in cpu_util()
218 systemdiff = ((rtemp.ru_stime.tv_sec * 1000000.0 + rtemp.ru_stime.tv_usec) - in cpu_util()
221 pcpu[0] = (((ctemp - clast) * 1000000.0 / CLOCKS_PER_SEC) / timediff) * 100; in cpu_util()
245 static char features[1024]; in get_optional_features() local
248 snprintf(features, sizeof(features), "Optional features available: "); in get_optional_features()
252 strncat(features, ", ", in get_optional_features()
253 sizeof(features) - strlen(features) - 1); in get_optional_features()
255 strncat(features, "CPU affinity setting", in get_optional_features()
256 sizeof(features) - strlen(features) - 1); in get_optional_features()
262 strncat(features, ", ", in get_optional_features()
263 sizeof(features) - strlen(features) - 1); in get_optional_features()
265 strncat(features, "IPv6 flow label", in get_optional_features()
266 sizeof(features) - strlen(features) - 1); in get_optional_features()
272 strncat(features, ", ", in get_optional_features()
273 sizeof(features) - strlen(features) - 1); in get_optional_features()
275 strncat(features, "SCTP", in get_optional_features()
276 sizeof(features) - strlen(features) - 1); in get_optional_features()
282 strncat(features, ", ", in get_optional_features()
283 sizeof(features) - strlen(features) - 1); in get_optional_features()
285 strncat(features, "TCP congestion algorithm setting", in get_optional_features()
286 sizeof(features) - strlen(features) - 1); in get_optional_features()
292 strncat(features, ", ", in get_optional_features()
293 sizeof(features) - strlen(features) - 1); in get_optional_features()
295 strncat(features, "sendfile / zerocopy", in get_optional_features()
296 sizeof(features) - strlen(features) - 1); in get_optional_features()
302 strncat(features, ", ", in get_optional_features()
303 sizeof(features) - strlen(features) - 1); in get_optional_features()
305 strncat(features, "socket pacing", in get_optional_features()
306 sizeof(features) - strlen(features) - 1); in get_optional_features()
312 strncat(features, ", ", in get_optional_features()
313 sizeof(features) - strlen(features) - 1); in get_optional_features()
315 strncat(features, "authentication", in get_optional_features()
316 sizeof(features) - strlen(features) - 1); in get_optional_features()
321 strncat(features, "None", in get_optional_features()
322 sizeof(features) - strlen(features) - 1); in get_optional_features()
325 return features; in get_optional_features()
328 /* Helper routine for building cJSON objects in a printf-like manner.
426 * not intended to be general-purpose. */
445 return -1; in daemon()
454 return -1; in daemon()
459 * This might only matter on old SVr4-derived OSs. in daemon()
464 if (pid == -1) { in daemon()
465 return -1; in daemon()
474 if (!noclose && (fd = open("/dev/null", O_RDWR, 0)) != -1) { in daemon()
490 /*-
527 return -1; in getdelim()
532 if (c == -1) { in getdelim()
534 ssize_t diff = (ssize_t)(ptr - *buf); in getdelim()
540 return -1; in getdelim()
545 return ptr - *buf; in getdelim()
550 ssize_t d = ptr - *buf; in getdelim()
552 return -1; in getdelim()