Home
last modified time | relevance | path

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

12345678910>>...15

/tools/include/linux/
Dctype.h23 #define isalnum(c) ((__ismask(c)&(_U|_L|_D)) != 0) argument
24 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument
25 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument
26 static inline int __isdigit(int c) in __isdigit() argument
28 return '0' <= c && c <= '9'; in __isdigit()
30 #define isdigit(c) __isdigit(c) argument
31 #define isgraph(c) ((__ismask(c)&(_P|_U|_L|_D)) != 0) argument
32 #define islower(c) ((__ismask(c)&(_L)) != 0) argument
33 #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) argument
34 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument
[all …]
Djhash.h35 #define __jhash_mix(a, b, c) \ argument
37 a -= c; a ^= rol32(c, 4); c += b; \
38 b -= a; b ^= rol32(a, 6); a += c; \
39 c -= b; c ^= rol32(b, 8); b += a; \
40 a -= c; a ^= rol32(c, 16); c += b; \
41 b -= a; b ^= rol32(a, 19); a += c; \
42 c -= b; c ^= rol32(b, 4); b += a; \
46 #define __jhash_final(a, b, c) \ argument
48 c ^= b; c -= rol32(b, 14); \
49 a ^= c; a -= rol32(c, 11); \
[all …]
/tools/perf/util/
Dpython-ext-sources8 util/python.c
9 ../lib/ctype.c
10 util/cap.c
11 util/evlist.c
12 util/evsel.c
13 util/perf_event_attr_fprintf.c
14 util/cpumap.c
15 util/memswap.c
16 util/mmap.c
17 util/namespaces.c
[all …]
Dconfig.c49 int c; in get_next_char() local
52 c = '\n'; in get_next_char()
54 c = fgetc(f); in get_next_char()
55 if (c == '\r') { in get_next_char()
57 c = fgetc(f); in get_next_char()
58 if (c != '\n') { in get_next_char()
59 ungetc(c, f); in get_next_char()
60 c = '\r'; in get_next_char()
63 if (c == '\n') in get_next_char()
65 if (c == EOF) { in get_next_char()
[all …]
/tools/testing/selftests/bpf/progs/
Dtest_jhash.h12 #define __jhash_mix(a, b, c) \ argument
14 a -= c; a ^= rol32(c, 4); c += b; \
15 b -= a; b ^= rol32(a, 6); a += c; \
16 c -= b; c ^= rol32(b, 8); b += a; \
17 a -= c; a ^= rol32(c, 16); c += b; \
18 b -= a; b ^= rol32(a, 19); a += c; \
19 c -= b; c ^= rol32(b, 4); b += a; \
22 #define __jhash_final(a, b, c) \ argument
24 c ^= b; c -= rol32(b, 14); \
25 a ^= c; a -= rol32(c, 11); \
[all …]
Dcore_reloc_types.h10 int c; member
17 int c; member
324 int c; member
331 struct core_reloc_arrays_substruct c[3]; member
339 struct core_reloc_arrays_substruct c[4]; member
349 int c; member
351 } c[3]; member
362 struct core_reloc_arrays_substruct c[3]; member
369 struct core_reloc_arrays_substruct c[3]; member
376 struct core_reloc_arrays_substruct c[3]; member
[all …]
/tools/power/cpupower/po/
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 …]
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 …]
/tools/usb/usbip/src/
DMakefile.am8 usbip_SOURCES := usbip.h utils.h usbip.c utils.c usbip_network.c \
9 usbip_attach.c usbip_detach.c usbip_list.c \
10 usbip_bind.c usbip_unbind.c usbip_port.c
12 usbipd_SOURCES := usbip_network.h usbipd.c usbip_network.c
/tools/testing/selftests/android/ion/
DMakefile10 $(TEST_GEN_FILES): ipcsocket.c ionutils.c
18 $(OUTPUT)/ionapp_export: ionapp_export.c ipcsocket.c ionutils.c
19 $(OUTPUT)/ionapp_import: ionapp_import.c ipcsocket.c ionutils.c
20 $(OUTPUT)/ionmap_test: ionmap_test.c ionutils.c
/tools/perf/
DMANIFEST10 tools/lib/argv_split.c
11 tools/lib/ctype.c
12 tools/lib/hweight.c
13 tools/lib/rbtree.c
14 tools/lib/string.c
15 tools/lib/symbol/kallsyms.c
17 tools/lib/find_bit.c
18 tools/lib/bitmap.c
19 tools/lib/str_error_r.c
20 tools/lib/vsprintf.c
[all …]
Dbuiltin-timechart.c219 struct per_pidcomm *c; in pid_set_comm() local
221 c = p->all; in pid_set_comm()
222 while (c) { in pid_set_comm()
223 if (c->comm && strcmp(c->comm, comm) == 0) { in pid_set_comm()
224 p->current = c; in pid_set_comm()
227 if (!c->comm) { in pid_set_comm()
228 c->comm = strdup(comm); in pid_set_comm()
229 p->current = c; in pid_set_comm()
232 c = c->next; in pid_set_comm()
234 c = zalloc(sizeof(*c)); in pid_set_comm()
[all …]
/tools/testing/selftests/bpf/
DMakefile34 BPF_OBJ_FILES = $(patsubst %.c,%.o, $(notdir $(wildcard progs/*.c)))
37 BTF_C_FILES = $(wildcard progs/btf_dump_test_case_*.c)
43 $(CLANG) -target bpf -O2 -emit-llvm -S -x c - -o - | \
93 $(OUTPUT)/urandom_read: $(OUTPUT)/%: %.c
96 $(OUTPUT)/test_stub.o: test_stub.c
105 $(OUTPUT)/test_dev_cgroup: cgroup_helpers.c
106 $(OUTPUT)/test_skb_cgroup_id_user: cgroup_helpers.c
107 $(OUTPUT)/test_sock: cgroup_helpers.c
108 $(OUTPUT)/test_sock_addr: cgroup_helpers.c
109 $(OUTPUT)/test_socket_cookie: cgroup_helpers.c
[all …]
/tools/usb/usbip/libsrc/
DMakefile.am7 libusbip_la_SOURCES := names.c names.h usbip_host_driver.c usbip_host_driver.h \
8 usbip_device_driver.c usbip_device_driver.h \
9 usbip_common.c usbip_common.h usbip_host_common.h \
10 usbip_host_common.c vhci_driver.c vhci_driver.h \
11 sysfs_utils.c sysfs_utils.h
/tools/perf/ui/browsers/
Dscripts.c50 struct script_config *c) in add_script_option() argument
52 c->names[c->index] = name; in add_script_option()
53 if (asprintf(&c->paths[c->index], in add_script_option()
55 c->perf, opt, symbol_conf.inline_name ? " --inline" : "", in add_script_option()
56 c->extra_format) < 0) in add_script_option()
58 c->index++; in add_script_option()
64 struct script_config *c = data; in scripts_config() local
68 if (c->index >= SCRIPT_MAX_NO) in scripts_config()
70 c->names[c->index] = strdup(var + 7); in scripts_config()
71 if (!c->names[c->index]) in scripts_config()
[all …]
/tools/testing/selftests/powerpc/stringloops/
Dstrlen.c66 char c; in testcase() local
69 c = random() & 0x7f; in testcase()
70 } while (!c); in testcase()
71 s[i] = c; in testcase()
79 char c; in testcase() local
82 c = random() & 0x7f; in testcase()
83 } while (!c); in testcase()
84 s[j] = c; in testcase()
93 char c; in testcase() local
96 c = random() & 0x7f; in testcase()
[all …]
DMakefile5 EXTRA_SOURCES := ../harness.c
7 build_32bit = $(shell if ($(CC) $(CFLAGS) -m32 -o /dev/null memcmp.c >/dev/null 2>&1) then echo "1"…
11 $(OUTPUT)/memcmp_64: memcmp.c
15 $(OUTPUT)/memcmp_32: memcmp.c
21 $(OUTPUT)/strlen: strlen.c string.c
24 $(OUTPUT)/strlen_32: strlen.c
/tools/testing/selftests/kvm/
DMakefile10 LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/sparsebit.c
11 LIBKVM_x86_64 = lib/x86_64/processor.c lib/x86_64/vmx.c lib/x86_64/ucall.c
12 LIBKVM_aarch64 = lib/aarch64/processor.c lib/aarch64/ucall.c
13 LIBKVM_s390x = lib/s390x/processor.c lib/s390x/ucall.c
52 $(CC) -Werror -no-pie -x c - -o "$$TMP", -no-pie)
56 $(CC) -Werror -Wl$(comma)--s390-pgste -x c - -o "$$TMP",-Wl$(comma)--s390-pgste)
66 LIBKVM_OBJ := $(patsubst %.c, $(OUTPUT)/%.o, $(LIBKVM))
70 $(LIBKVM_OBJ): $(OUTPUT)/%.o: %.c
/tools/testing/selftests/powerpc/pmu/ebb/
DMakefile26 $(TEST_GEN_PROGS): ../../harness.c ../../utils.c ../event.c ../lib.c \
27 ebb.c ebb_handler.S trace.c busy_loop.S
31 $(OUTPUT)/lost_exception_test: ../lib.c
/tools/testing/selftests/powerpc/benchmarks/
Dmmap_bench.c42 char *c = mmap(NULL, MEMSIZE, PROT_READ|PROT_WRITE, in test_mmap() local
44 FAIL_IF(c == MAP_FAILED); in test_mmap()
48 c[count << 16] = 'c'; in test_mmap()
50 munmap(c, MEMSIZE); in test_mmap()
62 signed char c; in main() local
66 c = getopt_long(argc, argv, "", options, &option_index); in main()
68 if (c == -1) in main()
71 switch (c) { in main()
/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c26 int p2c[2], c2p[2], rc, status, c, *p; in test() local
49 FAIL_IF(read(p2c[0], &c, 1) != 1); in test()
55 FAIL_IF(write(c2p[1], &c, 1) != 1); in test()
56 FAIL_IF(read(p2c[0], &c, 1) != 1); in test()
60 c = 0; in test()
61 FAIL_IF(write(p2c[1], &c, 1) != 1); in test()
62 FAIL_IF(read(c2p[0], &c, 1) != 1); in test()
74 FAIL_IF(write(p2c[1], &c, 1) != 1); in test()
/tools/testing/selftests/kvm/lib/
Dassert.c39 char *c; in test_dump_stack() local
42 c = &cmd[0]; in test_dump_stack()
43 c += sprintf(c, "%s", addr2line); in test_dump_stack()
50 c += sprintf(c, " %lx", ((unsigned long) stack[i]) - 1); in test_dump_stack()
51 c += sprintf(c, "%s", pipeline); in test_dump_stack()

12345678910>>...15