Home
last modified time | relevance | path

Searched refs:as (Results 1 – 25 of 754) sorted by relevance

12345678910>>...31

/frameworks/libs/binary_translation/code_gen_lib/
Dcode_gen_lib_riscv64_to_x86_64.cc42 void EmitCheckSignalsAndMaybeReturn(x86_64::Assembler* as) { in EmitCheckSignalsAndMaybeReturn() argument
50 as->Cmpb({.base = x86_64::Assembler::rbp, .disp = offset}, kPendingSignalsPresent); in EmitCheckSignalsAndMaybeReturn()
51 as->Jcc(x86_64::Assembler::Condition::kEqual, kEntryExitGeneratedCode); in EmitCheckSignalsAndMaybeReturn()
61 x86_64::Assembler as(mc); in GenTrampolineAdaptor() local
66 as.Movq(as.rdi, pc); in GenTrampolineAdaptor()
67 as.Movq({.base = as.rbp, .disp = offsetof(ThreadState, cpu.insn_addr)}, as.rdi); in GenTrampolineAdaptor()
68 as.Movq({.base = as.rbp, .disp = offsetof(ThreadState, residence)}, kOutsideGeneratedCode); in GenTrampolineAdaptor()
72 as.Movq(as.rdi, as.rbp); in GenTrampolineAdaptor()
73 as.Movq(as.rsi, reinterpret_cast<intptr_t>(name)); in GenTrampolineAdaptor()
74 as.Call(AsHostCode(instrument)); in GenTrampolineAdaptor()
[all …]
Dgen_wrapper_riscv64_to_x86_64.cc33 void ExtendIntArg(MacroAssembler<Assembler>& as, in ExtendIntArg() argument
38 as.Movzxbq(dst, src); in ExtendIntArg()
40 as.Movsxbq(dst, src); in ExtendIntArg()
42 as.Movsxwq(dst, src); in ExtendIntArg()
44 as.Movzxwq(dst, src); in ExtendIntArg()
46 as.Movsxlq(dst, src); in ExtendIntArg()
63 MacroAssembler<Assembler> as(mc); in GenWrapGuestFunction() local
69 as.Push(Assembler::rbp); in GenWrapGuestFunction()
70 as.Movq(Assembler::rbp, Assembler::rsp); in GenWrapGuestFunction()
87 as.Subq(Assembler::rsp, static_cast<int32_t>(aligned_frame_size)); in GenWrapGuestFunction()
[all …]
/frameworks/libs/binary_translation/backend/x86_64/
Dcode_emit.cc39 void EmitMovGRegGReg(CodeEmitter* as, MachineReg dst, MachineReg src, int /* size */) { in EmitMovGRegGReg() argument
40 as->Movq(GetGReg(dst), GetGReg(src)); in EmitMovGRegGReg()
43 void EmitMovGRegXReg(CodeEmitter* as, MachineReg dst, MachineReg src, int /* size */) { in EmitMovGRegXReg() argument
44 as->Movq(GetGReg(dst), GetXReg(src)); in EmitMovGRegXReg()
47 void EmitMovGRegMem(CodeEmitter* as, MachineReg dst, MachineReg src, int /* size */) { in EmitMovGRegMem() argument
50 as->Movq(GetGReg(dst), {.base = Assembler::rsp, .disp = offset}); in EmitMovGRegMem()
53 void EmitMovXRegGReg(CodeEmitter* as, MachineReg dst, MachineReg src, int /* size */) { in EmitMovXRegGReg() argument
54 as->Movq(GetXReg(dst), GetGReg(src)); in EmitMovXRegGReg()
57 void EmitMovXRegXReg(CodeEmitter* as, MachineReg dst, MachineReg src, int /* size */) { in EmitMovXRegXReg() argument
58 as->Pmov(GetXReg(dst), GetXReg(src)); in EmitMovXRegXReg()
[all …]
Dmachine_ir_exec_test.cc57 CodeEmitter as( in Init() local
61 auto* exit_label = as.MakeLabel(); in Init()
62 as.set_exit_label_for_testing(exit_label); in Init()
65 as.Push(as.rbp); in Init()
66 as.Push(as.rbx); in Init()
67 as.Push(as.r12); in Init()
68 as.Push(as.r13); in Init()
69 as.Push(as.r14); in Init()
70 as.Push(as.r15); in Init()
72 as.Subq(as.rsp, 8); in Init()
[all …]
/frameworks/libs/binary_translation/assembler/
Dassembler_test.cc133 CodeEmitter as(&code); in LabelTest() local
135 as.Call(bit_cast<const void*>(&Callee)); in LabelTest()
136 as.Jmp(skip); in LabelTest()
137 as.Movl(Assembler::eax, 2); in LabelTest()
138 as.Bind(&skip); in LabelTest()
139 as.Addl(Assembler::eax, 8); in LabelTest()
140 as.Jmp(skip2); in LabelTest()
141 as.Bind(&back); in LabelTest()
142 as.Addl(Assembler::eax, 12); in LabelTest()
143 as.Jmp(end); in LabelTest()
[all …]
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dcall_intrinsic_tests.cc50 CodeEmitter as( in Init() local
54 auto* exit_label = as.MakeLabel(); in Init()
55 as.set_exit_label_for_testing(exit_label); in Init()
58 as.Push(as.rbp); in Init()
59 as.Push(as.rbx); in Init()
60 as.Push(as.r12); in Init()
61 as.Push(as.r13); in Init()
62 as.Push(as.r14); in Init()
63 as.Push(as.r15); in Init()
65 as.Subq(as.rsp, 8); in Init()
[all …]
/frameworks/libs/binary_translation/code_gen_lib/include/berberis/code_gen_lib/
Dcode_gen_lib.h35 void EmitAllocStackFrame(Assembler* as, uint32_t frame_size);
36 void EmitFreeStackFrame(Assembler* as, uint32_t frame_size);
38 void EmitJump(Assembler* as, GuestAddr target);
39 void EmitIndirectJump(Assembler* as, Assembler::Register target);
45 void EmitSyscall(x86_64::Assembler* as, GuestAddr pc);
46 void EmitDirectDispatch(x86_64::Assembler* as, GuestAddr pc, bool check_pending_signals);
47 void EmitIndirectDispatch(x86_64::Assembler* as, x86_64::Assembler::Register target);
48 void EmitExitGeneratedCode(x86_64::Assembler* as, x86_64::Assembler::Register target);
49 void EmitAllocStackFrame(x86_64::Assembler* as, uint32_t frame_size);
50 void EmitFreeStackFrame(x86_64::Assembler* as, uint32_t frame_size);
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dcall_intrinsic.h106 inline void PushCallerSaved(MacroAssembler<x86_64::Assembler>& as) { in PushCallerSaved() argument
107 as.Subq(as.rsp, kSaveAreaSize * 8); in PushCallerSaved()
110 as.Movq({.base = as.rsp, .disp = kRegOffsetsOnStack[reg.num] * 8}, reg); in PushCallerSaved()
114 as.Movdqa({.base = as.rsp, .disp = kSimdRegOffsetsOnStack[reg.num] * 8}, reg); in PushCallerSaved()
121 inline void PopCallerSaved(MacroAssembler<x86_64::Assembler>& as, const StoredRegsInfo regs_info) { in PopCallerSaved() argument
124 as.Movq(reg, {.base = as.rsp, .disp = regs_info.regs_on_stack[reg.num] * 8}); in PopCallerSaved()
129 as.Movdqa(reg, {.base = as.rsp, .disp = regs_info.simd_regs_on_stack[reg.num] * 8}); in PopCallerSaved()
133 as.Addq(as.rsp, kSaveAreaSize * 8); in PopCallerSaved()
213 constexpr bool InitArgs(MacroAssembler&& as, bool has_avx, AssemblerArgType... args) { in InitArgs() argument
227 bool success = ([&as, &gp_index, &simd_index, has_avx](auto arg) -> bool { in InitArgs()
[all …]
Dlite_translate_region.cc37 translator->as()->Finalize(); in Finalize()
40 void GenIncrementProfileCounter(x86_64::Assembler* as, const LiteTranslateParams& params) { in GenIncrementProfileCounter() argument
52 as->Movq(as->rcx, bit_cast<int64_t>(params.counter_location)); in GenIncrementProfileCounter()
54 as->Addl({.base = as->rcx}, 1); in GenIncrementProfileCounter()
55 as->Cmpl({.base = as->rcx}, params.counter_threshold); in GenIncrementProfileCounter()
56 as->Jcc(x86_64::Assembler::Condition::kGreater, params.counter_threshold_callback); in GenIncrementProfileCounter()
73 GenIncrementProfileCounter(translator.as(), params); in TryLiteTranslateRegionImpl()
Dlite_translator_exec_tests.cc51 translator_.as()->Finalize(); in FinalizeTranslation()
68 translator_.as()->Movq(x86_64::Assembler::rax, 33); in TEST_F()
73 translator_.as()->Jmp(kEntryExitGeneratedCode); in TEST_F()
83 translator_.as()->Movq(x86_64::Assembler::rax, 33); in TEST_F()
84 translator_.as()->Movq(reg, x86_64::Assembler::rax); in TEST_F()
89 translator_.as()->Jmp(kEntryExitGeneratedCode); in TEST_F()
Dinline_intrinsic.h41 bool TryInlineIntrinsic(MacroAssembler<x86_64::Assembler>& as,
51 static bool TryInlineWithHostRounding(MacroAssembler<x86_64::Assembler>& as, in TryInlineWithHostRounding() argument
63 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
70 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
77 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
84 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
91 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
98 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
105 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
112 as, reg_alloc, simd_reg_alloc, result, src1, src2); in TryInlineWithHostRounding()
[all …]
Dinline_intrinsic_tests.cc53 static bool Call(MacroAssembler<x86_64::Assembler>* as, ExplicitArgs&&... args) { in Call() argument
55 as, std::make_index_sequence<sizeof...(Args)>{}, std::forward<ExplicitArgs>(args)...); in Call()
60 static bool Call(MacroAssembler<x86_64::Assembler>* as, in Call() argument
65 *as, in Call()
110 &as __VA_OPT__(, ) __VA_ARGS__)))
114 &as __VA_OPT__(, ) __VA_ARGS__)))
118 MacroAssembler<x86_64::Assembler> as(&machine_code); in TEST() local
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll5 ; RUN: %llvm-rs-as -target-api 11 %s -o %t11
7 ; RUN: %llvm-rs-as -target-api 12 %s -o %t12
9 ; RUN: %llvm-rs-as -target-api 13 %s -o %t13
11 ; RUN: %llvm-rs-as -target-api 14 %s -o %t14
13 ; RUN: %llvm-rs-as -target-api 15 %s -o %t15
15 ; RUN: %llvm-rs-as -target-api 16 %s -o %t16
17 ; RUN: %llvm-rs-as -target-api 17 %s -o %t17
19 ; RUN: %llvm-rs-as -target-api 18 %s -o %t18
21 ; RUN: %llvm-rs-as -target-api 19 %s -o %t19
23 ; RUN: %llvm-rs-as -target-api 20 %s -o %t20
[all …]
/frameworks/proto_logging/stats/atoms/expresslog/
Dexpresslog_extension_atoms.proto57 // will be used as uid dimension.
67 // will be used as a samples count increment value per bin
70 // will be used as a dimension to represent the bin index
73 // dim[bins_count] - could be considered as an underflow bin
74 // dim[bins_count + 1] - could be considered as an overflow bin
84 // will be used as a samples count increment value per bin
87 // will be used as a dimension to represent the bin index
90 // dim[bins_count] - could be considered as an underflow bin
91 // dim[bins_count + 1] - could be considered as an overflow bin
94 // will be used as uid dimension.
/frameworks/base/core/proto/android/media/
Daudioattributes.proto49 // accompany a user action, such as a beep or sound effect expressing a key
50 // click, or event, such as the type of a sound for a bonus being received
58 // Usage value to use when the usage is media, such as music, or movie
61 // Usage value to use when the usage is voice communications, such as
64 // Usage value to use when the usage is in-call signalling, such as with a
75 // communication, such as a VoIP communication or video-conference.
78 // communication such as a chat, or SMS.
81 // type of communication such as e-mail.
84 // such as a reminder or low battery warning.
86 // Usage value to use when the usage is for accessibility, such as with a
[all …]
/frameworks/base/data/keyboards/
DVendor_057e_Product_2009.kl22 # Button labeled as "B" but should really produce keycode "A"
24 # Button labeled as "A" but should really produce keycode "B"
26 # Button labeled as "X" but should really product keycode "Y"
28 # Button labeled as "Y" but should really produce keycode "X"
31 # Button labeled as "L"
33 # Button labeled as "R"
37 # Trigger labeled as "ZL"
39 # Trigger labeled as "ZR"
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCardApplication.java109 IccCardApplicationStatus as, in UiccCardApplication() argument
112 if (DBG) log("Creating UiccApp: " + as); in UiccCardApplication()
114 mAppState = as.app_state; in UiccCardApplication()
115 mAppType = as.app_type; in UiccCardApplication()
117 mPersoSubState = as.perso_substate; in UiccCardApplication()
118 mAid = as.aid; in UiccCardApplication()
119 mAppLabel = as.app_label; in UiccCardApplication()
120 mPin1Replaced = as.pin1_replaced; in UiccCardApplication()
121 mPin1State = as.pin1; in UiccCardApplication()
122 mPin2State = as.pin2; in UiccCardApplication()
[all …]
/frameworks/opt/setupwizard/library/
Dstandalone.gradle2 * Include this gradle file if you are building against this as a standalone gradle library project,
3 * as opposed to building it as part of the git-tree. This is typically the file you want to include
11 * And then you can include the :setup-wizard-lib project as one of your dependencies
/frameworks/libs/binary_translation/intrinsics/common_to_x86/
Dgen_text_asm_intrinsics.cc299 MacroAssembler<TextAssembler> as(indent, out); in CallTextAssembler() local
301 AsmCallInfo::ProcessBindings([&arg_counter, &as, register_numbers](auto arg) { in CallTextAssembler()
307 as.gpr_a = TextAssembler::Register(register_numbers[arg_counter]); in CallTextAssembler()
309 as.gpr_c = TextAssembler::Register(register_numbers[arg_counter]); in CallTextAssembler()
312 as.gpr_d = TextAssembler::Register(register_numbers[arg_counter]); in CallTextAssembler()
319 as.gpr_macroassembler_constants = TextAssembler::Register(arg_counter); in CallTextAssembler()
324 std::tuple<MacroAssembler<TextAssembler>&>{as}, in CallTextAssembler()
326 [&as, &arg_counter, &scratch_counter, register_numbers](auto arg) { in CallTextAssembler()
331 as.gpr_macroassembler_scratch = TextAssembler::Register(arg_counter++); in CallTextAssembler()
333 as.gpr_macroassembler_scratch2 = in CallTextAssembler()
[all …]
/frameworks/base/core/proto/android/os/
Dmetadata.proto23 // such as the section ids and privacy policy specs from caller as well as how long
30 // No longer filled in as of Qt.
41 // No longer filled in as of Qt.
44 // No longer filled in as of Qt.
/frameworks/base/libs/usb/tests/AccessoryChat/
DREADME.txt7 This program behaves as if it were a USB accessory.
8 It builds both for the host (Linux PC) and as an android
9 command line program, which will work if run as root on an
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dreflection3264_struct_mismatch.rscript16 // disagreement as to which struct types are exported
34 // disagreeement as to how many fields in an exported struct
49 // disagreement as to field name in an exported struct
71 // disagreement as to field types in an exported struct
/frameworks/native/opengl/specs/
DEGL_ANDROID_recordable.txt39 rendered image as a video each time eglSwapBuffers gets called, may have
81 recorder as indicated by the NATIVE_WINDOW_IS_VIDEO_RECORDER query on
84 Section 3.4.1, Querying Configurations, change the last paragraph as follow
96 1. Should this functionality be exposed as a new attribute or as a bit in
119 One approach involves performing the color space conversion as part of the
125 space conversion when rendering the frame as well as a YUV -> RGB
131 read. The EGLConfig would likely not need to have any caveat set, as using
/frameworks/base/cmds/bootanimation/
DFORMAT.md43 + `f` -- same as `p` but in addition the specified number of frames is being faded out while
50 _immediately_ which makes `f ... 0` behave like `p` and doesn't count it as a fading
52 * **RGBHEX:** _(OPTIONAL)_ a background color, specified as `#RRGGBB`
77 The file used to draw the time on top of the boot animation. The font format is as follows:
88 follows the same specification as the one described for clock_font.png.
109 If the file is not present, each frame is assumed to be the same size as the animation.
143 Note that the ZIP archive is not actually compressed! The PNG files are already as compressed
144 as they can reasonably get, and there is unlikely to be any redundancy between files.
150 of input images as area masks of dynamic colors, which interpolates between start and end colors
153 To enable it, add the following line as the second line of desc.txt:
[all …]
/frameworks/base/ravenwood/
Dapi-maintainers.md5 …se annotations are inline in the relevant platform source code, they serve as valuable reminders t…
9 …APIs can continue to refactor opted-in `@hide` implementation details, as long as the test-visible…
11 …ts-in an API, we’re requiring that they bring along “bivalent” tests (such as the relevant CTS) to…
20 // This method implementation runs as-is on both devices and Ravenwood
24 // This method implementation runs as-is on devices, but because there
38 // This method implementation runs as-is on both devices and Ravenwood,
44 // This method implementation runs as-is on devices, but the
58 // This method implementation runs as-is on devices, but the

12345678910>>...31