Home
last modified time | relevance | path

Searched refs:throwError (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/cpp/
DScriptIntrinsics.cpp48 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic"); in create()
61 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "3DLUT forEach element mismatch"); in forEach()
69 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "setLUT element does not match"); in setLUT()
73 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "setLUT Allocation must be 3D"); in setLUT()
82 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic"); in create()
95 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); in forEachClear()
103 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); in forEachSrc()
111 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); in forEachDst()
119 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); in forEachSrcOver()
127 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); in forEachDstOver()
[all …]
DScriptIntrinsicBLAS.cpp190 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type"); in validateGEMV()
193 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "BLAS vectors must have Y dimension of 0 or 1"); in validateGEMV()
197 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Vector increments must be greater than 0"); in validateGEMV()
209 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Incorrect vector dimensions for GEMV"); in validateGEMV()
262 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "KL and KU must be greater than or equal to 0"); in SGBMV()
278 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "KL and KU must be greater than or equal to 0"); in DGBMV()
294 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "KL and KU must be greater than or equal to 0"); in CGBMV()
310 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "KL and KU must be greater than or equal to 0"); in ZGBMV()
325 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "A must be a square matrix for TRMV"); in validateTRMV()
329 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type"); in validateTRMV()
[all …]
DElement.cpp27 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements"); in getSubElement()
31 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index"); in getSubElement()
39 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements"); in getSubElementName()
43 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index"); in getSubElementName()
51 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements"); in getSubElementArraySize()
55 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index"); in getSubElementArraySize()
63 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements"); in getSubElementOffsetBytes()
67 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index"); in getSubElementOffsetBytes()
325 rs->throwError(RS_ERROR_INVALID_PARAMETER, "Vector size out of range 2-4."); in createVector()
340 rs->throwError(RS_ERROR_INVALID_PARAMETER, "Unsupported DataKind"); in createPixel()
[all …]
DAllocation.cpp162 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Source must be exactly one usage type."); in syncAll()
171 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Allocation does not support USAGE_SHARED."); in getPointer()
177 mRS->throwError(RS_ERROR_RUNTIME_ERROR, "Can't use getPointer on older APIs"); in getPointer()
184 mRS->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation lock failed"); in getPointer()
220 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Count must be >= 1."); in copy1DRangeFrom()
225 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Invalid copy specified"); in copy1DRangeFrom()
243 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Count must be >= 1."); in copy1DRangeTo()
248 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Invalid copy specified"); in copy1DRangeTo()
287 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Updated region larger than allocation."); in validate2DRange()
371 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Updated region larger than allocation."); in validate3DRange()
[all …]
DRenderScript.cpp190 void RS::throwError(RSError error, const char *errMsg) { in throwError() function in RS
240 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Error returned from runtime"); in threadProc()
DScript.cpp31 …mRS->throwError(RS_ERROR_INVALID_PARAMETER, "At least one of ain or aout is required to be non-nul… in forEach()
DrsCppStructs.h421 void throwError(RSError error, const char *errMsg);