/frameworks/rs/ |
D | rsComponent.cpp | 34 rsAssert(vecSize <= 4); in set() 46 rsAssert(mVectorSize == 1); in set() 47 rsAssert(mNormalized == true); in set() 51 rsAssert(mVectorSize == 2); in set() 52 rsAssert(mNormalized == true); in set() 56 rsAssert(mVectorSize == 3); in set() 57 rsAssert(mNormalized == true); in set() 61 rsAssert(mVectorSize == 4); in set() 62 rsAssert(mNormalized == true); in set() 66 rsAssert(mVectorSize == 1); in set() [all …]
|
D | rsObjectBase.cpp | 39 rsAssert(rsc); in ObjectBase() 72 rsAssert(!mUserRefCount); in ~ObjectBase() 73 rsAssert(!mSysRefCount); in ~ObjectBase() 131 rsAssert(mUserRefCount > 0); in decUserRef() 166 rsAssert(mSysRefCount > 0); in decSysRef() 182 rsAssert(c); in setName() 198 rsAssert(!mNext); in add() 199 rsAssert(!mPrev); in add() 211 rsAssert(!mPrev); in remove() 212 rsAssert(!mNext); in remove()
|
D | rsFifoSocket.cpp | 58 rsAssert(ret == bytes); in writeAsync() 73 rsAssert(ret == retBytes); in writeWaitReturn() 83 rsAssert(ret == bytes || mShutdown); in read()
|
D | rsCppUtils.h | 97 #define rsAssert(v) do {if(!(v)) ALOGE("rsAssert failed: %s, in %s at %i", #v, __FILE__, __LINE__);… macro 99 #define rsAssert(v) while (0) macro 154 rsAssert(false && "Must be power of 2 for rounding up"); in rsRound() 159 rsAssert(false && "Overflow of rounding operation"); in rsRound()
|
D | rsContext.cpp | 565 rsAssert(mExit); in ~Context() 575 rsAssert(mIsGraphicsContext); in setSurface() 613 rsAssert(mIsGraphicsContext); in pause() 618 rsAssert(mIsGraphicsContext); in resume() 623 rsAssert(mIsGraphicsContext); in setRootScript() 628 rsAssert(mIsGraphicsContext); in setProgramStore() 637 rsAssert(mIsGraphicsContext); in setProgramFragment() 646 rsAssert(mIsGraphicsContext); in setProgramRaster() 655 rsAssert(mIsGraphicsContext); in setProgramVertex() 664 rsAssert(mIsGraphicsContext); in setFont() [all …]
|
D | rsApiElement.cpp | 24 rsAssert(elemDataSize == 5); in rsaElementGetNativeData() 38 rsAssert(e->getFieldCount() == dataSize); in rsaElementGetSubElements()
|
D | rsType.h | 87 rsAssert(lod < mHal.state.lodCount); in getLODDimX() 91 rsAssert(lod < mHal.state.lodCount); in getLODDimY() 95 rsAssert(lod < mHal.state.lodCount); in getLODDimZ()
|
D | rsApiMesh.cpp | 34 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); in rsaMeshGetVertices() 44 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); in rsaMeshGetIndices()
|
D | rsClosure.cpp | 19 rsAssert(fieldIDs_length == values_length && values_length == sizes_length && in rsi_ClosureCreate() 37 rsAssert(fieldIDs_length == values_length && values_length == sizes_length); in rsi_InvokeClosureCreate() 81 rsAssert(fieldIDs[i] != nullptr); in Closure()
|
D | rsApiDevice.cpp | 45 rsAssert(0); in rsDeviceSetConfig()
|
D | rsApiType.cpp | 27 rsAssert(typeDataSize == 6); in rsaTypeGetNativeData()
|
D | rsScriptIntrinsic.cpp | 54 rsAssert(!"ScriptIntrinsic::run - should not happen"); in run()
|
D | rsThreadIO.cpp | 148 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlend.cpp | 310 rsAssert(false); in kernel() 314 rsAssert(false); in kernel() 335 rsAssert(false); in kernel() 339 rsAssert(false); in kernel() 343 rsAssert(false); in kernel() 347 rsAssert(false); in kernel() 351 rsAssert(false); in kernel() 355 rsAssert(false); in kernel() 359 rsAssert(false); in kernel() 363 rsAssert(false); in kernel() [all …]
|
D | rsCpuScriptGroup2.cpp | 51 rsAssert(closure->mNumArg <= RS_KERNEL_INPUT_LIMIT); in groupRoot() 161 rsAssert(!mGroup->mClosures.empty()); in CpuScriptGroup2Impl() 190 rsAssert(!batch->mClosures.empty()); in CpuScriptGroup2Impl() 210 rsAssert (mFunc != nullptr); in resolveFuncPtr() 317 rsAssert (!script->isIntrinsic()); in generateSourceSlot() 416 rsAssert(batch->size() > 0); in compile() 422 rsAssert(batch->size() == 1); in compile() 433 rsAssert(cacheDir != nullptr); in compile() 595 rsAssert(p.first != nullptr); in setGlobalsForBatch() 597 rsAssert(script == s); in setGlobalsForBatch() [all …]
|
D | rsCpuScript.cpp | 66 rsAssert(cacheDir && resName && core_lib); in setCompileArguments() 133 rsAssert(bitcode && bitcodeSize); in compileBitcode() 526 rsAssert(mtls); in setUpMtlsDimensions() 560 rsAssert(ains && (inLen >= 1) && aout); in reduceMtlsSetup() 659 rsAssert((inLen == 1) || (ains[0] != nullptr)); in forEachMtlsSetup() 728 rsAssert(inLen == 1 && index == 0); in forEachMtlsSetup() 783 rsAssert(mtls->kernel != nullptr); in forEachKernelSetup() 797 rsAssert(mtls->accumFunc != nullptr); in reduceKernelSetup() 895 rsAssert(dimLength == 1); in setGlobalVarWithElemDims()
|
D | rsCpuIntrinsicColorMatrix.cpp | 216 rsAssert(key.u.inType == RS_TYPE_FLOAT_32); in computeKey() 221 rsAssert(key.u.outType == RS_TYPE_FLOAT_32); in computeKey() 373 rsAssert(((off & 0xff000000) == 0) || 384 rsAssert(vd < 32); in encodeSIMDRegs() 385 rsAssert(vm < 32); in encodeSIMDRegs() 386 rsAssert(vn < 32); in encodeSIMDRegs() 438 rsAssert(imm == 0); in addVMOV_32() 774 rsAssert(0); in setGlobalVar()
|
D | rsCpuIntrinsicHistogram.cpp | 78 rsAssert(slot == 1); in setGlobalObj() 83 rsAssert(slot == 0); in setGlobalVar() 84 rsAssert(dataLength == 16); in setGlobalVar()
|
D | rsCpuScriptGroup.cpp | 67 rsAssert(kinfo->inLen == 1); in scriptGroupRoot() 85 rsAssert(kinfo->inLen == 0); in scriptGroupRoot() 192 rsAssert((k->mHasKernelOutput == (aout != nullptr)) && in execute()
|
D | rsCpuCore.cpp | 340 rsAssert(fep->inLen == 1); in FepPtrSetup() 511 rsAssert(!accumPtr); in reduce_get_accumulator() 757 rsAssert(!mInKernel); in launchReduceParallel() 795 rsAssert(!"expected combiner"); in launchReduceParallel() 802 rsAssert(finalAccumPtr != nullptr); in launchReduceParallel() 922 rsAssert(tls); in setTLS() 1017 rsAssert(0); in createIntrinsic()
|
D | rsCpuExecutable.cpp | 809 rsAssert(rsGlobalNames); in createFromSharedObject() 810 rsAssert(rsGlobalAddresses); in createFromSharedObject() 811 rsAssert(rsGlobalSizes); in createFromSharedObject() 812 rsAssert(rsGlobalProperties); in createFromSharedObject()
|
D | rsCpuIntrinsicLUT.cpp | 45 rsAssert(slot == 0); in setGlobalObj()
|
D | rsCpuIntrinsicBlur.cpp | 101 rsAssert(slot == 1); in setGlobalObj() 106 rsAssert(slot == 0); in setGlobalVar() 453 rsAssert(mRootPtr); in RsdCpuScriptIntrinsicBlur()
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 151 rsAssert(!f->mHal.state.fieldsCount); in getGLSLInputString() 158 rsAssert(0); in getGLSLInputString() 176 rsAssert(!f->mHal.state.fieldsCount); in appendAttributes() 183 rsAssert(0); in appendAttributes() 236 rsAssert(mCurrentState->mShaderID); in loadShader() 286 rsAssert(!f->mHal.state.fieldsCount); in appendUserConstants() 300 rsAssert(0); in appendUserConstants() 352 rsAssert(0); in logUniform() 385 rsAssert(0); in setUniform() 607 rsAssert(e->mHal.state.fieldsCount); in initAddUserElement()
|
D | rsdAllocation.cpp | 105 rsAssert(drv->textureID); in Update2DTexture() 227 rsAssert(!alloc->mHal.state.type->getDimY()); in UploadToBufferObject() 228 rsAssert(!alloc->mHal.state.type->getDimZ()); in UploadToBufferObject() 294 rsAssert(0); in DeriveYUVLayout() 448 rsAssert(!"Size mismatch"); in rsdAllocationInitStrided() 611 rsAssert(!"Size mismatch"); in rsdAllocationResize() 674 rsAssert(src == RS_ALLOCATION_USAGE_SCRIPT || src == RS_ALLOCATION_USAGE_SHARED); in rsdAllocationSyncAll() 728 rsAssert((alloc->mHal.drvState.lod[0].stride & 0xf) == 0); in IoGetBuffer()
|