Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 125) sorted by relevance

12345

/tools/perf/util/
Dconfig.c32 int c; in get_next_char() local
35 c = '\n'; in get_next_char()
37 c = fgetc(f); in get_next_char()
38 if (c == '\r') { in get_next_char()
40 c = fgetc(f); in get_next_char()
41 if (c != '\n') { in get_next_char()
42 ungetc(c, f); in get_next_char()
43 c = '\r'; in get_next_char()
46 if (c == '\n') in get_next_char()
48 if (c == EOF) { in get_next_char()
[all …]
Dpython-ext-sources8 util/python.c
9 util/ctype.c
10 util/evlist.c
11 util/evsel.c
12 util/cpumap.c
13 util/hweight.c
14 util/thread_map.c
15 util/util.c
16 util/xyarray.c
17 util/cgroup.c
[all …]
Dalias.c36 char c = cmdline[src]; in split_cmdline() local
37 if (!quoted && isspace(c)) { in split_cmdline()
47 } else if (!quoted && (c == '\'' || c == '"')) { in split_cmdline()
48 quoted = c; in split_cmdline()
50 } else if (c == quoted) { in split_cmdline()
54 if (c == '\\' && quoted != '\'') { in split_cmdline()
56 c = cmdline[src]; in split_cmdline()
57 if (!c) { in split_cmdline()
62 cmdline[dst++] = c; in split_cmdline()
/tools/power/cpupower/po/
Dde.po20 #: utils/idle_monitor/nhm_idle.c:36
24 #: utils/idle_monitor/nhm_idle.c:43
28 #: utils/idle_monitor/nhm_idle.c:51
32 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
36 #: utils/idle_monitor/snb_idle.c:33
40 #: utils/idle_monitor/snb_idle.c:40
44 #: utils/idle_monitor/snb_idle.c:47
48 #: utils/idle_monitor/amd_fam14h_idle.c:56
52 #: utils/idle_monitor/amd_fam14h_idle.c:63
56 #: utils/idle_monitor/amd_fam14h_idle.c:77
[all …]
Dcs.po23 #: utils/idle_monitor/nhm_idle.c:36
27 #: utils/idle_monitor/nhm_idle.c:43
31 #: utils/idle_monitor/nhm_idle.c:51
35 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
39 #: utils/idle_monitor/snb_idle.c:33
43 #: utils/idle_monitor/snb_idle.c:40
47 #: utils/idle_monitor/snb_idle.c:47
51 #: utils/idle_monitor/amd_fam14h_idle.c:56
55 #: utils/idle_monitor/amd_fam14h_idle.c:63
59 #: utils/idle_monitor/amd_fam14h_idle.c:77
[all …]
Dit.po20 #: utils/idle_monitor/nhm_idle.c:36
24 #: utils/idle_monitor/nhm_idle.c:43
28 #: utils/idle_monitor/nhm_idle.c:51
32 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
36 #: utils/idle_monitor/snb_idle.c:33
40 #: utils/idle_monitor/snb_idle.c:40
44 #: utils/idle_monitor/snb_idle.c:47
48 #: utils/idle_monitor/amd_fam14h_idle.c:56
52 #: utils/idle_monitor/amd_fam14h_idle.c:63
56 #: utils/idle_monitor/amd_fam14h_idle.c:77
[all …]
Dpt.po18 #: utils/idle_monitor/nhm_idle.c:36
22 #: utils/idle_monitor/nhm_idle.c:43
26 #: utils/idle_monitor/nhm_idle.c:51
30 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
34 #: utils/idle_monitor/snb_idle.c:33
38 #: utils/idle_monitor/snb_idle.c:40
42 #: utils/idle_monitor/snb_idle.c:47
46 #: utils/idle_monitor/amd_fam14h_idle.c:56
50 #: utils/idle_monitor/amd_fam14h_idle.c:63
54 #: utils/idle_monitor/amd_fam14h_idle.c:77
[all …]
Dfr.po20 #: utils/idle_monitor/nhm_idle.c:36
24 #: utils/idle_monitor/nhm_idle.c:43
28 #: utils/idle_monitor/nhm_idle.c:51
32 #: utils/idle_monitor/nhm_idle.c:58 utils/idle_monitor/amd_fam14h_idle.c:70
36 #: utils/idle_monitor/snb_idle.c:33
40 #: utils/idle_monitor/snb_idle.c:40
44 #: utils/idle_monitor/snb_idle.c:47
48 #: utils/idle_monitor/amd_fam14h_idle.c:56
52 #: utils/idle_monitor/amd_fam14h_idle.c:63
56 #: utils/idle_monitor/amd_fam14h_idle.c:77
[all …]
/tools/usb/usbip/src/
DMakefile.am7 usbip_SOURCES := usbip.h utils.h usbip.c utils.c usbip_network.c \
8 usbip_attach.c usbip_detach.c usbip_list.c \
9 usbip_bind.c usbip_unbind.c usbip_port.c
11 usbipd_SOURCES := usbip_network.h usbipd.c usbip_network.c
/tools/perf/
Dbuiltin-timechart.c216 struct per_pidcomm *c; in pid_set_comm() local
218 c = p->all; in pid_set_comm()
219 while (c) { in pid_set_comm()
220 if (c->comm && strcmp(c->comm, comm) == 0) { in pid_set_comm()
221 p->current = c; in pid_set_comm()
224 if (!c->comm) { in pid_set_comm()
225 c->comm = strdup(comm); in pid_set_comm()
226 p->current = c; in pid_set_comm()
229 c = c->next; in pid_set_comm()
231 c = zalloc(sizeof(*c)); in pid_set_comm()
[all …]
Dperf-completion.sh143 local c IFS=$' \t\n'
146 for c in ${=1}; do
147 case $c in
149 *) c="$c " ;;
163 local c IFS=$' \t\n'
170 for c in ${=1}; do
171 case $c in
173 *) c="$c " ;;
/tools/testing/selftests/powerpc/pmu/ebb/
DMakefile21 $(PROGS): ../../harness.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S
25 lost_exception_test: ../lib.c
/tools/usb/usbip/libsrc/
DMakefile.am6 libusbip_la_SOURCES := names.c names.h usbip_host_driver.c usbip_host_driver.h \
7 usbip_common.c usbip_common.h vhci_driver.c vhci_driver.h \
8 sysfs_utils.c sysfs_utils.h
Dvhci_driver.c43 char *c; in parse_status() local
51 c = strchr(value, '\n'); in parse_status()
52 if (!c) in parse_status()
54 c++; in parse_status()
56 while (*c != '\0') { in parse_status()
61 ret = sscanf(c, "%d %d %d %x %lx %31s\n", in parse_status()
99 c = strchr(c, '\n'); in parse_status()
100 if (!c) in parse_status()
102 c++; in parse_status()
126 char *c; in get_nports() local
[all …]
/tools/power/cpupower/debug/i386/
DMakefile14 $(OUTPUT)centrino-decode: centrino-decode.c
15 $(CC) $(CFLAGS) -o $@ centrino-decode.c
17 $(OUTPUT)dump_psb: dump_psb.c
18 $(CC) $(CFLAGS) -o $@ dump_psb.c
20 $(OUTPUT)intel_gsic: intel_gsic.c
21 $(CC) $(CFLAGS) -o $@ -llrmi intel_gsic.c
23 $(OUTPUT)powernow-k8-decode: powernow-k8-decode.c
24 $(CC) $(CFLAGS) -o $@ powernow-k8-decode.c
/tools/perf/arch/x86/util/
Dheader.c10 cpuid(unsigned int op, unsigned int *a, unsigned int *b, unsigned int *c, in cpuid() argument
17 "=c" (*c), in cpuid()
25 unsigned int a, b, c, d, lvl; in get_cpuid() local
30 cpuid(0, &lvl, &b, &c, &d); in get_cpuid()
33 strncpy(&vendor[8], (char *)(&c), 4); in get_cpuid()
37 cpuid(1, &a, &b, &c, &d); in get_cpuid()
/tools/lib/lockdep/tests/
DABBCCA.c6 pthread_mutex_t a, b, c; in main() local
10 pthread_mutex_init(&c, NULL); in main()
13 LOCK_UNLOCK_2(b, c); in main()
14 LOCK_UNLOCK_2(c, a); in main()
DABCABC.c6 pthread_mutex_t a, b, c; in main() local
10 pthread_mutex_init(&c, NULL); in main()
13 LOCK_UNLOCK_2(c, a); in main()
14 LOCK_UNLOCK_2(b, c); in main()
DABBCCDDA.c6 pthread_mutex_t a, b, c, d; in main() local
10 pthread_mutex_init(&c, NULL); in main()
14 LOCK_UNLOCK_2(b, c); in main()
15 LOCK_UNLOCK_2(c, d); in main()
DABCDBCDA.c6 pthread_mutex_t a, b, c, d; in main() local
10 pthread_mutex_init(&c, NULL); in main()
14 LOCK_UNLOCK_2(c, d); in main()
15 LOCK_UNLOCK_2(b, c); in main()
/tools/testing/selftests/powerpc/pmu/
Dlib.c66 char c = PARENT_TOKEN; in sync_with_child() local
68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in sync_with_child()
69 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in sync_with_child()
70 if (c != CHILD_TOKEN) /* sometimes expected */ in sync_with_child()
78 char c; in wait_for_parent() local
80 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in wait_for_parent()
81 FAIL_IF(c != PARENT_TOKEN); in wait_for_parent()
88 char c = CHILD_TOKEN; in notify_parent() local
90 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent()
97 char c = ~CHILD_TOKEN; in notify_parent_of_error() local
[all …]
DMakefile5 EXTRA_SOURCES := ../harness.c event.c lib.c
14 count_instructions: loop.S count_instructions.c $(EXTRA_SOURCES)
/tools/testing/selftests/memfd/
DMakefile6 gcc $(CFLAGS) memfd_test.c -o memfd_test
9 gcc $(CFLAGS) memfd_test.c -o memfd_test
13 gcc $(CFLAGS) fuse_mnt.c `pkg-config fuse --cflags --libs` -o fuse_mnt
14 gcc $(CFLAGS) fuse_test.c -o fuse_test
/tools/testing/selftests/ftrace/test.d/00basic/
Dbasic3.tc4 for c in `cat trace_clock | tr -d \[\]`; do
5 echo $c > trace_clock
6 grep '\['$c'\]' trace_clock
/tools/lib/lockdep/
Drun_tests.sh5 for i in `ls tests/*.c`; do
6 testname=$(basename -s .c "$i")
17 for i in `ls tests/*.c`; do
18 testname=$(basename -s .c "$i")

12345