| /linux/tools/perf/arch/x86/tests/ |
| H A D | gen-insn-x86-dat.awk | 30 useful_line = substr($0, colon_pos + 1) 32 useful_line = substr(useful_line, first_pos) 56 useful_line = substr($0, expecting_pos + expecting_len)
|
| /linux/scripts/ |
| H A D | decodecode | 133 substr="" 137 substr+="$opc" 139 opcode="$substr" 151 substr+=" "
|
| H A D | verify_builtin_ranges.awk | 24 fn = substr(fn, 1, RSTART) "." substr(fn, RSTART + 1) ".cmd"; 30 mod = substr(s, RSTART + 13, RLENGTH - 13); 70 val = substr(val, 5);
|
| H A D | check-sysctl-docs | 50 value = substr(value, 1, length(value) - 1) 82 if (!inbrackets && substr($i, 1, 1) == "(") { 92 if (inbrackets && substr($i, length($i), 1) == ")") {
|
| H A D | generate_builtin_ranges.awk | 24 fn = substr(fn, 1, RSTART) "." substr(fn, RSTART + 1) ".cmd"; 27 mod = substr(s, RSTART + 16, RLENGTH - 16); 30 mod = substr(s, RSTART + 13, RLENGTH - 13); 224 addr_prefix = "^" substr($2, 1, 6);
|
| /linux/Documentation/arch/arm/samsung/ |
| H A D | clksrc-change-registers.awk | 14 return substr(s, eqat+2, (comat-eqat)-2) 19 return substr(b, 2, length(b)-2) 56 return substr(s, id+2)
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-transform.sh | 111 rq = substr(arg, length($i), 1); 112 arg = substr(arg, 1, length($i) - 1);
|
| /linux/Documentation/PCI/controller/ |
| H A D | rcar-pcie-firmware.rst | 19 $ awk '/^\s*0x[0-9A-Fa-f]{4}\s+0x[0-9A-Fa-f]{4}/ { print substr($2,5,2) substr($2,3,2) }' \
|
| /linux/lib/kunit/ |
| H A D | assert_test.c | 11 #define ASSERT_TEST_EXPECT_CONTAIN(test, str, substr) KUNIT_EXPECT_TRUE(test, strstr(str, substr)) argument 12 #define ASSERT_TEST_EXPECT_NCONTAIN(test, str, substr) KUNIT_EXPECT_FALSE(test, strstr(str, substr)) argument
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_loader.c | 226 msg->substr = pattern; in __push_msg() 246 err = __push_msg(msg->substr, msg->on_next_line, msg->negative, to); in clone_msgs() 253 static int push_msg(const char *substr, bool negative, struct expected_msgs *msgs) in push_msg() 255 return __push_msg(substr, false, negative, msgs); in push_disasm_msg() 792 match = strstr(*log, msg->substr); in drop_capabilities() 794 *log = match + strlen(msg->substr); in drop_capabilities() 937 msg->substr); in run_subtest() 65 const char *substr; /* substring match */ global() member 250 push_msg(const char * substr,struct expected_msgs * msgs) push_msg() argument
|
| H A D | test_progs.h | 338 #define ASSERT_HAS_SUBSTR(str, substr, name) ({ \ 341 const char *___substr = substr; \ 551 const char *substr; /* substring match */ 337 ASSERT_HAS_SUBSTR(str,substr,name) global() argument
|
| /linux/include/linux/ |
| H A D | mod_devicetable.h | 584 char substr[79]; member 601 #define DMI_MATCH(a, b) { .slot = a, .substr = b } 602 #define DMI_EXACT_MATCH(a, b) { .slot = a, .substr = b, .exact_match = 1 }
|
| /linux/fs/nfs/ |
| H A D | nfs4idmap.c | 502 substring_t substr; in nfs_idmap_prepare_message() local 506 token = match_token(desc, nfs_idmap_tokens, &substr); in nfs_idmap_prepare_message() 514 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message() 522 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message()
|
| /linux/tools/perf/tests/shell/ |
| H A D | test_intel_pt.sh | 180 $0 = substr($0, RSTART, RLENGTH) 192 $0 = substr($0, RSTART, RLENGTH) 205 $0 = substr($0, RSTART, RLENGTH)
|
| /linux/drivers/platform/x86/ |
| H A D | eeepc-wmi.c | 123 model = (char *)dmi->matches[1].substr; in dmi_matched()
|
| H A D | asus-armoury.c | 1048 pr_debug("AC power limits initialized for %s\n", dmi_id->matches[0].substr); in init_rog_tunables() 1098 pr_debug("DC power limits initialized for %s\n", dmi_id->matches[0].substr); in init_rog_tunables()
|
| /linux/arch/x86/tools/ |
| H A D | gen-insn-attr-x86.awk | 295 idx = "0x" substr($1, 1, index($1,":") - 1)
|
| /linux/tools/arch/x86/tools/ |
| H A D | gen-insn-attr-x86.awk | 295 idx = "0x" substr($1, 1, index($1,":") - 1)
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_tool_test.py | 88 def noPrintCallContains(self, substr: str): 90 self.assertNotIn(substr, call.args[0])
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpuset_prs.sh | 699 EVAL=$(expr substr $EXPECTED_STATE 2 2)
|
| /linux/scripts/mod/ |
| H A D | file2alias.c | 922 (*matches)[j].substr); in do_dmi_entry()
|