Searched defs:file (Results 1 - 25 of 321) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libparted/common/lib/
H A Ddirname.c1 /* dirname.c -- return all but the last element in a file name
32 dir_name (char const *file) argument
34 char *result = mdir_name (file);
H A Dstripslash.c1 /* stripslash.c -- remove redundant trailing slashes from a file name
24 was removed. This is useful when using file name completion from a
31 strip_trailing_slashes (char *file) argument
33 char *base = last_component (file);
37 /* last_component returns "" for file system roots, but we need to turn
40 base = file;
H A Ddirname-lgpl.c1 /* dirname.c -- return all but the last element in a file name
32 dir_len (char const *file) argument
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file);
40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
48 for (length = last_component (file) - file;
50 if (! ISSLASH (file[lengt
71 mdir_name(char const *file) argument
[all...]
H A Dcloseout.c38 /* Set the file name to be reported in the event an error is detected
41 close_stdout_set_file_name (const char *file) argument
43 file_name = file;
/osnet-11/usr/src/lib/libcurses/screen/
H A D_scr_init.c4 * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49 scr_init(char *file) argument
51 return (_scr_all(file, 0));
H A D_scr_restore.c4 * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49 scr_restore(char *file) argument
51 return (_scr_all(file, 1));
H A D_scr_set.c4 * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49 scr_set(char *file) argument
51 return (_scr_all(file, 2));
H A Dscr_dump.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 * Dump a screen image to a file. This routine and scr_reset
53 scr_dump(char *file) argument
58 if ((filep = fopen(file, "wF")) == NULL) {
62 "\"%s\".\n", file);
H A Dscr_all.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
47 /* Set <screen> idea of the screen image to that stored in "file". */
50 _scr_all(char *file, int which) argument
55 if ((filep = fopen(file, "rF")) == NULL)
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfopen.c31 Sfio_t* sfopen(Sfio_t* f, const char* file, const char* mode) argument
33 Sfio_t* sfopen(f,file,mode)
35 char* file; /* file/string to be opened */
39 return _sfopen(f, file, mode);
/osnet-11/usr/src/lib/libc/port/sys/
H A Dexecv.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33 * execv(file, argv)
47 execv(const char *file, char *const argv[]) argument
50 return (execve(file, argv, _environ));
/osnet-11/usr/src/lib/libpp/common/
H A Dppline.c31 ppline(int line, char* file) argument
41 ppline(1, file);
42 file = error_info.file;
47 else if (file != pp.lastfile)
50 pp.firstfile = file;
51 type[1] = ((pp.flags & PP_linetype) && !*pp.lineid && pp.lastfile) ? (line <= 1 ? (file == pp.firstfile ? PP_sync : PP_sync_push) : PP_sync_pop) : PP_sync;
52 pp.lastfile = file;
57 file = 0;
80 if (file)
[all...]
H A Dppincref.c32 ppincref(char* parent, char* file, int line, int type) argument
47 error(0, "%-*s%s", level * 4, "", file);
H A Dppmacref.c31 ppmacref(struct ppsymbol* sym, char* file, int line, int type, unsigned long sum) argument
35 NoP(file);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstripslash.c1 /* stripslash.c -- remove redundant trailing slashes from a file name
24 was removed. This is useful when using file name completion from a
31 strip_trailing_slashes (char *file) argument
33 char *base = last_component (file);
37 /* last_component returns "" for file system roots, but we need to turn
40 base = file;
H A Ddirname-lgpl.c1 /* dirname.c -- return all but the last element in a file name
32 dir_len (char const *file) argument
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file);
40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2])
48 for (length = last_component (file) - file;
50 if (! ISSLASH (file[lengt
71 mdir_name(char const *file) argument
[all...]
/osnet-11/usr/src/lib/libmail/common/
H A Dsystemvp.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50 systemvp(char *file, char **argv, int resetid) argument
61 (void) execvp(file, argv);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dfile_plus.h33 hfsplus_file_close (HfsPPrivateFile* file);
36 hfsplus_file_read(HfsPPrivateFile* file, void *buf,
40 hfsplus_file_write(HfsPPrivateFile* file, void *buf,
43 /* Read the nth sector of a file */
46 hfsplus_file_read_sector (HfsPPrivateFile* file, void *buf, PedSector sector) argument
48 return hfsplus_file_read(file, buf, sector, 1);
51 /* Write the nth sector of a file */
54 hfsplus_file_write_sector (HfsPPrivateFile* file, void *buf, PedSector sector) argument
56 return hfsplus_file_write(file, buf, sector, 1);
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/
H A Dassert.h27 assert_real (const char *file, int line, int cond) argument
30 grub_fatal ("Assertion failed at %s:%d\n", file, line);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Digest/
H A Dfile.pm1 package Digest::file;
16 my $file = shift;
19 open(F, "<", $file) || croak("Can't open '$file': $!");
45 Digest::file - Calculate digests of files
50 use Digest::file qw(digest_file_hex);
62 =item digest_file( $file, $algorithm, [$arg,...] )
65 of the given file. The function will croak if it fails to open or
66 read the file.
72 =item digest_file_hex( $file,
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Drealpath.c45 realpath(const char* file, char* path) argument
47 return resolvepath(file, path, PATH_MAX) > 0 ? path : (char*)0;
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmimetype.c47 * return mime type for file
51 mimetype(Mime_t* mp, Sfio_t* fp, const char* file, struct stat* st) argument
68 return magictype(mp->magic, fp, file, st);
/osnet-11/usr/src/lib/libast/common/vec/
H A Dvecfile.c35 * load a string vector from lines in file
39 vecfile(const char* file) argument
48 if ((fd = open(file, O_RDONLY)) >= 0)
/osnet-11/usr/src/lib/libpkg/common/
H A Dcanonize.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38 canonize(char *file) argument
44 for (pt = file; *pt; /* void */) {
58 if (pt <= file)
60 while ((*--pt != '/') && (pt > file))
76 if ((--pt > file) && (*pt == '/'))
81 canonize_slashes(char *file) argument
[all...]
/osnet-11/usr/src/lib/libcmdutils/common/
H A Dsysattrs.c4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
42 * Note: If obtaining status for an extended attribute file, the caller must
49 sysattr_status(char *file, xattr_view_t view) argument
55 status = getattrat(AT_FDCWD, view, file, &response);
66 * Returns the type of the specified in file. If the file name matches
68 * file the
77 sysattr_type(char *file) argument
111 sysattr_support(char *file, int name) argument
[all...]

Completed in 68 milliseconds

1234567891011>>