Lines Matching refs:is

11  * distributed under the License is distributed on an "AS IS" BASIS,
66 * function must return UNSUPPORTED if layerCount is great than 1.
69 * @return error is NONE upon success. Otherwise,
70 * BAD_VALUE when any of the specified attributes is
74 * UNSUPPORTED when any of the specified attributes is
76 * @return descriptor is the newly created buffer descriptor.
88 * A buffer handle is considered raw when it is cloned (e.g., with
89 * native_handle_clone) from another buffer handle locally, or when it is
102 * such a handle as if it is raw and must not return BAD_BUFFER. The
103 * returned handle is independent from the input handle as usual, and
104 * freeBuffer must be called on it when it is no longer needed.
106 * @param rawHandle is the raw buffer handle to import.
107 * @return error is NONE upon success. Otherwise,
108 * BAD_BUFFER when the raw handle is invalid.
111 * @return buffer is the imported buffer handle and has the type
127 * @return error is NONE upon success. Otherwise,
128 * BAD_BUFFER when the buffer is invalid.
137 * Locking the same buffer simultaneously from multiple threads is
139 * writing, the behavior is undefined, except that it must not cause
146 * accessRegion is valid for reading. The result of reading or writing
147 * outside of accessRegion is undefined, except that it must not cause
150 * An accessRegion of all-zeros means the entire buffer. That is, it is
157 * @param buffer is the buffer to lock.
159 * @param accessRegion is the portion of the buffer that the client
161 * @param acquireFence when non-empty, is a handle containing a file
163 * signaled when it is safe for the mapper to lock the buffer. If
164 * it is already safe to lock, acquireFence is empty.
165 * @return error is NONE upon success. Otherwise,
166 * BAD_BUFFER when the buffer is invalid or is
168 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage
169 * flags, or is incompatible with the buffer.
173 * @return data is a CPU-accessible pointer to the buffer data.
184 * This is largely the same as lock(), except that instead of returning a
193 * @param buffer is the buffer to lock.
195 * @param accessRegion is the portion of the buffer that the client
197 * @param acquireFence when non-empty, is a handle containing a file
199 * signaled when it is safe for the mapper to lock the buffer. If
200 * it is already safe to lock, acquireFence is empty.
201 * @return error is NONE upon success. Otherwise,
202 * BAD_BUFFER when the buffer is invalid or is
204 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage
205 * flags, or is incompatible with the buffer.
209 * @return layout is the data layout of the buffer.
223 * @param buffer is the buffer to unlock.
224 * @return error is NONE upon success. Otherwise,
225 * BAD_BUFFER when the buffer is invalid or not locked.
226 * @return releaseFence, when non-empty, is a handle containing a file