Searched refs:dirs (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-10-stable/usr.bin/makewhatis/
H A Dmakewhatis.local.sh39 opt= dirs= localdirs=
45 *) dirs="$dirs $arg";;
49 dirs=`echo $dirs | sed 's/:/ /g'`
50 case X"$dirs" in X) echo "usage: $0 [options] directories ..."; exit 1;; esac
52 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
55 X) echo "$0: no local rw-mounted manual directories found: $dirs"
/freebsd-10-stable/contrib/groff/src/libs/libgroff/
H A Dsearchpath.cpp46 dirs = new char[((e && *e) ? strlen(e) + 1 : 0)
51 *dirs = '\0';
53 strcat(dirs, e);
54 strcat(dirs, PATH_SEP);
57 strcat(dirs, ".");
58 strcat(dirs, PATH_SEP);
61 strcat(dirs, home);
62 strcat(dirs, PATH_SEP);
65 strcat(dirs, standard);
66 init_len = strlen(dirs);
72 a_delete dirs; local
[all...]
/freebsd-10-stable/contrib/groff/src/include/
H A Dsearchpath.h23 char *dirs; member in class:search_path
/freebsd-10-stable/contrib/apr-util/
H A Dbuild-outputs.mk3 buckets/apr_brigade.lo: buckets/apr_brigade.c .make.dirs include/apr_buckets.h
4 buckets/apr_buckets.lo: buckets/apr_buckets.c .make.dirs include/apr_buckets.h
5 buckets/apr_buckets_alloc.lo: buckets/apr_buckets_alloc.c .make.dirs include/apr_buckets.h
6 buckets/apr_buckets_eos.lo: buckets/apr_buckets_eos.c .make.dirs include/apr_buckets.h
7 buckets/apr_buckets_file.lo: buckets/apr_buckets_file.c .make.dirs include/apr_buckets.h
8 buckets/apr_buckets_flush.lo: buckets/apr_buckets_flush.c .make.dirs include/apr_buckets.h
9 buckets/apr_buckets_heap.lo: buckets/apr_buckets_heap.c .make.dirs include/apr_buckets.h
10 buckets/apr_buckets_mmap.lo: buckets/apr_buckets_mmap.c .make.dirs include/apr_buckets.h
11 buckets/apr_buckets_pipe.lo: buckets/apr_buckets_pipe.c .make.dirs include/apr_buckets.h
12 buckets/apr_buckets_pool.lo: buckets/apr_buckets_pool.c .make.dirs includ
[all...]
/freebsd-10-stable/contrib/binutils/libiberty/
H A Dmake-relative-prefix.c118 char **dirs; local
143 dirs = (char **) malloc (sizeof (char *) * (num_dirs + 2));
144 if (dirs == NULL)
153 dirs[num_dirs++] = save_string (p, 3);
154 if (dirs[num_dirs - 1] == NULL)
156 free (dirs);
171 dirs[num_dirs++] = save_string (q, p - q);
172 if (dirs[num_dirs - 1] == NULL)
174 dirs[num_dirs] = NULL;
175 free_split_directories (dirs);
200 free_split_directories(char **dirs) argument
[all...]
/freebsd-10-stable/contrib/gcclibs/libiberty/
H A Dmake-relative-prefix.c118 char **dirs; local
143 dirs = (char **) malloc (sizeof (char *) * (num_dirs + 2));
144 if (dirs == NULL)
153 dirs[num_dirs++] = save_string (p, 3);
154 if (dirs[num_dirs - 1] == NULL)
156 free (dirs);
171 dirs[num_dirs++] = save_string (q, p - q);
172 if (dirs[num_dirs - 1] == NULL)
174 dirs[num_dirs] = NULL;
175 free_split_directories (dirs);
200 free_split_directories(char **dirs) argument
[all...]
/freebsd-10-stable/contrib/tcsh/
H A DMAKESHAR13 dirs=
36 dirs="$dirs $i"
47 if [ \( -z "$files" \) -a \( -z "$dirs" \) ]
63 dirs = "'"$dirs"'";
99 printf("shar -n%d -e%d %s ", i, seq - 1, dirs);
/freebsd-10-stable/crypto/openssl/util/
H A Dmkfiles.pl9 my @dirs = (
77 foreach (@dirs) {
/freebsd-10-stable/contrib/apr/
H A Dbuild-outputs.mk3 encoding/apr_escape.lo: encoding/apr_escape.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_escape.h include/apr_general.h include/apr_lib.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_want.h
4 passwd/apr_getpass.lo: passwd/apr_getpass.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_lib.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_want.h
5 strings/apr_cpystrn.lo: strings/apr_cpystrn.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_lib.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_want.h
6 strings/apr_fnmatch.lo: strings/apr_fnmatch.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_file_info.h include/apr_fnmatch.h include/apr_general.h include/apr_lib.h include/apr_pools.h include/apr_strings.h include/apr_tables.h include/apr_thread_mutex.h include/apr_time.h include/apr_user.h include/apr_want.h
7 strings/apr_snprintf.lo: strings/apr_snprintf.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_lib.h include/apr_network_io.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_shm.h include/apr_strings.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h
8 strings/apr_strings.lo: strings/apr_strings.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_lib.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_want.h
9 strings/apr_strnatcmp.lo: strings/apr_strnatcmp.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_lib.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_want.h
10 strings/apr_strtok.lo: strings/apr_strtok.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_want.h
11 tables/apr_hash.lo: tables/apr_hash.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_hash.h include/apr_pools.h include/apr_thread_mutex.h include/apr_time.h include/apr_want.h
12 tables/apr_skiplist.lo: tables/apr_skiplist.c .make.dirs includ
[all...]
/freebsd-10-stable/sbin/ldconfig/
H A Delfhints.c54 static const char *dirs[MAXDIRS]; variable
85 if (strcmp(dirs[i], name) == 0)
89 dirs[ndirs++] = name;
102 printf("%c%s", i == 0 ? ' ' : ':', dirs[i]);
110 if ((dirp = opendir(dirs[i])) == NULL)
135 namelen, name, vers, dirs[i], dp->d_name);
278 hdr.strsize += strlen(dirs[0]);
280 hdr.strsize += 1 + strlen(dirs[i]);
290 if (fputs(dirs[0], fp) == EOF)
293 if (fprintf(fp, ":%s", dirs[
[all...]
/freebsd-10-stable/crypto/openssl/crypto/x509/
H A Dby_dir.c88 STACK_OF(BY_DIR_ENTRY) *dirs;
157 a->dirs = NULL;
191 if (a->dirs != NULL)
192 sk_BY_DIR_ENTRY_pop_free(a->dirs, by_dir_entry_free);
218 for (j = 0; j < sk_BY_DIR_ENTRY_num(ctx->dirs); j++) {
219 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j);
224 if (j < sk_BY_DIR_ENTRY_num(ctx->dirs))
226 if (ctx->dirs == NULL) {
227 ctx->dirs = sk_BY_DIR_ENTRY_new_null();
228 if (!ctx->dirs) {
[all...]
/freebsd-10-stable/contrib/bmake/mk/
H A Dmanifest.mk20 # for each MANIFEST we have a list of dirs
32 # MODE.dirs = 555
33 # means that sbin and usr/sbin get 550 all other dirs get 555
47 UID.dirs ?= 0
48 GID.dirs ?= 0
49 MODE.dirs ?= 775
50 FLAGS.dirs ?=
57 M_DIR_ATTR = L:@a@$${$$a.$$d:U$${$$a.dirs}}@
/freebsd-10-stable/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Drumpnfsd.c99 static const char *const dirs[] = { "/var", "/var/run", "/var/db" }; local
100 for (size_t i = 0; i < __arraycount(dirs); i++)
101 if (rump_sys_mkdir(dirs[i], 0777) == -1)
102 err(1, "can't mkdir `%s'", dirs[i]);
/freebsd-10-stable/tools/LibraryReport/
H A DLibraryReport.tcl151 incr stats(dirs);
276 set stats(dirs) 0;
285 $stats(dirs) $stats(files) $stats(execs) $stats(libs)];
/freebsd-10-stable/crypto/openssl/crypto/engine/
H A Deng_dyn.c155 * Whether to never use 'dirs', use 'dirs' as a fallback, or only use
156 * 'dirs' for loading. Default is to use 'dirs' as a fallback.
160 STACK_OF(OPENSSL_STRING) *dirs;
195 if (ctx->dirs)
196 sk_OPENSSL_STRING_pop_free(ctx->dirs, int_free_str);
226 c->dirs = sk_OPENSSL_STRING_new_null();
227 if (!c->dirs) {
415 sk_OPENSSL_STRING_insert(ctx->dirs, tmp_st
[all...]
/freebsd-10-stable/crypto/heimdal/lib/krb5/
H A Dplugin.c224 char **dirs = NULL, **di; local
235 dirs = krb5_config_get_strings(context, NULL, "libdefaults",
237 if (dirs == NULL)
238 dirs = rk_UNCONST(sysplugin_dirs);
240 for (di = dirs; *di != NULL; di++) {
298 if (dirs != rk_UNCONST(sysplugin_dirs))
299 krb5_config_free_strings(dirs);
/freebsd-10-stable/contrib/bmake/unit-tests/
H A Dmodmisc.mk5 # do not put any dirs in this list which exist on some
/freebsd-10-stable/contrib/openbsm/libauditd/
H A Dauditd_lib.c89 TAILQ_ENTRY(dir_ent) dirs;
162 d2 = TAILQ_NEXT(d1, dirs);
207 TAILQ_FOREACH(dep, &dir_q, dirs) {
209 TAILQ_INSERT_BEFORE(dep, denew, dirs);
213 TAILQ_INSERT_BEFORE(dep, denew, dirs);
217 TAILQ_INSERT_TAIL(&dir_q, denew, dirs);
443 TAILQ_FOREACH(traildir, &dir_q, dirs) {
898 TAILQ_FOREACH(dirent, &dir_q, dirs) {
/freebsd-10-stable/libexec/tftpd/
H A Dtftpd.c95 } dirs[MAXDIRS+1]; variable in typeref:struct:dirlist
199 for (dirp = dirs; optind < argc && dirp < &dirs[MAXDIRS];
209 dirs->name = "/";
210 dirs->len = 1;
708 for (dirp = dirs; dirp->name != NULL; dirp++) {
715 if (dirp->name == NULL && dirp != dirs)
746 for (dirp = dirs; dirp->name != NULL; dirp++) {
/freebsd-10-stable/contrib/binutils/gas/
H A Ddwarf2dbg.c170 static char **dirs; variable
446 && strncmp (filename, dirs[files[last_used].dir],
470 if (strncmp (filename, dirs[dir], dir_len) == 0
471 && dirs[dir][dir_len] == '\0')
479 dirs = (char **)
480 xrealloc (dirs, (dir + 32) * sizeof (const char *));
483 dirs[dir] = xmalloc (dir_len + 1);
484 memcpy (dirs[dir], filename, dir_len);
485 dirs[dir][dir_len] = '\0';
598 size_t dir_len = strlen (dirs[file
[all...]
/freebsd-10-stable/sys/cam/scsi/
H A Dscsi_pass.c120 uint32_t dirs[CAM_PERIPH_MAXMAPS]; member in struct:pass_io_req
1293 uint32_t dirs[CAM_PERIPH_MAXMAPS]; local
1318 dirs[0] = CAM_DIR_OUT;
1321 dirs[1] = CAM_DIR_IN;
1326 dirs[0] = CAM_DIR_IN;
1346 dirs[0] = ccb->ccb_h.flags & CAM_DIR_MASK;
1366 dirs[0] = ccb->ccb_h.flags & CAM_DIR_MASK;
1375 dirs[0] = CAM_DIR_OUT;
1378 dirs[1] = CAM_DIR_IN;
1390 dirs[
[all...]
/freebsd-10-stable/gnu/usr.bin/grep/
H A Dkwset.c135 enum { L, R } dirs[12]; local
153 dirs[0] = L;
160 dirs[depth++] = L, link = link->llink;
162 dirs[depth++] = R, link = link->rlink;
191 if (dirs[--depth] == L)
199 if (dirs[depth] == L)
207 if (depth && ((dirs[depth] == L && --links[depth]->balance)
208 || (dirs[depth] == R && ++links[depth]->balance)))
213 switch (dirs[depth + 1])
233 switch (dirs[dept
[all...]
/freebsd-10-stable/usr.sbin/pw/
H A Dpw_user.c93 char *dirs, *tmp; local
106 dirs = strdup(dir);
107 if (dirs == NULL)
110 tmp = strrchr(dirs, '/');
112 free(dirs);
123 if (strchr(dirs, '/') == NULL) {
124 asprintf(&tmp, "usr/%s", dirs);
129 symlinkat(tmp, dfd, dirs);
133 tmp = dirs;
134 if (fstatat(dfd, dirs,
[all...]
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c509 int *dirs = NULL; local
533 if(dirs == NULL)
534 dirs = calloc(n_files, sizeof(*dirs));
535 if(dirs == NULL) {
540 dirs[i] = 1;
707 if(((flags & LS_DIRS) == 0 || (flags & LS_RECURSIVE)) && dirs != NULL) {
709 if(dirs[i]) {
730 if(dirs != NULL)
731 free(dirs);
[all...]
/freebsd-10-stable/contrib/atf/atf-c++/detail/
H A Dfs.cpp472 std::vector< std::string > dirs = local
476 for (std::vector< std::string >::const_iterator iter = dirs.begin();
477 !found && iter != dirs.end(); iter++) {

Completed in 389 milliseconds

12