/frameworks/libs/binary_translation/intrinsics/riscv64/ |
D | intrinsics.cc | 24 std::tuple<uint64_t> Bclri(uint64_t src, uint8_t imm) { in Bclri() argument 25 return {src & ~(uint64_t{1} << imm)}; in Bclri() 28 std::tuple<uint64_t> Bexti(uint64_t src, uint8_t imm) { in Bexti() argument 29 return {(src >> imm) & uint64_t{1}}; in Bexti() 32 std::tuple<uint64_t> Binvi(uint64_t src, uint8_t imm) { in Binvi() argument 33 return {src ^ (uint64_t{1} << imm)}; in Binvi() 36 std::tuple<uint64_t> Bseti(uint64_t src, uint8_t imm) { in Bseti() argument 37 return {src | (uint64_t{1} << imm)}; in Bseti() 46 std::tuple<uint64_t> Slliuw(uint32_t src, uint8_t imm) { in Slliuw() argument 47 return {uint64_t{src} << imm}; in Slliuw()
|
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | lite_translator.cc | 176 Register LiteTranslator::OpImm(Decoder::OpImmOpcode opcode, Register arg, int16_t imm) { in OpImm() argument 182 as_.Addq(res, imm); in OpImm() 186 as_.Cmpq(arg, imm); in OpImm() 191 as_.Cmpq(arg, imm); in OpImm() 196 as_.Xorq(res, imm); in OpImm() 200 as_.Orq(res, imm); in OpImm() 204 as_.Andq(res, imm); in OpImm() 213 Register LiteTranslator::OpImm32(Decoder::OpImm32Opcode opcode, Register arg, int16_t imm) { in OpImm32() argument 218 as_.Addl(res, imm); in OpImm32() 228 Register LiteTranslator::Slli(Register arg, int8_t imm) { in Slli() argument [all …]
|
D | lite_translator.h | 77 Register OpImm(Decoder::OpImmOpcode opcode, Register arg, int16_t imm); 78 Register OpImm32(Decoder::OpImm32Opcode opcode, Register arg, int16_t imm); 79 Register Slli(Register arg, int8_t imm); 80 Register Srli(Register arg, int8_t imm); 81 Register Srai(Register arg, int8_t imm); 82 Register ShiftImm32(Decoder::ShiftImm32Opcode opcode, Register arg, uint16_t imm); 85 Register Lui(int32_t imm); 86 Register Auipc(int32_t imm); 132 Register UpdateCsr(Decoder::CsrImmOpcode opcode, uint8_t imm, Register csr); 300 void SetCsr(uint8_t imm) { in SetCsr() argument [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ImeAwareEditText.java | 74 final InputMethodManager imm = in showSoftInputIfNecessary() local 76 imm.showSoftInput(this, 0); in showSoftInputIfNecessary() 82 final InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in scheduleShowSoftInput() local 83 if (imm.hasActiveInputConnection(this)) { in scheduleShowSoftInput() 88 imm.showSoftInput(this, 0); in scheduleShowSoftInput()
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | frontend.h | 72 [[nodiscard]] Register GetImm(uint64_t imm); 89 Register OpImm(Decoder::OpImmOpcode opcode, Register arg, int16_t imm); 90 Register OpImm32(Decoder::OpImm32Opcode opcode, Register arg, int16_t imm); 91 Register Slli(Register arg, int8_t imm); 92 Register Srli(Register arg, int8_t imm); 93 Register Srai(Register arg, int8_t imm); 94 Register ShiftImm32(Decoder::ShiftImm32Opcode opcode, Register arg, uint16_t imm); 97 Register Lui(int32_t imm); 98 Register Auipc(int32_t imm); 315 Register UpdateCsr(Decoder::CsrImmOpcode opcode, uint8_t imm, Register csr); [all …]
|
D | frontend.cc | 92 Register HeavyOptimizerFrontend::GetImm(uint64_t imm) { in GetImm() argument 94 Gen<x86_64::MovqRegImm>(result, imm); in GetImm() 429 Register HeavyOptimizerFrontend::OpImm(Decoder::OpImmOpcode opcode, Register arg, int16_t imm) { in OpImm() argument 436 Gen<x86_64::AddqRegImm>(res, imm, GetFlagsRegister()); in OpImm() 440 Gen<x86_64::CmpqRegImm>(arg, imm, GetFlagsRegister()); in OpImm() 446 Gen<x86_64::CmpqRegImm>(arg, imm, GetFlagsRegister()); in OpImm() 452 Gen<x86_64::XorqRegImm>(res, imm, GetFlagsRegister()); in OpImm() 456 Gen<x86_64::OrqRegImm>(res, imm, GetFlagsRegister()); in OpImm() 460 Gen<x86_64::AndqRegImm>(res, imm, GetFlagsRegister()); in OpImm() 469 Register HeavyOptimizerFrontend::OpImm32(Decoder::OpImm32Opcode opcode, Register arg, int16_t imm) { in OpImm32() argument [all …]
|
/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/ |
D | decoder.h | 672 uint8_t imm; member 717 int16_t imm; member 824 int16_t imm; member 885 int8_t imm : 5; member 993 uint8_t imm; member 1027 int32_t imm; member 1129 int8_t imm = SignExtend<6>((high_imm << 5) + low_imm); in DecodeCompressedLi() local 1134 .imm = imm, in DecodeCompressedLi() 1143 uint8_t imm = (high_imm << 5) + low_imm; in DecodeCompressedMiscAlu() local 1150 .imm = imm, in DecodeCompressedMiscAlu() [all …]
|
D | semantics_player.h | 108 Register result = listener_->Auipc(args.imm); in Auipc() 161 SetCsr(static_cast<CsrName>(args.csr), args.imm); in Csr() 168 if (args.imm != 0) { in Csr() 170 listener_->UpdateCsr(args.opcode, args.imm, csr))) { in Csr() 402 Register result = listener_->Lui(args.imm); in Lui() 756 return listener_->OpImm(args.opcode, arg, args.imm); in OpImm() 759 return listener_->OpImm32(args.opcode, arg, args.imm); in OpImm() 764 return listener_->Slli(arg, args.imm); in OpImm() 766 return listener_->Srli(arg, args.imm); in OpImm() 768 return listener_->Srai(arg, args.imm); in OpImm() [all …]
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | insn_folding_test.cc | 36 void TryRegRegInsnFolding(bool is_64bit_mov_imm, uint64_t imm = 0x7777ffffULL) { in TryRegRegInsnFolding() argument 49 builder.Gen<MovqRegImm>(vreg1, imm); in TryRegRegInsnFolding() 51 builder.Gen<MovlRegImm>(vreg1, imm); in TryRegRegInsnFolding() 79 EXPECT_EQ(static_cast<uint64_t>(static_cast<int32_t>(imm)), in TryRegRegInsnFolding() 80 AsMachineInsnX86_64(folded_insn)->imm()); in TryRegRegInsnFolding() 84 void TryMovInsnFolding(bool is_64bit_mov_imm, uint64_t imm) { in TryMovInsnFolding() argument 96 builder.Gen<MovqRegImm>(vreg1, imm); in TryMovInsnFolding() 98 builder.Gen<MovlRegImm>(vreg1, imm); in TryMovInsnFolding() 124 EXPECT_EQ(is_64bit_mov_imm ? imm : static_cast<uint32_t>(imm), in TryMovInsnFolding() 125 AsMachineInsnX86_64(folded_insn)->imm()); in TryMovInsnFolding() [all …]
|
D | code_debug.cc | 91 return StringPrintf("0x%" PRIx64, insn->imm()); in GetImmOperandDebugString() 103 string out(StringPrintf("CALL 0x%" PRIx64, imm())); in GetDebugString()
|
D | insn_folding.cc | 59 bool InsnFolding::IsRegImm(MachineReg reg, uint64_t* imm) const { in IsRegImm() 66 *imm = insn->imm(); in IsRegImm() 70 *imm = static_cast<uint64_t>(static_cast<uint32_t>(insn->imm())); in IsRegImm()
|
/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/ |
D | macro_assembler-inl.h | 181 DEFINE_INT_INSTRUCTION(Mov, Mov, , kIntType, (Operand dest, ImmFormat<format> imm), (dest, imm)) 187 (Register dest, std::make_signed_t<format> imm), 188 (dest, imm)) 196 (Operand dest, Register src, ImmFormat<format> imm), 197 (dest, src, imm)) 202 (Operand dest, Operand src, ImmFormat<format> imm), 203 (dest, src, imm)) 204 DEFINE_INT_INSTRUCTION(Test, Test, , kIntType, (Operand dest, ImmFormat<format> imm), (dest, imm)) 206 DEFINE_INT_INSTRUCTION(Test, Test, , kIntType, (Register dest, ImmFormat<format> imm), (dest, imm)) 222 insn_name, insn_name, , kIntType, (Operand dest, ImmFormat<format> imm), (dest, imm)) \ [all …]
|
/frameworks/base/services/tests/InputMethodSystemServerTests/test-apps/SimpleTestIme/src/com/android/apps/inputmethod/simpleime/testing/ |
D | TestActivity.java | 93 InputMethodManager imm = getSystemService(InputMethodManager.class); in showImeWithInputMethodManager() local 94 boolean result = imm.showSoftInput(mEditText, flags); in showImeWithInputMethodManager() 109 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideImeWithInputMethodManager() local 110 boolean result = imm.hideSoftInputFromWindow(mEditText.getWindowToken(), flags); in hideImeWithInputMethodManager()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | machine_ir_builder.h | 83 /*may_discard*/ CallImmType* Gen(IntegralType imm) = delete; 85 /*may_discard*/ CallImm* GenCallImm(uint64_t imm, MachineReg flag_register) { in GenCallImm() argument 86 return GenCallImm(imm, flag_register, std::array<CallImm::Arg, 0>{}); in GenCallImm() 90 /*may_discard*/ CallImm* GenCallImm(uint64_t imm, in GenCallImm() argument 93 auto* call = ir()->NewInsn<CallImm>(imm); in GenCallImm()
|
D | insn_folding.h | 73 bool IsRegImm(MachineReg reg, uint64_t* imm) const; 78 MachineInsn* NewImmInsnFromRegInsn(const MachineInsn* insn, int32_t imm);
|
D | machine_ir.h | 145 uint64_t imm() const { return imm_; } in imm() function 204 void set_imm(uint64_t imm) { imm_ = imm; } in set_imm() argument 241 explicit CallImm(uint64_t imm);
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64PLT.cpp | 87 AArch64Relocator::DWord imm = in applyPLT0() local 90 data[1] = helper_reencode_adr_imm(data[1], imm >> 12); in applyPLT0() 127 AArch64Relocator::DWord imm = helper_get_page_address(GOTEntryAddress) - in applyPLT1() local 129 Out[0] = helper_reencode_adr_imm(Out[0], imm >> 12); in applyPLT1()
|
D | AArch64LongBranchStub.cpp | 96 int64_t imm = static_cast<int64_t>((helper_get_page_address(pDest) - in isValidForADRP() local 98 return ((imm <= AArch64GNULDBackend::MAX_ADRP_IMM) && in isValidForADRP() 99 (imm >= AArch64GNULDBackend::MIN_ADRP_IMM)); in isValidForADRP()
|
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/ |
D | InputMethodManagerTest.java | 51 final InputMethodManager imm = in testPrivateApiGetInstance() local 54 + " display.", globalImm, imm); in testPrivateApiGetInstance()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AppLocaleCollector.java | 99 InputMethodManager imm = mContext.getSystemService(InputMethodManager.class); in getActiveImeLocales() local 100 if (imm != null) { in getActiveImeLocales() 101 InputMethodInfo activeIme = getActiveIme(imm); in getActiveImeLocales() 104 imm.getEnabledInputMethodSubtypeList(activeIme, true)); in getActiveImeLocales() 118 private InputMethodInfo getActiveIme(InputMethodManager imm) { in getActiveIme() argument 120 List<InputMethodInfo> infoList = imm.getEnabledInputMethodList(); in getActiveIme()
|
/frameworks/base/core/java/android/view/ |
D | ImeFocusController.java | 153 final InputMethodManager imm = in onProcessImeInputStage() local 155 if (imm == null) { in onProcessImeInputStage() 158 return imm.dispatchInputEvent(event, token, callback, mViewRootImpl.mHandler); in onProcessImeInputStage()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SpellCheckerSession.java | 176 final InputMethodManager imm = mTextServicesManager.getInputMethodManager(); in getSentenceSuggestions() local 177 if (imm != null && imm.isInputMethodSuppressingSpellChecker()) { in getSentenceSuggestions() 209 final InputMethodManager imm = mTextServicesManager.getInputMethodManager(); in getSuggestions() local 210 if (imm != null && imm.isInputMethodSuppressingSpellChecker()) { in getSuggestions()
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 525 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in hide() 526 if (imm != null) { in hide() 527 imm.hideSoftInputFromWindow( in hide() 664 InputMethodManager imm = getContext().getSystemService(InputMethodManager.class); in onBackPressed() local 665 if (imm != null && imm.isFullscreenMode() && in onBackPressed() 666 imm.hideSoftInputFromWindow(getWindow().getDecorView().getWindowToken(), 0)) { in onBackPressed()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordViewController.java | 319 private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, in hasMultipleEnabledIMEsOrSubtypes() argument 322 imm.getEnabledInputMethodListAsUser( in hasMultipleEnabledIMEsOrSubtypes() 332 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes() 359 || imm.getEnabledInputMethodSubtypeList(null, false).size() > 1; in hasMultipleEnabledIMEsOrSubtypes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | EditTextActivity.java | 133 InputMethodManager imm = getSystemService(InputMethodManager.class); in hideIme() local 134 imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0); in hideIme()
|