Lines Matching refs:bufferSize
198 size_t i, bufferSize, count, totalRead = 0; in PFileReadInt() local
225 bufferSize = count - i; in PFileReadInt()
228 if (bufferSize < MAX_INT_DIGITS) in PFileReadInt()
230 count = pfread(number + bufferSize, sizeof(LCHAR), MAX_INT_DIGITS - bufferSize, self); in PFileReadInt()
231 bufferSize += count; in PFileReadInt()
233 if (count < MAX_INT_DIGITS - bufferSize && pferror(self)) in PFileReadInt()
242 for (i = 0; i < bufferSize && !LISSPACE(number[i]); ++i); in PFileReadInt()
243 if (i < bufferSize) in PFileReadInt()
246 if (PFileSeek(self, - (int)(bufferSize - i), SEEK_CUR)) in PFileReadInt()
251 totalRead -= bufferSize - i; in PFileReadInt()
272 size_t i, bufferSize, count, totalRead = 0; in PFileReadLCHAR() local
299 bufferSize = count - i; in PFileReadLCHAR()
302 if (bufferSize < len) in PFileReadLCHAR()
304 count = pfread(value + bufferSize, sizeof(LCHAR), len - bufferSize, self); in PFileReadLCHAR()
305 bufferSize += count; in PFileReadLCHAR()
307 if (count < len - bufferSize && pferror(self)) in PFileReadLCHAR()
316 for (i = 0; i < bufferSize && !LISSPACE(value[i]); ++i); in PFileReadLCHAR()
317 if (i < bufferSize) in PFileReadLCHAR()
320 if (PFileSeek(self, -(int)(bufferSize - i), SEEK_CUR)) in PFileReadLCHAR()
325 totalRead -= bufferSize - i; in PFileReadLCHAR()