Home
last modified time | relevance | path

Searched refs:this_time (Results 1 – 3 of 3) sorted by relevance

/picolibc-3.7.0-3.6.0/semihost/
Dgetentropy.c47 size_t this_time = sizeof (uintptr_t); in getentropy() local
48 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()
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dfwrite.c62 int this_time = bf->size - bf->len; in fwrite() local
63 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()
Dfread.c71 int this_time = bf->len - bf->off; in fread() local
73 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()