Lines Matching defs:size

131     virtual void *Alloc(size_t size) = 0;
146 * @param size Indicates the size of the memory to allocate.
149 void *Alloc(size_t size) override;
162 * @param newSize Indicates the size of the memory to reallocate.
190 * @brief Obtains the total size of existing data in this parcel.
192 * @return Returns the size, in bytes.
214 * @brief Obtains the size of the position array.
216 * @return Returns the size, in bytes.
237 * @brief Obtains the total capacity of this parcel, that is, the size of
252 * @brief Sets the capacity for this parcel, that is, the size of the
265 * @brief Sets the total size of existing data in this parcel.
267 * @param dataSize Indicates the size, in bytes.
271 * return the correct data size.
302 * @param size Indicates the size of the buffer.
306 bool WriteBuffer(const void *data, size_t size);
313 * @param size Indicates the size of the buffer.
314 * @param typeSize Indicates the size of the terminator.
320 bool WriteBufferAddTerminator(const void *data, size_t size, size_t typeSize);
328 * @param size Indicates the size of the buffer.
332 bool WriteUnpadBuffer(const void *data, size_t size);
454 * @param size Indicates the size of the input data, in bytes.
460 bool ParseFrom(uintptr_t data, size_t size);
511 * @param length Indicates the size of the buffer, in bytes.
531 * @param length Indicates the effective size of the buffer, in bytes.
704 * @param offsetSize Indicates the size of the position array.
819 inline size_t GetPadSize(size_t size)
822 return (((size + SIZE_OFFSET) & (~SIZE_OFFSET)) - size);
827 bool WriteDataBytes(const void *data, size_t size);
882 int32_t size = this->ReadInt32();
883 if (size == 0) {
893 int32_t size = this->ReadInt32();
894 if (size == 0) {