Home
last modified time | relevance | path

Searched refs:tool (Results 1 - 25 of 567) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-inject.c18 #include "util/tool.h"
38 struct perf_tool tool; member
61 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
76 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
79 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
80 tool); in perf_event__repipe_synth()
85 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument
89 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth()
93 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
104 return perf_event__repipe_synth(session->tool, even in perf_event__repipe_op2_synth()
114 perf_event__repipe_attr(struct perf_tool *tool, union perf_event *event, struct evlist **pevlist) perf_event__repipe_attr() argument
132 perf_event__repipe_event_update(struct perf_tool *tool, union perf_event *event, struct evlist **pevlist __maybe_unused) perf_event__repipe_event_update() argument
163 struct perf_tool *tool = session->tool; perf_event__repipe_auxtrace() local
210 perf_event__repipe(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) perf_event__repipe() argument
226 perf_event__drop_aux(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct machine *machine __maybe_unused) perf_event__drop_aux() argument
267 perf_event__repipe_sample(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_event__repipe_sample() argument
289 perf_event__repipe_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_mmap() argument
303 perf_event__jit_repipe_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__jit_repipe_mmap() argument
371 perf_event__repipe_buildid_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_buildid_mmap() argument
390 perf_event__repipe_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_mmap2() argument
404 perf_event__jit_repipe_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__jit_repipe_mmap2() argument
428 perf_event__repipe_buildid_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_buildid_mmap2() argument
456 perf_event__repipe_fork(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_fork() argument
469 perf_event__repipe_comm(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_comm() argument
482 perf_event__repipe_namespaces(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_namespaces() argument
494 perf_event__repipe_exit(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_exit() argument
533 dso__inject_build_id(struct dso *dso, struct perf_tool *tool, struct machine *machine, u8 cpumode, u32 flags) dso__inject_build_id() argument
558 perf_event__inject_buildid(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel __maybe_unused, struct machine *machine) perf_event__inject_buildid() argument
587 perf_inject__sched_process_exit(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct evsel *evsel __maybe_unused, struct machine *machine __maybe_unused) perf_inject__sched_process_exit() argument
607 perf_inject__sched_switch(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_inject__sched_switch() argument
631 perf_inject__sched_stat(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_inject__sched_stat() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsynthetic-events.h43 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event,
46 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process);
47 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process);
48 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine);
49 int perf_event__synthesize_cpu_map(struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine);
50 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
51 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
52 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
53 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
54 int perf_event__synthesize_extra_attr(struct perf_tool *tool, struc
[all...]
H A Dsession.c26 #include "tool.h"
105 struct perf_tool *tool,
189 session->tool, event->file_offset, in ordered_events__deliver_event()
195 struct perf_tool *tool) in __perf_session__new()
204 session->tool = tool; in __perf_session__new()
267 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new()
268 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new()
270 tool in __perf_session__new()
193 __perf_session__new(struct perf_data *data, bool repipe, int repipe_fd, struct perf_tool *tool) __perf_session__new() argument
478 perf_tool__fill_defaults(struct perf_tool *tool) perf_tool__fill_defaults() argument
1456 deliver_sample_value(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct sample_read_value *v, struct machine *machine) deliver_sample_value() argument
1488 deliver_sample_group(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine, u64 read_format) deliver_sample_group() argument
1508 evlist__deliver_sample(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) evlist__deliver_sample() argument
1529 machines__deliver_event(struct machines *machines, struct evlist *evlist, union perf_event *event, struct perf_sample *sample, struct perf_tool *tool, u64 file_offset, const char *file_path) machines__deliver_event() argument
1619 perf_session__deliver_event(struct perf_session *session, union perf_event *event, struct perf_tool *tool, u64 file_offset, const char *file_path) perf_session__deliver_event() argument
1654 struct perf_tool *tool = session->tool; perf_session__process_user_event() local
1741 struct perf_tool *tool = session->tool; perf_session__deliver_synth_event() local
1849 struct perf_tool *tool = session->tool; perf_session__process_event() local
2036 struct perf_tool *tool = session->tool; __perf_session__process_pipe_events() local
2450 struct perf_tool *tool = session->tool; __perf_session__process_events() local
2502 struct perf_tool *tool = session->tool; __perf_session__process_dir_events() local
[all...]
H A Devent.h270 int perf_event__process_comm(struct perf_tool *tool,
274 int perf_event__process_lost(struct perf_tool *tool,
278 int perf_event__process_lost_samples(struct perf_tool *tool,
282 int perf_event__process_aux(struct perf_tool *tool,
286 int perf_event__process_itrace_start(struct perf_tool *tool,
290 int perf_event__process_aux_output_hw_id(struct perf_tool *tool,
294 int perf_event__process_switch(struct perf_tool *tool,
298 int perf_event__process_namespaces(struct perf_tool *tool,
302 int perf_event__process_cgroup(struct perf_tool *tool,
306 int perf_event__process_mmap(struct perf_tool *tool,
[all...]
H A Dsynthetic-events.c50 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event() argument
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
190 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument
202 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm()
221 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() argument
230 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces()
254 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces()
260 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() argument
287 if (perf_tool__process_synth_event(tool, even in perf_event__synthesize_fork()
421 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_mmap_events() argument
545 perf_event__synthesize_cgroup(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroup() argument
585 perf_event__walk_cgroup_tree(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__walk_cgroup_tree() argument
633 perf_event__synthesize_cgroups(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroups() argument
668 perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_modules() argument
745 __event__synthesize_thread(union perf_event *comm_event, union perf_event *mmap_event, union perf_event *fork_event, union perf_event *namespaces_event, pid_t pid, int full, perf_event__handler_t process, struct perf_tool *tool, struct machine *machine, bool needs_mmap, bool mmap_data) __event__synthesize_thread() argument
839 perf_event__synthesize_thread_map(struct perf_tool *tool, struct perf_thread_map *threads, perf_event__handler_t process, struct machine *machine, bool needs_mmap, bool mmap_data) perf_event__synthesize_thread_map() argument
916 __perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, bool needs_mmap, bool mmap_data, struct dirent **dirent, int start, int num) __perf_event__synthesize_threads() argument
980 struct perf_tool *tool; global() member
1002 perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, bool needs_mmap, bool mmap_data, unsigned int nr_threads_synthesize) perf_event__synthesize_threads() argument
1098 __perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) __perf_event__synthesize_kernel_mmap() argument
1170 perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_kernel_mmap() argument
1183 perf_event__synthesize_thread_map2(struct perf_tool *tool, struct perf_thread_map *threads, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_thread_map2() argument
1333 perf_event__synthesize_cpu_map(struct perf_tool *tool, const struct perf_cpu_map *map, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cpu_map() argument
1351 perf_event__synthesize_stat_config(struct perf_tool *tool, struct perf_stat_config *config, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_stat_config() argument
1390 perf_event__synthesize_stat(struct perf_tool *tool, struct perf_cpu cpu, u32 thread, u64 id, struct perf_counts_values *count, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_stat() argument
1412 perf_event__synthesize_stat_round(struct perf_tool *tool, u64 evtime, u64 type, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_stat_round() argument
1813 __perf_event__synthesize_id_index(struct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine, size_t from) __perf_event__synthesize_id_index() argument
1905 perf_event__synthesize_id_index(struct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine) perf_event__synthesize_id_index() argument
1911 __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, struct target *target, struct perf_thread_map *threads, perf_event__handler_t process, bool needs_mmap, bool data_mmap, unsigned int nr_threads_synthesize) __machine__synthesize_threads() argument
1972 perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_unit() argument
1989 perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_scale() argument
2006 perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_name() argument
2023 perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_cpus() argument
2046 perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process) perf_event__synthesize_attrs() argument
2074 perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe) perf_event__synthesize_extra_attr() argument
2130 perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process) perf_event__synthesize_attr() argument
2164 perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, struct evlist *evlist, perf_event__handler_t process) perf_event__synthesize_tracing_data() argument
2212 perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_build_id() argument
2236 perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process, bool attrs) perf_event__synthesize_stat_events() argument
2273 perf_event__synthesize_features(struct perf_tool *tool, struct perf_session *session, struct evlist *evlist, perf_event__handler_t process) perf_event__synthesize_features() argument
2336 perf_event__synthesize_for_pipe(struct perf_tool *tool, struct perf_session *session, struct perf_data *data, perf_event__handler_t process) perf_event__synthesize_for_pipe() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsynthetic-events.h29 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event,
32 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process);
33 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process);
34 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine);
35 int perf_event__synthesize_cpu_map(struct perf_tool *tool, struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine);
36 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
37 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
38 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
39 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
40 int perf_event__synthesize_extra_attr(struct perf_tool *tool, struc
[all...]
H A Dsession.c24 #include "tool.h"
100 struct perf_tool *tool,
183 session->tool, event->file_offset); in ordered_events__deliver_event()
187 bool repipe, struct perf_tool *tool) in perf_session__new()
196 session->tool = tool; in perf_session__new()
257 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in perf_session__new()
258 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in perf_session__new()
260 tool in perf_session__new()
186 perf_session__new(struct perf_data *data, bool repipe, struct perf_tool *tool) perf_session__new() argument
461 perf_tool__fill_defaults(struct perf_tool *tool) perf_tool__fill_defaults() argument
1373 deliver_sample_value(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct sample_read_value *v, struct machine *machine) deliver_sample_value() argument
1405 deliver_sample_group(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) deliver_sample_group() argument
1426 perf_evlist__deliver_sample(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_evlist__deliver_sample() argument
1450 machines__deliver_event(struct machines *machines, struct evlist *evlist, union perf_event *event, struct perf_sample *sample, struct perf_tool *tool, u64 file_offset) machines__deliver_event() argument
1533 perf_session__deliver_event(struct perf_session *session, union perf_event *event, struct perf_tool *tool, u64 file_offset) perf_session__deliver_event() argument
1567 struct perf_tool *tool = session->tool; perf_session__process_user_event() local
1647 struct perf_tool *tool = session->tool; perf_session__deliver_synth_event() local
1754 struct perf_tool *tool = session->tool; perf_session__process_event() local
1953 struct perf_tool *tool = session->tool; __perf_session__process_pipe_events() local
2283 struct perf_tool *tool = session->tool; __perf_session__process_events() local
[all...]
H A Dsynthetic-events.c50 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event() argument
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
176 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument
186 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm()
205 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() argument
214 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces()
238 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces()
244 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() argument
271 if (perf_tool__process_synth_event(tool, even in perf_event__synthesize_fork()
350 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_mmap_events() argument
471 perf_event__synthesize_cgroup(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroup() argument
511 perf_event__walk_cgroup_tree(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__walk_cgroup_tree() argument
559 perf_event__synthesize_cgroups(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroups() argument
594 perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_modules() argument
647 __event__synthesize_thread(union perf_event *comm_event, union perf_event *mmap_event, union perf_event *fork_event, union perf_event *namespaces_event, pid_t pid, int full, perf_event__handler_t process, struct perf_tool *tool, struct machine *machine, bool mmap_data) __event__synthesize_thread() argument
737 perf_event__synthesize_thread_map(struct perf_tool *tool, struct perf_thread_map *threads, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_thread_map() argument
814 __perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, bool mmap_data, struct dirent **dirent, int start, int num) __perf_event__synthesize_threads() argument
877 struct perf_tool *tool; global() member
897 perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, bool mmap_data, unsigned int nr_threads_synthesize) perf_event__synthesize_threads() argument
991 __perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) __perf_event__synthesize_kernel_mmap() argument
1047 perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_kernel_mmap() argument
1060 perf_event__synthesize_thread_map2(struct perf_tool *tool, struct perf_thread_map *threads, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_thread_map2() argument
1210 perf_event__synthesize_cpu_map(struct perf_tool *tool, struct perf_cpu_map *map, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cpu_map() argument
1228 perf_event__synthesize_stat_config(struct perf_tool *tool, struct perf_stat_config *config, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_stat_config() argument
1266 perf_event__synthesize_stat(struct perf_tool *tool, u32 cpu, u32 thread, u64 id, struct perf_counts_values *count, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_stat() argument
1288 perf_event__synthesize_stat_round(struct perf_tool *tool, u64 evtime, u64 type, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_stat_round() argument
1602 perf_event__synthesize_id_index(struct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine) perf_event__synthesize_id_index() argument
1670 __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, struct target *target, struct perf_thread_map *threads, perf_event__handler_t process, bool data_mmap, unsigned int nr_threads_synthesize) __machine__synthesize_threads() argument
1711 perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_unit() argument
1728 perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_scale() argument
1746 perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_name() argument
1763 perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) perf_event__synthesize_event_update_cpus() argument
1791 perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process) perf_event__synthesize_attrs() argument
1819 perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe) perf_event__synthesize_extra_attr() argument
1875 perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process) perf_event__synthesize_attr() argument
1908 perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, struct evlist *evlist, perf_event__handler_t process) perf_event__synthesize_tracing_data() argument
1955 perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_build_id() argument
1978 perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process, bool attrs) perf_event__synthesize_stat_events() argument
2015 perf_event__synthesize_features(struct perf_tool *tool, struct perf_session *session, struct evlist *evlist, perf_event__handler_t process) perf_event__synthesize_features() argument
[all...]
H A Devent.h298 int perf_event__process_comm(struct perf_tool *tool,
302 int perf_event__process_lost(struct perf_tool *tool,
306 int perf_event__process_lost_samples(struct perf_tool *tool,
310 int perf_event__process_aux(struct perf_tool *tool,
314 int perf_event__process_itrace_start(struct perf_tool *tool,
318 int perf_event__process_switch(struct perf_tool *tool,
322 int perf_event__process_namespaces(struct perf_tool *tool,
326 int perf_event__process_cgroup(struct perf_tool *tool,
330 int perf_event__process_mmap(struct perf_tool *tool,
334 int perf_event__process_mmap2(struct perf_tool *tool,
[all...]
/third_party/libinput/src/
H A Devdev-tablet.c239 /* tool_id is the identifier for the tool we can use in libwacom in tablet_process_absolute()
320 enum libinput_tablet_tool_type tool, in tablet_update_tool()
323 assert(tool != LIBINPUT_TOOL_NONE); in tablet_update_tool()
326 tablet->current_tool.type = tool; in tablet_update_tool()
353 struct libinput_tablet_tool *tool) in normalize_pressure()
366 int base = tool->pressure.threshold.lower; in normalize_pressure()
485 struct libinput_tablet_tool *tool, in tablet_tool_process_delta()
494 /* When tool contact changes, we probably got a cursor jump. Don't in tablet_tool_process_delta()
521 tool, in tablet_tool_process_delta()
528 struct libinput_tablet_tool *tool) in tablet_update_pressure()
318 tablet_update_tool(struct tablet_dispatch *tablet, struct evdev_device *device, enum libinput_tablet_tool_type tool, bool enabled) tablet_update_tool() argument
352 normalize_pressure(const struct input_absinfo *absinfo, struct libinput_tablet_tool *tool) normalize_pressure() argument
484 tablet_tool_process_delta(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, const struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_tool_process_delta() argument
526 tablet_update_pressure(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) tablet_update_pressure() argument
704 tablet_check_notify_axes(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool, struct tablet_axes *axes_out, uint64_t time) tablet_check_notify_axes() argument
916 copy_axis_cap(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_axis axis) copy_axis_cap() argument
925 copy_button_cap(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, uint32_t button) copy_button_cap() argument
936 tool_set_bits_from_libwacom(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tool_set_bits_from_libwacom() argument
1002 tool_set_bits(const struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tool_set_bits() argument
1081 tool_set_pressure_thresholds(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tool_set_pressure_thresholds() argument
1137 struct libinput_tablet_tool *tool = NULL, *t; tablet_get_tool() local
1199 tablet_notify_button_mask(struct tablet_dispatch *tablet, struct evdev_device *device, uint64_t time, struct libinput_tablet_tool *tool, const struct button_state *buttons, enum libinput_button_state state) tablet_notify_button_mask() argument
1231 tablet_notify_buttons(struct tablet_dispatch *tablet, struct evdev_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_button_state state) tablet_notify_buttons() argument
1253 sanitize_pressure_distance(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) sanitize_pressure_distance() argument
1313 sanitize_tablet_axes(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) sanitize_tablet_axes() argument
1321 set_pressure_offset(struct libinput_tablet_tool *tool, int offset) set_pressure_offset() argument
1336 update_pressure_offset(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) update_pressure_offset() argument
1365 detect_pressure_offset(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) detect_pressure_offset() argument
1439 detect_tool_contact(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) detect_tool_contact() argument
1476 tablet_mark_all_axes_changed(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool) tablet_mark_all_axes_changed() argument
1489 tablet_update_proximity_state(struct tablet_dispatch *tablet, struct evdev_device *device, struct libinput_tablet_tool *tool) tablet_update_proximity_state() argument
1609 tablet_send_proximity_in(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_proximity_in() argument
1635 tablet_send_proximity_out(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_proximity_out() argument
1662 tablet_send_tip(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_tip() argument
1708 tablet_send_axes(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, struct tablet_axes *axes, uint64_t time) tablet_send_axes() argument
1738 tablet_send_buttons(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, uint64_t time) tablet_send_buttons() argument
1763 tablet_send_events(struct tablet_dispatch *tablet, struct libinput_tablet_tool *tool, struct evdev_device *device, uint64_t time) tablet_send_events() argument
1962 struct libinput_tablet_tool *tool; tablet_flush() local
2184 struct libinput_tablet_tool *tool; tablet_destroy() local
2300 enum libinput_tablet_tool_type tool; tablet_check_initial_proximity() local
[all...]
H A Devdev-totem.c38 struct libinput_tablet_tool *tool; member
80 struct libinput_tablet_tool *tool; in totem_new_tool() local
82 tool = zalloc(sizeof *tool); in totem_new_tool()
84 *tool = (struct libinput_tablet_tool) { in totem_new_tool()
91 tool->pressure.offset = 0; in totem_new_tool()
92 tool->pressure.has_offset = false; in totem_new_tool()
93 tool->pressure.threshold.lower = 0; in totem_new_tool()
94 tool->pressure.threshold.upper = 1; in totem_new_tool()
96 set_bit(tool in totem_new_tool()
261 totem_slot_fetch_axes(struct totem_dispatch *totem, struct totem_slot *slot, struct libinput_tablet_tool *tool, struct tablet_axes *axes_out, uint64_t time) totem_slot_fetch_axes() argument
332 totem_slot_mark_all_axes_changed(struct totem_dispatch *totem, struct totem_slot *slot, struct libinput_tablet_tool *tool) totem_slot_mark_all_axes_changed() argument
[all...]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
H A Dosnoise_hist.c125 static void osnoise_hist_update_multiple(struct osnoise_tool *tool, int cpu, in osnoise_hist_update_multiple() argument
128 struct osnoise_hist_params *params = tool->params; in osnoise_hist_update_multiple()
129 struct osnoise_hist_data *data = tool->data; in osnoise_hist_update_multiple()
157 static void osnoise_destroy_trace_hist(struct osnoise_tool *tool) in osnoise_destroy_trace_hist() argument
159 struct osnoise_hist_data *data = tool->data; in osnoise_destroy_trace_hist()
161 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist()
162 tracefs_hist_destroy(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist()
168 static int osnoise_init_trace_hist(struct osnoise_tool *tool) in osnoise_init_trace_hist() argument
170 struct osnoise_hist_params *params = tool->params; in osnoise_init_trace_hist()
171 struct osnoise_hist_data *data = tool in osnoise_init_trace_hist()
205 osnoise_read_trace_hist(struct osnoise_tool *tool) osnoise_read_trace_hist() argument
253 osnoise_hist_header(struct osnoise_tool *tool) osnoise_hist_header() argument
372 osnoise_print_stats(struct osnoise_hist_params *params, struct osnoise_tool *tool) osnoise_print_stats() argument
703 osnoise_hist_apply_config(struct osnoise_tool *tool, struct osnoise_hist_params *params) osnoise_hist_apply_config() argument
782 struct osnoise_tool *tool; osnoise_init_hist() local
827 struct osnoise_tool *tool = NULL; osnoise_hist_main() local
[all...]
H A Dtimerlat_aa.c114 struct osnoise_tool *tool; member
123 * For now keep it simple. If needed, store it in the tool, add the *context
482 function = tep_find_function(taa_ctx->tool->trace.tep, caller[i]); in timerlat_aa_stack_handler()
691 struct trace_instance *trace = &taa_ctx->tool->trace; in timerlat_auto_analysis_collect_trace()
756 tep = taa_ctx->tool->trace.tep; in timerlat_auto_analysis()
881 static void timerlat_aa_unregister_events(struct osnoise_tool *tool, int dump_tasks) in timerlat_aa_unregister_events() argument
884 tep_unregister_event_handler(tool->trace.tep, -1, "ftrace", "timerlat", in timerlat_aa_unregister_events()
885 timerlat_aa_handler, tool); in timerlat_aa_unregister_events()
887 tracefs_event_disable(tool->trace.inst, "osnoise", NULL); in timerlat_aa_unregister_events()
889 tep_unregister_event_handler(tool in timerlat_aa_unregister_events()
920 timerlat_aa_register_events(struct osnoise_tool *tool, int dump_tasks) timerlat_aa_register_events() argument
1008 timerlat_aa_init(struct osnoise_tool *tool, int dump_tasks) timerlat_aa_init() argument
[all...]
H A Dosnoise_top.c112 struct osnoise_tool *tool; in osnoise_top_handler() local
118 tool = container_of(trace, struct osnoise_tool, trace); in osnoise_top_handler()
120 data = tool->data; in osnoise_top_handler()
154 * osnoise_top_header - print the header of the tool output
209 static void osnoise_top_print(struct osnoise_tool *tool, int cpu) in osnoise_top_print() argument
211 struct osnoise_top_params *params = tool->params; in osnoise_top_print()
212 struct trace_seq *s = tool->trace.seq; in osnoise_top_print()
218 data = tool->data; in osnoise_top_print()
528 * osnoise_top_apply_config - apply the top configs to the initialized tool
531 osnoise_top_apply_config(struct osnoise_tool *tool, struc argument
617 struct osnoise_tool *tool; osnoise_init_top() local
665 struct osnoise_tool *tool = NULL; osnoise_top_main() local
[all...]
H A Dtimerlat_hist.c168 timerlat_hist_update(struct osnoise_tool *tool, int cpu, in timerlat_hist_update() argument
172 struct timerlat_hist_params *params = tool->params; in timerlat_hist_update()
173 struct timerlat_hist_data *data = tool->data; in timerlat_hist_update()
218 struct osnoise_tool *tool; in timerlat_hist_handler() local
221 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler()
226 timerlat_hist_update(tool, cpu, context, latency); in timerlat_hist_handler()
234 static void timerlat_hist_header(struct osnoise_tool *tool) in timerlat_hist_header() argument
236 struct timerlat_hist_params *params = tool->params; in timerlat_hist_header()
237 struct timerlat_hist_data *data = tool->data; in timerlat_hist_header()
238 struct trace_seq *s = tool in timerlat_hist_header()
407 timerlat_print_stats(struct timerlat_hist_params *params, struct osnoise_tool *tool) timerlat_print_stats() argument
811 timerlat_hist_apply_config(struct osnoise_tool *tool, struct timerlat_hist_params *params) timerlat_hist_apply_config() argument
899 struct osnoise_tool *tool; timerlat_init_hist() local
948 struct osnoise_tool *tool = NULL; timerlat_hist_main() local
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-inject.c18 #include "util/tool.h"
81 struct perf_tool tool; member
107 struct perf_tool tool; member
137 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
152 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
155 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
156 tool); in perf_event__repipe_synth()
161 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument
165 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth()
169 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unuse
191 perf_event__repipe_attr(struct perf_tool *tool, union perf_event *event, struct evlist **pevlist) perf_event__repipe_attr() argument
209 perf_event__repipe_event_update(struct perf_tool *tool, union perf_event *event, struct evlist **pevlist __maybe_unused) perf_event__repipe_event_update() argument
240 struct perf_tool *tool = session->tool; perf_event__repipe_auxtrace() local
287 perf_event__repipe(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) perf_event__repipe() argument
303 perf_event__drop_aux(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct machine *machine __maybe_unused) perf_event__drop_aux() argument
350 perf_event__repipe_sample(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_event__repipe_sample() argument
375 perf_event__repipe_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_mmap() argument
389 perf_event__jit_repipe_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__jit_repipe_mmap() argument
459 perf_event__repipe_buildid_mmap(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_buildid_mmap() argument
478 perf_event__repipe_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_mmap2() argument
504 perf_event__jit_repipe_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__jit_repipe_mmap2() argument
528 perf_event__repipe_buildid_mmap2(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_buildid_mmap2() argument
569 perf_event__repipe_fork(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_fork() argument
582 perf_event__repipe_comm(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_comm() argument
595 perf_event__repipe_namespaces(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_namespaces() argument
607 perf_event__repipe_exit(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) perf_event__repipe_exit() argument
716 dso__inject_build_id(struct dso *dso, struct perf_tool *tool, struct machine *machine, u8 cpumode, u32 flags) dso__inject_build_id() argument
747 perf_event__inject_buildid(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel __maybe_unused, struct machine *machine) perf_event__inject_buildid() argument
780 perf_inject__sched_process_exit(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct evsel *evsel __maybe_unused, struct machine *machine __maybe_unused) perf_inject__sched_process_exit() argument
800 perf_inject__sched_switch(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_inject__sched_switch() argument
825 perf_inject__sched_stat(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) perf_inject__sched_stat() argument
870 guest_session__repipe(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) guest_session__repipe() argument
1036 process_attr(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_attr() argument
1164 process_build_id(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) process_build_id() argument
1209 guest_session__ksymbol_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) guest_session__ksymbol_event() argument
1573 host__repipe(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) host__repipe() argument
1646 host__finished_round(struct perf_tool *tool, union perf_event *event, struct ordered_events *oe) host__finished_round() argument
1664 host__context_switch(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine) host__context_switch() argument
[all...]
/third_party/gn/src/gn/
H A Dninja_toolchain_writer.cc46 for (const auto& tool : toolchain_->tools()) { in Run()
47 if (tool.second->name() == GeneralTool::kGeneralToolAction || in Run()
48 tool.second->AsBuiltin()) { in Run()
51 WriteToolRule(tool.second.get(), rule_prefix); in Run()
82 void NinjaToolchainWriter::WriteToolRule(Tool* tool, in WriteToolRule() argument
84 out_ << "rule " << rule_prefix << tool->name() << std::endl; in WriteToolRule()
90 WriteCommandRulePattern("command", tool->command_launcher(), tool->command(), in WriteToolRule()
93 WriteRulePattern("description", tool->description(), options); in WriteToolRule()
94 WriteRulePattern("rspfile", tool in WriteToolRule()
[all...]
H A Dtoolchain.cc21 // Ensure "phony" tool is part of all toolchains by default. in Toolchain()
55 if (Tool* tool = GetTool(name)) { in GetToolAsGeneral()
56 return tool->AsGeneral(); in GetToolAsGeneral()
62 if (const Tool* tool = GetTool(name)) { in GetToolAsGeneral()
63 return tool->AsGeneral(); in GetToolAsGeneral()
69 if (Tool* tool = GetTool(name)) { in GetToolAsC()
70 return tool->AsC(); in GetToolAsC()
76 if (const Tool* tool = GetTool(name)) { in GetToolAsC()
77 return tool->AsC(); in GetToolAsC()
83 if (Tool* tool in GetToolAsRust()
[all...]
H A Dninja_binary_target_writer.cc199 // the tool if there are more than one. in AddSourceSetFiles()
225 const CTool* tool = source_set->toolchain()->GetToolAsC(CTool::kCToolCc); in AddSourceSetFiles() local
226 if (tool && tool->precompiled_header_type() == CTool::PCH_MSVC) { in AddSourceSetFiles()
232 const CTool* tool = source_set->toolchain()->GetToolAsC(CTool::kCToolCxx); in AddSourceSetFiles() local
233 if (tool && tool->precompiled_header_type() == CTool::PCH_MSVC) { in AddSourceSetFiles()
239 const CTool* tool = in AddSourceSetFiles() local
241 if (tool && tool in AddSourceSetFiles()
247 const CTool* tool = AddSourceSetFiles() local
295 WriteCustomLinkerFlags(std::ostream& out, const Tool* tool) WriteCustomLinkerFlags() argument
305 WriteLibrarySearchPath(std::ostream& out, const Tool* tool) WriteLibrarySearchPath() argument
338 WriteLinkerFlags( std::ostream& out, const Tool* tool, const SourceFile* optional_def_file) WriteLinkerFlags() argument
353 WriteLibs(std::ostream& out, const Tool* tool) WriteLibs() argument
376 WriteFrameworks(std::ostream& out, const Tool* tool) WriteFrameworks() argument
392 WriteSwiftModules( std::ostream& out, const Tool* tool, const std::vector<OutputFile>& swiftmodules) WriteSwiftModules() argument
[all...]
H A Dtarget.cc19 #include "gn/tool.h"
579 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); in GetComputedOutputName() local
580 if (tool) { in GetComputedOutputName()
583 if (!output_prefix_override_ && !base::starts_with(name, tool->output_prefix())) in GetComputedOutputName()
584 result = tool->output_prefix(); in GetComputedOutputName()
595 const Tool* tool = toolchain->GetToolForTargetFinalOutput(this); in SetToolchain() local
596 if (tool) in SetToolchain()
602 Err(defined_from(), "This target uses an undefined tool.", in SetToolchain()
607 "which doesn't have the tool \"%s\" defined.\n\n" in SetToolchain()
648 const Tool* tool in GetOutputsAsSourceFiles() local
717 const Tool* tool = toolchain_->GetTool(*computed_tool_type); GetOutputFilesForSource() local
933 const Tool* tool = toolchain_->GetToolForTargetFinalOutput(this); FillOutputFiles() local
[all...]
/third_party/icu/icu4c/source/test/testdata/
H A DBUILDRULES.py65 tool = IcuTool("genrb"),
76 tool = IcuTool("genrb"),
85 tool = IcuTool("genrb"),
94 tool = IcuTool("genrb"),
109 tool = IcuTool("gensprep"),
118 tool = IcuTool("gensprep"),
127 tool = IcuTool("gensprep"),
136 tool = IcuTool("gensprep"),
145 tool = IcuTool("gensprep"),
169 tool
[all...]
/foundation/ability/ability_lite/services/abilitymgr_lite/tools/src/
H A Dmain.cpp47 static void SetOptions(int argc, char *argv[], const option *options, AbilityTool &tool) in SetOptions() argument
60 tool.SetDumpAll(); in SetOptions()
64 tool.SetBundleName(optarg); in SetOptions()
68 tool.SetAbilityName(optarg); in SetOptions()
72 tool.SetExtra(optarg); in SetOptions()
80 if (!tool.SetCommand(command)) { in SetOptions()
101 AbilityTool tool = AbilityTool(); in main() local
102 SetOptions(argc, argv, options, tool); in main()
103 bool ret = tool.RunCommand(); in main()
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
H A Dcommon.py47 def preprocess(tool, filename, **kwargs):
48 argv = _build_argv(tool, filename, **kwargs)
57 with converted_error(tool, argv, filename):
66 tool,
76 compiler=compiler or tool,
97 def converted_error(tool, argv, filename):
102 tool,
110 def convert_error(tool, argv, filename, stderr, rc):
114 raise OSMismatchError(filename, _expected, argv, error, tool)
117 raise MissingDependenciesError(filename, (_missing,), argv, error, tool)
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
H A DLocaleDistanceMapperTest.java3 package org.unicode.icu.tool.cldrtoicu.localedistance;
7 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.DEPRECATED;
8 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.LEGACY;
9 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.MACRO;
10 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.LANGUAGE;
11 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.TERRITORY;
12 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.alias;
13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.cldrData;
14 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.deprecatedTerritory;
15 import static org.unicode.icu.tool
[all...]
/third_party/libinput/tools/
H A Dlibinput-debug-gui.c182 } tool; member
789 if (w->tool.distance > 0) { in draw_tablet()
790 double pos = w->tool.distance * 100; in draw_tablet()
794 if (w->tool.pressure > 0) { in draw_tablet()
795 double pos = w->tool.pressure * 100; in draw_tablet()
796 if (w->tool.is_down) in draw_tablet()
803 /* tablet tool, square for prox-in location */ in draw_tablet()
806 if (w->tool.x_in && w->tool.y_in) { in draw_tablet()
807 cairo_rectangle(cr, w->tool in draw_tablet()
[all...]

Completed in 36 milliseconds

12345678910>>...23