Lines Matching refs:size
41 std::shared_ptr<Ashmem> CreateAshmemStd(const char *name, int32_t size);
49 * @param size Indicates the size of the <b>Ashmem</b> region to create.
52 int AshmemCreate(const char *name, size_t size);
65 * @brief Obtains the size of a specific <b>Ashmem</b> region in the kernel.
68 * @return Returns the size of the <b>Ashmem</b> region.
92 * @param size Indicates the size of the <b>Ashmem</b> region.
98 static sptr<Ashmem> CreateAshmem(const char *name, int32_t size);
104 * @param size Size of the corresponding ashmem region in kernel.
106 Ashmem(int fd, int32_t size);
136 * @brief Get the size of ashmem region in kernel.
138 * @return Value of size.
148 bool WriteToAshmem(const void *data, int32_t size, int32_t offset) const;
149 const void *ReadFromAshmem(int32_t size, int32_t offset) const;
202 * @param size Indicates the size of the data to write, in bytes.
210 bool WriteToAshmem(const void *data, int32_t size, int32_t offset);
217 * @param size Indicates the size of the data to read, in bytes.
225 const void *ReadFromAshmem(int32_t size, int32_t offset);
240 bool CheckValid(int32_t size, int32_t offset, int cmd) const;