Home
last modified time | relevance | path

Searched refs:imattr (Results 1 – 16 of 16) sorted by relevance

/dports/net/mpich/mpich-3.4.3/modules/hwloc/hwloc/
H A Dmemattrs.c41 imattr->name = name; in hwloc__setup_memattr()
42 imattr->flags = flags; in hwloc__setup_memattr()
43 imattr->iflags = iflags; in hwloc__setup_memattr()
45 imattr->nr_targets = 0; in hwloc__setup_memattr()
46 imattr->targets = NULL; in hwloc__setup_memattr()
112 hwloc__imtg_destroy(imattr, &imattr->targets[j]); in hwloc_internal_memattrs_destroy()
115 free(imattr->name); in hwloc_internal_memattrs_destroy()
475 int ret = hwloc__imtg_refresh(topology, imattr, &imattr->targets[j]); in hwloc__imattr_refresh()
479 memcpy(&imattr->targets[k], &imattr->targets[j], sizeof(*imattr->targets)); in hwloc__imattr_refresh()
537 news = realloc(imattr->targets, (imattr->nr_targets+1)*sizeof(*imattr->targets)); in hwloc__memattr_get_target()
[all …]
H A Dtopology-xml.c3059 struct hwloc_internal_memattr_s *imattr, in hwloc__xml_export_memattr_target() argument
3065 if (imattr->flags & HWLOC_MEMATTR_FLAG_NEED_INITIATOR) { in hwloc__xml_export_memattr_target()
3112 struct hwloc_internal_memattr_s *imattr; in hwloc__xml_export_memattrs() local
3121 imattr = &topology->memattrs[id]; in hwloc__xml_export_memattrs()
3123 && !imattr->nr_targets) in hwloc__xml_export_memattrs()
3128 mstate.new_prop(&mstate, "name", imattr->name); in hwloc__xml_export_memattrs()
3129 snprintf(tmp, sizeof(tmp), "%lu", imattr->flags); in hwloc__xml_export_memattrs()
3132 for(j=0; j<imattr->nr_targets; j++) in hwloc__xml_export_memattrs()
3133 hwloc__xml_export_memattr_target(&mstate, imattr, &imattr->targets[j]); in hwloc__xml_export_memattrs()
/dports/net/mpich/mpich-3.4.3/src/pm/hydra2/libhydra/topo/hwloc/hwloc/hwloc/
H A Dmemattrs.c41 imattr->name = name; in hwloc__setup_memattr()
42 imattr->flags = flags; in hwloc__setup_memattr()
43 imattr->iflags = iflags; in hwloc__setup_memattr()
45 imattr->nr_targets = 0; in hwloc__setup_memattr()
46 imattr->targets = NULL; in hwloc__setup_memattr()
112 hwloc__imtg_destroy(imattr, &imattr->targets[j]); in hwloc_internal_memattrs_destroy()
115 free(imattr->name); in hwloc_internal_memattrs_destroy()
475 int ret = hwloc__imtg_refresh(topology, imattr, &imattr->targets[j]); in hwloc__imattr_refresh()
479 memcpy(&imattr->targets[k], &imattr->targets[j], sizeof(*imattr->targets)); in hwloc__imattr_refresh()
537 news = realloc(imattr->targets, (imattr->nr_targets+1)*sizeof(*imattr->targets)); in hwloc__memattr_get_target()
[all …]
H A Dtopology-xml.c3059 struct hwloc_internal_memattr_s *imattr, in hwloc__xml_export_memattr_target() argument
3065 if (imattr->flags & HWLOC_MEMATTR_FLAG_NEED_INITIATOR) { in hwloc__xml_export_memattr_target()
3112 struct hwloc_internal_memattr_s *imattr; in hwloc__xml_export_memattrs() local
3121 imattr = &topology->memattrs[id]; in hwloc__xml_export_memattrs()
3123 && !imattr->nr_targets) in hwloc__xml_export_memattrs()
3128 mstate.new_prop(&mstate, "name", imattr->name); in hwloc__xml_export_memattrs()
3129 snprintf(tmp, sizeof(tmp), "%lu", imattr->flags); in hwloc__xml_export_memattrs()
3132 for(j=0; j<imattr->nr_targets; j++) in hwloc__xml_export_memattrs()
3133 hwloc__xml_export_memattr_target(&mstate, imattr, &imattr->targets[j]); in hwloc__xml_export_memattrs()
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/tools/topo/hwloc/hwloc/hwloc/
H A Dmemattrs.c41 imattr->name = name; in hwloc__setup_memattr()
42 imattr->flags = flags; in hwloc__setup_memattr()
43 imattr->iflags = iflags; in hwloc__setup_memattr()
45 imattr->nr_targets = 0; in hwloc__setup_memattr()
46 imattr->targets = NULL; in hwloc__setup_memattr()
112 hwloc__imtg_destroy(imattr, &imattr->targets[j]); in hwloc_internal_memattrs_destroy()
115 free(imattr->name); in hwloc_internal_memattrs_destroy()
475 int ret = hwloc__imtg_refresh(topology, imattr, &imattr->targets[j]); in hwloc__imattr_refresh()
479 memcpy(&imattr->targets[k], &imattr->targets[j], sizeof(*imattr->targets)); in hwloc__imattr_refresh()
537 news = realloc(imattr->targets, (imattr->nr_targets+1)*sizeof(*imattr->targets)); in hwloc__memattr_get_target()
[all …]
H A Dtopology-xml.c3059 struct hwloc_internal_memattr_s *imattr, in hwloc__xml_export_memattr_target() argument
3065 if (imattr->flags & HWLOC_MEMATTR_FLAG_NEED_INITIATOR) { in hwloc__xml_export_memattr_target()
3112 struct hwloc_internal_memattr_s *imattr; in hwloc__xml_export_memattrs() local
3121 imattr = &topology->memattrs[id]; in hwloc__xml_export_memattrs()
3123 && !imattr->nr_targets) in hwloc__xml_export_memattrs()
3128 mstate.new_prop(&mstate, "name", imattr->name); in hwloc__xml_export_memattrs()
3129 snprintf(tmp, sizeof(tmp), "%lu", imattr->flags); in hwloc__xml_export_memattrs()
3132 for(j=0; j<imattr->nr_targets; j++) in hwloc__xml_export_memattrs()
3133 hwloc__xml_export_memattr_target(&mstate, imattr, &imattr->targets[j]); in hwloc__xml_export_memattrs()
/dports/devel/hwloc2/hwloc-2.5.0/hwloc/
H A Dmemattrs.c41 imattr->name = name; in hwloc__setup_memattr()
42 imattr->flags = flags; in hwloc__setup_memattr()
43 imattr->iflags = iflags; in hwloc__setup_memattr()
45 imattr->nr_targets = 0; in hwloc__setup_memattr()
46 imattr->targets = NULL; in hwloc__setup_memattr()
112 hwloc__imtg_destroy(imattr, &imattr->targets[j]); in hwloc_internal_memattrs_destroy()
115 free(imattr->name); in hwloc_internal_memattrs_destroy()
475 int ret = hwloc__imtg_refresh(topology, imattr, &imattr->targets[j]); in hwloc__imattr_refresh()
479 memcpy(&imattr->targets[k], &imattr->targets[j], sizeof(*imattr->targets)); in hwloc__imattr_refresh()
537 news = realloc(imattr->targets, (imattr->nr_targets+1)*sizeof(*imattr->targets)); in hwloc__memattr_get_target()
[all …]
H A Dtopology-xml.c3063 struct hwloc_internal_memattr_s *imattr, in hwloc__xml_export_memattr_target() argument
3069 if (imattr->flags & HWLOC_MEMATTR_FLAG_NEED_INITIATOR) { in hwloc__xml_export_memattr_target()
3116 struct hwloc_internal_memattr_s *imattr; in hwloc__xml_export_memattrs() local
3125 imattr = &topology->memattrs[id]; in hwloc__xml_export_memattrs()
3127 && !imattr->nr_targets) in hwloc__xml_export_memattrs()
3132 mstate.new_prop(&mstate, "name", imattr->name); in hwloc__xml_export_memattrs()
3133 snprintf(tmp, sizeof(tmp), "%lu", imattr->flags); in hwloc__xml_export_memattrs()
3136 for(j=0; j<imattr->nr_targets; j++) in hwloc__xml_export_memattrs()
3137 hwloc__xml_export_memattr_target(&mstate, imattr, &imattr->targets[j]); in hwloc__xml_export_memattrs()
/dports/x11/xcb-imdkit/xcb-imdkit-1.0.3/src/
H A Dclientprotocolhandler.c90 xcb_xim_imattr_table_t *imattr = NULL; in _xcb_xim_handle_open_reply() local
91 HASH_FIND(hh, im->imattr, subframe->im_attribute, in _xcb_xim_handle_open_reply()
92 subframe->length_of_im_attribute, imattr); in _xcb_xim_handle_open_reply()
93 if (imattr) { in _xcb_xim_handle_open_reply()
97 imattr = malloc(sizeof(xcb_xim_imattr_table_t)); in _xcb_xim_handle_open_reply()
98 imattr->attr.attribute_ID = subframe->attribute_ID; in _xcb_xim_handle_open_reply()
101 imattr->attr.im_attribute = in _xcb_xim_handle_open_reply()
103 imattr->attr.im_attribute[imattr->attr.length_of_im_attribute] = 0; in _xcb_xim_handle_open_reply()
105 imattr->attr.length_of_im_attribute); in _xcb_xim_handle_open_reply()
107 HASH_ADD_KEYPTR(hh, im->imattr, imattr->attr.im_attribute, in _xcb_xim_handle_open_reply()
[all …]
H A Dimclient.c914 while (im->imattr) { in _xcb_xim_close()
915 xcb_xim_imattr_table_t *imattr = im->imattr; in _xcb_xim_close() local
916 HASH_DEL(im->imattr, im->imattr); in _xcb_xim_close()
917 free(imattr->attr.im_attribute); in _xcb_xim_close()
918 free(imattr); in _xcb_xim_close()
1079 xcb_xim_imattr_table_t *imattr = NULL; in _xcb_xim_find_imattr() local
1080 HASH_FIND_STR(im->imattr, attr, imattr); in _xcb_xim_find_imattr()
1081 return imattr; in _xcb_xim_find_imattr()
1280 if (imattr) { in xcb_xim_get_im_values()
1304 if (imattr) { in xcb_xim_get_im_values()
[all …]
H A Dprotocolhandler.c73 reply_frame.IM_attribute_supported.size = ARRAY_SIZE(im->imattr); in _xcb_im_handle_open()
75 reply_frame.IM_attribute_supported.items = im->imattr; in _xcb_im_handle_open()
199 if ((attr < im->imattr) || in _xcb_im_handle_get_im_values()
200 (attr >= im->imattr + ARRAY_SIZE(Default_IMattr))) { in _xcb_im_handle_get_im_values()
204 if (met[attr - im->imattr]) { in _xcb_im_handle_get_im_values()
208 if (!Default_IMattr[attr - im->imattr].get_value) { in _xcb_im_handle_get_im_values()
212 if (!Default_IMattr[attr - im->imattr].get_value(im, client, in _xcb_im_handle_get_im_values()
217 met[attr - im->imattr] = true; in _xcb_im_handle_get_im_values()
H A Dimclient_p.h148 xcb_xim_imattr_table_t *imattr; member
H A Dimdkit.c112 im->imattr[i].im_attribute = (uint8_t *)Default_IMattr[i].name; in xcb_im_create()
113 im->imattr[i].length_of_im_attribute = strlen(Default_IMattr[i].name); in xcb_im_create()
114 im->imattr[i].type_of_the_value = Default_IMattr[i].type; in xcb_im_create()
115 im->imattr[i].attribute_ID = id; in xcb_im_create()
116 im->id2attr[id] = &im->imattr[i]; in xcb_im_create()
H A Dimdkit_p.h199 xcb_im_ximattr_fr_t imattr[ARRAY_SIZE(Default_IMattr)]; member
/dports/japanese/kinput2/kinput2-v3.1/lib/imlib/
H A DImakefile3 SRCS = imattr.c imbuf.c imconv.c imdata.c imdispatch.c \
5 OBJS = imattr.o imbuf.o imconv.o imdata.o imdispatch.o \
/dports/japanese/skkinput/skkinput-2.06.4/
H A DChangeLog202 * imattr.c: deleted
240 * imattr.c (getFilterEvents): return 0
403 * imattr.c (setFilterEvents): added