Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 97) sorted by relevance

1234

/tools/perf/Documentation/
A Dbuild-docdep.perl6 for my $text (<*.txt>) {
7 open I, '<', $text || die "cannot read: $text";
13 $include{$text}{$_} = 1;
24 while (my ($text, $included) = each %include) {
30 if (!exists $include{$text}{$j}) {
31 $include{$text}{$j} = 1;
41 while (my ($text, $included) = each %include) {
42 if (! exists $included{$text} &&
43 (my $base = $text) =~ s/\.txt$//) {
/tools/testing/selftests/proc/
A Dproc-maps-race.c215 const char *start = text + strlen(text); in print_last_lines()
566 if (!strcmp(new_last_line.text, split_last_line.text)) { in TEST_F()
577 strcmp(new_first_line.text, split_first_line.text) && in TEST_F()
578 strcmp(new_first_line.text, restored_last_line.text), in TEST_F()
583 strcmp(new_last_line.text, restored_last_line.text), in TEST_F()
586 strcmp(new_first_line.text, restored_first_line.text), in TEST_F()
642 if (!strcmp(new_last_line.text, shrunk_last_line.text)) { in TEST_F()
653 strcmp(new_first_line.text, restored_last_line.text), in TEST_F()
658 strcmp(new_last_line.text, restored_last_line.text), in TEST_F()
720 strcmp(new_first_line.text, restored_last_line.text), in TEST_F()
[all …]
/tools/testing/kunit/
A Dkunit_printer.py34 def _color(self, code: str, text: str) -> str:
36 return text
37 return code + text + _RESET
39 def red(self, text: str) -> str:
40 return self._color('\033[1;31m', text)
42 def yellow(self, text: str) -> str:
43 return self._color('\033[1;33m', text)
45 def green(self, text: str) -> str:
46 return self._color('\033[1;32m', text)
/tools/testing/selftests/bpf/prog_tests/
A Dctx_rewrite.c405 while (*text && *text != '\n') { in print_match_error()
409 ++text; in print_match_error()
437 if (*text) in print_match_error()
438 ++text; in print_match_error()
498 if (!*text) in match_pattern()
503 if (!isspace(*text) && text != text_origin && isalnum(text[-1])) in match_pattern()
506 text = skip_space(text); in match_pattern()
621 ++text; in match_pattern()
650 char *text = NULL; in match_program() local
654 if (!text) { in match_program()
[all …]
/tools/perf/ui/
A Dutil.h9 int ui__help_window(const char *text);
11 void __ui__info_window(const char *title, const char *text, const char *exit_msg);
12 void ui__info_window(const char *title, const char *text);
13 int ui__question_window(const char *title, const char *text,
A Dbrowser.h70 int ui_browser__help_window(struct ui_browser *browser, const char *text);
71 bool ui_browser__dialog_yesno(struct ui_browser *browser, const char *text);
72 int ui_browser__input_window(const char *title, const char *text, char *input,
/tools/perf/ui/tui/
A Dutil.c75 int ui_browser__input_window(const char *title, const char *text, char *input, in ui_browser__input_window() argument
83 t = text; in ui_browser__input_window()
114 SLsmg_write_wrapped_string((unsigned char *)text, y, x, in ui_browser__input_window()
173 t = text; in __ui__info_window()
206 SLsmg_write_wrapped_string((unsigned char *)text, y, x, in __ui__info_window()
216 void ui__info_window(const char *title, const char *text) in ui__info_window() argument
219 __ui__info_window(title, text, NULL); in ui__info_window()
224 int ui__question_window(const char *title, const char *text, in ui__question_window() argument
228 __ui__info_window(title, text, exit_msg); in ui__question_window()
234 int ui__help_window(const char *text) in ui__help_window() argument
[all …]
/tools/testing/selftests/sgx/
A Dtest_encl.lds6 text PT_LOAD;
19 .text : {
20 *(.text*)
24 } : text
/tools/testing/selftests/ptrace/
A Dset_syscall_info.c71 const char *text) in check_psi_entry() argument
81 LOG_KILL_TRACEE("%s: entry stop mismatch", text); in check_psi_entry()
84 LOG_KILL_TRACEE("%s: entry stop mismatch", text); in check_psi_entry()
87 LOG_KILL_TRACEE("%s: entry stop mismatch", text); in check_psi_entry()
98 text, i); in check_psi_entry()
107 const char *text) in check_psi_exit() argument
110 LOG_KILL_TRACEE("%s: exit stop mismatch", text); in check_psi_exit()
113 LOG_KILL_TRACEE("%s: exit stop mismatch", text); in check_psi_exit()
116 LOG_KILL_TRACEE("%s: exit stop mismatch", text); in check_psi_exit()
119 LOG_KILL_TRACEE("%s: exit stop mismatch", text); in check_psi_exit()
[all …]
/tools/perf/util/
A Dparse-events.l32 char *text = parse_events_get_text(scanner); in value() local
36 num = strtoull(text, NULL, base); in value()
54 char *text = parse_events_get_text(scanner); in str() local
56 yylval->str = strdup(text); in str()
63 char *text = parse_events_get_text(scanner); in quoted_str() local
74 yylval->str = strndup(&text[1], strlen(text) - 2); in quoted_str()
99 yylval->str = strdup(text + 1); in drv_str()
114 __yylval->str = strdup(text); \
116 yycolumn -= strlen(text); \
141 yylval->hardware_term.str = strdup(text); in hw_term()
[all …]
A Dexpr.l30 char *text = expr_get_text(scanner); in value() local
32 return __value(yylval, text, NUMBER); in value()
75 char *text = expr_get_text(scanner); in str() local
77 yylval->str = normalize(strdup(text), runtime); in str()
A Dpmu.l17 char *text = perf_pmu_get_text(scanner); in value() local
21 num = strtoul(text, NULL, base); in value()
A Dsvghelper.c273 static char text[80]; in time_to_string() local
275 text[0] = 0; in time_to_string()
278 return text; in time_to_string()
282 return text; in time_to_string()
284 sprintf(text, "%.1f ms", duration / (double)NSEC_PER_MSEC); in time_to_string()
286 return text; in time_to_string()
291 char *text; in svg_waiting() local
303 text = time_to_string(end-start); in svg_waiting()
320 font_size, text); in svg_waiting()
602 void svg_text(int Yslot, u64 start, const char *text) in svg_text() argument
[all …]
/tools/scripts/
A Dutilities.mak20 # Usage: escaped-text = $(call escape-nl,text[,escape])
36 # Usage: text = $(call unescape-nl,escaped-text[,escape])
80 # Usage: embeddable-text = $(call escape-for-shell-sq,text)
82 # This function produces text that is suitable for
90 # Usage: single-quoted-and-escaped-text = $(call shell-sq,text)
96 # Usage: wordified-text = $(call shell-wordify,text)
100 # |define text
106 # | echo $(call shell-wordify,$(text))
119 # to render the text as a single line; when the shell
120 # processes the resulting escaped text, it transforms
[all …]
/tools/lib/perf/include/internal/
A Dtests.h47 #define __T(text, cond) \ argument
50 fprintf(stderr, "FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
/tools/testing/selftests/rcutorture/bin/
A Dparse-console.sh43 nerrs=`grep --binary-files=text '!!!' $file |
67 grep --binary-files=text 'torture:.*ver:' $file |
68 grep -E --binary-files=text -v '\(null\)|rtc: 000000000* ' |
111 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version…
/tools/perf/tests/
A Dtests.h14 #define TEST_ASSERT_VAL(text, cond) \ argument
17 pr_debug("FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
22 #define TEST_ASSERT_EQUAL(text, val, expected) \ argument
26 __FILE__, __LINE__, text, val, expected); \
/tools/testing/selftests/bpf/
A Djit_disasm_helpers.h8 int get_jited_program_text(int fd, char *text, size_t text_sz);
A Duprobe_multi.ld7 INSERT AFTER .text;
/tools/testing/selftests/arm64/pauth/
A Dpac_corruptor.S6 .text
/tools/perf/bench/
A Dmem-memset-x86-64-asm.S6 #define altinstr_replacement text
A Dmem-memcpy-x86-64-asm.S9 #define altinstr_replacement text
/tools/testing/selftests/powerpc/pmu/
A Dbranch_loops.S8 .text
/tools/testing/selftests/riscv/hwprobe/
A Dsys_hwprobe.S4 .text
/tools/testing/selftests/powerpc/copyloops/
A Dcopy_tofrom_user_reference.S24 .text

Completed in 30 milliseconds

1234