/external/autotest/client/site_tests/security_Minijail0/src/ |
H A D | 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/blktrace/btt/ |
H A D | 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/nanohttpd/samples/src/main/java/fi/iki/elonen/ |
H A D | 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);
|
/external/dbus/dbus/ |
H A D | dbus-server-unix.c | 67 const char *tmpdir = dbus_address_entry_get_value (entry, "tmpdir"); local 70 if (path == NULL && tmpdir == NULL && abstract == NULL) 73 "path or tmpdir or abstract", 78 if ((path && tmpdir) || 80 (tmpdir && abstract)) 83 "cannot specify two of \"path\" and \"tmpdir\" and \"abstract\" at the same time"); 87 if (tmpdir != NULL) 108 !_dbus_string_append (&full_path, tmpdir) || 117 /* Always use abstract namespace if possible with tmpdir */ [all...] |
H A D | dbus-transport-unix.c | 237 const char *tmpdir = dbus_address_entry_get_value (entry, "tmpdir"); local 240 if (tmpdir != NULL) 243 "cannot use the \"tmpdir\" option for an address to connect to, only in an address to listen on");
|
H A D | dbus-sysdeps-unix.c | 3205 static const char* tmpdir = NULL; local 3207 if (tmpdir == NULL) 3213 if (tmpdir == NULL) 3214 tmpdir = getenv("TMPDIR"); 3219 if (tmpdir == NULL) 3220 tmpdir = getenv("TMP"); 3221 if (tmpdir == NULL) 3222 tmpdir = getenv("TEMP"); 3225 if (tmpdir == NULL) 3226 tmpdir [all...] |
H A D | dbus-sysdeps-win.c | 2007 static const char* tmpdir = NULL; local 2010 if (tmpdir == NULL) 2028 tmpdir = buf; 2031 _dbus_assert(tmpdir != NULL); 2033 return tmpdir;
|
/external/autotest/client/common_lib/ |
H A D | profiler_manager_unittest.py | 10 tmpdir = "/home/autotest/tmp" variable in class:stub_job
|
H A D | base_job.py | 867 @property tmpdir: The job temporary directory. [WRITABLE] 947 tmpdir = _job_directory.property_factory('tmpdir') variable in class:base_job
|
/external/bison/djgpp/ |
H A D | 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); 88 strcpy(tmp_file_name[1], tmpdir); [all...] |
/external/bsdiff/ |
H A D | test_utils.cc | 28 const char* tmpdir = getenv("TMPDIR"); local 29 const string prefix = (tmpdir && *tmpdir ? tmpdir : "/tmp");
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_linux.cc | 145 const char *tmpdir = GetEnv("TMPDIR"); local 146 if (tmpdir == 0) 147 tmpdir = GetEnv("TEST_TMPDIR"); 149 if (tmpdir == 0) 150 tmpdir = P_tmpdir; 152 if (tmpdir == 0) 156 tmpdir, (int)internal_getpid());
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | BaseTest.java | 69 public String tmpdir = null; field in class:BaseTest 83 tmpdir = new File(System.getProperty("java.io.tmpdir"), 92 // remove tmpdir if no error. 99 tool.setOutputDirectory(tmpdir); 105 tool.setOutputDirectory(tmpdir); 113 "javac", "-d", tmpdir, 114 classpathOption, tmpdir+pathSep+CLASSPATH, 115 tmpdir+"/"+fileName 117 String cmdLine = "javac" +" -d "+tmpdir [all...] |
/external/e2fsprogs/debian/ |
H A D | rules | 55 tmpdir ?= ${debdir}/tmp macro 89 mandir ?= ${tmpdir}${MANDIR} 397 mkdir -p ${tmpdir}/sbin 398 $(MAKE) -C ${stdbuilddir} V=1 install DESTDIR=${tmpdir} \ 401 $(MAKE) -C ${stdbuilddir} V=1 install-libs DESTDIR=${tmpdir} LDCONFIG=true 405 ${INSTALL_PROGRAM} $(E2FSCK_STATIC) ${tmpdir}/sbin 410 rm ${tmpdir}/usr/include/quota/mkquota.h 411 find ${tmpdir} -name quota.pc -o -name libquota.a | xargs rm 414 ${INSTALL} -m 0644 misc/mke2fs-hurd.conf ${tmpdir}/etc/mke2fs.conf 418 test -z "`find ${tmpdir} [all...] |
/external/selinux/policycoreutils/sandbox/ |
H A D | seunshare.c | 55 #define USAGE_STRING _("USAGE: seunshare [ -v ] [ -C ] [ -k ] [ -t tmpdir ] [ -h homedir ] [ -Z CONTEXT ] -- executable [args] ") 381 static int cleanup_tmpdir(const char *tmpdir, const char *src, argument 389 if (asprintf(&cmdbuf, "/usr/bin/rsync --exclude=.X11-unix -utrlHDq --delete '%s/' '%s/'", tmpdir, src) == -1) { 402 if (asprintf(&cmdbuf, "/bin/rm -r '%s/' 2>/dev/null", tmpdir) == -1) { 407 /* this may fail if there's root-owned file left in the runtime tmpdir */ 417 if (rmdir(tmpdir) == -1) 418 fprintf(stderr, _("Failed to remove directory %s: %s\n"), tmpdir, strerror(errno)); 428 * seunshare will create a tmpdir in /tmp, with root ownership. The parent 436 char *tmpdir = NULL; local 469 if (asprintf(&tmpdir, "/tm [all...] |
/external/libchrome/base/files/ |
H A D | file_util_posix.cc | 565 FilePath tmpdir; local 566 if (!GetTempDir(&tmpdir)) 569 return CreateTemporaryDirInDirImpl(tmpdir, TempFileName(), new_temp_path);
|
/external/valgrind/coregrind/m_gdbserver/ |
H A D | remote-utils.c | 1259 const HChar *tmpdir = VG_(tmpdir)(); local 1260 prefix = malloc(strlen(tmpdir) + strlen("/vgdb-pipe") + 1); 1261 strcpy(prefix, tmpdir);
|
/external/valgrind/coregrind/ |
H A D | m_libcfile.c | 863 const HChar *VG_(tmpdir)(void) function 865 const HChar *tmpdir; local 867 tmpdir = VG_(getenv)("TMPDIR"); 868 if (tmpdir == NULL || *tmpdir == '\0') tmpdir = VG_TMPDIR; 869 if (tmpdir == NULL || *tmpdir == '\0') tmpdir = "/tmp"; /* fallback */ 871 return tmpdir; 891 const HChar *tmpdir; local [all...] |
H A D | vgdb.c | 110 const char *tmpdir; local 112 tmpdir = getenv("TMPDIR"); 113 if (tmpdir == NULL || *tmpdir == '\0') 114 tmpdir = VG_TMPDIR; 115 if (tmpdir == NULL || *tmpdir == '\0') 116 tmpdir = "/tmp"; /* fallback */ 118 return tmpdir; 129 const char *tmpdir local [all...] |
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
H A D | NanoHTTPD.java | 420 * <code>java.io.tmpdir</code> points to). Files are added to an internal 427 private final File tmpdir; field in class:NanoHTTPD.DefaultTempFileManager 432 this.tmpdir = new File(System.getProperty("java.io.tmpdir")); 433 if (!tmpdir.exists()) { 434 tmpdir.mkdirs(); 453 DefaultTempFile tempFile = new DefaultTempFile(this.tmpdir);
|
/external/elfutils/src/ |
H A D | readelf.c | 587 const char *tmpdir = getenv ("TMPDIR") ?: P_tmpdir; local 589 int tmplen = strlen (tmpdir) + sizeof (suffix); 591 sprintf (tempname, "%s%s", tmpdir, suffix);
|
/external/mksh/src/ |
H A D | sh.h | 1325 EXTERN char *tmpdir; /* TMPDIR value */ variable
|
/external/toybox/generated/ |
H A D | globals.h | 75 char *tmpdir; member in struct:mktemp_data
|
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |