/tools/lib/traceevent/ |
D | event-utils.h | 29 static inline char *strim(char *string) in strim() argument 33 if (!string) in strim() 35 while (*string) { in strim() 36 if (!isspace(*string)) in strim() 38 string++; in strim() 40 ret = string; in strim() 42 string = ret + strlen(ret) - 1; in strim() 43 while (string > ret) { in strim() 44 if (!isspace(*string)) in strim() 46 string--; in strim() [all …]
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.py | 31 string = "" 37 string += flag_fields[event_name][field_name]['values'][idx] 41 string += " " + flag_fields[event_name][field_name]['delim'] + " " 42 string += flag_fields[event_name][field_name]['values'][idx] 46 return string 49 string = "" 54 string = symbolic_fields[event_name][field_name]['values'][idx] 57 string = symbolic_fields[event_name][field_name]['values'][idx] 60 return string 70 string = "" [all …]
|
/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.pm | 35 my $string; 41 $string .= "NONE"; 47 $string .= " | "; 49 $string .= "$trace_flags{$idx}"; 55 return $string; 65 my $string; 71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; 76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} "; 78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; 85 return $string;
|
/tools/testing/selftests/bpf/progs/ |
D | test_global_data.c | 87 test_reloc(string, 0, str0); in load_static_data() 88 test_reloc(string, 1, str1); in load_static_data() 89 test_reloc(string, 2, str2); in load_static_data() 91 test_reloc(string, 3, str1); in load_static_data() 93 test_reloc(string, 4, str2); in load_static_data()
|
/tools/build/feature/ |
D | test-cxx.cpp | 5 static void print_str(std::string s) in print_str() 12 std::string s("Hello World!"); in main()
|
/tools/testing/kunit/test_data/ |
D | test_skip_tests.log | 3 # Subtest: string-stream-test 8 ok 1 - string-stream-test
|
D | test_skip_all_tests.log | 3 # Subtest: string-stream-test 8 ok 1 - string-stream-test # SKIP
|
D | test_config_printk_time.log | 18 [ 0.060000] # Subtest: string-stream-test 23 [ 0.060000] ok 3 - string-stream-test
|
D | test_pound_sign.log | 20 [ 0.060000] # Subtest: string-stream-test 25 [ 0.060000] ok 3 - string-stream-test
|
D | test_output_with_prefix_isolated_correctly.log | 19 [ 0.060000] # Subtest: string-stream-test 24 [ 0.060000] ok 3 - string-stream-test
|
D | test_pound_no_prefix.log | 20 # Subtest: string-stream-test 25 ok 3 - string-stream-test
|
D | test_multiple_prefixes.log | 18 [ 0.060000][ T1] # Subtest: string-stream-test 23 [ 0.060000][ T1] ok 3 - string-stream-test
|
D | test_interrupted_tap_output.log | 24 [ 0.060000] # Subtest: string-stream-test 29 [ 0.060000] ok 3 - string-stream-test
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-strerror.txt | 6 tep_strerror - Returns a string describing regular errno and tep error number. 20 readable string. 22 errno, defined in errno.h, or a tep error number. The string, describing this 28 behaves as the POSIX version - the error string is copied in the user supplied 34 string is copied into _buf_. If _errnum_ is not a valid error number,
|
D | libtraceevent-field_print.txt | 39 string. A search is performed in the _event_ for a field with _name_. If such 41 _s_, according to the given format string _fmt_. If the argument _err_ is 45 string. A search is performed in the _event_ for a field with _name_. If such 49 according to the given format string _fmt_. If the argument _err_ is non-zero, 82 /* Print the value of "expires" field with custom format string */ 85 /* Print the address and the name of "function" field with custom format string */ 100 to create a string of data to use.
|
D | libtraceevent-event_print.txt | 23 string _fmt_. The desired information is specified after the format string. 24 The _fmt_ is printf-like format string, following arguments are supported: 29 TEP_PRINT_COMM, "%s" - Event command string. 64 specified as part of this format string: 104 to create a string of data to use.
|
D | libtraceevent-func_apis.txt | 62 or events have "%pS" parameter in its format string. It is common to pass in 65 the name of the function, the string is copied internally. The _addr_ is the 69 The _tep_register_print_string()_ function registers a string by the address 72 which has an address needs to know what string would be at that address. The 75 context. The _fmt_ is the string to register, it is copied internally. 76 The _addr_ is the address the string was located at. 145 if (tep_register_print_string(tep, "print string", 147 /* Failed to register "print string" address mapping */
|
/tools/perf/tests/ |
D | mem.c | 11 const char *string) in check() argument 22 TEST_ASSERT_VAL(failure, !strcmp(string, out)); in check()
|
/tools/perf/util/ |
D | data-convert-bt.c | 73 struct bt_ctf_field_type *string; member 157 static int string_set_value(struct bt_ctf_field *field, const char *string); 160 const char *name, const char *string) in value_set_string() argument 162 struct bt_ctf_field_type *type = cw->data.string; in value_set_string() 172 ret = string_set_value(field, string); in value_set_string() 193 return cw->data.string; in get_tracepoint_field_type() 251 static int string_set_value(struct bt_ctf_field *field, const char *string) in string_set_value() argument 254 size_t len = strlen(string), i, p; in string_set_value() 258 if (isprint(string[i])) { in string_set_value() 261 buffer[p] = string[i]; in string_set_value() [all …]
|
D | python-ext-sources | 22 ../lib/string.c 34 util/string.c
|
/tools/testing/selftests/tc-testing/creating-testcases/ |
D | AddingTestCases.txt | 47 Each command can be a string to be executed, or a list consisting 48 of a string which is a command to be executed, followed by 1 or 50 If only a string is given for the command, then an exit code of 0 68 Each command can be a string to be executed, or a list consisting 69 of a string which is a command to be executed, followed by 1 or 71 If only a string is given for the command, then an exit code of 0
|
/tools/scripts/ |
D | utilities.mak | 14 # newlines; the default is a bizarre string. 47 # the default escape is a bizarre string. 49 # NOTE: The escape is used directly as a string constant 63 # the default escape is a bizarre string. 83 # embedding in a shell string that is delimited by 113 # This function avoids the problem by producing a string
|
/tools/bpf/resolve_btfids/ |
D | Build | 4 resolve_btfids-y += string.o
|
/tools/perf/util/c++/ |
D | clang-test.cpp | 27 std::string cflag_kver("-DLINUX_VERSION_CODE=" + in __test__clang_to_IR()
|
/tools/perf/jvmti/ |
D | Build | 15 $(OUTPUT)jvmti/libstring.o: ../lib/string.c FORCE
|