Searched refs:app_resources (Results 1 - 23 of 23) sorted by relevance

/xsrc/external/mit/xmh/dist/
H A Dmain.c40 struct _resources app_resources; variable in typeref:struct:_resources
79 (unsigned long) app_resources.rescan_interval,
96 (unsigned long) app_resources.checkpoint_interval,
111 (unsigned long) app_resources.mail_interval,
130 if (app_resources.new_mail_check && app_resources.mail_interval > 0) {
131 app_resources.mail_interval *= 60000;
135 if (app_resources.rescan_interval > 0) {
136 app_resources.rescan_interval *= 60000;
138 (unsigned long) app_resources
[all...]
H A Dinit.c191 if (geo == NULL) geo = app_resources.geometry;
410 XtGetApplicationResources( toplevel, (XtPointer)&app_resources,
414 if (app_resources.app_defaults_version < MIN_APP_DEFAULTS_VERSION)
418 if (app_resources.mail_waiting_flag) app_resources.new_mail_check = True;
419 if (app_resources.mail_interval == -1)
420 app_resources.mail_interval = app_resources.check_frequency;
421 if (app_resources.checkpoint_interval == -1)
422 app_resources
[all...]
H A Dtoc.c48 if (snprintf(str, sizeof(str), "%s/%s", app_resources.mail_path, name)
64 if (snprintf(str, sizeof(str), "%s/%s", app_resources.mail_path, name)
67 *numfoldersptr = ScanDir(app_resources.mail_path, namelistptr, IsDir);
95 app_resources.mail_path, name) >= sizeof(subfolder_path))
112 app_resources.mail_path, toc->foldername);
145 } else if ( app_resources.initial_inc_file &&
146 *app_resources.initial_inc_file)
147 InitialFolder->incfile = app_resources.initial_inc_file;
161 numFolders = ScanDir(app_resources.mail_path, &namelist, IsDir);
163 (void) mkdir(app_resources
[all...]
H A Dxmh.h72 if (app_resources.debug) \
76 if (app_resources.debug) \
80 if (app_resources.debug) \
H A Dscreen.c171 callbacks[1].callback = (app_resources.sticky_menu
185 if (mbd->id == XMH_OPTION && app_resources.reverse_read_order)
212 if (app_resources.command_button_count > 0)
234 if (app_resources.new_mail_check &&
242 if (app_resources.command_button_count > 0) {
244 if (app_resources.command_button_count > 500)
245 app_resources.command_button_count = 500;
246 for (i=1; i <= app_resources.command_button_count; i++) {
287 (XtArgVal)app_resources.toc_geometry; break;
289 (XtArgVal)app_resources
[all...]
H A Dtocfuncs.c88 while (msg && ((app_resources.skip_deleted && fate == Fdelete)
89 || (app_resources.skip_moved && fate == Fmove)
90 || (app_resources.skip_copied && fate == Fcopy))) {
121 app_resources.reverse_read_order =
122 (app_resources.reverse_read_order ? False : True);
123 ToggleMenuItem(widget, app_resources.reverse_read_order);
134 (app_resources.reverse_read_order ? False : True));
156 (app_resources.reverse_read_order ? True : False));
345 MarkMessages(scrn, Fdelete, app_resources.skip_deleted);
356 MarkMessages(scrn, Fcopy, app_resources
[all...]
H A Dbbox.c363 if (up && flag != app_resources.flag_up) {
364 XtSetArg(args[0], XtNleftBitmap, app_resources.flag_up);
367 else if (!up && flag != app_resources.flag_down) {
368 XtSetArg(args[0], XtNleftBitmap, app_resources.flag_down);
H A Dutil.c55 if (app_resources.debug) {
110 snprintf(name, sizeof(name), "%s/xmh_%ld_%d", app_resources.temp_dir,
328 arglist[0].value = (XtArgVal) app_resources.banner; /* xmh version */
432 if (! app_resources.block_events_on_busy || scrn->wait_window)
441 attributes.cursor = app_resources.busy_cursor;
H A Dmsg.c95 if (msg == NULL) (void) strcpy(str, app_resources.banner);
134 if (app_resources.hide_boring_headers && scrn->kind != STcomp) {
649 sendwidth = app_resources.send_line_width;
650 sendbreakwidth = app_resources.break_send_line_width;
858 if (*app_resources.checkpoint_name_format == '/') {
860 app_resources.checkpoint_name_format, msg->msgid);
865 app_resources.checkpoint_name_format, msg->msgid);
900 if (app_resources.insert_filter && *app_resources.insert_filter) {
905 snprintf(command, sizeof(command), "%s %s", app_resources
[all...]
H A Dglobals.h95 extern struct _resources app_resources;
H A Dtocutil.c145 snprintf(str, sizeof(str), "%d", app_resources.toc_width);
364 int bufsiz = app_resources.toc_width + 1;
391 if (l == app_resources.toc_width && buf[bufsiz-2] != '\n') {
397 while (ptr && (int) strlen(ptr) == app_resources.toc_width
508 if (app_resources.block_events_on_busy) ShowBusyCursor();
516 if (app_resources.block_events_on_busy) UnshowBusyCursor();
576 XtAsprintf(&toc->path, "%s/%s", app_resources.mail_path,
H A Dcommand.c84 snprintf(result, sizeof(result), "%s/%s", app_resources.mh_path, str);
152 if (!app_resources.debug) { /* Throw away stdout. */
H A Dviewfuncs.c250 snprintf(str, sizeof(str), "%s %s", app_resources.print_command,
H A Dpopup.c245 XtAugmentTranslations(popup, app_resources.wm_protocols_translations);
247 XDefineCursor(XtDisplay(popup), XtWindow(popup), app_resources.cursor);
H A Dfolder.c283 app_resources.mail_path);
482 && (strcmp(foldername, app_resources.initial_folder_name)))
665 * app_resources.mail_path, '/', and the name of the button,
682 app_resources.mail_path, button->name) < sizeof(directory))
H A Dpick.c428 if (app_resources.debug) {
433 if (app_resources.block_events_on_busy) ShowBusyCursor();
439 if (app_resources.block_events_on_busy) UnshowBusyCursor();
/xsrc/external/mit/xconsole/dist/
H A Dxconsole.c113 } app_resources; variable in typeref:struct:_app_resources
198 if (app_resources.file)
200 if (!strcmp (app_resources.file, "console"))
238 if (input && app_resources.verbose)
250 if (access(app_resources.file, R_OK) == 0)
252 int fd = open (app_resources.file,
270 if (app_resources.exitOnFail)
273 TextAppend (text, app_resources.file, strlen (app_resources.file));
314 if (!iconified || !app_resources
[all...]
/xsrc/external/mit/xedit/dist/
H A Dxedit.c90 struct _app_resources app_resources; variable in typeref:struct:_app_resources
163 XtGetApplicationResources(topwindow, (XtPointer) &app_resources, resources,
299 if (!flist.pixmap && strlen(app_resources.changed_pixmap_name)) {
302 from.size = strlen(app_resources.changed_pixmap_name);
303 from.addr = app_resources.changed_pixmap_name;
483 char *fmt = app_resources.position_format;
548 char buffer[256], *str = app_resources.position_format;
633 xedit_hints *hints = &(app_resources.hints);
H A Dtags.c156 if (app_resources.loadTags) {
166 if (app_resources.tagsName[0] == '/')
167 tagsfile = ResolveName(app_resources.tagsName);
172 ptr = ResolveName(app_resources.tagsName);
190 strncpy(ptr, app_resources.tagsName,
326 length = strlen(tagsfile) - strlen(app_resources.tagsName);
H A Dcommands.c130 if (app_resources.backupNamePrefix
131 && strlen(app_resources.backupNamePrefix)) {
132 if (strchr(app_resources.backupNamePrefix, '/'))
133 XmuSnprintf(buf, len, "%s%s%s", app_resources.backupNamePrefix,
134 filename, app_resources.backupNameSuffix);
149 fname, app_resources.backupNamePrefix, ch, name,
150 app_resources.backupNameSuffix);
155 filename, app_resources.backupNameSuffix);
279 if (app_resources.enableBackups && exists) {
H A Dxedit.h110 } app_resources; variable in typeref:struct:_app_resources
H A Dhook.c192 char ch, *tmp, *left, *right, *replace = app_resources.auto_replace;
/xsrc/external/mit/xdm/dist/chooser/
H A Dchooser.c127 } app_resources; variable in typeref:struct:_app_resources
670 if (app_resources.xdmAddress)
684 xdm = (char *) app_resources.xdmAddress->data;
725 XdmcpWriteARRAY8 (&buffer, app_resources.clientAddress);
726 XdmcpWriteCARD16 (&buffer, (CARD16) app_resources.connectionType);
1028 XtGetApplicationResources (toplevel, (XtPointer) &app_resources, resources,

Completed in 25 milliseconds