Searched refs:buf1 (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/proc/ |
D | proc-self-syscall.c | 32 char buf1[64]; in main() local 45 snprintf(buf1, sizeof(buf1), "%ld 0x%lx 0x%lx 0x%lx", in main() 52 if (rv < strlen(buf1)) in main() 54 if (strncmp(buf1, buf2, strlen(buf1)) != 0) in main()
|
D | self.c | 26 char buf1[64], buf2[64]; in main() local 31 snprintf(buf1, sizeof(buf1), "%u", pid); in main() 34 assert(rv == strlen(buf1)); in main() 36 assert(streq(buf1, buf2)); in main()
|
D | thread-self.c | 29 char buf1[64], buf2[64]; in f() local 35 snprintf(buf1, sizeof(buf1), "%u/task/%u", pid, tid); in f() 38 assert(rv == strlen(buf1)); in f() 40 assert(streq(buf1, buf2)); in f()
|
/tools/perf/tests/ |
D | is_printable_array.c | 10 char buf1[] = { 'k', 'r', 4, 'v', 'a', 0 }; in test__is_printable_array() local 22 { buf1, sizeof(buf1), 0 }, in test__is_printable_array()
|
D | code-reading.c | 239 unsigned char buf1[BUFSZ]; in read_object_code() local 279 al.addr, buf1, len); in read_object_code() 359 if (memcmp(buf1, buf2, len)) { in read_object_code() 362 dump_buf(buf1, len); in read_object_code()
|
/tools/perf/arch/x86/util/ |
D | intel-pt.c | 946 static bool intel_pt_compare_buffers(void *buf1, size_t compare_size, in intel_pt_compare_buffers() argument 952 return memcmp(buf1, buf2 + offs2, compare_size); in intel_pt_compare_buffers() 955 if (memcmp(buf1, buf2 + offs2, part_size)) in intel_pt_compare_buffers() 960 return memcmp(buf1 + part_size, buf2, compare_size); in intel_pt_compare_buffers()
|