Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/tools/bpf/
Dbpf_jit_disasm.c170 static uint8_t *get_last_jit_image(char *haystack, size_t hlen, in get_last_jit_image() argument
189 ptr = haystack; in get_last_jit_image()
202 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
221 tmp = ptr = haystack + off; in get_last_jit_image()
/linux-5.19.10/tools/perf/util/
Dexpr.h48 bool expr__subset_of_ids(struct expr_parse_ctx *haystack,
Dexpr.c235 bool expr__subset_of_ids(struct expr_parse_ctx *haystack, in expr__subset_of_ids() argument
243 if (expr__get_id(haystack, cur->key, &data)) in expr__subset_of_ids()
/linux-5.19.10/arch/sh/drivers/dma/
Ddma-api.c104 static int search_cap(const char **haystack, const char *needle) in search_cap() argument
108 for (p = haystack; *p; p++) in search_cap()
/linux-5.19.10/tools/testing/selftests/alsa/
Dmixer-test.c459 static bool strend(const char *haystack, const char *needle) in strend() argument
461 size_t haystack_len = strlen(haystack); in strend()
466 return strcmp(haystack + haystack_len - needle_len, needle) == 0; in strend()
/linux-5.19.10/drivers/scsi/
DNCR5380.c2186 static bool list_find_cmd(struct list_head *haystack, in list_find_cmd() argument
2191 list_for_each_entry(ncmd, haystack, list) in list_find_cmd()
2203 static bool list_del_cmd(struct list_head *haystack, in list_del_cmd() argument
2206 if (list_find_cmd(haystack, needle)) { in list_del_cmd()
Dhpsa.c1556 struct hpsa_scsi_dev_t *haystack[], int haystack_size, in hpsa_scsi_find_entry() argument
1568 if (haystack[i] == NULL) /* previously removed. */ in hpsa_scsi_find_entry()
1570 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { in hpsa_scsi_find_entry()
1572 if (device_is_the_same(needle, haystack[i])) { in hpsa_scsi_find_entry()
1573 if (device_updated(needle, haystack[i])) in hpsa_scsi_find_entry()
/linux-5.19.10/drivers/media/dvb-core/
Ddvb_ca_en50221.c201 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument
209 if (!strncmp(haystack + i, needle, nlen)) in findstr()
210 return haystack + i; in findstr()
/linux-5.19.10/tools/testing/kunit/
Dkunit_tool_test.py96 def assertContains(self, needle: str, haystack: kunit_parser.LineStream):
98 copy, backup = itertools.tee(haystack)