Searched refs:nused (Results 1 – 3 of 3) sorted by relevance
94 size_t nused = 0; in file2memory() local100 if(!buffer || (alloc == nused)) { in file2memory()115 nread = fread(buffer + nused, 1, alloc-nused, file); in file2memory()116 nused += nread; in file2memory()119 buffer[nused] = '\0'; in file2memory()121 if(alloc != nused) { in file2memory()122 newbuf = realloc(buffer, nused + 1); in file2memory()130 if(!nused) { in file2memory()134 *size = nused; in file2memory()
38 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string\nused for i…51 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string\nused for i…67 …ANTLRStringStream *stream = [ANTLRStringStream newANTLRStringStream:@"This is a string\nused for i…
2995 unsigned int nread = 0, nused = 0; in sync_stream() local3016 while (nread < 8+nused) in sync_stream()3025 nread -= nused & ~7; in sync_stream()3026 nused -= nused & ~7; /* or, nused &= 7 ;-) */ in sync_stream()3030 png_uint_32 next_length = get32(buffer, nused); in sync_stream()3034 png_uint_32 next_type = get32(buffer, nused+4); in sync_stream()3057 if (nread <= nused) in sync_stream()3066 ch = buffer[(++nused) & 7]; in sync_stream()