Home
last modified time | relevance | path

Searched refs:text_prop (Results 1 – 25 of 143) sorted by relevance

123456

/dports/x11/p5-X11-Protocol-Other/X11-Protocol-Other-31/devel/
H A Dencode-dump.c52 static XTextProperty text_prop; in main() local
83 if (text_prop.value[1] != 0x24) { in main()
86 if (text_prop.value[3] < 0x46) { in main()
103 printf (" %02X", text_prop.value[i]); in main()
115 static XTextProperty text_prop; in main() local
122 text_prop.format = 8; in main()
123 text_prop.nitems = strlen(ctext); in main()
124 text_prop.value = (unsigned char *) ctext; in main()
162 static XTextProperty text_prop; in main() local
185 fwrite (text_prop.value, text_prop.nitems, 1, fp); in main()
[all …]
H A Dencode-xlib.c43 static XTextProperty text_prop; in main() local
51 &text_prop); in main()
54 printf ("text encoding %lu\n", text_prop.encoding); in main()
55 printf ("text encoding %s\n", XGetAtomName(display,text_prop.encoding)); in main()
56 printf ("text format %d\n", text_prop.format); in main()
57 printf ("text nitems %lu\n", text_prop.nitems); in main()
66 fwrite (text_prop.value, text_prop.nitems, 1, fp); in main()
H A DEncode-X11-xlib.c33 static XTextProperty text_prop; in main() local
59 text_prop.encoding = XInternAtom(display,"COMPOUND_TEXT",0); in main()
60 text_prop.format = 8; in main()
61 text_prop.nitems = clen; in main()
62 text_prop.value = (unsigned char *) cbuf; in main()
65 &text_prop, in main()
H A DEncode-X11-xlib2.c29 static XTextProperty text_prop; in main() local
74 text_prop.encoding = XInternAtom(display,"COMPOUND_TEXT",0); in main()
75 text_prop.format = 8; in main()
76 text_prop.nitems = blen; in main()
77 text_prop.value = (unsigned char *) bytes; in main()
80 &text_prop, in main()
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/
H A DXutil.cc53 XTextProperty text_prop; in getWMName() local
54 text_prop.value = 0; in getWMName()
60 if (XGetWMName(display, window, &text_prop)) { in getWMName()
61 if (text_prop.value && text_prop.nitems > 0) { in getWMName()
62 if (text_prop.encoding != XA_STRING) { in getWMName()
64 text_prop.nitems = strlen((char *) text_prop.value); in getWMName()
65 XmbTextPropertyToTextList(display, &text_prop, &list, &num); in getWMName()
70 … name = text_prop.value ? FbTk::FbStringUtil::XStrToFb((char *)text_prop.value) : ""; in getWMName()
76 name = text_prop.value ? FbTk::FbStringUtil::XStrToFb((char *)text_prop.value) : ""; in getWMName()
78 XFree(text_prop.value); in getWMName()
/dports/x11/deskmenu/deskmenu-1.4.5/src/
H A Dwindows.c38 XTextProperty text_prop; in get_icon_name() local
42 status = XGetWMIconName (dpy, win, &text_prop); in get_icon_name()
43 if (!status || !text_prop.value || !text_prop.nitems) in get_icon_name()
45 if (text_prop.encoding == XA_STRING) in get_icon_name()
47 if (!text_prop.value) in get_icon_name()
49 iconname = (char *) strdup (text_prop.value); in get_icon_name()
50 XFree (text_prop.value); in get_icon_name()
57 XmbTextPropertyToTextList (dpy, &text_prop, &list, &num); in get_icon_name()
60 XFree (text_prop.value); in get_icon_name()
/dports/x11/libX11/libX11-1.7.2/src/xlibi18n/
H A DlcPrTxt.c114 const XTextProperty *text_prop, in _XTextPropertyToTextList() argument
125 int unconv_num, nitems = text_prop->nitems; in _XTextPropertyToTextList()
137 if (text_prop->format != 8) in _XTextPropertyToTextList()
140 encoding = text_prop->encoding; in _XTextPropertyToTextList()
153 buf_len = (text_prop->nitems + 1) * sizeof(wchar_t); in _XTextPropertyToTextList()
156 buf_len = text_prop->nitems * 6 + 1; in _XTextPropertyToTextList()
158 buf_len = text_prop->nitems * XLC_PUBLIC(lcd, mb_cur_max) + 1; in _XTextPropertyToTextList()
178 last_ptr = str_ptr = (char *) text_prop->value; in _XTextPropertyToTextList()
249 const XTextProperty *text_prop, in _XmbTextPropertyToTextList() argument
261 const XTextProperty *text_prop, in _XwcTextPropertyToTextList() argument
[all …]
H A DlcTxtPr.c76 XTextProperty *text_prop) in _XTextListToTextProperty() argument
209 text_prop->value = (unsigned char *) value; in _XTextListToTextProperty()
210 text_prop->encoding = encoding; in _XTextListToTextProperty()
211 text_prop->format = 8; in _XTextListToTextProperty()
212 text_prop->nitems = (unsigned long) nitems; in _XTextListToTextProperty()
224 XTextProperty *text_prop) in _XmbTextListToTextProperty() argument
227 count, style, text_prop); in _XmbTextListToTextProperty()
237 XTextProperty *text_prop) in _XwcTextListToTextProperty() argument
240 count, style, text_prop); in _XwcTextListToTextProperty()
250 XTextProperty *text_prop) in _Xutf8TextListToTextProperty() argument
[all …]
H A DlcWrap.c351 const XTextProperty *text_prop, in XmbTextPropertyToTextList() argument
360 return (*lcd->methods->mb_text_prop_to_list)(lcd, dpy, text_prop, list_ret, in XmbTextPropertyToTextList()
367 const XTextProperty *text_prop, in XwcTextPropertyToTextList() argument
383 const XTextProperty *text_prop, in Xutf8TextPropertyToTextList() argument
392 return (*lcd->methods->utf8_text_prop_to_list)(lcd, dpy, text_prop, in Xutf8TextPropertyToTextList()
402 XTextProperty *text_prop) in XmbTextListToTextProperty() argument
410 text_prop); in XmbTextListToTextProperty()
419 XTextProperty *text_prop) in XwcTextListToTextProperty() argument
427 text_prop); in XwcTextListToTextProperty()
436 XTextProperty *text_prop) in Xutf8TextListToTextProperty() argument
[all …]
/dports/editors/biew/biew-610/
H A Dbiewhelp.c53 unsigned char text_prop; in hlpFillBuffer() local
57 text_prop = 0; in hlpFillBuffer()
66 case HLPC_BOLD_ON: text_prop |= HPROP_BOLD; break; in hlpFillBuffer()
67 case HLPC_ITALIC_ON: text_prop |= HPROP_ITALIC; break; in hlpFillBuffer()
70 case HLPC_REVERSE_ON: text_prop |= HPROP_REVERSE; break; in hlpFillBuffer()
71 case HLPC_LINK_ON: text_prop |= HPROP_LINK; break; in hlpFillBuffer()
72 case HLPC_BOLD_OFF: text_prop &= ~HPROP_BOLD; break; in hlpFillBuffer()
77 case HLPC_LINK_OFF: text_prop &= ~HPROP_LINK; break; in hlpFillBuffer()
101 if(text_prop & HPROP_BOLD) defcol = help_cset.bold; in hlpFillBuffer()
103 if(text_prop & HPROP_ITALIC) defcol = help_cset.italic; in hlpFillBuffer()
[all …]
/dports/x11-wm/oroborus/oroborus-2.0.20/src/
H A Di18n.c171 XTextProperty text_prop; in getWindowName() local
178 status = XGetWMName (dpy, w, &text_prop); in getWindowName()
179 if (!status || !text_prop.value || !text_prop.nitems) in getWindowName()
181 if (text_prop.encoding == XA_STRING) in getWindowName()
183 if (text_prop.value) in getWindowName()
185 *name = strdup ((char *)text_prop.value); in getWindowName()
186 XFree (text_prop.value); in getWindowName()
191 XmbTextPropertyToTextList (dpy, &text_prop, &list, &num); in getWindowName()
194 XFree (text_prop.value); in getWindowName()
/dports/x11-wm/fluxbox/fluxbox-1.3.7/util/
H A Dfluxbox-remote.cc74 XTextProperty text_prop; in main() local
75 if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0 in main()
76 && text_prop.value != 0 in main()
77 && text_prop.nitems > 0) { in main()
79 printf("%s", text_prop.value); in main()
80 XFree(text_prop.value); in main()
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/
H A DTxtPropCv.c576 XTextProperty *text_prop, in XmCvtTextPropertyToXmStringTable() argument
604 if (text_prop->encoding == atoms[XmACOMPOUND_TEXT]) in XmCvtTextPropertyToXmStringTable()
611 if (text_prop->value[i] == '\0') in XmCvtTextPropertyToXmStringTable()
617 for (i = 0, ptr = (char *)text_prop->value; in XmCvtTextPropertyToXmStringTable()
635 asn1_head = text_prop->value; in XmCvtTextPropertyToXmStringTable()
643 asn1_head = text_prop->value; in XmCvtTextPropertyToXmStringTable()
663 else if (text_prop->encoding == LOCALE_ATOM) in XmCvtTextPropertyToXmStringTable()
668 else if (text_prop->encoding == XA_STRING) in XmCvtTextPropertyToXmStringTable()
674 else if (text_prop->encoding == atoms[XmAUTF8_STRING]) in XmCvtTextPropertyToXmStringTable()
697 if (text_prop->value[i] == '\0') in XmCvtTextPropertyToXmStringTable()
[all …]
/dports/x11-toolkits/open-motif/motif-2.3.8/demos/lib/Exm/
H A DStringTrans.c898 XTextProperty text_prop; in ConvertCompoundString() local
938 text_prop.format = 8; in ConvertCompoundString()
976 (void) memcpy(*value, text_prop.value, text_prop.nitems + 1); in ConvertCompoundString()
977 XFree(text_prop.value); in ConvertCompoundString()
1004 XFree(text_prop.value); in ConvertCompoundString()
1007 (void) memcpy(*value, text_prop.value, text_prop.nitems + 1); in ConvertCompoundString()
1008 XFree(text_prop.value); in ConvertCompoundString()
1031 XFree(text_prop.value); in ConvertCompoundString()
1034 (void) memcpy(*value, text_prop.value, text_prop.nitems + 1); in ConvertCompoundString()
1035 XFree(text_prop.value); in ConvertCompoundString()
[all …]
/dports/www/ilias/ILIAS-5.4.25/Services/Administration/classes/
H A Dclass.ilObjExternalToolsSettingsGUI.php127 $text_prop->setValue($path_to_mathjax);
128 $text_prop->setRequired(true);
129 $text_prop->setMaxLength(400);
130 $text_prop->setSize(100);
131 $enable->addSubItem($text_prop);
160 $text_prop->setInfo($lng->txt("mathjax_server_address_info"));
161 $text_prop->setValue($mathJaxSetting->get("server_address"));
162 $text_prop->setRequired(true);
163 $text_prop->setMaxLength(400);
164 $text_prop->setSize(100);
[all …]
/dports/www/ilias6/ILIAS-6.14/Services/Administration/classes/
H A Dclass.ilObjExternalToolsSettingsGUI.php127 $text_prop->setValue($path_to_mathjax);
128 $text_prop->setRequired(true);
129 $text_prop->setMaxLength(400);
130 $text_prop->setSize(100);
131 $enable->addSubItem($text_prop);
160 $text_prop->setInfo($lng->txt("mathjax_server_address_info"));
161 $text_prop->setValue($mathJaxSetting->get("server_address"));
162 $text_prop->setRequired(true);
163 $text_prop->setMaxLength(400);
164 $text_prop->setSize(100);
[all …]
/dports/x11-wm/blackbox/blackbox-0.70.1/lib/
H A DUtil.cc197 ::XTextProperty& text_prop) { in textPropertyToString() argument
200 if (text_prop.value && text_prop.nitems > 0) { in textPropertyToString()
201 if (text_prop.encoding == XA_STRING) { in textPropertyToString()
202 ret = reinterpret_cast<char *>(text_prop.value); in textPropertyToString()
204 text_prop.nitems = strlen(reinterpret_cast<char *>(text_prop.value)); in textPropertyToString()
208 if (XmbTextPropertyToTextList(display, &text_prop, in textPropertyToString()
/dports/x11-wm/herbstluftwm/herbstluftwm-0.9.2/ipc-client/
H A Dipc-client.c98 XTextProperty text_prop; in hc_send_command() local
99 Xutf8TextListToTextProperty(con->display, argv, argc, XUTF8StringStyle, &text_prop); in hc_send_command()
100 XSetTextProperty(con->display, con->client_window, &text_prop, con->atom_args); in hc_send_command()
101 XFree(text_prop.value); in hc_send_command()
243 XTextProperty text_prop; in hc_next_hook() local
244 XGetTextProperty(con->display, win, &text_prop, pe->atom); in hc_next_hook()
247 if (Success != Xutf8TextPropertyToTextList(con->display, &text_prop, in hc_next_hook()
249 XFree(text_prop.value); in hc_next_hook()
257 XFree(text_prop.value); in hc_next_hook()
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/
H A Dmisc.c66 XTextProperty text_prop; in wFetchName() local
71 if (text_prop.value && text_prop.nitems > 0) { in wFetchName()
74 XFree(text_prop.value); in wFetchName()
76 text_prop.nitems = strlen((char *)text_prop.value); in wFetchName()
79 XFree(text_prop.value); in wFetchName()
84 XFree(text_prop.value); in wFetchName()
103 XTextProperty text_prop; in wGetIconName() local
107 if (XGetWMIconName(dpy, win, &text_prop) != 0 && text_prop.value && text_prop.nitems > 0) { in wGetIconName()
108 if (text_prop.encoding == XA_STRING) in wGetIconName()
111 text_prop.nitems = strlen((char *)text_prop.value); in wGetIconName()
[all …]
/dports/x11-wm/libwraster/WindowMaker-0.95.9/src/
H A Dmisc.c66 XTextProperty text_prop; in wFetchName() local
71 if (text_prop.value && text_prop.nitems > 0) { in wFetchName()
74 XFree(text_prop.value); in wFetchName()
76 text_prop.nitems = strlen((char *)text_prop.value); in wFetchName()
79 XFree(text_prop.value); in wFetchName()
84 XFree(text_prop.value); in wFetchName()
103 XTextProperty text_prop; in wGetIconName() local
107 if (XGetWMIconName(dpy, win, &text_prop) != 0 && text_prop.value && text_prop.nitems > 0) { in wGetIconName()
108 if (text_prop.encoding == XA_STRING) in wGetIconName()
111 text_prop.nitems = strlen((char *)text_prop.value); in wGetIconName()
[all …]
/dports/x11-wm/herbstluftwm/herbstluftwm-0.9.2/src/
H A Dipc-server.cpp45 XTextProperty text_prop; in handleConnection() local
46 if (!XGetTextProperty(X.display(), win, &text_prop, X.atom(HERBST_IPC_ARGS_ATOM))) { in handleConnection()
53 if (Success != Xutf8TextPropertyToTextList(X.display(), &text_prop, &list_return, &count)) { in handleConnection()
57 XFree(text_prop.value); in handleConnection()
76 XFree(text_prop.value); in handleConnection()
/dports/devel/glade/glade-3.22.1/plugins/gtk+/
H A Dglade-gtk-entry-buffer.c32 const gchar *text_prop = NULL; in glade_gtk_entry_buffer_changed() local
43 glade_property_get (prop, &text_prop); in glade_gtk_entry_buffer_changed()
45 if (text_prop == NULL || g_strcmp0 (text, text_prop)) in glade_gtk_entry_buffer_changed()
/dports/databases/rrdtool12/rrdtool-1.2.30/src/
H A Drrd_graph.c39 text_prop_t text_prop[] = { variable
2270 im->text_prop[TEXT_PROP_UNIT].font, in grid_paint()
3275 for(i=0;i<DIM(text_prop);i++){ in rrd_graph_init()
3276 … strncpy(text_prop[i].font,rrd_win_default_font,sizeof(text_prop[i].font)-1); in rrd_graph_init()
3277 text_prop[i].font[sizeof(text_prop[i].font)-1] = '\0'; in rrd_graph_init()
3286 for(i=0;i<DIM(text_prop);i++){ in rrd_graph_init()
3287 strncpy(text_prop[i].font,deffont,sizeof(text_prop[i].font)-1); in rrd_graph_init()
3288 text_prop[i].font[sizeof(text_prop[i].font)-1] = '\0'; in rrd_graph_init()
3292 for(i=0;i<DIM(text_prop);i++){ in rrd_graph_init()
3293 im->text_prop[i].size = text_prop[i].size; in rrd_graph_init()
[all …]
/dports/www/ilias/ILIAS-5.4.25/Modules/DataCollection/classes/Fields/
H A Dclass.ilDclFieldEditGUI.php247 $text_prop = new ilTextInputGUI($lng->txt("title"), "title");
248 $text_prop->setRequired(true);
249 …$text_prop->setInfo(sprintf($lng->txt('fieldtitle_allow_chars'), ilDclBaseFieldModel::_getTitleInv…
250 $text_prop->setValidationRegexp(ilDclBaseFieldModel::_getTitleInvalidChars(true));
251 $this->form->addItem($text_prop);
254 $text_prop = new ilTextAreaInputGUI($lng->txt("dcl_field_description"), "description");
255 $this->form->addItem($text_prop);
/dports/www/ilias6/ILIAS-6.14/Modules/DataCollection/classes/Fields/
H A Dclass.ilDclFieldEditGUI.php245 $text_prop = new ilTextInputGUI($lng->txt("title"), "title");
246 $text_prop->setRequired(true);
247 …$text_prop->setInfo(sprintf($lng->txt('fieldtitle_allow_chars'), ilDclBaseFieldModel::_getTitleInv…
248 $text_prop->setValidationRegexp(ilDclBaseFieldModel::_getTitleInvalidChars(true));
249 $this->form->addItem($text_prop);
252 $text_prop = new ilTextAreaInputGUI($lng->txt("dcl_field_description"), "description");
253 $this->form->addItem($text_prop);

123456