Lines Matching refs:m_buf
10364 IOBuffer m_buf; variable
43967 : m_buf(wuffs_base__empty_io_buffer()), m_max_incl(max_incl) {} in DynIOBuffer()
43970 if (m_buf.data.ptr) { in ~DynIOBuffer()
43971 free(m_buf.data.ptr); in ~DynIOBuffer()
43977 if (m_buf.data.ptr) { in drop()
43978 free(m_buf.data.ptr); in drop()
43980 m_buf = wuffs_base__empty_io_buffer(); in drop()
43990 } else if (n > m_buf.data.len) { in grow()
43991 uint8_t* ptr = static_cast<uint8_t*>(realloc(m_buf.data.ptr, n)); in grow()
43995 m_buf.data.ptr = ptr; in grow()
43996 m_buf.data.len = n; in grow()
44169 raw.m_buf.meta = wuffs_base__empty_io_buffer_meta(); in HandleMetadata()
44174 tell_me_more_receiver, &raw.m_buf, &minfo, &io_buf); in HandleMetadata()
44187 if (num_to_copy > (raw.m_max_incl - raw.m_buf.meta.wi)) { in HandleMetadata()
44190 } else if (num_to_copy > (raw.m_buf.data.len - raw.m_buf.meta.wi)) { in HandleMetadata()
44191 switch (raw.grow(num_to_copy + raw.m_buf.meta.wi)) { in HandleMetadata()
44215 memcpy(raw.m_buf.writer_pointer(), io_buf.reader_pointer(), n); in HandleMetadata()
44216 raw.m_buf.meta.wi += n; in HandleMetadata()
44245 switch (raw.grow(wuffs_base__u64__sat_add(raw.m_buf.data.len, 1))) { in HandleMetadata()
44258 raw.m_buf.reader_slice()); in HandleMetadata()