Searched defs:dir (Results 101 - 125 of 756) sorted by relevance

1234567891011>>

/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.read_symlink/
H A Dread_symlink.pass.cpp63 env.create_dir("dir")
80 const path dir = env.create_dir("dir"); local
90 {env.create_symlink(dir, "dir_link"), dir},
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.rename/
H A Drename.pass.cpp60 const path dir = env.create_dir("dir1"); local
66 {file, dir},
67 {dir, file}
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.status/
H A Dstatus.pass.cpp61 const path dir = env.create_dir("dir"); local
62 const path file = env.create_file("dir/file", 42);
63 const path sym = env.create_symlink("dir/file", "sym");
64 permissions(dir, perms::none);
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/
H A Dsymlink_status.pass.cpp60 const path dir = env.create_dir("dir"); local
61 const path file_in_dir = env.create_file("dir/file", 42);
62 const path sym_in_dir = env.create_symlink("dir/file", "dir/bad_sym");
63 const path sym_points_in_dir = env.create_symlink("dir/file", "sym");
64 permissions(dir, perms::none);
/external/libdaemon/libdaemon/
H A Ddexec.c51 int daemon_execv(const char *dir, int *ret, const char *prog, va_list ap) { argument
113 if (dir && chdir(dir) < 0) {
114 daemon_log(LOG_WARNING, "Failed to change to directory '%s'", dir);
223 int daemon_exec(const char *dir, int *ret, const char *prog, ...) { argument
228 r = daemon_execv(dir, ret, prog, ap);
/external/libnetfilter_conntrack/src/conntrack/
H A Dobjopt.c12 static void __autocomplete(struct nf_conntrack *ct, int dir) argument
16 switch(dir) {
/external/ltp/testcases/kernel/fs/fs_fill/
H A Dfs_fill.c40 char dir[PATH_MAX]; member in struct:worker
51 tst_fill_fs(w->dir, 0);
55 d = SAFE_OPENDIR(w->dir);
63 w->dir, ent->d_name);
110 snprintf(workers[i].dir, sizeof(workers[i].dir),
112 SAFE_MKDIR(workers[i].dir, 0700);
/external/ltp/testcases/kernel/syscalls/chdir/
H A Dchdir01.c161 struct dirent *dir; local
165 while ((dir = readdir(ddir)) != NULL) {
168 * if dir->d_name is not null terminated it is a bug
171 if (strcmp(pfilnames[i], dir->d_name) == 0) {
172 tst_resm(TINFO, "Found file %s", dir->d_name);
/external/ltp/testcases/kernel/syscalls/chroot/
H A Dchroot03.c61 char *dir; member in struct:test_case_t
113 TEST(chroot(TC[i].dir));
154 TC[3].dir = bad_addr;
/external/nanopb-c/examples/network_server/
H A Dserver.c28 DIR *dir = (DIR*) *arg; local
32 while ((file = readdir(dir)) != NULL)
/external/perf_data_converter/src/quipper/
H A Dscoped_temp_path_test.cc39 int PopulateDirectoryWithFiles(const string& dir, int num_files) { argument
45 size_t buf_size = dir.size() + strlen(kPathTemplateSuffix) + 1;
51 snprintf(path_template, buf_size, "%s%s", dir.c_str(), kPathTemplateSuffix);
/external/python/cpython2/PC/VS9.0/
H A Dbuild.bat19 set dir=%~dp0 variable
34 if '%1'=='-e' call "%dir%..\..\PCbuild\get_externals.bat" & (set build_tkinter=true) & shift & goto CheckOpts
40 set builddir=%dir%amd64\
42 set builddir=%dir%
51 call "%dir%env.bat" %vs_platf%
54 vcbuild "%dir%kill_python.vcproj" "%conf%|%platf%" && "%builddir%kill_python%dbg_ext%.exe"
57 set externals_dir=%dir%..\..\externals
107 vcbuild "%dir%pcbuild.sln" %target% "%conf%|%platf%" %1 %2 %3 %4 %5 %6 %7 %8 %9
/external/python/cpython2/PCbuild/
H A Dbuild.bat53 set dir=%~dp0 variable
90 if "%IncludeExternals%"=="true" call "%dir%get_externals.bat"
108 call "%dir%env.bat" %vs_platf% >nul
115 del /s "%dir%\*.pgc"
116 del /s "%dir%\..\Lib\*.pyc"
118 call "%dir%\..\python.bat" %pgo_job%
127 msbuild "%dir%\pythoncore.vcxproj" /t:KillPython %verbose%^
139 msbuild "%dir%pcbuild.proj" /t:%target% %parallel% %verbose%^
/external/skia/gm/
H A Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
52 path.addRect(rect, dir, startIndex);
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
58 path.addOval(rect, dir, startIndex);
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
68 path.addRRect(rrect, dir, startIndex);
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
77 path.addRRect(rrect, dir, startIndex);
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
86 path.addRRect(rrect, dir, startInde
107 drawOneColumn(SkCanvas* canvas, SkPath::Direction dir, SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const argument
[all...]
/external/skia/src/ports/
H A DSkFontMgr_custom_directory.cpp16 DirectorySystemFontLoader(const char* dir) : fBaseDirectory(dir) { } argument
102 SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir) { argument
103 return sk_make_sp<SkFontMgr_Custom>(DirectorySystemFontLoader(dir));
/external/skqp/gm/
H A Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
52 path.addRect(rect, dir, startIndex);
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
58 path.addOval(rect, dir, startIndex);
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
68 path.addRRect(rrect, dir, startIndex);
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
77 path.addRRect(rrect, dir, startIndex);
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
86 path.addRRect(rrect, dir, startInde
107 drawOneColumn(SkCanvas* canvas, SkPath::Direction dir, SkPath (*makePath)(const SkRect&, SkPath::Direction, unsigned)) const argument
[all...]
/external/skqp/src/ports/
H A DSkFontMgr_custom_directory.cpp16 DirectorySystemFontLoader(const char* dir) : fBaseDirectory(dir) { } argument
102 SK_API sk_sp<SkFontMgr> SkFontMgr_New_Custom_Directory(const char* dir) { argument
103 return sk_make_sp<SkFontMgr_Custom>(DirectorySystemFontLoader(dir));
/external/tensorflow/tensorflow/core/kernels/
H A Dwhole_file_read_ops.cc137 const string dir = io::Dirname(filename).ToString(); variable
138 if (!context->env()->FileExists(dir).ok()) {
139 OP_REQUIRES_OK(context, context->env()->RecursivelyCreateDir(dir));
/external/tensorflow/tensorflow/tools/benchmark/
H A Dbenchmark_model_test.cc30 const string dir = testing::TmpDir(); local
31 const string filename_pb = io::JoinPath(dir, "graphdef.pb");
/external/toybox/toys/lsb/
H A Dumount.c51 static void do_umount(char *dir, char *dev, int flags) argument
62 if (!strcmp(mt->dir, dir)) while ((s = comma_iterate(&mt->opts, &len))) {
78 if (!umount2(dir, flags)) {
79 if (toys.optflags & FLAG_v) xprintf("%s unmounted\n", dir);
98 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
99 if (toys.optflags & FLAG_v) xprintf("%s remounted ro\n", dir);
104 perror_msg_raw(dir);
131 if (mountlist_istype(ml, typestr)) do_umount(ml->dir, ml->device, flags);
141 if (!strcmp(ml->dir, ab
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Deapol_test.py17 dir = os.path.dirname(os.path.realpath(sys.modules[__name__].__file__)) variable
18 sys.path.append(os.path.join(dir, '..', 'wpaspy'))
/external/clang/include/clang/Lex/
H A DDirectoryLookup.h67 /// 'dir'.
68 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT, argument
73 u.Dir = dir;
/external/clang/test/SemaCXX/
H A Dconstexpr-turing.cpp11 Dir dir; member in struct:Action
21 constexpr Tape(const Tape &old, Dir dir) : argument
22 l(dir == L ? old.l ? old.l->l : 0 : &old),
23 val(dir == L ? old.l ? old.l->val : false
25 r(dir == R ? old.r ? old.r->r : 0 : &old) {}
31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } argument
38 tm[state][tape.val].dir),
/external/clang/unittests/Basic/
H A DFileManagerTest.cpp83 const DirectoryEntry *dir = file->getDir(); local
84 ASSERT_TRUE(dir != nullptr);
85 EXPECT_STREQ(".", dir->getName());
90 dir = file->getDir();
91 ASSERT_TRUE(dir != nullptr);
92 EXPECT_STREQ("x/y", dir->getName());
103 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/foo"));
104 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir"));
113 manager.getVirtualFile("virtual/dir/bar.h", 100, 0);
114 EXPECT_EQ(nullptr, manager.getDirectory("virtual/dir/fo
116 const DirectoryEntry *dir = manager.getDirectory("virtual/dir"); local
145 const DirectoryEntry *dir = file->getDir(); local
169 const DirectoryEntry *dir = file->getDir(); local
[all...]
/external/e2fsprogs/debugfs/
H A Dncheck.c29 ext2_ino_t dir; member in struct:inode_walk_struct
58 iw->dir,
62 "while calling ext2fs_get_pathname for inode #%u", iw->dir);
73 iw->dir,
173 iw.dir = ino;

Completed in 1372 milliseconds

1234567891011>>