Home | History | Annotate | Download | only in common

Lines Matching defs:Size

289   // Append the SIZE bytes at DATA or the contents of STRING to the
291 Section &Append(const uint8_t *data, size_t size) {
292 contents_.append(reinterpret_cast<const char *>(data), size);
300 // Append SIZE copies of BYTE to the end of this section. Return a
302 Section &Append(size_t size, uint8_t byte) {
303 contents_.append(size, (char) byte);
308 // use to write the number. SIZE is the length of the number in
310 Section &Append(Endianness endianness, size_t size, uint64_t number);
311 Section &Append(Endianness endianness, size_t size, const Label &label);
330 // Append at most SIZE bytes from DATA; if DATA is less than SIZE bytes
332 Section &AppendCString(const string &data, size_t size) {
333 contents_.append(data, 0, size);
334 if (data.size() < size)
335 Append(size - data.size(), 0);
413 // Return the current size of the section.
414 size_t Size() const { return contents_.size(); }
436 Label Here() const { return start_ + Size(); }
452 : offset(set_offset), endianness(set_endianness), size(set_size),
461 // The size of the reference.
462 size_t size;