Home
last modified time | relevance | path

Searched full:machine (Results 1 – 25 of 2452) sorted by relevance

12345678910>>...99

/external/linux-tools-perf/src/tools/perf/util/
Dmachine.h16 /* Native host kernel uses -1 as pid index in machine */
20 struct machine { struct
36 struct map *machine__kernel_map(struct machine *machine, enum map_type type) in machine__kernel_map() argument
38 return machine->vmlinux_maps[type]; in machine__kernel_map()
41 struct thread *machine__find_thread(struct machine *machine, pid_t tid);
43 int machine__process_comm_event(struct machine *machine, union perf_event *event);
44 int machine__process_exit_event(struct machine *machine, union perf_event *event);
45 int machine__process_fork_event(struct machine *machine, union perf_event *event);
46 int machine__process_lost_event(struct machine *machine, union perf_event *event);
47 int machine__process_mmap_event(struct machine *machine, union perf_event *event);
[all …]
Dmachine.c6 #include "machine.h"
14 int machine__init(struct machine *machine, const char *root_dir, pid_t pid) in machine__init() argument
16 map_groups__init(&machine->kmaps); in machine__init()
17 RB_CLEAR_NODE(&machine->rb_node); in machine__init()
18 INIT_LIST_HEAD(&machine->user_dsos); in machine__init()
19 INIT_LIST_HEAD(&machine->kernel_dsos); in machine__init()
21 machine->threads = RB_ROOT; in machine__init()
22 INIT_LIST_HEAD(&machine->dead_threads); in machine__init()
23 machine->last_match = NULL; in machine__init()
25 machine->kmaps.machine = machine; in machine__init()
[all …]
Devent.c4 #include "machine.h"
98 struct machine *machine) in perf_event__synthesize_comm() argument
118 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__synthesize_comm()
121 machine->id_hdr_size); in perf_event__synthesize_comm()
125 if (process(tool, event, &synth_sample, machine) != 0) in perf_event__synthesize_comm()
151 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__synthesize_comm()
154 machine->id_hdr_size); in perf_event__synthesize_comm()
158 if (process(tool, event, &synth_sample, machine) != 0) { in perf_event__synthesize_comm()
173 struct machine *machine) in perf_event__synthesize_mmap_events() argument
233 memset(event->mmap.filename + size, 0, machine->id_hdr_size); in perf_event__synthesize_mmap_events()
[all …]
Devent.h195 struct machine *machine);
200 struct machine *machine);
203 struct machine *machine);
206 struct machine *machine,
211 struct machine *machine);
216 struct machine *machine);
220 struct machine *machine);
224 struct machine *machine);
228 struct machine *machine);
232 struct machine *machine);
[all …]
Ddso.c3 #include "machine.h"
115 static int open_dso(struct dso *dso, struct machine *machine) in open_dso() argument
125 if (machine) in open_dso()
126 root_dir = machine->root_dir; in open_dso()
139 int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() argument
149 return open_dso(dso, machine); in dso__data_fd()
156 fd = open_dso(dso, machine); in dso__data_fd()
241 dso_cache__read(struct dso *dso, struct machine *machine, in dso_cache__read() argument
248 fd = dso__data_fd(dso, machine); in dso_cache__read()
286 static ssize_t dso_cache_read(struct dso *dso, struct machine *machine, in dso_cache_read() argument
[all …]
/external/wpa_supplicant_8/src/utils/
Dstate_machine.h2 * wpa_supplicant/hostapd - State machine definitions
9 * implement a state machine. In addition to including this header file, each
10 * file implementing a state machine must define STATE_MACHINE_DATA to be the
24 * SM_STATE - Declaration of a state machine function
25 * @machine: State machine name
26 * @state: State machine state
28 * This macro is used to declare a state machine function. It is used in place
32 #define SM_STATE(machine, state) \ argument
33 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \
37 * SM_ENTRY - State machine function entry point
[all …]
/external/v8/src/compiler/
Dmachine-operator-unittest.cc5 #include "src/compiler/machine-operator.h"
71 MachineOperatorBuilder machine(type()); in TEST_P() local
72 const Operator* op = machine.Load(GetParam()); in TEST_P()
86 MachineOperatorBuilder machine(type()); in TEST_P() local
87 EXPECT_EQ(IrOpcode::kLoad, machine.Load(GetParam())->opcode()); in TEST_P()
92 MachineOperatorBuilder machine(type()); in TEST_P() local
94 OpParameter<LoadRepresentation>(machine.Load(GetParam()))); in TEST_P()
129 MachineOperatorBuilder machine(type()); in TEST_P() local
130 const Operator* op = machine.Store(GetParam()); in TEST_P()
144 MachineOperatorBuilder machine(type()); in TEST_P() local
[all …]
Draw-machine-assembler.h13 #include "src/compiler/machine-operator.h"
53 MachineOperatorBuilder* machine() { return &machine_; } in machine() function
100 return NewNode(machine()->Load(rep), base, index); in Load()
106 NewNode(machine()->Store(StoreRepresentation(rep, kNoWriteBarrier)), base, in Store()
111 return NewNode(machine()->WordAnd(), a, b); in WordAnd()
113 Node* WordOr(Node* a, Node* b) { return NewNode(machine()->WordOr(), a, b); } in WordOr()
115 return NewNode(machine()->WordXor(), a, b); in WordXor()
118 return NewNode(machine()->WordShl(), a, b); in WordShl()
121 return NewNode(machine()->WordShr(), a, b); in WordShr()
124 return NewNode(machine()->WordSar(), a, b); in WordSar()
[all …]
Drepresentation-change.h10 #include "src/compiler/machine-operator.h"
19 // and other nodes, as well as lowering Simplified->Machine operators.
48 // value to the full machine word size and stores implicitly truncate, in GetRepresentationFor()
138 op = machine()->ChangeUint32ToFloat64(); in GetFloat64RepresentationFor()
140 op = machine()->ChangeInt32ToFloat64(); in GetFloat64RepresentationFor()
176 op = machine()->ChangeFloat64ToUint32(); in GetWord32RepresentationFor()
178 op = machine()->ChangeFloat64ToInt32(); in GetWord32RepresentationFor()
235 return machine()->Int32Add(); in Int32OperatorFor()
237 return machine()->Int32Sub(); in Int32OperatorFor()
239 return machine()->Int32Mul(); in Int32OperatorFor()
[all …]
Dchange-lowering.cc6 #include "src/compiler/machine-operator.h"
47 ((HeapNumber::kValueOffset / kPointerSize) * (machine()->Is64() ? 8 : 4)); in HeapNumberValueIndexConstant()
53 const int smi_value_size = machine()->Is32() ? SmiTagging<4>::SmiValueSize() in SmiMaxValueConstant()
61 const int smi_shift_size = machine()->Is32() ? SmiTagging<4>::SmiShiftSize() in SmiShiftBitsConstant()
82 machine()->Store(StoreRepresentation(kMachFloat64, kNoWriteBarrier)), in AllocateHeapNumberWithValue()
89 value = graph()->NewNode(machine()->WordSar(), value, SmiShiftBitsConstant()); in ChangeSmiToInt32()
90 if (machine()->Is64()) { in ChangeSmiToInt32()
91 value = graph()->NewNode(machine()->TruncateInt64ToInt32(), value); in ChangeSmiToInt32()
98 return graph()->NewNode(machine()->Load(kMachFloat64), value, in LoadHeapNumberValue()
124 graph()->NewNode(machine()->WordEqual(), val, jsgraph()->TrueConstant())); in ChangeBoolToBit()
[all …]
/external/elfutils/src/tests/
Dsaridx.c32 #define MACHINE(name) [name] = #name macro
33 MACHINE (EM_NONE),
34 MACHINE (EM_M32),
35 MACHINE (EM_SPARC),
36 MACHINE (EM_386),
37 MACHINE (EM_68K),
38 MACHINE (EM_88K),
39 MACHINE (EM_860),
40 MACHINE (EM_MIPS),
41 MACHINE (EM_MIPS_RS3_LE),
[all …]
/external/mesa3d/src/mesa/program/
Dprog_execute.c105 const struct gl_program_machine *machine) in get_src_register_pointer() argument
107 const struct gl_program *prog = machine->CurProgram; in get_src_register_pointer()
112 reg += machine->AddressReg[0][0]; in get_src_register_pointer()
122 return machine->Temporaries[reg]; in get_src_register_pointer()
128 return machine->VertAttribs[reg]; in get_src_register_pointer()
133 return machine->Attribs[reg][machine->CurElement]; in get_src_register_pointer()
139 return machine->Outputs[reg]; in get_src_register_pointer()
144 return machine->CurProgram->LocalParams[reg]; in get_src_register_pointer()
149 return machine->EnvParams[reg]; in get_src_register_pointer()
163 assert(reg < Elements(machine->SystemValues)); in get_src_register_pointer()
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-inject.c86 struct machine *machine __maybe_unused) in perf_event__repipe()
95 struct machine *machine);
101 struct machine *machine) in perf_event__repipe_sample() argument
105 return f(tool, event, sample, evsel, machine); in perf_event__repipe_sample()
108 build_id__mark_dso_hit(tool, event, sample, evsel, machine); in perf_event__repipe_sample()
116 struct machine *machine) in perf_event__repipe_mmap() argument
120 err = perf_event__process_mmap(tool, event, sample, machine); in perf_event__repipe_mmap()
121 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_mmap()
129 struct machine *machine) in perf_event__repipe_mmap2() argument
133 err = perf_event__process_mmap2(tool, event, sample, machine); in perf_event__repipe_mmap2()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c49 struct tgsi_exec_machine *machine; member
69 if (evs->machine->Tokens != shader->state.tokens) { in vs_exec_prepare()
70 tgsi_exec_machine_bind_shader(evs->machine, in vs_exec_prepare()
95 struct tgsi_exec_machine *machine = evs->machine; in vs_exec_run_linear() local
100 tgsi_exec_set_constant_buffers(machine, PIPE_MAX_CONSTANT_BUFFERS, in vs_exec_run_linear()
104 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_INSTANCEID]; in vs_exec_run_linear()
105 assert(i < Elements(machine->SystemValue)); in vs_exec_run_linear()
107 machine->SystemValue[i].i[j] = shader->draw->instance_id; in vs_exec_run_linear()
128 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; in vs_exec_run_linear()
129 assert(vid < Elements(machine->SystemValue)); in vs_exec_run_linear()
[all …]
Ddraw_gs.c48 draw->gs.tgsi.machine = tgsi_exec_machine_create(); in draw_gs_init()
49 if (!draw->gs.tgsi.machine) in draw_gs_init()
52 draw->gs.tgsi.machine->Primitives = align_malloc( in draw_gs_init()
54 if (!draw->gs.tgsi.machine->Primitives) in draw_gs_init()
56 memset(draw->gs.tgsi.machine->Primitives, 0, in draw_gs_init()
64 if (!draw->gs.tgsi.machine) in draw_gs_destroy()
67 align_free(draw->gs.tgsi.machine->Primitives); in draw_gs_destroy()
69 tgsi_exec_machine_destroy(draw->gs.tgsi.machine); in draw_gs_destroy()
124 gs->machine = draw->gs.tgsi.machine; in draw_create_geometry_shader()
168 struct tgsi_exec_machine *machine = shader->machine; in draw_geometry_fetch_outputs() local
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c76 * Called via machine->FetchTexelLod()
105 * Called via machine->FetchTexelDeriv()
152 * Initialize the virtual fragment program machine state prior to running
155 * \param machine the virtual machine state to init
161 init_machine(struct gl_context *ctx, struct gl_program_machine *machine, in init_machine() argument
169 memset(machine->Temporaries, 0, MAX_PROGRAM_TEMPS * 4 * sizeof(GLfloat)); in init_machine()
181 machine->Attribs = span->array->attribs; in init_machine()
183 machine->DerivX = (GLfloat (*)[4]) span->attrStepX; in init_machine()
184 machine->DerivY = (GLfloat (*)[4]) span->attrStepY; in init_machine()
185 machine->NumDeriv = FRAG_ATTRIB_MAX; in init_machine()
[all …]
/external/v8/tools/testrunner/local/
Dutils.py81 machine = platform.machine()
82 return (machine and
84 not arch.startswith(machine))
90 machine = platform.machine()
91 machine = machine.lower() # Windows 7 capitalizes 'AMD64'.
92 if machine.startswith('arm'):
94 elif (not machine) or (not re.match('(x|i[3-6])86$', machine) is None):
96 elif machine == 'i86pc':
98 elif machine == 'x86_64':
100 elif machine == 'amd64':
[all …]
/external/llvm/include/llvm/CodeGen/
DPasses.h98 /// PostRAMachineLICM - A clone of the LICM pass that runs during late machine
187 /// transforms following machine independent optimization.
202 /// which converts from LLVM code to machine instructions.
219 /// Return NULL to select the default (generic) machine scheduler.
225 /// Similar to createMachineScheduler but used when postRA machine scheduling
249 /// addMachineSSAOptimization - Add standard passes that optimize machine
254 /// targets. These passes are run while the machine code is still in SSA
295 /// Add passes that optimize machine instructions after register allocation.
311 /// immediately before machine code is emitted.
319 /// @p printAfter if true and adding a machine function pass add an extra
[all …]
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c223 /*===---- Target Machine --------------------------------------------------===*/
227 static void llvm_finalize_target_machine(value Machine) { in llvm_finalize_target_machine() argument
228 LLVMDisposeTargetMachine(TargetMachine_val(Machine)); in llvm_finalize_target_machine()
241 static value llvm_alloc_targetmachine(LLVMTargetMachineRef Machine) { in llvm_alloc_targetmachine() argument
244 TargetMachine_val(V) = Machine; in llvm_alloc_targetmachine()
254 LLVMTargetMachineRef Machine; in llvm_create_targetmachine_native() local
271 Machine = LLVMCreateTargetMachine(Target, String_val(Triple), CPUStr, in llvm_create_targetmachine_native()
274 return llvm_alloc_targetmachine(Machine); in llvm_create_targetmachine_native()
283 CAMLprim LLVMTargetRef llvm_targetmachine_target(value Machine) { in llvm_targetmachine_target() argument
284 return LLVMGetTargetMachineTarget(TargetMachine_val(Machine)); in llvm_targetmachine_target()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap.h2 * EAP peer state machine functions (RFC 4137)
28 * enum eapol_bool_var - EAPOL boolean state variables for EAP state machine
30 * These variables are used in the interface between EAP peer state machine and
33 * EAP state machine to get and set the variables.
39 * EAP state machine reads and writes this value.
46 * Set to TRUE in lower layer, FALSE in EAP state machine.
53 * EAP state machine writes this value.
60 * Set to TRUE in EAP state machine, FALSE in lower layer.
67 * Set to TRUE in EAP state machine, FALSE in lower layer.
74 * Set to TRUE in lower layer, FALSE in EAP state machine.
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c74 struct gl_program_machine machine; member
224 * Initialize virtual machine state prior to executing vertex program.
227 init_machine(struct gl_context *ctx, struct gl_program_machine *machine, in init_machine() argument
231 memcpy(machine->VertAttribs, ctx->Current.Attrib, in init_machine()
238 ASSIGN_4V(machine->Outputs[i], 0.0F, 0.0F, 0.0F, 1.0F); in init_machine()
242 ASSIGN_4V(machine->Temporaries[i], 0.0F, 0.0F, 0.0F, 0.0F); in init_machine()
245 ASSIGN_4V(machine->AddressReg[i], 0, 0, 0, 0); in init_machine()
249 machine->NumDeriv = 0; in init_machine()
252 machine->CondCodes[0] = COND_EQ; in init_machine()
253 machine->CondCodes[1] = COND_EQ; in init_machine()
[all …]
/external/linux-tools-perf/src/tools/perf/tests/
Dcode-reading.c14 #include "machine.h"
137 struct thread *thread, struct machine *machine, in read_object_code() argument
149 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, addr, in read_object_code()
174 ret_len = dso__data_read_offset(al.map->dso, machine, al.addr, buf1, in read_object_code()
247 static int process_sample_event(struct machine *machine, in process_sample_event() argument
260 thread = machine__findnew_thread(machine, sample.pid, sample.pid); in process_sample_event()
268 return read_object_code(sample.ip, READLEN, cpumode, thread, machine, in process_sample_event()
272 static int process_event(struct machine *machine, struct perf_evlist *evlist, in process_event() argument
276 return process_sample_event(machine, evlist, event, state); in process_event()
279 return machine__process_event(machine, event); in process_event()
[all …]
Dhists_link.c8 #include "machine.h"
78 static struct machine *setup_fake_machine(struct machines *machines) in setup_fake_machine()
80 struct machine *machine = machines__find(machines, HOST_KERNEL_ID); in setup_fake_machine() local
83 if (machine == NULL) { in setup_fake_machine()
84 pr_debug("Not enough memory for machine setup\n"); in setup_fake_machine()
91 thread = machine__findnew_thread(machine, fake_threads[i].pid, in setup_fake_machine()
113 machine__process_mmap_event(machine, &fake_mmap_event); in setup_fake_machine()
120 dso = __dsos__findnew(&machine->user_dsos, in setup_fake_machine()
141 return machine; in setup_fake_machine()
144 pr_debug("Not enough memory for machine setup\n"); in setup_fake_machine()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-sea-machine.hh2 #line 1 "../../src/hb-ot-shape-complex-sea-machine.rl"
35 #line 36 "hb-ot-shape-complex-sea-machine.hh.tmp"
92 #line 36 "../../src/hb-ot-shape-complex-sea-machine.rl"
96 #line 67 "../../src/hb-ot-shape-complex-sea-machine.rl"
116 #line 117 "hb-ot-shape-complex-sea-machine.hh.tmp" in find_syllables()
124 #line 88 "../../src/hb-ot-shape-complex-sea-machine.rl" in find_syllables()
133 #line 134 "hb-ot-shape-complex-sea-machine.hh.tmp" in find_syllables()
147 #line 148 "hb-ot-shape-complex-sea-machine.hh.tmp" in find_syllables()
170 #line 63 "../../src/hb-ot-shape-complex-sea-machine.rl" in find_syllables()
174 #line 61 "../../src/hb-ot-shape-complex-sea-machine.rl" in find_syllables()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_fs_exec.c64 struct tgsi_exec_machine *machine, in exec_prepare() argument
68 * Bind tokens/shader to the interpreter's machine state. in exec_prepare()
70 tgsi_exec_machine_bind_shader(machine, in exec_prepare()
114 /* TODO: hide the machine struct in here somewhere, remove from this
119 struct tgsi_exec_machine *machine, in exec_run() argument
125 &machine->QuadPos); in exec_run()
128 machine->Face = (float) (quad->input.facing * -2 + 1); in exec_run()
130 quad->inout.mask &= tgsi_exec_machine_run( machine ); in exec_run()
147 sizeof(machine->Outputs[i])); in exec_run()
151 &machine->Outputs[i], in exec_run()
[all …]

12345678910>>...99