Home
last modified time | relevance | path

Searched full:dir (Results 1 – 25 of 3280) sorted by relevance

12345678910>>...132

/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp133 auto *Dir = dyn_cast<OMPLoopTransformationDirective>(CurStmt); in doForAllLoops() local
134 if (!Dir) in doForAllLoops()
137 OnTransformationCallback(Dir); in doForAllLoops()
139 Stmt *TransformedStmt = Dir->getTransformedStmt(); in doForAllLoops()
141 unsigned NumGeneratedLoops = Dir->getNumGeneratedLoops(); in doForAllLoops()
267 auto *Dir = createDirective<OMPMetaDirective>( in Create() local
269 Dir->setIfStmt(IfStmt); in Create()
270 return Dir; in Create()
285 auto *Dir = createDirective<OMPParallelDirective>( in Create() local
287 Dir in Create()
304 auto *Dir = createDirective<OMPSimdDirective>( Create() local
341 auto *Dir = createDirective<OMPForDirective>( Create() local
414 OMPTileDirective *Dir = createDirective<OMPTileDirective>( Create() local
437 auto *Dir = createDirective<OMPUnrollDirective>( Create() local
457 auto *Dir = createDirective<OMPForSimdDirective>( Create() local
500 auto *Dir = createDirective<OMPSectionsDirective>(C, Clauses, AssociatedStmt, Create() local
521 auto *Dir = Create() local
603 auto *Dir = createDirective<OMPParallelForDirective>( Create() local
648 auto *Dir = createDirective<OMPParallelForSimdDirective>( Create() local
691 auto *Dir = createDirective<OMPParallelMasterDirective>( Create() local
707 auto *Dir = createDirective<OMPParallelMaskedDirective>( Create() local
724 auto *Dir = createDirective<OMPParallelSectionsDirective>( Create() local
742 auto *Dir = createDirective<OMPTaskDirective>( Create() local
810 auto *Dir = createDirective<OMPTaskgroupDirective>( Create() local
826 auto *Dir = new (C) OMPCancellationPointDirective(StartLoc, EndLoc); Create() local
840 auto *Dir = createDirective<OMPCancelDirective>( Create() local
920 auto *Dir = createDirective<OMPAtomicDirective>( Create() local
962 auto *Dir = createDirective<OMPTargetParallelDirective>( Create() local
980 auto *Dir = createDirective<OMPTargetParallelForDirective>( Create() local
1085 auto *Dir = createDirective<OMPTaskLoopDirective>( Create() local
1129 auto *Dir = createDirective<OMPTaskLoopSimdDirective>( Create() local
1172 auto *Dir = createDirective<OMPMasterTaskLoopDirective>( Create() local
1217 auto *Dir = createDirective<OMPMaskedTaskLoopDirective>( Create() local
1262 auto *Dir = createDirective<OMPMasterTaskLoopSimdDirective>( Create() local
1306 auto *Dir = createDirective<OMPMaskedTaskLoopSimdDirective>( Create() local
1350 auto *Dir = createDirective<OMPParallelMasterTaskLoopDirective>( Create() local
1397 auto *Dir = createDirective<OMPParallelMaskedTaskLoopDirective>( Create() local
1445 auto *Dir = createDirective<OMPParallelMasterTaskLoopSimdDirective>( Create() local
1492 auto *Dir = createDirective<OMPParallelMaskedTaskLoopSimdDirective>( Create() local
1538 auto *Dir = createDirective<OMPDistributeDirective>( Create() local
1597 auto *Dir = createDirective<OMPDistributeParallelForDirective>( Create() local
1659 auto *Dir = createDirective<OMPDistributeParallelForSimdDirective>( Create() local
1718 auto *Dir = createDirective<OMPDistributeSimdDirective>( Create() local
1762 auto *Dir = createDirective<OMPTargetParallelForSimdDirective>( Create() local
1809 auto *Dir = createDirective<OMPTargetSimdDirective>( Create() local
1844 auto *Dir = createDirective<OMPTeamsDistributeDirective>( Create() local
1888 auto *Dir = createDirective<OMPTeamsDistributeSimdDirective>( Create() local
1932 auto *Dir = createDirective<OMPTeamsDistributeParallelForSimdDirective>( Create() local
1992 auto *Dir = createDirective<OMPTeamsDistributeParallelForDirective>( Create() local
2068 auto *Dir = createDirective<OMPTargetTeamsDistributeDirective>( Create() local
2115 auto *Dir = createDirective<OMPTargetTeamsDistributeParallelForDirective>( Create() local
2179 auto *Dir = createDirective<OMPTargetTeamsDistributeParallelForSimdDirective>( Create() local
2240 auto *Dir = createDirective<OMPTargetTeamsDistributeSimdDirective>( Create() local
2301 auto *Dir = createDirective<OMPDispatchDirective>( Create() local
2336 auto *Dir = createDirective<OMPGenericLoopDirective>( Create() local
2378 auto *Dir = createDirective<OMPTeamsGenericLoopDirective>( Create() local
2435 auto *Dir = createDirective<OMPTargetTeamsGenericLoopDirective>( Create() local
2493 auto *Dir = createDirective<OMPParallelGenericLoopDirective>( Create() local
2537 auto *Dir = createDirective<OMPTargetParallelGenericLoopDirective>( Create() local
[all...]
/freebsd-src/share/mk/
H A Dbsd.dirs.mk7 # must be a full path. If non-default permissions are desired, <DIR>_MODE,
8 # <DIR>_OWN, and <DIR>_GRP may be specified.
11 . for dir in ${DIRS:O:u}
12 . if defined(${dir}) && !empty(${dir})
14 ${dir}_MODE?= 0755
15 ${dir}_OWN?= root
16 ${dir}_GRP?= wheel
17 . if defined(${dir}_FLAGS) && !empty(${dir}_FLAGS)
18 ${dir}_FLAG= -f ${${dir}_FLAGS}
22 . if !defined(${dir}TAGS) || ! ${${dir}TAGS:Mpackage=*}
[all …]
/freebsd-src/contrib/bmake/unit-tests/
H A Dvar-scope-local.exp1dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from inferenc…
2dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from inferenc…
15 dir/subdir/target-rule.ext: @ = <dir/subdir/target-rule.ext>
16 dir/subdir/target-rule.ext: % = <undefined>
17 dir/subdir/target-rule.ext: ? = <>
18 dir/subdir/target-rule.ext: < = <undefined>
19 dir/subdir/target-rule.ext: * = <dir/subdir/target-rule.ext>
25 dir/subdir/target-rule-dir.ir-gen-from: @ = <dir/subdir/target-rule-dir.ir-gen-from>
26 dir/subdir/target-rule-dir.ir-gen-from: % = <undefined>
27 dir/subdir/target-rule-dir.ir-gen-from: ? = <>
[all …]
H A Ddir-expand-path.mk1 # $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $
5 _!= rm -rf dir-expand-path.dir.*
6 _!= mkdir dir-expand-path.dir.1
7 _!= mkdir dir-expand-path.dir.2
8 _!= touch dir-expand-path.dir.1/file1.src
9 _!= touch dir-expand-path.dir.1/file2.src
10 _!= touch dir-expand-path.dir.2/file3.src
12 .PATH: dir-expand-path.dir.1
13 .PATH: dir-expand-path.dir.2
19 @rm -rf dir-expand-path.dir.*
H A Dposix1.exp6 mkdir -p 'dir'
7 touch 'dir/obj_1.h'
8 mkdir -p 'dir'
9 printf '#include "obj_1.h"\nconst char* obj_1 = "dir/obj_1.c";\n' \
10 >'dir/obj_1.c'
12 ${@}="dir/obj_1.o" ${<}="dir/obj_1.c"
13 ${*}="dir/obj_1" ${?}="dir/obj_1.h dir/obj_1.c"
17 ${@D}="dir" ${@F}="obj_1.o"
18 ${<D}="dir" ${<F}="obj_1.c"
19 ${*D}="dir" ${*F}="obj_1"
[all …]
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.basename.d39 dir[i++] = "/foo/bar/baz";
40 dir[i++] = "/foo/bar///baz/";
41 dir[i++] = "/foo/bar/baz/";
42 dir[i++] = "/foo/bar/baz//";
43 dir[i++] = "/foo/bar/baz/.";
44 dir[i++] = "/foo/bar/baz/./";
45 dir[i++] = "/foo/bar/baz/.//";
46 dir[i++] = "foo/bar/baz/";
47 dir[i++] = "/";
48 dir[i++] = "./";
[all …]
/freebsd-src/crypto/openssh/regress/
H A Dscp.sh9 DIR=${COPY}.dd
28 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} ${COPY3} ${DIR3}
29 mkdir ${DIR} ${DIR2} ${DIR3}
30 chmod 755 ${DIR} ${DIR2} ${DIR3}
37 cp ${DATA} ${DIR}/copy
38 ln -s ${DIR}/copy ${DIR}/copy-sym
39 mkdir ${DIR}/subdir
40 cp ${DATA} ${DIR}/subdir/copy
41 ln -s ${DIR}/subdir ${DIR}/subdir-sym
92 verbose "$tag: simple copy local file to remote dir"
[all …]
H A Dsftp-glob.sh41 DIR=${BASE}/dir
42 DATA=${DIR}/file
44 GLOB1="${DIR}/g-wild*"
45 GLOB2="${DIR}/g-wildx"
46 QUOTE="${DIR}/g-quote\""
47 SLASH="${DIR}/g-sl\\ash"
48 ESLASH="${DIR}/g-slash\\"
49 QSLASH="${DIR}/g-qs\\\""
50 SPACE="${DIR}/g-q space"
53 mkdir -p ${DIR}
[all …]
H A Dscp3.sh7 DIR=${COPY}.dd
18 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
19 mkdir ${DIR} ${DIR2}
20 chmod 755 ${DIR} ${DIR2}
27 cp ${DATA} ${DIR}/copy
28 ln -s ${DIR}/copy ${DIR}/copy-sym
29 mkdir ${DIR}/subdir
30 cp ${DATA} ${DIR}/subdir/copy
31 ln -s ${DIR}/subdir ${DIR}/subdir-sym
48 verbose "$tag: simple copy remote file to remote dir"
[all …]
H A Dscp-uri.sh9 DIR=${COPY}.dd
20 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2}
21 mkdir ${DIR} ${DIR2}
45 verbose "$tag: simple copy local file to remote dir"
48 $SCP $scpopts ${COPY} "scp://${USER}@somehost:${PORT}/${DIR}" || fail "copy failed"
49 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
51 verbose "$tag: simple copy remote file to local dir"
54 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed"
55 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
57 verbose "$tag: recursive local dir to remote dir"
[all …]
/freebsd-src/tools/test/stress2/misc/
H A Dbeneath4.sh35 dir=/tmp/beneath4.dir
36 rm -rf $dir
37 mkdir -p $dir
39 cd $dir
57 char *cwd, *dir, *obj, *s;
61 "Usage: %s <dir> <test obj> <flag> <expected return>\n",
67 dir = argv[1];
78 if ((fd = open(dir, O_DIRECTORY | O_RDONLY)) == -1)
79 err(1, "open(%s)", dir);
89 cwd, dir, flag, obj, r, exp, s);
[all …]
H A Dnlink5.sh30 # Rename dir a/b to c/d
50 char dir[100];
54 snprintf(dir, sizeof(dir), "%d", i);
55 if (mkdir(dir, 0700) == -1)
56 err(1, "mkdir(%s)", dir);
61 snprintf(dir, sizeof(dir), "%d", i);
62 if (mkdir(dir, 0700) != -1) /* this must fail */
63 err(1, "mkdir(%s)", dir);
65 err(1, "Must fail: mkdir(%s)", dir);
69 snprintf(dir, sizeof(dir), "%d", i);
[all …]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_format.inc173 // returned in dir. This function returns the pointer to the first
177 ScanfDirective *dir) {
178 internal_memset(dir, 0, sizeof(*dir));
179 dir->argIdx = -1;
186 dir->begin = p;
197 p = maybe_parse_param_index(p, &dir->argIdx);
201 dir->suppressed = true;
206 p = parse_number(p, &dir->fieldWidth);
208 if (dir->fieldWidth <= 0) // Width if at all must be non-zero
213 dir->allocate = true;
[all …]
/freebsd-src/usr.sbin/newsyslog/tests/
H A Dlegacy_test.sh15 echo "$0: Can't create temp dir, exiting..."
213 local dir ext name_postfix newsyslog_args
216 dir="$2"
218 if [ -n "$dir" ]; then
219 newsyslog_args=" -a ${dir}"
220 name_postfix="${ext} archive dir"
231 cknt ${dir}${LOGFNAME}.0${ext}
237 ckfe ${dir}${LOGFNAME}.0${ext}
238 cknt ${dir}${LOGFNAME}.1${ext}
244 ckfe ${dir}${LOGFNAME}.0${ext}
[all …]
/freebsd-src/contrib/netbsd-tests/usr.sbin/mtree/
H A Dd_merge.in3 . type=dir
5 # directory "a" with only one entry, changing from dir to link
6 ./a type=dir
7 ./a/change-dir-to-link type=dir mode=0755
8 ./a/change-dir-to-link type=link mode=0755
10 # directory "b" with only one entry, changing from link to dir
11 ./b type=dir
12 ./b/change-link-to-dir type=link mode=0755
13 ./b/change-link-to-dir type=dir mode=0755
15 # directory "c" with multiple entries, one changing from dir to link
[all …]
/freebsd-src/usr.sbin/makefs/zfs/
H A Ddsl.c45 struct zfs_dsl_dir *dir; /* containing parent */ member
69 static zfs_dsl_dataset_t *dsl_dataset_alloc(zfs_opt_t *zfs, zfs_dsl_dir_t *dir);
99 dsl_dir_get_mountpoint(zfs_opt_t *zfs, zfs_dsl_dir_t *dir) in dsl_dir_get_mountpoint() argument
104 if (nvlist_find_string(dir->propsnv, "mountpoint", &mountpoint) == 0) { in dsl_dir_get_mountpoint()
114 for (pdir = dir->parent, mountpoint = estrdup(dir->name);; in dsl_dir_get_mountpoint()
142 dsl_dir_get_canmount(zfs_dsl_dir_t *dir, uint64_t *canmountp) in dsl_dir_get_canmount() argument
144 return (nvlist_find_uint64(dir->propsnv, "canmount", canmountp)); in dsl_dir_get_canmount()
155 dsl_dir_set_prop(zfs_opt_t *zfs, zfs_dsl_dir_t *dir, const char *key, in dsl_dir_set_prop() argument
160 nvl = dir->propsnv; in dsl_dir_set_prop()
204 zfs_dsl_dir_t *dir; in dsl_metadir_alloc() local
[all …]
/freebsd-src/contrib/ntp/libntp/lib/isc/unix/
H A Ddir.c32 #include <isc/dir.h>
41 #define VALID_DIR(dir) ISC_MAGIC_VALID(dir, ISC_DIR_MAGIC) argument
44 isc_dir_init(isc_dir_t *dir) { in isc_dir_init() argument
45 REQUIRE(dir != NULL); in isc_dir_init()
47 dir->entry.name[0] = '\0'; in isc_dir_init()
48 dir->entry.length = 0; in isc_dir_init()
50 dir->handle = NULL; in isc_dir_init()
52 dir->magic = ISC_DIR_MAGIC; in isc_dir_init()
60 isc_dir_open(isc_dir_t *dir, const char *dirname) { in isc_dir_open() argument
65 REQUIRE(VALID_DIR(dir)); in isc_dir_open()
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp23 const StringPool::StringOffsetSize &Dir, in addFilePath() argument
25 FilePaths.emplace_back(DirPath(Root, Dir), Paths.add(Filename)); in addFilePath()
29 StringPool::StringOffsetSize PathPool::addDirPath(StringRef Dir) { in addDirPath() argument
30 return Paths.add(Dir); in addDirPath()
53 const auto Dir = tryStoreDirPath(sys::path::parent_path(FE.getName())); in tryStoreFilePath() local
55 Paths.addFilePath(Dir.Root, Dir.Path, sys::path::filename(FE.getName())); in tryStoreFilePath()
61 PathPool::DirPath SerializablePathCollection::tryStoreDirPath(StringRef Dir) { in tryStoreDirPath() argument
62 // We don't want to strip separator if Dir is "/" - so we check size > 1. in tryStoreDirPath()
63 while (Dir.size() > 1 && llvm::sys::path::is_separator(Dir.back())) in tryStoreDirPath()
64 Dir = Dir.drop_back(); in tryStoreDirPath()
[all …]
/freebsd-src/contrib/llvm-project/openmp/runtime/src/include/
H A Domp_lib.h.var490 !DIR$ IF(__INTEL_COMPILER.GE.1400)
491 !DIR$ attributes known_intrinsic :: omp_init_lock
492 !DIR$ ENDIF
500 !DIR$ IF(__INTEL_COMPILER.GE.1400)
501 !DIR$ attributes known_intrinsic :: omp_destroy_lock
502 !DIR$ ENDIF
510 !DIR$ IF(__INTEL_COMPILER.GE.1400)
511 !DIR$ attributes known_intrinsic :: omp_set_lock
512 !DIR$ ENDIF
520 !DIR
[all...]
/freebsd-src/contrib/bmake/
H A Ddir.c1 /* $NetBSD: dir.c,v 1.295 2024/07/07 07:50:57 rillig Exp $ */
131 #include "dir.h"
134 /* "@(#)dir.c 8.2 (Berkeley) 1/2/94" */
135 MAKE_RCSID("$NetBSD: dir.c,v 1.295 2024/07/07 07:50:57 rillig Exp $");
276 CachedDir *dir = bmake_malloc(sizeof *dir); in CachedDir_New() local
278 dir->name = bmake_strdup(name); in CachedDir_New()
279 dir->refCount = 0; in CachedDir_New()
280 dir->hits = 0; in CachedDir_New()
281 HashSet_Init(&dir in CachedDir_New()
291 CachedDir_Ref(CachedDir * dir) CachedDir_Ref() argument
304 CachedDir_Unref(CachedDir * dir) CachedDir_Unref() argument
329 CachedDir_Assign(CachedDir ** var,CachedDir * dir) CachedDir_Assign() argument
357 CachedDir *dir = ln->datum; OpenDirs_Done() local
468 CachedDir *dir; Dir_InitCur() local
491 CachedDir *dir; Dir_InitDot() local
545 CachedDir *dir = ln->datum; Dir_SetPATH() local
560 CachedDir *dir = ln->datum; Dir_SetPATH() local
587 CachedDir *dir = ln->datum; Dir_SetSYSPATH() local
646 DirMatchFiles(const char * pattern,CachedDir * dir,StringList * expansions) DirMatchFiles() argument
820 CachedDir *dir = ln->datum; DirExpandPath() local
956 DirLookup(CachedDir * dir,const char * base) DirLookup() argument
978 DirLookupSubdir(CachedDir * dir,const char * name) DirLookupSubdir() argument
1001 DirLookupAbs(CachedDir * dir,const char * name,const char * base) DirLookupAbs() argument
1078 CachedDir *dir = ln->datum; FindFileRelative() local
1132 CachedDir *dir = ln->datum; FindFileAbsolute() local
1183 CachedDir *dir = path->dirs.first->datum; FindFile() local
1215 CachedDir *dir = ln->datum; FindFile() local
1452 CachedDir *dir = NULL; CacheNewDir() local
1526 CachedDir *dir = OpenDirs_Find(&openDirs, name); SearchPath_Add() local
1547 CachedDir *dir = ln->datum; Dir_CopyDirSearchPath() local
1569 CachedDir *dir = ln->datum; SearchPath_ToFlags() local
1586 CachedDir *dir = ln->datum; SearchPath_Free() local
1601 CachedDir *dir = Lst_Dequeue(&path->dirs); SearchPath_Clear() local
1617 CachedDir *dir = ln->datum; SearchPath_AddAll() local
1642 CachedDir *dir = ln->datum; Dir_PrintDirectories() local
1654 const CachedDir *dir = ln->datum; SearchPath_Print() local
[all...]
/freebsd-src/usr.sbin/sa/tests/
H A Dlegacy_test.sh5 DIR=`dirname $0`
33 sa -u v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH-u.out
34 sa -u v2-$ARCH-acct.in | check 2 $DIR/v2-$ARCH-u.out
37 sa -i v1-$ARCH-acct.in | check 3 $DIR/v1-$ARCH-sav.out
38 sa -im v1-$ARCH-acct.in | check 4 $DIR/v1-$ARCH-usr.out
41 sa -P $DIR/v1-$ARCH-sav.in -U $DIR/v1-$ARCH-usr.in /dev/null |
42 check 5 $DIR/v1-$ARCH-sav.out
43 sa -m -P $DIR/v1-$ARCH-sav.in -U $DIR/v1-$ARCH-usr.in /dev/null |
44 check 6 $DIR/v1-$ARCH-usr.out
47 install -c -m 644 $DIR/v1-$ARCH-sav.in v2c-$ARCH-sav.in
[all …]
/freebsd-src/contrib/netbsd-tests/bin/cp/
H A Dt_cp.sh28 FILES="file file2 file3 link dir dir2 dirlink target"
45 mkdir dir
46 ln -s dir dirlink
157 atf_check -s eq:0 -o empty -e empty cp file file2 link dir
158 cp_compare files_to_dir file "dir/file"
168 # can't copy a dir onto a file
169 atf_check -s eq:1 -o empty -e ignore cp dir file
170 atf_check -s eq:1 -o empty -e ignore cp -R dir file
181 cp_compare file_to_linkdir file "dir/file"
196 # cannot copy a dir onto a file
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Dposixmode.ksh52 rm -rf $tmpdir $TESTDIR/dir
70 typeset dir=$base/dir
71 typeset file=$dir/file
73 # dir owned by root
74 log_must mkdir $dir
75 log_must chown :$wheel $dir
76 log_must chmod 007 $dir
81 log_must ls -la $dir
91 log_must ls -la $dir
102 log_must rm -rf $dir
[all …]
/freebsd-src/tests/sys/fs/fusefs/
H A Dreaddir.cc72 DIR *dir; in TEST_F() local
93 dir = opendir(FULLPATH); in TEST_F()
94 ASSERT_NE(nullptr, dir) << strerror(errno); in TEST_F()
97 de = readdir(dir); in TEST_F()
105 de = readdir(dir); in TEST_F()
112 ASSERT_EQ(nullptr, readdir(dir)); in TEST_F()
115 leakdir(dir); in TEST_F()
123 DIR *dir; in TEST_F() local
138 dir = opendir(FULLPATH); in TEST_F()
139 ASSERT_NE(nullptr, dir) << strerror(errno); in TEST_F()
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_raidz.ksh64 function test_selfheal # <pool> <parity> <dir>
68 typeset dir=$3
73 log_must dd conv=notrunc if=/dev/zero of=$dir/dev-$i \
77 log_must zpool import -o cachefile=none -d $dir $pool
96 log_must dd conv=notrunc if=/dev/zero of=$dir/dev-$i \
100 log_must zpool import -o cachefile=none -d $dir $pool
112 function test_resilver # <pool> <parity> <dir>
116 typeset dir=$3
119 log_must zpool offline $pool $dir/dev-$i
125 log_must zpool labelclear -f $dir/de
[all...]

12345678910>>...132