| /xsrc/local/programs/x11-ssh-askpass/ |
| resources.c | 51 get_string_resource (char *res_name, char *res_class) 59 progname, res_name); 62 progname, res_name); 83 get_boolean_resource (char *res_name, char *res_class, Bool default_value) 86 char *s = get_string_resource (res_name, res_class); 104 progname, res_name, buf); 109 get_integer_resource (char *res_name, char *res_class, int default_value) 112 char c, *s = get_string_resource (res_name, res_class); 136 progname, res_name, s); 142 get_float_resource (char *res_name, char *res_class [all...] |
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| IMWrap.c | 115 XOpenIM(Display *display, XrmDatabase rdb, char *res_name, char *res_class) 121 return (*lcd->methods->open_im) (lcd, display, rdb, res_name, res_class); 168 char *res_name, 177 return( (*lcd->methods->register_callback)( lcd, display, rdb, res_name, 189 char *res_name, 200 return( (*lcd->methods->unregister_callback)( lcd, display, rdb, res_name,
|
| XDefaultIMIF.c | 168 char *res_name, 214 im->core.res_name = NULL; 217 if ((res_name != NULL) && (*res_name != '\0')){ 218 im->core.res_name = strdup(res_name); 243 XFree(im->core.res_name);
|
| XlcDL.c | 377 char *res_name, char *res_class) 400 im = (*im_openIM)(lcd, display, rdb, res_name, res_class); 418 char *res_name, 445 res_name, res_class, 462 char *res_name, 490 res_name, res_class, 517 _Xconst char *res_name, _Xconst char *res_class) 539 om = (*om_openOM)(lcd, display, rdb, res_name, res_class);
|
| XlcGeneric.h | 159 char *res_name,
|
| /xsrc/external/mit/libX11/dist/src/ |
| WMProps.c | 117 if (!classHints->res_name) { 118 tmp.res_name = getenv ("RESOURCE_NAME"); 119 if (!tmp.res_name && argv && argv[0]) { 125 tmp.res_name = (cp ? cp + 1 : argv[0]);
|
| OMWrap.c | 33 XOpenOM(Display *dpy, XrmDatabase rdb, _Xconst char *res_name, 42 return (*lcd->methods->open_om)(lcd, dpy, rdb, res_name, res_class);
|
| GetHints.c | 319 if (! (classhint->res_name = Xmalloc(len_name + 1))) { 323 strcpy(classhint->res_name, (char *) data); 327 Xfree(classhint->res_name); 328 classhint->res_name = (char *) NULL;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| winmultiwindowclass.c | 48 winMultiWindowGetClassHint (WindowPtr pWin, char **res_name, char **res_class) 54 if (!pWin || !res_name || !res_class) 56 ErrorF ("winMultiWindowGetClassHint - pWin, res_name, or res_class was " 68 *res_name = *res_class = NULL; 79 (*res_name) = malloc (len_name + 1); 81 if (!*res_name) 83 ErrorF ("winMultiWindowGetClassHint - *res_name was NULL\n"); 88 strncpy ((*res_name), prop->data, len_name + 1); 101 /* Free the previously allocated res_name */ 102 free (*res_name); [all...] |
| winprefs.c | 447 char *res_name, *res_class; local 462 if (winMultiWindowGetClassHint (pWin, &res_name, &res_class)) 466 if (!strcmp(pref.sysMenu[i].match, res_name) || 469 free(res_name); 479 free(res_name); 643 char *res_name, *res_class; local 652 if (!winMultiWindowGetClassHint (pWin, &res_name, &res_class)) 658 if (!strcmp(pref.icon[i].match, res_name) || 662 free (res_name); 680 free (res_name); 819 char *res_name, *res_class; local [all...] |
| winmultiwindowclass.h | 100 winMultiWindowGetClassHint (WindowPtr pWin, char **res_name, char **res_class);
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imInsClbk.c | 47 char *res_name; member in struct:_XimInstCallback 117 icb->res_name, 158 char *res_name, 188 icb->res_name = res_name; 201 xim = (*lcd->methods->open_im)( lcd, display, rdb, res_name, res_class ); 232 char *res_name, 251 ((res_name == NULL && icb->res_name == NULL) || 252 (res_name != NULL && icb->res_name != NULL & [all...] |
| imInt.c | 201 char *res_name, 214 im->core.res_name = NULL; 216 if((res_name != NULL) && (*res_name != '\0')){ 217 if(!(im->core.res_name = strdup(res_name))) 246 Xfree(im->core.res_name);
|
| imRm.c | 77 char* res_name; local 95 res_name_len = strlen (im->core.res_name); 97 res_name = res_name_buf; 102 res_name = Xmalloc (res_name_len); 115 (void) snprintf (res_name, res_name_len, "%s%s%s", 116 im->core.res_name != NULL ? im->core.res_name : "*", 117 im->core.res_name != NULL ? dotximdot : ximdot, 124 if(XrmGetResource(im->core.rdb, res_name, res_class, &str_type, &value)) { 130 (void) snprintf (res_name, res_name_len, "%s%s%s" [all...] |
| imThaiIm.c | 171 if(im->core.res_name) { 172 Xfree(im->core.res_name); 173 im->core.res_name = NULL;
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| winmultiwindowclass.c | 47 winMultiWindowGetClassHint(WindowPtr pWin, char **res_name, char **res_class) 53 if (!pWin || !res_name || !res_class) { 54 ErrorF("winMultiWindowGetClassHint - pWin, res_name, or res_class was " 66 *res_name = *res_class = NULL; 78 (*res_name) = malloc(len_name + 1); 80 if (!*res_name) { 81 ErrorF("winMultiWindowGetClassHint - *res_name was NULL\n"); 86 strncpy((*res_name), prop->data, len_name); 87 (*res_name)[len_name] = '\0'; 98 /* Free the previously allocated res_name */ [all...] |
| winprefs.h | 170 HICON winOverrideIcon(char *res_name, char *res_class, char *wmName); 173 winOverrideStyle(char *res_name, char *res_class, char *wmName);
|
| winprefs.c | 411 char *res_name, *res_class; local 424 if (winMultiWindowGetClassHint(pWin, &res_name, &res_class)) { 426 if (!strcmp(pref.sysMenu[i].match, res_name) || 428 free(res_name); 438 free(res_name); 614 winOverrideIcon(char *res_name, char *res_class, char *wmName) 620 if ((res_name && !strcmp(pref.icon[i].match, res_name)) || 790 winOverrideStyle(char *res_name, char *res_class, char *wmName) 795 if ((res_name && !strcmp(pref.style[i].match, res_name)) | [all...] |
| winmultiwindowclass.h | 121 winMultiWindowGetClassHint(WindowPtr pWin, char **res_name, char **res_class);
|
| /xsrc/external/mit/smproxy/dist/ |
| save.c | 208 if (!write_counted_string (proxyFile, theWindow->class.res_name)) 246 entry->class.res_name = NULL; 254 if (!read_counted_string (proxyFile, &entry->class.res_name)) 285 if (entry->class.res_name) 286 free (entry->class.res_name); 455 strcmp (theWindow->class.res_name, ptr->class.res_name) == 0 &&
|
| /xsrc/external/mit/twm/dist/src/ |
| list.c | 127 /* look for the res_name next */ 129 if (strcmp(xclass->res_name, nptr->name) == 0) 175 if (strcmp(xclass->res_name, nptr->name) == 0) {
|
| /xsrc/external/mit/ctwm/dist/ |
| functions_warp.c | 53 if(!strncmp(action, tw->class.res_name, len)) { 56 if(match(action, tw->class.res_name)) {
|
| list.c | 113 /* look for the res_name next */ 115 if(match(nptr->name, class->res_name)) { 157 if(match(nptr->name, class->res_name)) { 211 if(match(nptr->name, class->res_name)) {
|
| /xsrc/external/mit/editres/dist/ |
| svpopup.c | 285 char *res_name, *res_value; local 295 XtSetArg(args[0], (String)XtNstring, &res_name); 302 _XEditResPutString8(stream, res_name);
|
| /src/sys/dev/acpi/ |
| acpi_power.c | 84 char res_name[5]; member in struct:acpi_power_res 140 (void)strlcpy(res->res_name, 141 acpi_xname(hdl), sizeof(res->res_name)); 166 "power resource queue\n", res->res_name)); 529 "by %s\n", res->res_name, acpi_xname(ref))); 550 "by %s\n", res->res_name, acpi_xname(ref)));
|