HomeSort by relevance Sort by last modified time
    Searched defs:tmpdir (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/autotest/client/site_tests/security_Minijail0/src/
mountns-enter.py 14 tmpdir = tempfile.mkdtemp(prefix="newns-", dir="/tmp") variable
15 ret = subprocess.check_call(["mount", "tmpfs", tmpdir, "-t", "tmpfs"])
16 test_file = os.path.join(tmpdir, "test")
25 subprocess.check_call("umount %s" % tmpdir, shell=True)
26 os.rmdir(tmpdir)
  /external/valgrind/none/tests/
nocwd.c 13 char *tmpdir = mkdtemp(template); local
14 if (tmpdir == NULL)
20 if (chdir (tmpdir) != 0)
22 perror ("Couldn't chdir into tmpdir");
37 chmod(tmpdir, 0);
  /external/blktrace/btt/
bno_plot.py 92 tmpdir = tempfile.mktemp() variable
93 os.mkdir(tmpdir)
97 t = '%s/%s' % (tmpdir, f)
109 fo = open('%s/plot.cmds' % tmpdir, 'w')
117 cmd = '/usr/bin/gnuplot %s/plot.cmds -' % tmpdir
122 os.chdir(tmpdir)
127 os.system('/bin/rm -rf ' + tmpdir)
  /external/libcups/cups/
tempfile.c 44 const char *tmpdir; /* TMPDIR environment var */ local
54 * See if TMPDIR is defined...
58 if ((tmpdir = getenv("TEMP")) == NULL)
61 tmpdir = tmppath;
71 if ((tmpdir = getenv("TMPDIR")) == NULL)
73 tmpdir = "/private/tmp"; /* /tmp is a symlink to /private/tmp */
75 tmpdir = "/tmp";
98 snprintf(filename, (size_t)len - 1, "%s/%05lx%08lx", tmpdir, GetCurrentProcessId(), curtime)
    [all...]
ppd-util.c 216 const char *tmpdir; /* TMPDIR environment variable */ local
226 if ((tmpdir = getenv("TMPDIR")) == NULL)
228 tmpdir = "/private/tmp"; /* /tmp is a symlink to /private/tmp */
230 tmpdir = "/tmp";
251 snprintf(buffer, bufsize, "%s/%08lx%05lx", tmpdir,
  /external/ltp/lib/
tst_path_has_mnt_flags.c 36 char *tmpdir = NULL; local
42 path = tmpdir = tst_get_tmpdir();
80 free(tmpdir);
  /prebuilts/go/darwin-x86/test/
linkobj.go 21 var pwd, tmpdir string var
36 tmpdir = dir
145 println("TMPDIR:", tmpdir)
148 os.Chdir(pwd) // get out of tmpdir before removing it
149 os.RemoveAll(tmpdir)
  /prebuilts/go/linux-x86/test/
linkobj.go 21 var pwd, tmpdir string var
36 tmpdir = dir
145 println("TMPDIR:", tmpdir)
148 os.Chdir(pwd) // get out of tmpdir before removing it
149 os.RemoveAll(tmpdir)
  /system/core/base/
test_utils.cpp 60 const char* tmpdir = "/data/local/tmp"; local
61 if (access(tmpdir, R_OK | W_OK | X_OK) == 0) {
62 return tmpdir;
  /toolchain/binutils/binutils-2.25/libiberty/
make-temp-file.c 112 char *tmpdir; local
119 base = try_dir (getenv ("TMPDIR"), base);
144 tmpdir = XNEWVEC (char, len + 2);
145 strcpy (tmpdir, base);
146 tmpdir[len] = DIR_SEPARATOR;
147 tmpdir[len+1] = '\0';
148 memoized_tmpdir = tmpdir;
  /external/autotest/client/common_lib/
profiler_manager_unittest.py 10 tmpdir = "/home/autotest/tmp" variable in class:stub_job
  /external/bison/djgpp/
subpipe.c 70 char *tmpdir; local
73 tmpdir = getenv("TMPDIR");
74 if (tmpdir == NULL)
75 tmpdir = getenv("TMP");
76 if (tmpdir == NULL)
77 tmpdir = getenv("TEMP");
78 if (access(tmpdir, D_OK))
79 tmpdir = ".";
81 strcpy(tmp_file_name[0], tmpdir);
    [all...]
  /external/bsdiff/
test_utils.cc 22 // leaves it as is. Otherwise, if TMPDIR is defined in the environment and is
29 const char* tmpdir = getenv("TMPDIR"); local
30 const string prefix = (tmpdir && *tmpdir ? tmpdir : "/tmp");
61 setenv("TMPDIR", BSDIFF_TARGET_TMP_BASE, 1);
  /external/ltp/testcases/kernel/syscalls/mkdirat/
mkdirat01.c 90 char *tmpdir = tst_get_tmpdir(); local
95 sprintf(abspath, "%s/mkdiratrelpath%d_%d_2", tmpdir, getpid(), i);
97 free(tmpdir);
  /external/ltp/testcases/kernel/syscalls/mknodat/
mknodat01.c 120 char *tmpdir; local
132 tmpdir = tst_get_tmpdir();
136 sprintf(testfile3, "%s/mknodattestfile3%d", tmpdir, getpid());
137 free(tmpdir);
  /external/ltp/testcases/kernel/syscalls/openat/
openat01.c 118 char *tmpdir; local
128 tmpdir = tst_get_tmpdir();
130 tmpdir);
131 free(tmpdir);
  /external/ltp/testcases/kernel/syscalls/readlinkat/
readlinkat01.c 122 char *tmpdir = tst_get_tmpdir(); local
124 snprintf(abspath, sizeof(abspath), "%s/" TEST_SYMLINK, tmpdir);
125 free(tmpdir);
  /external/nanohttpd/samples/src/main/java/fi/iki/elonen/
TempFilesServer.java 50 private final File tmpdir; field in class:TempFilesServer.ExampleManager
55 this.tmpdir = new File(System.getProperty("java.io.tmpdir"));
76 DefaultTempFile tempFile = new DefaultTempFile(this.tmpdir);
  /libcore/ojluni/src/main/java/java/nio/file/
TempFileHelper.java 49 private static final Path tmpdir = field in class:TempFileHelper
50 Paths.get(doPrivileged(new GetPropertyAction("java.io.tmpdir")));
92 dir = tmpdir;
142 if (dir == tmpdir && sm != null)
  /external/ltp/testcases/kernel/syscalls/mkdir/
mkdir09.c 136 char tmpdir[MAXPATHLEN]; local
141 sprintf(tmpdir, DIR_NAME, j);
142 TEST(mkdir(tmpdir, MODE_RWX));
150 if (rmdir(tmpdir) < 0) {
250 sprintf(tmpdir, DIR_NAME, j);
251 if (rmdir(tmpdir) < 0) {
330 char tmpdir[MAXPATHLEN]; local
334 sprintf(tmpdir, DIR_NAME, j);
335 TEST(mkdir(tmpdir, MODE_RWX));
342 tmpdir, TEST_ERRNO)
366 char tmpdir[MAXPATHLEN]; local
400 char tmpdir[MAXPATHLEN]; local
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
JavaIOTempDirExistTest.java 52 String tmpdir = System.getProperty("java.io.tmpdir"); local
56 Assert.assertEquals(tempFileBackRef.getParentFile(), new File(tmpdir));
72 final String tmpdir = System.getProperty("java.io.tmpdir"); local
76 System.setProperty("java.io.tmpdir", newDir.getAbsolutePath());
82 System.setProperty("java.io.tmpdir", tmpdir);
  /external/syslinux/mtools/
syslinux.c 192 const char *tmpdir; local
226 tmpdir = getenv("TMPDIR");
227 if (!tmpdir) {
229 tmpdir = P_tmpdir;
231 tmpdir = _PATH_TMP;
233 tmpdir = "/tmp";
266 if (asprintf(&mtools_conf, "%s//syslinux-mtools-XXXXXX", tmpdir) < 0 ||
268 die_err(tmpdir);
  /prebuilts/go/darwin-x86/misc/ios/
go_darwin_arm_exec.go 45 var tmpdir string var
80 tmpdir, err = ioutil.TempDir("", "go_darwin_arm_exec_")
115 os.RemoveAll(tmpdir)
132 appdir := filepath.Join(tmpdir, "gotest.app")
142 entitlementsPath := filepath.Join(tmpdir, "Entitlements.plist")
  /prebuilts/go/linux-x86/misc/ios/
go_darwin_arm_exec.go 45 var tmpdir string var
80 tmpdir, err = ioutil.TempDir("", "go_darwin_arm_exec_")
115 os.RemoveAll(tmpdir)
132 appdir := filepath.Join(tmpdir, "gotest.app")
142 entitlementsPath := filepath.Join(tmpdir, "Entitlements.plist")
  /external/compiler-rt/lib/tsan/rtl/
tsan_platform_linux.cc 147 const char *tmpdir = GetEnv("TMPDIR"); local
148 if (tmpdir == 0)
149 tmpdir = GetEnv("TEST_TMPDIR");
151 if (tmpdir == 0)
152 tmpdir = P_tmpdir;
154 if (tmpdir == 0)
158 tmpdir, (int)internal_getpid());

Completed in 961 milliseconds

1 2 3