/openbmc/qemu/util/ |
H A D | iova-tree.c | 41 const DMAMap *needle; member 94 const DMAMap *needle; in iova_tree_find_address_iterator() local 98 needle = args->needle; in iova_tree_find_address_iterator() 99 if (map->translated_addr + map->size < needle->translated_addr || in iova_tree_find_address_iterator() 100 needle->translated_addr + needle->size < map->translated_addr) { in iova_tree_find_address_iterator() 111 .needle = map, in iova_tree_find_iova()
|
/openbmc/linux/tools/perf/util/ |
H A D | string.c | 312 char *strreplace_chars(char needle, const char *haystack, const char *replace) in strreplace_chars() argument 316 const char *loc = strchr(haystack, needle); in strreplace_chars() 322 loc = strchr(loc + 1, needle); in strreplace_chars() 330 loc = strchr(haystack, needle); in strreplace_chars() 344 loc = strchr(from, needle); in strreplace_chars()
|
H A D | string2.h | 42 char *strreplace_chars(char needle, const char *haystack, const char *replace);
|
/openbmc/linux/tools/perf/tests/ |
H A D | util.c | 9 static int test_strreplace(char needle, const char *haystack, in test_strreplace() argument 12 char *new = strreplace_chars(needle, haystack, replace); in test_strreplace()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch | 29 static inline char* strstr_ptr(const char *haystack, const char *needle) { 30 if (!haystack || !needle)
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch | 29 static inline char* strstr_ptr(const char *haystack, const char *needle) { 30 if (!haystack || !needle)
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.h | 35 const char *needle); 59 extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
|
H A D | cgroup_util.c | 124 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() argument 131 return strstr(buf, needle) ? 0 : -1; in cg_read_strstr() 574 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr() argument 581 return strstr(buf, needle) ? 0 : -1; in proc_read_strstr()
|
/openbmc/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sigreturn_vdso.c | 26 static int search_proc_maps(char *needle, unsigned long *low, unsigned long *high) in search_proc_maps() argument 52 if (strstr(name, needle)) { in search_proc_maps()
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_util.c | 209 const char* avb_strstr(const char* haystack, const char* needle) { in avb_strstr() argument 216 if (haystack[n] != needle[0]) { in avb_strstr() 221 if (needle[m] == '\0') { in avb_strstr() 225 if (haystack[n + m] != needle[m]) { in avb_strstr()
|
H A D | avb_util.h | 223 const char* needle) AVB_ATTR_WARN_UNUSED_RESULT;
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | stack_expansion_ldst.c | 75 static int search_proc_maps(char *needle, unsigned long *low, unsigned long *high) in search_proc_maps() argument 101 if (strstr(name, needle)) { in search_proc_maps()
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost-shadow-virtqueue.c | 91 DMAMap needle = { in vhost_svq_translate_addr() local 98 const DMAMap *map = vhost_iova_tree_find_iova(svq->iova_tree, &needle); in vhost_svq_translate_addr() 106 needle.translated_addr); in vhost_svq_translate_addr() 110 off = needle.translated_addr - map->translated_addr; in vhost_svq_translate_addr() 113 needle_last = int128_add(int128_make64(needle.translated_addr), in vhost_svq_translate_addr()
|
H A D | vhost-vdpa.c | 1103 const DMAMap needle = { in vhost_vdpa_svq_unmap_ring() local 1107 &needle); in vhost_vdpa_svq_unmap_ring() 1147 static bool vhost_vdpa_svq_map_ring(struct vhost_vdpa *v, DMAMap *needle, in vhost_vdpa_svq_map_ring() argument 1152 r = vhost_iova_tree_map_alloc(v->shared->iova_tree, needle); in vhost_vdpa_svq_map_ring() 1158 r = vhost_vdpa_dma_map(v->shared, v->address_space_id, needle->iova, in vhost_vdpa_svq_map_ring() 1159 needle->size + 1, in vhost_vdpa_svq_map_ring() 1160 (void *)(uintptr_t)needle->translated_addr, in vhost_vdpa_svq_map_ring() 1161 needle->perm == IOMMU_RO); in vhost_vdpa_svq_map_ring() 1164 vhost_iova_tree_remove(v->shared->iova_tree, *needle); in vhost_vdpa_svq_map_ring()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ncp/libowfat/ |
H A D | 0001-replace-__pure__-with-compiler-attribute-pure.patch | 46 * inclusive such that one[i] equals needle, or len if not found. */ 47 -size_t byte_chr(const void* haystack, size_t len, char needle) __pure__; 48 +size_t byte_chr(const void* haystack, size_t len, char needle) __PURE; 51 * such that one[i] equals needle, or len if not found. */ 52 -size_t byte_rchr(const void* haystack,size_t len,char needle) __pure__; 53 +size_t byte_rchr(const void* haystack,size_t len,char needle) __PURE; 371 /* str_chr returns the index of the first occurance of needle or \0 in haystack */ 372 -size_t str_chr(const char *haystack,char needle) __pure__; 373 +size_t str_chr(const char *haystack,char needle) __PURE; 375 /* str_rchr returns the index of the last occurance of needle or \0 in haystack */ [all …]
|
/openbmc/openbmc-tools/reboot-ping-pong/ |
H A D | rpp | 31 def _state(self, cmd, needle): argument 35 self.session.expect(needle, timeout=None)
|
/openbmc/linux/arch/sh/drivers/dma/ |
H A D | dma-api.c | 104 static int search_cap(const char **haystack, const char *needle) in search_cap() argument 109 if (strcmp(*p, needle) == 0) in search_cap()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 1314 char needle[200]; in cmp_str_seq() local 1326 if (len >= sizeof(needle) || !len) { in cmp_str_seq() 1330 strncpy(needle, exp, len); in cmp_str_seq() 1331 needle[len] = 0; in cmp_str_seq() 1332 q = strstr(log, needle); in cmp_str_seq() 1335 "EXP: %s\nRES:\n", needle); in cmp_str_seq()
|
H A D | test_offload.py | 660 def check_no_extack(res, needle): argument 661 fail((res[1] + res[2]).count(needle) or (res[1] + res[2]).count("Warning:"), 662 "Found '%s' in command output, leaky extack?" % (needle)) 680 def test_spurios_extack(sim, obj, skip_hw, needle): argument 683 check_no_extack(res, needle) 686 check_no_extack(res, needle) 689 check_no_extack(res, needle)
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | taskexp.py | 147 def finder(model, path, iter, needle): argument 149 if package == needle:
|
/openbmc/linux/tools/testing/selftests/alsa/ |
H A D | mixer-test.c | 420 static bool strend(const char *haystack, const char *needle) in strend() argument 423 size_t needle_len = strlen(needle); in strend() 427 return strcmp(haystack + haystack_len - needle_len, needle) == 0; in strend()
|
/openbmc/linux/drivers/scsi/ |
H A D | NCR5380.c | 2191 struct scsi_cmnd *needle) in list_find_cmd() argument 2196 if (NCR5380_to_scmd(ncmd) == needle) in list_find_cmd() 2208 struct scsi_cmnd *needle) in list_del_cmd() argument 2210 if (list_find_cmd(haystack, needle)) { in list_del_cmd() 2211 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(needle); in list_del_cmd()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tas5086.c | 340 static int index_in_array(const int *array, int len, int needle) in index_in_array() argument 345 if (array[i] == needle) in index_in_array()
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | data.py | 444 needle = '/%s.bbclass' % klass 446 if v.endswith(needle):
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_sip.c | 351 const char *needle, unsigned int len) in ct_sip_header_search() argument 361 if (strncasecmp(dptr, needle, len) == 0) in ct_sip_header_search() 712 const char *needle, unsigned int len) in ct_sdp_header_search() argument 717 if (strncmp(dptr, needle, len) == 0) in ct_sdp_header_search()
|