/aosp12/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/ |
H A D | HWC2OnFbAdapter.cpp | 42 auto& adapter = HWC2OnFbAdapter::cast(device); in dumpHook() 53 auto& adapter = HWC2OnFbAdapter::cast(device); in registerCallbackHook() 93 auto& adapter = HWC2OnFbAdapter::cast(device); in getDisplayNameHook() 109 auto& adapter = HWC2OnFbAdapter::cast(device); in getDisplayTypeHook() 119 auto& adapter = HWC2OnFbAdapter::cast(device); in getDozeSupportHook() 131 auto& adapter = HWC2OnFbAdapter::cast(device); in getHdrCapabilitiesHook() 141 auto& adapter = HWC2OnFbAdapter::cast(device); in setPowerModeHook() 151 auto& adapter = HWC2OnFbAdapter::cast(device); in setVsyncEnabledHook() 162 auto& adapter = HWC2OnFbAdapter::cast(device); in getColorModesHook() 180 auto& adapter = HWC2OnFbAdapter::cast(device); in setColorModeHook() [all …]
|
/aosp12/art/test/108-check-cast/ |
H A D | Android.bp | 3 // Build rules for ART run-test `108-check-cast`. 16 name: "art-run-test-108-check-cast", 21 ":art-run-test-108-check-cast-expected-stdout", 22 ":art-run-test-108-check-cast-expected-stderr", 28 name: "art-run-test-108-check-cast-expected-stdout", 29 out: ["art-run-test-108-check-cast-expected-stdout.txt"], 36 name: "art-run-test-108-check-cast-expected-stderr", 37 out: ["art-run-test-108-check-cast-expected-stderr.txt"],
|
/aosp12/frameworks/compile/slang/tests/F_vector_cast/ |
H A D | stderr.txt.expect | 3 vector_cast.rscript:7:9: error: invalid vector cast 4 vector_cast.rscript:14:9: error: invalid vector cast 5 vector_cast.rscript:21:9: error: invalid vector cast 6 vector_cast.rscript:31:13: error: invalid vector cast
|
/aosp12/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptFile.cpp | 90 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addEntryPoint() 149 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addAssignment() 153 llvm::cast<OutputSectDesc>(sections->back()); in addAssignment() 190 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in enterOutputSectDesc() 199 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in leaveOutputSectDesc() 202 OutputSectDesc* output_desc = llvm::cast<OutputSectDesc>(sections->back()); in leaveOutputSectDesc() 212 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); in addInputSectDesc() 215 OutputSectDesc* output_sect = llvm::cast<OutputSectDesc>(sections->back()); in addInputSectDesc()
|
H A D | UnaryOp.cpp | 76 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval() 80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval() 98 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval() 102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval() 169 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); in eval() 173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
|
H A D | RpnEvaluator.cpp | 39 Operator* op = llvm::cast<Operator>(*it); in eval() 80 Operand* opd = llvm::cast<Operand>(*it); in eval() 86 SymOperand* sym_opd = llvm::cast<SymOperand>(opd); in eval()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/ |
H A D | cast.example.cpp | 7 namespace generated_tests::cast { namespace 54 namespace generated_tests::cast { namespace 135 namespace generated_tests::cast { namespace 182 namespace generated_tests::cast { namespace 263 namespace generated_tests::cast { namespace 310 namespace generated_tests::cast { namespace 391 namespace generated_tests::cast { namespace 438 namespace generated_tests::cast { namespace 519 namespace generated_tests::cast { namespace 566 namespace generated_tests::cast { namespace [all …]
|
/aosp12/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsGOTPLT.cpp | 35 GOTPLTEntry* got = &(llvm::cast<GOTPLTEntry>((*it))); in emit() 56 llvm::cast<GOTPLTEntry>(*it++).setValue(0); // PLT lazy resolver in applyAllGOTPLT() 57 llvm::cast<GOTPLTEntry>(*it++).setValue(0); // Module pointer in applyAllGOTPLT() 60 llvm::cast<GOTPLTEntry>(*it).setValue(pltAddr); in applyAllGOTPLT()
|
H A D | MipsPLT.cpp | 83 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize); in emit() 89 plta = &(llvm::cast<MipsPLTA>(*it)); in emit() 106 PLTEntryBase* plt = &(llvm::cast<PLTEntryBase>(*it)); in applyAllPLT()
|
/aosp12/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | BitcodeWriter.cpp | 267 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable() 289 StructType *ST = cast<StructType>(T); in WriteTypeTable() 316 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable() 325 VectorType *VT = cast<VectorType>(T); in WriteTypeTable() 841 const Constant *C = cast<Constant>(V); in WriteConstants() 1229 const PHINode &PN = cast<PHINode>(I); in WriteInstruction() 1266 if (cast<LoadInst>(I).isAtomic()) { in WriteInstruction() 1276 if (cast<LoadInst>(I).isAtomic()) { in WriteInstruction() 1282 if (cast<StoreInst>(I).isAtomic()) in WriteInstruction() 1290 if (cast<StoreInst>(I).isAtomic()) { in WriteInstruction() [all …]
|
/aosp12/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 270 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable() 291 StructType *ST = cast<StructType>(T); in WriteTypeTable() 318 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable() 327 VectorType *VT = cast<VectorType>(T); in WriteTypeTable() 879 const Constant *C = cast<Constant>(V); in WriteConstants() 1262 const PHINode &PN = cast<PHINode>(I); in WriteInstruction() 1300 if (cast<LoadInst>(I).isAtomic()) { in WriteInstruction() 1310 if (cast<LoadInst>(I).isAtomic()) { in WriteInstruction() 1316 if (cast<StoreInst>(I).isAtomic()) in WriteInstruction() 1324 if (cast<StoreInst>(I).isAtomic()) { in WriteInstruction() [all …]
|
/aosp12/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86GOTPLT.cpp | 37 llvm::cast<X86_32GOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0() 49 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6); in applyAllGOTPLT() 70 llvm::cast<X86_64GOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0() 82 llvm::cast<X86_64GOTEntry>(*it).setValue(plt_addr + 6); in applyAllGOTPLT()
|
/aosp12/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonPLT.cpp | 59 PLTEntryBase* plt0 = &(llvm::cast<PLTEntryBase>(*first)); in getPLT0() 74 PLTEntryBase* plt1 = &(llvm::cast<PLTEntryBase>(*it)); in finalizeSectionSize() 142 plt1 = &(llvm::cast<HexagonPLT1>(*it)); in applyPLT1() 174 llvm::cast<HexagonPLT0>((*it)).getValue(), in emit() 182 plt1 = &(llvm::cast<HexagonPLT1>(*it)); in emit()
|
/aosp12/hardware/interfaces/cas/1.1/default/ |
H A D | MediaCasService.cpp | 38 sp<V1_1::ICasListener> cast = V1_1::ICasListener::castFrom(impl); in wrap() local 39 if (cast == NULL) { in wrap() 40 cast = new Wrapper(impl); in wrap() 42 return cast; in wrap()
|
/aosp12/hardware/interfaces/cas/1.2/default/ |
H A D | MediaCasService.cpp | 39 sp<V1_1::ICasListener> cast = V1_1::ICasListener::castFrom(impl); in wrap() local 40 if (cast == NULL) { in wrap() 41 cast = new Wrapper(impl); in wrap() 43 return cast; in wrap()
|
/aosp12/art/test/454-get-vreg/ |
H A D | get_vreg_jni.cc | 65 uint32_t cast = bit_cast<uint32_t, float>(1.0f); in VisitFrame() local 66 CHECK_EQ(value, cast); in VisitFrame() 109 uint64_t cast = bit_cast<uint64_t, double>(2.0); in VisitFrame() local 110 CHECK_EQ(value, cast); in VisitFrame()
|
/aosp12/frameworks/compile/slang/BitWriter_2_9/ |
H A D | BitcodeWriter.cpp | 180 StructType *ST = cast<StructType>(T); in WriteTypeSymbolTable() 282 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable() 292 FunctionType *FT = cast<FunctionType>(T); in WriteTypeTable() 304 StructType *ST = cast<StructType>(T); in WriteTypeTable() 316 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable() 325 VectorType *VT = cast<VectorType>(T); in WriteTypeTable() 665 const MDString *MDS = cast<MDString>(MD); in WriteModuleMetadata() 843 const Constant *C = cast<Constant>(V); in WriteConstants() 1095 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction() 1227 const PHINode &PN = cast<PHINode>(I); in WriteInstruction() [all …]
|
/aosp12/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitcodeReader.cpp | 215 PHINode *PN = cast<PHINode>(II); in UpgradeExceptionHandling() 888 return cast<Constant>(V); in getConstantFwdRef() 950 Constant *UserC = cast<Constant>(U); in ResolveConstantForwardRefs() 1851 auto &CE = cast<ConstantExpr>(C); in getGlobalObjectInExpr() 2042 ArrayType *ATy = cast<ArrayType>(CurTy); in ParseConstants() 2056 ArrayType *ATy = cast<ArrayType>(CurTy); in ParseConstants() 3291 cast<InvokeInst>(I)->setCallingConv( in ParseFunctionBody() 3293 cast<InvokeInst>(I)->setAttributes(PAL); in ParseFunctionBody() 3376 LP->addClause(cast<Constant>(Val)); in ParseFunctionBody() 3570 cast<CallInst>(I)->setCallingConv( in ParseFunctionBody() [all …]
|
/aosp12/art/test/457-regs/ |
H A D | regs_jni.cc | 75 uint32_t cast = bit_cast<uint32_t, float>(4.0f); in VisitFrame() local 76 CHECK_EQ(value, cast); in VisitFrame() 144 int32_t cast = bit_cast<int32_t, float>(float_value); in Java_PhiLiveness_regsNativeCallWithParameters() local 145 CHECK_EQ(cast, 0); in Java_PhiLiveness_regsNativeCallWithParameters()
|
/aosp12/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64PLT.cpp | 70 AArch64PLT0* plt0 = &(llvm::cast<AArch64PLT0>(*first)); in applyPLT0() 123 plt1 = &(llvm::cast<AArch64PLT1>(*it)); in applyPLT1() 153 llvm::cast<AArch64PLT0>((*it)).getValue(), in emit() 161 plt1 = &(llvm::cast<AArch64PLT1>(*it)); in emit()
|
H A D | AArch64GOT.cpp | 97 llvm::cast<AArch64GOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0() 113 llvm::cast<AArch64GOTEntry>(entry)->setValue(pPLTBase); in applyGOTPLT() 124 got = &(llvm::cast<AArch64GOTEntry>((*it))); in emit()
|
/aosp12/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMPLT.cpp | 81 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first)); in applyPLT0() 117 plt1 = &(llvm::cast<ARMPLT1>(*it)); in applyPLT1() 146 memcpy(buffer, llvm::cast<ARMPLT0>((*it)).getValue(), ARMPLT0::EntrySize); in emit() 153 plt1 = &(llvm::cast<ARMPLT1>(*it)); in emit()
|
H A D | ARMGOT.cpp | 94 llvm::cast<ARMGOTEntry>(*(m_SectionData->getFragmentList().begin())) in applyGOT0() 110 llvm::cast<ARMGOTEntry>(entry)->setValue(pPLTBase); in applyGOTPLT() 121 got = &(llvm::cast<ARMGOTEntry>((*it))); in emit()
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | simpleperf_report_lib.py | 35 return ct.cast(p, ct.c_void_p).value is None 382 void_p = ct.cast(feature_data[0].data, ct.c_void_p) 383 arg_count = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 387 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 389 char_p = ct.cast(void_p, ct.POINTER(ct.c_char)) 406 void_p = ct.cast(feature_data[0].data, ct.c_void_p) 407 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 409 char_p = ct.cast(void_p, ct.POINTER(ct.c_char))
|
/aosp12/frameworks/compile/libbcc/lib/ |
H A D | RSAddDebugInfoPass.cpp | 152 DT = llvm::cast<llvm::DIDerivedType>(kernelPrototypeVarMD->getType()); in initializeDebugInfo() 153 DT = llvm::cast<llvm::DIDerivedType>(DT->getBaseType()); in initializeDebugInfo() 154 llvm::DISubroutineType *ST = llvm::cast<llvm::DISubroutineType>(DT->getBaseType()); in initializeDebugInfo() 155 kernelPrototypeMD = llvm::cast<llvm::MDTuple>(ST->getRawTypeArray()); in initializeDebugInfo() 217 llvm::cast<llvm::DIType>(argTypes->getOperand(argIdx).get()), in attachDebugInfo()
|