Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/util/
H A Diova-tree.c41 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/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch29 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 D0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch29 static inline char* strstr_ptr(const char *haystack, const char *needle) {
30 if (!haystack || !needle)
/openbmc/qemu/hw/virtio/
H A Dvhost-shadow-virtqueue.c95 DMAMap needle; in vhost_svq_translate_addr() local
100 needle = (DMAMap) { in vhost_svq_translate_addr()
104 map = vhost_iova_tree_find_gpa(svq->iova_tree, &needle); in vhost_svq_translate_addr()
107 needle = (DMAMap) { in vhost_svq_translate_addr()
111 map = vhost_iova_tree_find_iova(svq->iova_tree, &needle); in vhost_svq_translate_addr()
121 needle.translated_addr); in vhost_svq_translate_addr()
125 off = needle.translated_addr - map->translated_addr; in vhost_svq_translate_addr()
128 needle_last = int128_add(int128_make64(needle.translated_addr), in vhost_svq_translate_addr()
H A Dvhost-vdpa.c1121 const DMAMap needle = { in vhost_vdpa_svq_unmap_ring() local
1125 &needle); in vhost_vdpa_svq_unmap_ring()
1166 static bool vhost_vdpa_svq_map_ring(struct vhost_vdpa *v, DMAMap *needle, in vhost_vdpa_svq_map_ring() argument
1171 r = vhost_iova_tree_map_alloc(v->shared->iova_tree, needle, taddr); in vhost_vdpa_svq_map_ring()
1175 if (needle->translated_addr == taddr) { in vhost_vdpa_svq_map_ring()
1178 vhost_iova_tree_remove(v->shared->iova_tree, *needle); in vhost_vdpa_svq_map_ring()
1183 r = vhost_vdpa_dma_map(v->shared, v->address_space_id, needle->iova, in vhost_vdpa_svq_map_ring()
1184 needle->size + 1, in vhost_vdpa_svq_map_ring()
1185 (void *)(uintptr_t)needle->translated_addr, in vhost_vdpa_svq_map_ring()
1186 needle->perm == IOMMU_RO); in vhost_vdpa_svq_map_ring()
[all …]
/openbmc/u-boot/lib/libavb/
H A Davb_util.c209 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 Davb_util.h223 const char* needle) AVB_ATTR_WARN_UNUSED_RESULT;
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ncp/libowfat/
H A D0001-replace-__pure__-with-compiler-attribute-pure.patch46 * 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 Drpp31 def _state(self, cmd, needle): argument
35 self.session.expect(needle, timeout=None)
/openbmc/qemu/docs/sphinx/
H A Dqapi_domain.py912 def _search(needle: str) -> List[str]:
914 needle
915 and needle in self.objects
916 and self.objects[needle].objtype in objtypes
918 return [needle]
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtaskexp.py147 def finder(model, path, iter, needle): argument
149 if package == needle:
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Ddata.py444 needle = '/%s.bbclass' % klass
446 if v.endswith(needle):
/openbmc/qemu/net/
H A Dvhost-vdpa.c503 DMAMap needle = { in vhost_vdpa_cvq_unmap_buf() local
510 const DMAMap *map = vhost_iova_tree_find_iova(tree, &needle); in vhost_vdpa_cvq_unmap_buf()
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h1486 stbtt_uint32 needle, straw; in stbtt_GetGlyphKernAdvance() local
1499 needle = glyph1 << 16 | glyph2; in stbtt_GetGlyphKernAdvance()
1503 if (needle < straw) in stbtt_GetGlyphKernAdvance()
1505 else if (needle > straw) in stbtt_GetGlyphKernAdvance()
/openbmc/openbmc/poky/meta/classes-global/
H A Dinsane.bbclass1592 needle = "/" + native_class
1603 if needle not in class_item: