Searched refs:directory (Results 1 - 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/cmd/csh/
H A Dsh.dir.h18 * Structure for entries in directory stack.
20 struct directory { struct
21 struct directory *di_next; /* next in loop */
22 struct directory *di_prev; /* prev in loop */
26 struct directory *dcwd; /* the one we are in now */
H A Dsh.dir.c22 * C Shell - directory management
25 struct directory *dfind(tchar *);
29 void dfree(struct directory *);
30 void dnewcwd(struct directory *);
32 struct directory dhead; /* "head" of loop */
37 * dinit - initialize current working directory
43 struct directory *dp;
50 * If this is a login shell, we should have a home directory. But,
51 * if we got here via 'su - <user>' where the user has no directory
54 * working directory base
[all...]
H A Dsh.proc.h32 struct directory *p_cwd; /* cwd of the job (only in head) */
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-set-default.in36 --root-directory=DIR Use the directory DIR instead of the root directory
53 --root-directory=*)
54 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
77 # Determine the GRUB directory. This is different among OSes.
86 echo "No GRUB directory found under ${rootdir}/" 1>&2
H A Dgrub-install.in66 --root-directory=DIR install GRUB images under the directory DIR
67 instead of the root directory
76 grub-install copies GRUB images into the DIR/boot directory specfied by
77 --root-directory, and uses the grub shell to install grub into the boot
240 --root-directory=*)
241 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
323 # Create the GRUB directory if it is not present.
383 # Check if the boot directory is in the same device as the root directory
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.h52 gboolean hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base);
54 gboolean hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base);
56 gboolean hal_util_get_uint64_from_file (const gchar *directory, const gchar *file, guint64 *result, gint base);
58 gboolean hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base);
60 gchar *hal_util_get_string_from_file (const gchar *directory, const gchar *file);
62 gboolean hal_util_set_string_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file);
64 gboolean hal_util_get_bcd2_from_file (const gchar *directory, const gchar *file, gint *result);
66 gboolean hal_util_set_bcd2_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file);
74 gchar *hal_util_grep_file (const gchar *directory, const gchar *file, const gchar *linestart, gboolean reuse_file);
76 gint hal_util_grep_int_elem_from_file (const gchar *directory, cons
[all...]
H A Dutil.c116 * parent directory by truncation.
173 hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base) argument
183 g_snprintf (path, sizeof (path), "%s/%s", directory, file);
208 hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument
215 if (hal_util_get_int_from_file (directory, file, &value, base))
223 hal_util_get_uint64_from_file (const gchar *directory, const gchar *file, guint64 *result, gint base) argument
233 g_snprintf (path, sizeof (path), "%s/%s", directory, file);
259 hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument
266 if (hal_util_get_uint64_from_file (directory, file, &value, base))
273 hal_util_get_bcd2_from_file (const gchar *directory, cons argument
349 hal_util_set_bcd2_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument
363 hal_util_get_string_from_file(const gchar *directory, const gchar *file) argument
410 hal_util_set_string_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument
497 hal_util_grep_file(const gchar *directory, const gchar *file, const gchar *linestart, gboolean reuse) argument
569 hal_util_grep_string_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument
604 hal_util_grep_int_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument
650 hal_util_set_string_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument
690 hal_util_set_int_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument
747 hal_util_set_bool_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, const gchar *expected, gboolean reuse) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Dreadme.txt28 Some of the RDS source files in this directory contain code that is licensed
38 * COPYING in the main directory of this source tree, or the
/illumos-gate/usr/src/uts/common/sys/ib/clients/rds/
H A Dreadme.txt28 Some of the RDS header files in this directory contain code that is licensed
38 * COPYING in the main directory of this source tree, or the
/illumos-gate/usr/src/cmd/bnu/
H A Dutility.c132 * file with a specific prefix in a single directory, usually
158 char directory[MAXNAMESIZE]; local
161 /* Separate prefix into directory part and file name part. */
163 strncpy(directory, prefix, MAXNAMESIZE);
164 directory[MAXNAMESIZE-1] = NULLCHAR;
165 namePrefix = strrchr(directory, '/');
167 *namePrefix++ = NULLCHAR; /* Terminate directory part */
171 processes = cuantos(namePrefix, directory);
180 * return the number of files in directory <dir> who's names
/illumos-gate/usr/src/cmd/mvdir/
H A Dmvdir.sh58 echo "$1" must be a directory >&2
72 mkdir "$t" # see if we can create the directory
/illumos-gate/usr/src/cmd/sendmail/cf/sh/
H A Dmakeinfo.sh98 echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//'
/illumos-gate/usr/src/lib/libkmf/include/
H A Dkmfpolicy.h56 char *directory; member in struct:__anon3413
113 #define VAL_CRL_DIRECTORY validation_info.crl_info.directory
157 #define KMF_CRL_DIRECTORY_ATTR "directory"
175 #define KMF_CERT_MAPPER_DIR_ATTR "mapper-directory"
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathfind.c34 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode)) macro
37 typedef struct Dir_s /* directory list element */
40 char dir[1]; /* directory path */
43 static struct /* directory list state */
45 Dir_t* head; /* directory list head */
46 Dir_t* tail; /* directory list tail */
59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st))
115 * check the directory of the including file
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh80 # create temporary test directory
82 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.XXXXXXXX")" || err_exit "Cannot create temporary directory"
171 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
H A Dsun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh73 # create temporary test directory
75 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.XXXXXXXX")" || err_exit "Cannot create temporary directory"
187 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
H A Dsun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh77 # create temporary test directory
79 tmpdir="$(mktemp -t -d "test_sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.XXXXXXXX")" || err_exit "Cannot create temporary directory"
190 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".
/illumos-gate/usr/src/lib/libidmap/
H A DMakefile28 HDRS = idmap.h directory.h
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory.h32 * in a directory service.
54 * Opaque pointer to a directory search context.
56 typedef struct directory *directory_t;
65 * Initialize a directory query session, returning in *d a directory_t
71 * Tear down a directory query session.
/illumos-gate/usr/src/cmd/mdb/test/
H A Dmtest.sh42 -o dir Sets 'dir' as the output directory
98 mkdir -p "$odir" >/dev/null || fatal "can't make output directory"
120 "failed to move test output directory"
122 "failed to copy test into output directory"
127 "failed to move test directory"
148 output directory: $mt_outdir
159 "failed to remove test output directory"
/illumos-gate/usr/src/lib/libcmd/common/
H A Drm.c45 "[d:directory?\bremove\b(3) (or \bunlink\b(2)) directories rather than"
48 " constitution, to use this option. Even though the directory must"
58 " enabled) for each directory before attempting to remove directory"
86 int directory; /* remove(dir) not rmdir(dir) */ member in struct:State_s
133 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search");
154 error(2, "%s: directory", ent->fts_path);
183 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
197 error(1, "%s: hard link to directory", ent->fts_path);
204 if (isempty(ent) || state->directory)
[all...]
H A Dcp.c36 "[+DESCRIPTION?If the last argument names an existing directory, \bcp\b"
38 " directory. Otherwise, if only two files are given, \bcp\b copies"
40 " not a directory and more than two files are given. By default"
48 " to the target directory a slash and the specified source file name."
49 " The last argument must be an existing directory. Missing destination"
62 "[+DESCRIPTION?If the last argument names an existing directory, \bln\b"
64 " directory. Otherwise, if only two files are given, \bln\b links"
66 " not a directory and more than two files are given. By default"
72 "[+DESCRIPTION?If the last argument names an existing directory, \bmv\b"
74 " directory
147 int directory; /* destination is directory */ member in struct:State_s
[all...]
/illumos-gate/usr/src/lib/pysolaris/common/
H A Dmisc.c30 #include <directory.h>
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derrlist41 2 No such file or directory
59 20 Not a directory
60 21 Is a directory
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mount.c514 char *hostname, *directory; local
528 directory = (char *)getxdr_string(buff2, MNTPATHLEN);
529 (void) sprintf(get_line(0, 0), " %s:%s", hostname, directory);
545 return ("No such file or directory");
551 return ("Not a directory");

Completed in 146 milliseconds

123