Home | History | Annotate | Download | only in assembler

Lines Matching refs:m_size

46             , m_size(0)
59 if (m_size > m_capacity - space)
65 return !(m_size & (alignment - 1));
70 ASSERT(!(m_size > m_capacity - 4));
71 m_buffer[m_size] = value;
72 m_size++;
77 if (m_size > m_capacity - 4)
84 ASSERT(!(m_size > m_capacity - 4));
85 *reinterpret_cast_ptr<short*>(&m_buffer[m_size]) = value;
86 m_size += 2;
91 if (m_size > m_capacity - 4)
98 ASSERT(!(m_size > m_capacity - 4));
99 *reinterpret_cast_ptr<int*>(&m_buffer[m_size]) = value;
100 m_size += 4;
105 ASSERT(!(m_size > m_capacity - 8));
106 *reinterpret_cast_ptr<int64_t*>(&m_buffer[m_size]) = value;
107 m_size += 8;
112 if (m_size > m_capacity - 4)
120 if (m_size > m_capacity - sizeof(IntegralType))
128 *reinterpret_cast_ptr<IntegralType*>(&m_buffer[m_size]) = value;
129 m_size += sizeof(IntegralType);
139 return m_size;
144 if (!m_size)
147 void* result = allocator->alloc(m_size);
152 ExecutableAllocator::makeWritable(result, m_size);
154 return memcpy(result, m_buffer, m_size);
160 m_size = offset;
164 unsigned debugOffset() { return m_size; }
170 if (m_size > m_capacity - size)
173 memcpy(m_buffer + m_size, data, size);
174 m_size += size;
183 m_buffer = static_cast<char*>(memcpy(newBuffer, m_buffer, m_size));
191 int m_size;