Lines Matching refs:buffer
49 free(gcov_var_.buffer); in Close()
51 gcov_var_.buffer = 0; in Close()
85 const unsigned* buffer = ReadWords(1); in ReadUnsigned() local
87 if (!buffer) return 0; in ReadUnsigned()
88 return FromFile(buffer[0]); in ReadUnsigned()
98 gcov_var_.buffer = (unsigned*)realloc(gcov_var_.buffer, new_size << 2); in Allocate()
109 memmove(gcov_var_.buffer, gcov_var_.buffer + gcov_var_.offset, excess * 4); in ReadWords()
116 excess = fread(gcov_var_.buffer + gcov_var_.length, 1, excess << 2, in ReadWords()
125 result = &gcov_var_.buffer[gcov_var_.offset]; in ReadWords()
143 const unsigned* buffer = ReadWords(2); in ReadCounter() local
144 if (!buffer) return 0; in ReadCounter()
145 value = FromFile(buffer[0]); in ReadCounter()
147 value |= ((gcov_type)FromFile(buffer[1])) << 32; in ReadCounter()
148 } else if (buffer[1]) { in ReadCounter()
155 int num_words = fwrite(gcov_var_.buffer, size << 2, 1, gcov_var_.file); in WriteBlock()