Lines Matching defs:bytes
422 size_t bytes, end, i;
425 bytes = 0;
429 r = read(loop->signal_pipefd[0], buf + bytes, sizeof(buf) - bytes);
435 /* If there are bytes in the buffer already (which really is extremely
437 * spin until more bytes are read instead.
439 if (bytes > 0)
450 bytes += r;
453 end = (bytes / sizeof(uv__signal_msg_t)) * sizeof(uv__signal_msg_t);
470 bytes -= end;
475 if (bytes) {
476 memmove(buf, buf + end, bytes);