Lines Matching refs:buffer
72 /* The buffer is 8-byte aligned and initialized to zeros. */
91 * @brief Fills <b>x</b> into the first <b>size</b> bytes of the buffer.
93 * @param buffer Indicates the pointer to the buffer.
100 void TEE_MemFill(void *buffer, uint8_t x, size_t size);
103 * @brief Fills <b>x</b> into the first <b>size</b> bytes of the buffer.
105 * @param buffer Indicates the pointer to the buffer.
112 void TEE_MemFill(void *buffer, uint32_t x, size_t size);
118 * @param dest Indicates the pointer to the buffer that holds the bytes copied.
119 * @param src Indicates the pointer to the buffer that holds the bytes to copy.
145 * If the buffer is a <b>NULL</b> pointer, <b>TEE_Free</b> does nothing.
146 * The buffer to be released must have been allocated by <b>TEE_Malloc</b> or <b>TEE_Realloc</b> and cannot be
149 * @param buffer Indicates the pointer to the memory to release.
154 void TEE_Free(void *buffer);
165 * If the buffer is <b>NULL</b>, this function is equivalent to <b>TEE_Malloc</b>.
167 * @param buffer Indicates the pointer to the memory to reallocate.
176 void *TEE_Realloc(void *buffer, size_t new_size);
181 * @param buffer1 Indicates the pointer to the first buffer.
182 * @param buffer2 Indicates the pointer to the second buffer.
195 * @brief Checks whether this TA has the requested permissions to access a buffer.
198 * @param buffer Indicates the pointer to the target buffer.
199 * @param size Indicates the size of the buffer to check.
204 TEE_Result TEE_CheckMemoryAccessRights(uint32_t accessFlags, const void *buffer, size_t size);