HomeSort by relevance Sort by last modified time
    Searched refs:Simulator (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /packages/apps/Dialer/java/com/android/dialer/simulator/impl/
SimulatorModule.java 17 package com.android.dialer.simulator.impl;
19 import com.android.dialer.simulator.Simulator;
24 /** This module provides an instance of the simulator. */
29 public abstract Simulator bindsSimulator(SimulatorImpl simulator);
SimulatorImpl.java 17 package com.android.dialer.simulator.impl;
23 import com.android.dialer.simulator.Simulator;
26 /** The entry point for the simulator feature. */
27 final class SimulatorImpl implements Simulator {
  /packages/apps/Dialer/java/com/android/dialer/simulator/
Simulator.java 17 package com.android.dialer.simulator;
23 public interface Simulator {
SimulatorComponent.java 17 package com.android.dialer.simulator;
23 /** Subcomponent that can be used to access the simulator implementation. */
27 public abstract Simulator getSimulator();
  /external/v8/src/s390/
simulator-s390.cc 19 #include "src/s390/simulator-s390.h"
22 // Only build the simulator if not compiling for real s390 hardware.
34 // The S390Debugger class is used by the simulator while debugging simulated
38 explicit S390Debugger(Simulator* sim) : sim_(sim) {}
52 Simulator* sim_;
83 PrintF("Simulator hit stop %u: %s\n", code, msg);
85 PrintF("Simulator hit %s\n", msg);
397 cur = reinterpret_cast<intptr_t*>(sim_->get_register(Simulator::sp));
606 PrintF(" When hitting a stop, the Simulator will\n");
609 Simulator::kNumOfWatchedStops)
    [all...]
  /external/vixl/src/aarch64/
logic-aarch64.cc 31 #include "simulator-aarch64.h"
37 double Simulator::FPDefaultNaN<double>() {
43 float Simulator::FPDefaultNaN<float>() {
86 double Simulator::FixedToDouble(int64_t src, int fbits, FPRounding round) {
97 double Simulator::UFixedToDouble(uint64_t src, int fbits, FPRounding round) {
113 float Simulator::FixedToFloat(int64_t src, int fbits, FPRounding round) {
124 float Simulator::UFixedToFloat(uint64_t src, int fbits, FPRounding round) {
140 double Simulator::FPToDouble(float value) {
180 float Simulator::FPToFloat(float16 value) {
244 float16 Simulator::FPToFloat16(float value, FPRounding round_mode)
    [all...]
simulator-aarch64.cc 33 #include "simulator-aarch64.h"
38 const Instruction* Simulator::kEndOfSimAddress = NULL;
65 Simulator::Simulator(Decoder* decoder, FILE* stream) {
66 // Ensure that shift operations act as the simulator expects.
83 // Allocate and set up the simulator stack.
104 void Simulator::ResetState() {
129 // Returning to address 0 exits the Simulator.
134 Simulator::~Simulator() {
    [all...]
  /external/v8/src/arm64/
simulator-arm64.cc 12 #include "src/arm64/simulator-arm64.h"
60 void Simulator::TraceSim(const char* format, ...) {
70 const Instruction* Simulator::kEndOfSimAddress = NULL;
98 void Simulator::Initialize(Isolate* isolate) {
105 // Get the active Simulator for the current thread.
106 Simulator* Simulator::current(Isolate* isolate) {
111 Simulator* sim = isolate_data->simulator();
114 sim = new Simulator(new Decoder<DispatchingDecoderVisitor>(), isolate)
    [all...]
  /art/runtime/simulator/
code_simulator_arm64.h 21 #include "simulator/code_simulator.h"
26 #include "aarch64/simulator-aarch64.h"
47 vixl::aarch64::Simulator* simulator_;
49 // TODO: Enable CodeSimulatorArm64 for more host ISAs once Simulator supports them.
code_simulator_arm64.cc 17 #include "simulator/code_simulator_arm64.h"
26 // VIXL has not been tested on 32bit architectures, so Simulator is not always
29 // TODO: when Simulator is always available, remove the these checks.
43 simulator_ = new Simulator(decoder_);
  /external/vixl/examples/aarch64/
abs.cc 49 Simulator simulator(&decoder);
59 simulator.WriteXRegister(0, input_value);
60 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs));
63 simulator.ReadXRegister(0));
68 // Without the simulator there is nothing to test.
getting-started.cc 28 #include "aarch64/simulator-aarch64.h"
47 Simulator simulator(&decoder);
54 simulator.WriteXRegister(0, 0x8899aabbccddeeff);
55 simulator.RunFrom(masm.GetLabelAddress<Instruction *>(&demo_function));
56 printf("x0 = %" PRIx64 "\n", simulator.ReadXRegister(0));
61 // Without the simulator there is nothing to test.
check-bounds.cc 61 void run_function(Simulator* simulator,
66 simulator->WriteXRegister(0, value);
67 simulator->WriteXRegister(1, low);
68 simulator->WriteXRegister(2, high);
70 simulator->RunFrom(function);
73 simulator->ReadXRegister(0) ? "is" : "is not",
77 simulator->ResetState();
83 Simulator simulator(&decoder)
    [all...]
add3-double.cc 50 Simulator simulator(&decoder);
62 simulator.WriteDRegister(0, a);
63 simulator.WriteDRegister(1, b);
64 simulator.WriteDRegister(2, c);
65 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add3_double));
66 printf("%f + %f + %f = %f\n", a, b, c, simulator.ReadDRegister(0));
71 // Without the simulator there is nothing to test.
factorial.cc 59 Simulator simulator(&decoder);
69 simulator.WriteXRegister(0, input_val);
70 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial));
73 simulator.ReadXRegister(0));
78 // Without the simulator there is nothing to test.
add4-double.cc 58 Simulator simulator(&decoder);
71 simulator.WriteXRegister(0, a);
72 simulator.WriteDRegister(0, b);
73 simulator.WriteXRegister(1, c);
74 simulator.WriteDRegister(1, d);
75 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add4_double));
78 a, b, c, d, simulator.ReadDRegister(0));
84 // Without the simulator there is nothing to test.
  /external/v8/src/profiler/
tick-sample.cc 11 #include "src/simulator.h"
87 // from the simulator, otherwise returns false.
93 Simulator* simulator = isolate->thread_local_top()->simulator_; local
94 // Check if there is active simulator.
95 if (simulator == NULL) return false;
97 if (!simulator->has_bad_pc()) {
98 state->pc = reinterpret_cast<Address>(simulator->get_pc());
100 state->sp = reinterpret_cast<Address>(simulator->get_register(Simulator::sp))
    [all...]
  /external/v8/src/arm/
simulator-arm.cc 12 #include "src/arm/simulator-arm.h"
21 // Only build the simulator if not compiling for real ARM hardware.
26 base::LazyInstance<Simulator::GlobalMonitor>::type Simulator::global_monitor_ =
35 // The ArmDebugger class is used by the simulator while debugging simulated ARM
39 explicit ArmDebugger(Simulator* sim) : sim_(sim) { }
49 Simulator* sim_;
73 PrintF("Simulator hit stop %u\n", code);
75 PrintF("Simulator hit\n");
314 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp))
    [all...]
simulator-arm.h 6 // Declares a Simulator for ARM instructions if we are not generating a native
7 // ARM binary. This Simulator allows us to run and debug ARM code generation on
10 // which will start execution in the Simulator or forwards to the real entry
21 // Running without a simulator on a native arm platform.
26 // When running without a simulator we call the entry directly.
69 // Running with a simulator.
109 class Simulator {
135 explicit Simulator(Isolate* isolate);
136 ~Simulator();
138 // The currently executing Simulator instance. Potentially there can be on
    [all...]
  /external/v8/src/ppc/
simulator-ppc.h 6 // Declares a Simulator for PPC instructions if we are not generating a native
7 // PPC binary. This Simulator allows us to run and debug PPC code generation on
10 // which will start execution in the Simulator or forwards to the real entry
19 // Running without a simulator on a native ppc platform.
24 // When running without a simulator we call the entry directly.
66 // Running with a simulator.
102 class Simulator {
175 explicit Simulator(Isolate* isolate);
176 ~Simulator();
178 // The currently executing Simulator instance. Potentially there can be on
    [all...]
simulator-ppc.cc 17 #include "src/ppc/simulator-ppc.h"
22 // Only build the simulator if not compiling for real PPC hardware.
34 // The PPCDebugger class is used by the simulator while debugging simulated
38 explicit PPCDebugger(Simulator* sim) : sim_(sim) {}
47 Simulator* sim_;
78 PrintF("Simulator hit stop %u: %s\n", code, msg);
80 PrintF("Simulator hit %s\n", msg);
375 cur = reinterpret_cast<intptr_t*>(sim_->get_register(Simulator::sp));
600 PrintF(" When hitting a stop, the Simulator will\n");
603 Simulator::kNumOfWatchedStops)
    [all...]
  /external/v8/src/mips64/
simulator-mips64.cc 17 #include "src/mips64/simulator-mips64.h"
21 // Only build the simulator if not compiling for real MIPS hardware.
64 // The MipsDebugger class is used by the simulator while debugging simulated
68 explicit MipsDebugger(Simulator* sim) : sim_(sim) { }
81 Simulator* sim_;
104 PrintF("Simulator hit (%u)\n", code);
326 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
444 cur = reinterpret_cast<int64_t*>(sim_->get_register(Simulator::sp));
686 PrintF(" When hitting a stop, the Simulator will\n");
689 PrintF(" - They can be enabled / disabled: the Simulator\n")
    [all...]
  /external/v8/src/mips/
simulator-mips.cc 17 #include "src/mips/simulator-mips.h"
22 // Only build the simulator if not compiling for real MIPS hardware.
49 // The MipsDebugger class is used by the simulator while debugging simulated
53 explicit MipsDebugger(Simulator* sim) : sim_(sim) { }
66 Simulator* sim_;
93 PrintF("Simulator hit (%u)\n", code);
360 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
498 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp));
753 PrintF(" When hitting a stop, the Simulator will\n");
756 PrintF(" - They can be enabled / disabled: the Simulator\n")
    [all...]
  /external/autotest/client/deps/lansim/src/py/
simulator.py 16 "A Simulator generic error."
29 class Simulator(object):
30 """A TUN/TAP network interface simulator class.
100 seconds. The callback will be called at most once while the simulator
165 """Runs the Simulator.
197 # * the simulator was stopped from a different thread.
229 # thread want's to wake up the simulator loop.
279 class SimulatorThread(threading.Thread, Simulator):
280 """A threaded version of the Simulator.
282 This class exposses a similar interface as the Simulator class with th
    [all...]
  /external/v8/src/
vm-state-inl.h 10 #include "src/simulator.h"
63 scope_address_ = Simulator::current(isolate)->get_sp();

Completed in 759 milliseconds

1 2 3 4 5