Searched defs:filename (Results 1 - 15 of 15) sorted by relevance

/solaris-x11-s11/open-src/app/cmap_compact/sun-src/
H A Dcmcdiscard.c41 const char *filename = comp_colors_filename(basename_arg); local
43 if (unlink(filename) < 0)
44 fatal_error("cannot remove file '%s'", filename);
H A DcmcNeWSinit.c52 const char *filename; local
55 filename = comp_colors_filename(basename_arg);
56 if ((f = fopen(filename, "r")) == NULL)
H A Dcmcshow.c42 const char *filename; local
45 filename = comp_colors_filename(basename_arg);
46 if ((f = fopen(filename, "r")) == NULL)
47 fatal_error("cannot open file '%s' for reading\n", filename);
H A Dcmcinit.c140 const char *filename; local
151 filename = comp_colors_filename(basename_arg);
152 if ((f = fopen(filename, "r")) == NULL)
H A Dcmcsave.c217 const char *filename; local
228 filename = comp_colors_filename(basename_arg);
229 if ((f = fopen(filename, "w")) == NULL)
230 fatal_error("cannot open file '%s' for writing", filename);
260 fatal_error("cannot write to file %s", filename);
H A Dcmcutil.c98 static char filename[256]; local
106 sprintf(filename, "%s/%s", homedir, relname);
107 return filename;
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_open_master.c63 char *filename; /* Ptr to filename within pathname[] */ local
85 filename = pathname + strlen(pathname);
111 &pathname[FBC_MAX_DEV_PATH_LEN] - filename) {
114 strcpy(filename, entry->d_name);
H A Dfbc_dev.c177 * The simple filename component must match "*:<devname>".
186 * Construct the device pathname and point to the simple filename
205 * Decompose the device simple filename into:
298 char *filename; /* Simple filename (e.g. "fb") */ member in struct:__anon20
314 * * Simple device filename (e.g. "efb0a")
356 * Decompose the simple filename of the frame buffer device
370 * * Simple device filename (e.g. "efb0a")
411 (strcmp(device_arg, default_dev->filename) == 0)) {
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1AsciiSrcP.h110 String filename; /* name of file for Compatability. */ member in struct:_AsciiSrcPart
H A DXaw3_1MailboxP.h34 String filename; /* filename to watch */ member in struct:__anon308
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DAsciiSrcP.h142 String filename; /* name of file for Compatability. */ member in struct:_AsciiSrcPart
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Ddga_ab.c62 #define STORE_BUFFERS(buf_addr, filename, fn_addr0, allocsize) \
67 if ( filename && fn_addr0) { \
74 get_specified_buffer((char *)filename, allocsize); \
89 get_specified_buffer(char *filename, int allocsize) argument
94 if ( filename && filename[0] ) {
95 if ((filefd = open(filename,O_RDWR,0666)) != -1 ) {
116 char *filename; local
473 char *filename; local
H A Dwin_grab.c335 char filename[sizeof(GRABFILE)+NDIGITS+1]; local
495 sprintf(filename, "%s%08x", GRABFILE, token);
497 if ((filefd = open(filename,O_RDWR,0666))<0) {
1341 char filename[sizeof(GRABFILE)+NDIGITS+1]; local
1366 sprintf(filename, "%s%08x", GRABFILE, clientp->w_token);
1368 if ((filefd = open(filename,O_RDWR,0666))<0) {
1391 sprintf(filename, "%s%08x", GRABFILE, clientp->w_token);
1393 if ((filefd = open(filename,O_RDWR,0666))<0) {
1417 sprintf(filename, "%s%08x", GRABFILE, clientp->w_token);
1419 if ((filefd = open(filename,O_RDW
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DcsfindNX.c437 char *filename = &filenamebuf[0]; local
454 (void) getHomeDir(filename);
455 (void) strcat(filename, "/.Xdefaults");
457 serverDB = XrmGetFileDatabase(filename);
464 env = getHomeDir(filename);
465 (void) strcat(filename, "/.Xdefaults-");
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconfig/
H A Dfbconfig.c155 const char *filename; /* Ptr to X server simple filename */ local
211 * Evaluate the simple filename
213 filename = strrchr(pathname, '/');
214 if (filename == NULL) {
215 filename = pathname;
217 filename += 1;
219 if (strcmp(filename, "Xsun") == 0) {
222 if (strcmp(filename, "Xorg") == 0) {
419 char *filename; /* Simpl member in struct:__anon91
[all...]

Completed in 1369 milliseconds