Searched refs:this_time (Results 1 – 3 of 3) sorted by relevance
47 size_t this_time = sizeof (uintptr_t); in getentropy() local48 if (this_time > length) in getentropy()49 this_time = length; in getentropy()50 memcpy(b, &bits, this_time); in getentropy()51 length -= this_time; in getentropy()52 b += this_time; in getentropy()
62 int this_time = bf->size - bf->len; in fwrite() local63 if (this_time == 0) { in fwrite()70 if ((unsigned) this_time > bytes) in fwrite()71 this_time = bytes; in fwrite()72 memcpy(bf->buf + bf->len, cp, this_time); in fwrite()73 bf->len += this_time; in fwrite()74 cp += this_time; in fwrite()75 bytes -= this_time; in fwrite()
71 int this_time = bf->len - bf->off; in fread() local73 if (this_time) { in fread()75 if (bytes < (size_t) this_time) in fread()76 this_time = bytes; in fread()77 memcpy(cp, bf->buf + bf->off, this_time); in fread()78 bf->off += this_time; in fread()79 cp += this_time; in fread()80 bytes -= this_time; in fread()