Searched refs:filename (Results 1 - 13 of 13) sorted by relevance

/solaris-x11-s12/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 Dcmcsave.c214 const char *filename; local
225 filename = comp_colors_filename(basename_arg);
226 if ((f = fopen(filename, "w")) == NULL)
227 fatal_error("cannot open file '%s' for writing", filename);
257 fatal_error("cannot write to file %s", filename);
H A Dcmcinit.c139 const char *filename; local
150 filename = comp_colors_filename(basename_arg);
151 if ((f = fopen(filename, "r")) == NULL)
H A Dcmcutil.c94 static char filename[256]; local
102 sprintf(filename, "%s/%s", homedir, relname);
103 return filename;
/solaris-x11-s12/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-s12/open-src/common/
H A Dsuntouch-manpages.pl89 my $filename;
91 while ($filename = shift) {
92 rename($filename, "$filename.orig")
93 || die "Cannot rename $filename to $filename.orig: $!";
94 open(IN, '<', "$filename.orig")
95 || die "Cannot read $filename.orig: $!";
96 open(OUT, '>', $filename)
97 || die "Cannot write to $filename
[all...]
H A Ddelibtoolize.pl178 my ($filename) = @_;
180 print "delibtoolizing $filename...\n";
182 my $old_file = $filename . '~';
183 my $new_file = $filename;
262 my $pat = $filename . "::";
/solaris-x11-s12/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
496 sprintf(filename, "%s%08x", GRABFILE, token);
498 if ((filefd = open(filename,O_RDWR,0666))<0) {
1346 char filename[sizeof(GRABFILE)+NDIGITS+1]; local
1371 sprintf(filename, "%s%08x", GRABFILE, clientp->w_token);
1373 if ((filefd = open(filename,O_RDWR,0666))<0) {
1396 sprintf(filename, "%s%08x", GRABFILE, clientp->w_token);
1398 if ((filefd = open(filename,O_RDWR,0666))<0) {
1422 sprintf(filename, "%s%08x", GRABFILE, clientp->w_token);
1424 if ((filefd = open(filename,O_RDW
[all...]
/solaris-x11-s12/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 959 milliseconds