/frameworks/rs/cpp/ |
D | ScriptIntrinsics.cpp | 59 if (ain->getType()->getElement()->isCompatible(mElement) == false || in forEach() 60 aout->getType()->getElement()->isCompatible(mElement) == false) { in forEach() 68 if (!t->getElement()->isCompatible(mElement)) { in setLUT() 93 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachClear() 94 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachClear() 101 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrc() 102 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachSrc() 109 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachDst() 110 out->getType()->getElement()->isCompatible(mElement) == false) { in forEachDst() 117 if (in->getType()->getElement()->isCompatible(mElement) == false || in forEachSrcOver() [all …]
|
D | Allocation.cpp | 77 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt64() 85 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt32() 93 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt16() 101 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt8() 109 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat32() 117 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat64() 125 RsDataType dt = mType->getElement()->getDataType(); in validateIsObject() 228 if (mAutoPadding && (mType->getElement()->getVectorSize() == 3)) { in copy1DRangeFrom() 229 size_t eSize = mType->getElement()->getSizeBytes(); in copy1DRangeFrom() 233 … count, ptr, count * mType->getElement()->getSizeBytes())); in copy1DRangeFrom() [all …]
|
D | ScriptIntrinsicBLAS.cpp | 187 if (!A->getType()->getElement()->isCompatible(e) || in validateGEMV() 188 !X->getType()->getElement()->isCompatible(e) || in validateGEMV() 189 !Y->getType()->getElement()->isCompatible(e)) { in validateGEMV() 327 if (!A->getType()->getElement()->isCompatible(e) || in validateTRMV() 328 !X->getType()->getElement()->isCompatible(e)) { in validateTRMV() 346 if (!Ap->getType()->getElement()->isCompatible(e) || in validateTPMV() 347 !X->getType()->getElement()->isCompatible(e)) { in validateTPMV() 634 if (!A->getType()->getElement()->isCompatible(e) || in validateSYMV() 635 !X->getType()->getElement()->isCompatible(e) || in validateSYMV() 636 !Y->getType()->getElement()->isCompatible(e) ) { in validateSYMV() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicHistogram.java | 91 if (ain.getType().getElement().getVectorSize() < in forEach() 92 mOut.getType().getElement().getVectorSize()) { in forEach() 97 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && in forEach() 98 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && in forEach() 99 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && in forEach() 100 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { in forEach() 144 if (mOut.getType().getElement() != Element.U32(mRS) && in setOutput() 145 mOut.getType().getElement() != Element.U32_2(mRS) && in setOutput() 146 mOut.getType().getElement() != Element.U32_3(mRS) && in setOutput() 147 mOut.getType().getElement() != Element.U32_4(mRS) && in setOutput() [all …]
|
D | ScriptIntrinsicColorMatrix.java | 250 if (!ain.getElement().isCompatible(Element.U8(mRS)) && in forEach() 251 !ain.getElement().isCompatible(Element.U8_2(mRS)) && in forEach() 252 !ain.getElement().isCompatible(Element.U8_3(mRS)) && in forEach() 253 !ain.getElement().isCompatible(Element.U8_4(mRS)) && in forEach() 254 !ain.getElement().isCompatible(Element.F32(mRS)) && in forEach() 255 !ain.getElement().isCompatible(Element.F32_2(mRS)) && in forEach() 256 !ain.getElement().isCompatible(Element.F32_3(mRS)) && in forEach() 257 !ain.getElement().isCompatible(Element.F32_4(mRS))) { in forEach() 262 if (!aout.getElement().isCompatible(Element.U8(mRS)) && in forEach() 263 !aout.getElement().isCompatible(Element.U8_2(mRS)) && in forEach() [all …]
|
D | Allocation.java | 278 public Element getElement() { in getElement() method in Allocation 279 return mType.getElement(); in getElement() 364 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize() 366 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 416 mSize = mType.getCount() * mType.getElement().getBytesSize(); in Allocation() 643 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat() 645 mType.getElement().mKind + ", type " + in validateBitmapFormat() 646 mType.getElement().mType + in validateBitmapFormat() 647 " of " + mType.getElement().getBytesSize() + in validateBitmapFormat() 652 if ((mType.getElement().mKind != Element.DataKind.PIXEL_RGBA) || in validateBitmapFormat() [all …]
|
D | ScriptIntrinsicBLAS.java | 283 if (!A.getType().getElement().isCompatible(e) || in validateGEMV() 284 !X.getType().getElement().isCompatible(e) || in validateGEMV() 285 !Y.getType().getElement().isCompatible(e)) { in validateGEMV() 545 if (!A.getType().getElement().isCompatible(e) || in validateTRMV() 546 !X.getType().getElement().isCompatible(e)) { in validateTRMV() 566 if (!Ap.getType().getElement().isCompatible(e) || in validateTPMV() 567 !X.getType().getElement().isCompatible(e)) { in validateTPMV() 1223 if (!A.getType().getElement().isCompatible(e) || in validateSYMV() 1224 !X.getType().getElement().isCompatible(e) || in validateSYMV() 1225 !Y.getType().getElement().isCompatible(e) ) { in validateSYMV() [all …]
|
D | AllocationAdapter.java | 237 Type t = Type.createX(rs, a.getElement(), a.getType().getX()); in create1D() 244 Type t = Type.createXY(rs, a.getElement(), a.getType().getX(), a.getType().getY()); in create2D() 277 if (!a.getType().getElement().equals(t.getElement())) { in createTyped()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptIntrinsicHistogram.java | 101 if (ain.getType().getElement().getVectorSize() < 102 mOut.getType().getElement().getVectorSize()) { 107 if (!ain.getType().getElement().isCompatible(Element.U8(mRS)) && 108 !ain.getType().getElement().isCompatible(Element.U8_2(mRS)) && 109 !ain.getType().getElement().isCompatible(Element.U8_3(mRS)) && 110 !ain.getType().getElement().isCompatible(Element.U8_4(mRS))) { 154 if (mOut.getType().getElement() != Element.U32(mRS) && 155 mOut.getType().getElement() != Element.U32_2(mRS) && 156 mOut.getType().getElement() != Element.U32_3(mRS) && 157 mOut.getType().getElement() != Element.U32_4(mRS) && [all …]
|
D | ScriptIntrinsicColorMatrix.java | 230 if (!ain.getElement().isCompatible(Element.U8(mRS)) && 231 !ain.getElement().isCompatible(Element.U8_2(mRS)) && 232 !ain.getElement().isCompatible(Element.U8_3(mRS)) && 233 !ain.getElement().isCompatible(Element.U8_4(mRS)) && 234 !ain.getElement().isCompatible(Element.F32(mRS)) && 235 !ain.getElement().isCompatible(Element.F32_2(mRS)) && 236 !ain.getElement().isCompatible(Element.F32_3(mRS)) && 237 !ain.getElement().isCompatible(Element.F32_4(mRS))) { 242 if (!aout.getElement().isCompatible(Element.U8(mRS)) && 243 !aout.getElement().isCompatible(Element.U8_2(mRS)) && [all …]
|
D | Allocation.java | 258 public Element getElement() { in getElement() method in Allocation 259 return mType.getElement(); in getElement() 333 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize() 335 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 384 mSize = mType.getCount() * mType.getElement().getBytesSize(); in Allocation() 531 int xBytesSize = mType.getX() * mType.getElement().getBytesSize(); in getByteBuffer() 575 mByteBufferStride = mType.getX() * mType.getElement().getBytesSize(); in getStride() 630 if (mType.getElement().mKind != Element.DataKind.PIXEL_A) { in validateBitmapFormat() 632 mType.getElement().mKind + ", type " + in validateBitmapFormat() 633 mType.getElement().mType + in validateBitmapFormat() [all …]
|
D | ScriptIntrinsicBLAS.java | 290 if (!A.getType().getElement().isCompatible(e) || 291 !X.getType().getElement().isCompatible(e) || 292 !Y.getType().getElement().isCompatible(e)) { 632 if (!A.getType().getElement().isCompatible(e) || in validateTRMV() 633 !X.getType().getElement().isCompatible(e)) { in validateTRMV() 653 if (!Ap.getType().getElement().isCompatible(e) || in validateTPMV() 654 !X.getType().getElement().isCompatible(e)) { in validateTPMV() 1502 if (!A.getType().getElement().isCompatible(e) || in validateSYMV() 1503 !X.getType().getElement().isCompatible(e) || in validateSYMV() 1504 !Y.getType().getElement().isCompatible(e) ) { in validateSYMV() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | CircularQueueTest.java | 36 assertEquals(mQueue.getElement(1), "A"); in testQueueInsertionAndDeletion() 38 assertNull(mQueue.getElement(1)); in testQueueInsertionAndDeletion() 47 assertNull(mQueue.getElement(1)); in testQueueLimit() 48 assertEquals(mQueue.getElement(2), "B"); in testQueueLimit() 49 assertEquals(mQueue.getElement(3), "C"); in testQueueLimit()
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
D | ParameterManagerWrapper.cpp | 186 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap) in getElement() function in android::audio_policy::ParameterManagerWrapper 195 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &eleme… in getElement() function in android::audio_policy::ParameterManagerWrapper 211 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionName, mPolicyCriteria); in setPhoneState() 227 getElement<ISelectionCriterionInterface>(gPhoneStateCriterionName, mPolicyCriteria); in getPhoneState() 244 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria); in setForceUse() 264 getElement<ISelectionCriterionInterface>(gForceUseCriterionTag[usage], mPolicyCriteria); in getForceUse() 289 getElement<ISelectionCriterionInterface>(criterionName, mPolicyCriteria); in setDeviceConnectionState() 317 getElement<ISelectionCriterionInterface>(gInputDeviceCriterionName, mPolicyCriteria); in setAvailableInputDevices() 330 getElement<ISelectionCriterionInterface>(gOutputDeviceCriterionName, mPolicyCriteria); in setAvailableOutputDevices()
|
/frameworks/rs/ |
D | rsApiType.cpp | 37 (*typeData++) = (uintptr_t)t->getElement(); in rsaTypeGetNativeData() 38 t->getElement()->incUserRef(); in rsaTypeGetNativeData()
|
D | rsAllocation.cpp | 77 … success = rsc->mHal.funcs.allocation.initOem(rsc, a, type->getElement()->getHasReferences(), ptr); in createAllocationStrided() 85 …success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), r… in createAllocationStrided() 89 success = rsc->mHal.funcs.allocation.init(rsc, a, type->getElement()->getHasReferences()); in createAllocationStrided() 150 mHal.state.hasReferences = mHal.state.type->getElement()->getHasReferences(); in updateCache() 290 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementData() 295 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementData() 296 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementData() 323 if (cIdx >= mHal.state.type->getElement()->getFieldCount()) { in elementRead() 328 const Element * e = mHal.state.type->getElement()->getField(cIdx); in elementRead() 329 uint32_t elemArraySize = mHal.state.type->getElement()->getFieldArraySize(cIdx); in elementRead() [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
D | ScriptC_reduce_general_accumulator.java.expect | 107 if (!ain1.getType().getElement().isCompatible(__I32)) { 140 if (!ain1.getType().getElement().isCompatible(__I32)) { 173 if (!ain1.getType().getElement().isCompatible(__I32)) { 206 if (!ain1.getType().getElement().isCompatible(__I32)) { 239 if (!ain1.getType().getElement().isCompatible(__I32)) { 272 if (!ain1.getType().getElement().isCompatible(__I32)) { 305 if (!ain1.getType().getElement().isCompatible(__I32)) { 338 if (!ain1.getType().getElement().isCompatible(__I32)) { 371 if (!ain1.getType().getElement().isCompatible(__I32)) { 404 if (!ain1.getType().getElement().isCompatible(__I32)) { [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 162 if (!ain1.getType().getElement().isCompatible(__F16)) { 166 if (!ain2.getType().getElement().isCompatible(__F16)) { 226 if (!ain1.getType().getElement().isCompatible(__F16)) { 230 if (!ain2.getType().getElement().isCompatible(__F16)) { 294 if (!ain1.getType().getElement().isCompatible(__F16)) { 298 if (!ain2.getType().getElement().isCompatible(__F16_2)) { 362 if (!ain1.getType().getElement().isCompatible(__F16)) { 366 if (!ain2.getType().getElement().isCompatible(__F16_2)) { 430 if (!ain1.getType().getElement().isCompatible(__F16)) { 434 if (!ain2.getType().getElement().isCompatible(__F16_4)) { [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_kernel_struct.java | 58 s.get_ain().getElement().destroy(); in run() 59 s.get_aout().getElement().destroy(); in run()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_kernel_struct.java | 56 s.get_ain().getElement().destroy(); in run() 57 s.get_aout().getElement().destroy(); in run()
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | ScriptC_reduce_general_input.java.expect | 175 if (!ain1.getType().getElement().isCompatible(__F16)) { 208 if (!ain1.getType().getElement().isCompatible(__F16)) { 241 if (!ain1.getType().getElement().isCompatible(__F16)) { 274 if (!ain1.getType().getElement().isCompatible(__F16)) { 307 if (!ain1.getType().getElement().isCompatible(__F16)) { 340 if (!ain1.getType().getElement().isCompatible(__F16)) { 373 if (!ain1.getType().getElement().isCompatible(__F16)) { 406 if (!ain1.getType().getElement().isCompatible(__F16)) { 439 if (!ain1.getType().getElement().isCompatible(__F16)) { 472 if (!ain1.getType().getElement().isCompatible(__F16)) { [all …]
|
/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
D | ScriptC_reflection3264_divergent.java.expect | 275 if (!ain.getType().getElement().isCompatible(__I32)) { 279 if (!aout.getType().getElement().isCompatible(__I32)) { 318 if (!ain.getType().getElement().isCompatible(__I32)) { 322 if (!aout.getType().getElement().isCompatible(__I32)) { 357 if (!ain.getType().getElement().isCompatible(__I32)) { 361 if (!aout.getType().getElement().isCompatible(__I32)) { 393 if (!ain.getType().getElement().isCompatible(__I32)) { 397 if (!aout.getType().getElement().isCompatible(__I32)) { 428 if (!ain.getType().getElement().isCompatible(__I32)) { 432 if (!aout.getType().getElement().isCompatible(__I32)) { [all …]
|
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
D | ScriptC_reflection3264_divergent.java.expect | 272 if (!ain.getType().getElement().isCompatible(__I32)) { 276 if (!aout.getType().getElement().isCompatible(__I32)) { 315 if (!ain.getType().getElement().isCompatible(__I32)) { 319 if (!aout.getType().getElement().isCompatible(__I32)) { 354 if (!ain.getType().getElement().isCompatible(__I32)) { 358 if (!aout.getType().getElement().isCompatible(__I32)) { 390 if (!ain.getType().getElement().isCompatible(__I32)) { 394 if (!aout.getType().getElement().isCompatible(__I32)) { 425 if (!ain.getType().getElement().isCompatible(__I32)) { 429 if (!aout.getType().getElement().isCompatible(__I32)) { [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
D | ParameterManagerWrapper.h | 173 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap); 185 const T *getElement(const std::string &name,
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | ScriptC_reduce_general_examples_backward.java.expect | 228 if (!ain1.getType().getElement().isCompatible(__I32)) { 261 if (!ain1.getType().getElement().isCompatible(__I32)) { 309 if (!ain1.getType().getElement().isCompatible(__F32)) { 313 if (!ain2.getType().getElement().isCompatible(__F32)) { 358 if (!ain1.getType().getElement().isCompatible(__F32)) { 391 if (!ain1.getType().getElement().isCompatible(__I32)) { 424 if (!ain1.getType().getElement().isCompatible(__I32)) { 457 if (!ain1.getType().getElement().isCompatible(__U8)) { 490 if (!ain1.getType().getElement().isCompatible(__U8)) {
|