Home
last modified time | relevance | path

Searched full:temporary (Results 1 – 25 of 5503) sorted by relevance

12345678910>>...221

/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/algorithms/
Dlifetimebound.verify.cpp26 …auto&& v1 = std::min(0, i); // expected-warning {{temporary bound to local reference 'v1' … in func()
27 …auto&& v2 = std::min(i, 0); // expected-warning {{temporary bound to local reference 'v2' … in func()
28 …auto&& v3 = std::min(0, i, Comp{}); // expected-warning {{temporary bound to local reference 'v3' … in func()
29 …auto&& v4 = std::min(i, 0, Comp{}); // expected-warning {{temporary bound to local reference 'v4' … in func()
32 …auto&& v1 = std::max(0, i); // expected-warning {{temporary bound to local reference 'v1' … in func()
33 …auto&& v2 = std::max(i, 0); // expected-warning {{temporary bound to local reference 'v2' … in func()
34 …auto&& v3 = std::max(0, i, Comp{}); // expected-warning {{temporary bound to local reference 'v3' … in func()
35 …auto&& v4 = std::max(i, 0, Comp{}); // expected-warning {{temporary bound to local reference 'v4' … in func()
38 …auto&& v1 = std::minmax(0, i); // expected-warning {{temporary bound to local reference 'v… in func()
39 …auto&& v2 = std::minmax(i, 0); // expected-warning {{temporary bound to local reference 'v… in func()
[all …]
/external/rust/crates/tempfile/src/file/
Dmod.rs16 /// Create a new temporary file.
22 /// This variant is secure/reliable in the presence of a pathological temporary file cleaner.
26 /// The temporary file will be automatically removed by the OS when the last handle to it is closed.
27 …n't rely on Rust destructors being run, so will (almost) never fail to clean up the temporary file.
58 /// Create a new temporary file in the specified directory.
62 /// This variant is secure/reliable in the presence of a pathological temporary file cleaner.
63 /// If the temporary file isn't created in [`std::env::temp_dir()`] then temporary file cleaners ar…
67 /// The temporary file will be automatically removed by the OS when the last handle to it is closed.
68 …n't rely on Rust destructors being run, so will (almost) never fail to clean up the temporary file.
99 /// Error returned when persisting a temporary file path fails.
[all …]
/external/rust/crates/tempfile/
DNEWS7 isn't necessary for temporary file names, and isn't all that helpful either.
13 * Make it possible to persist unnamed temporary files on linux by removing the `O_EXCL` flag.
42 * Add an example for reopening a named temporary file.
72 * Temporary files (except unnamed temporary files on Windows and Linux >= 3.11)
73 now use absolute path names. This will break programs that create temporary
86 * Use absolute paths for named temporary files to guard against changes in the
88 * Use absolute paths when creating unnamed temporary files on platforms that
89 can't create unlinked or auto-deleted temporary files. This fixes a very
90 unlikely race where the current directory could change while the temporary
101 * Don't hide temporary files on windows, fixing #66 and #69.
[all …]
/external/tensorflow/tensorflow/compiler/xla/stream_executor/
Dtemporary_device_memory.h16 // Temporary memories are used to allocate scratch space required by an
21 // // ... enqueue stuff onto the stream using the temporary memory ...
25 // // Finalize the temporary memory. The underlying device memory may
34 // temporary memory is finalized, it will cause a DCHECK failure.
53 // Untyped base class (analogous to a void*) for temporary device memory
57 // Marks the temporary memory as finalized if it is not already marked as
67 // "Finalizes" this temporary memory, making it acceptable to release at the
69 // any time after the temporary memory is marked as finalized (e.g. if a
76 // Returns true iff the temporary memory is finalized (that is, the user is
77 // done referring to the temporary device memory, and thus it can be released
[all …]
Dtemporary_memory_manager.h16 // The temporary-memory-manager is a helper class for a Stream to keep track of
17 // temporary allocations. These allocations defer their deallocation to the next
47 // Notes whether the temporary memory has been marked as finalized, such that
53 // Manages temporary memories associated with a stream -- keeps records of
61 // Allocates a temporary array that is then managed by this object.
66 // Forces deallocation of all managed temporary memory regions.
68 // Called, for example, when the Stream owning this temporary memory manager
76 // If must_exist is set, this will check-fail if the temporary memory record
81 // Deallocates temporary memories that have been finalized.
89 // In the vacuous case where the device memory doesn't appear in the temporary
[all …]
/external/clang/test/SemaCXX/
Daddress-of-temporary.cpp1 // RUN: %clang_cc1 -fsyntax-only -Wno-error=address-of-temporary -verify -std=gnu++11 %s
8 void f0() { (void)&X(); } // expected-warning{{taking the address of a temporary object}} in f0()
9 void f1() { (void)&X(1); } // expected-warning{{taking the address of a temporary object}} in f1()
10 void f2() { (void)&X(1, 2); } // expected-warning{{taking the address of a temporary object}} in f2()
11 void f3() { (void)&(X)1; } // expected-warning{{taking the address of a temporary object}} in f3()
29 void g0() { int *p = Y().a; } // expected-warning{{pointer is initialized by a temporary array}} in g0()
30 void g1() { int *p = Y{}.a; } // expected-warning{{pointer is initialized by a temporary array}} in g1()
31 void g2() { int *p = A{}; } // expected-warning{{pointer is initialized by a temporary array}} in g2()
32 void g3() { int *p = (A){}; } // expected-warning{{pointer is initialized by a temporary array}} in g3()
33 void g4() { Z *p = AZ{}; } // expected-warning{{pointer is initialized by a temporary array}} in g4()
[all …]
/external/junit/src/main/java/org/junit/rules/
DTemporaryFolder.java54 * Create a temporary folder which uses system default temporary-file
55 * directory to create temporary resources.
62 * Create a temporary folder which uses the specified directory to create
63 * temporary resources.
65 * @param parentFolder folder where temporary resources will be created.
66 * If {@code null} then system default temporary-file directory is used.
103 * Specifies which folder to use for creating temporary resources.
104 * If {@code null} then system default temporary-file directory is
154 * Returns a new fresh file with the given name under the temporary folder.
166 * Returns a new fresh file with a random name under the temporary folder.
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_tempfile_test.py55 temporary = tempfile.mkstemp()
56 self.assertEqual(2, len(temporary))
58 temporary[1].startswith(
60 self.assertEqual(next_fd, temporary[0])
61 self.assertTrue(self.fs.exists(temporary[1]))
63 self.assertEqual(self.fs.get_object(temporary[1]).st_mode,
65 fh = os.fdopen(temporary[0], 'w+b')
66 self.assertEqual(temporary[0], fh.fileno())
76 temporary = tempfile.mkstemp(dir='/dir')
77 self.assertEqual(2, len(temporary))
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_temp_file.py26 """A named temporary file on a device.
32 """Find an unused temporary file path on the device.
38 suffix: The suffix of the name of the temporary file.
39 prefix: The prefix of the name of the temporary file.
40 dir: The directory on the device in which the temporary file should be
56 """Deletes the temporary file from the device."""
66 logger.warning('Failed to delete temporary file %s: %s', self.name,
83 """A named temporary directory on a device."""
86 """Find an unused temporary directory path on the device. The directory is
93 suffix: The suffix of the name of the temporary directory.
[all …]
/external/libcups/cups/
Dtempfile.c28 * 'cupsTempFd()' - Creates a temporary file.
30 * The temporary filename is returned in the filename buffer.
31 * The temporary file is opened for reading and writing.
42 char tmppath[1024]; /* Temporary directory */ in cupsTempFd()
65 * location to place temporary files due to sandboxing. Instead, the confstr in cupsTempFd()
83 * Previously we put root temporary files in the default CUPS temporary in cupsTempFd()
85 * out temporary files there and runs independently of the user apps, we in cupsTempFd()
94 * Make the temporary name using the specified directory... in cupsTempFd()
157 * 'cupsTempFile()' - Generates a temporary filename.
159 * The temporary filename is returned in the filename buffer.
[all …]
/external/python/cpython3/Doc/library/
Dtempfile.rst1 :mod:`tempfile` --- Generate temporary files and directories
5 :synopsis: Generate temporary files and directories.
12 pair: temporary; file name
13 pair: temporary; file
17 This module creates temporary files and directories. It works on all
25 allow direct control over the location and name of temporary files and
28 shared temporary directories.
36 Return a :term:`file-like object` that can be used as a temporary storage area.
41 this; your code should not rely on a temporary file created using this
46 destruction of the file object the temporary file will be removed
[all …]
/external/python/cpython2/Doc/library/
Dtempfile.rst1 :mod:`tempfile` --- Generate temporary files and directories
8 :synopsis: Generate temporary files and directories.
12 pair: temporary; file name
13 pair: temporary; file
19 This module generates temporary files and directories. It works on all
25 insecure :func:`mktemp` function. Temporary file names created by this module
30 allow direct control over the location and name of temporary files. It is
40 Return a file-like object that can be used as a temporary storage area.
45 this; your code should not rely on a temporary file created using this
69 used to open the file a second time, while the named temporary file is
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DDeferredFileOutputStream.java58 * The temporary file prefix.
63 * The temporary file suffix.
68 * The directory to use for temporary files.
95 * @param prefix Prefix to use for the temporary file.
96 * @param suffix Suffix to use for the temporary file.
97 * @param directory Temporary file directory.
131 * temporary file beyond that point.
135 * @param prefix Prefix to use for the temporary file.
136 * @param suffix Suffix to use for the temporary file.
137 * @param directory Temporary file directory.
[all …]
/external/selinux/sandbox/
Dsandbox.822 …dbox. These applications will start up their own X Server and create a temporary home directory a…
31 Use alternate homedir to mount over your home directory. Defaults to temporary. Requires \-X or \-…
34 Copy this file into the appropriate temporary sandbox directory. Command can be repeated.
38 appropriate temporary sandbox directories.
44 Create a Sandbox with temporary files for $HOME and /tmp.
47 Shred temporary files created in $HOME and /tmp, before deleting.
68 Use alternate temporary directory to mount on /tmp. Defaults to tmpfs. Requires \-X or \-M.
71 Use alternate temporary directory to mount on XDG_RUNTIME_DIR (/run/user/$UID).
86 Create an X based Sandbox for gui apps, temporary files for
/external/eigen/doc/
DTopicLazyEvaluation.dox14 …er to evaluate it into a temporary variable. Indeed, in certain cases it is better to evaluate a s…
21 a traditional library would evaluate \c vec2 + vec3 into a temporary \c vec4 and then copy \c vec4 …
31 …isms to determine automatically which sub-expression should be evaluated into a temporary variable.
38 %Eigen chooses not to introduce any temporary. Thus the arrays are traversed only once, producing o…
49 Here again %Eigen won't introduce any temporary, thus producing a single <b>fused</b> evaluation lo…
61 %Eigen will evaluate <tt>mat * mat</tt> into a temporary matrix, and then copies it into the origin…
64 Note that this temporary is introduced at evaluation time only, that is, within operator= in this e…
81 the products <tt>mat2 * mat3</tt> and <tt>mat4 * mat5</tt> gets evaluated separately into temporary
87 …that the total cost of an operation is reduced if a sub-expression gets evaluated into a temporary.
93 …te it once and store it in a temporary variable. %Eigen understands this and evaluates <tt>mat3 + …
/external/rust/crates/tempfile/src/
Dlib.rs1 //! Temporary files and directories.
3 //! - Use the [`tempfile()`] function for temporary files
4 //! - Use the [`tempdir()`] function for temporary directories.
8 //! This crate provides several approaches to creating temporary files and directories.
9 //! [`tempfile()`] relies on the OS to remove the temporary file once the last handle is closed.
12 //! When choosing between the temporary file variants, prefer `tempfile`
17 //! `tempfile` will (almost) never fail to cleanup temporary resources, but `TempDir` and `NamedTem…
23 //! In the presence of pathological temporary file cleaner, relying on file paths is unsafe because
24 //! a temporary file cleaner could delete the temporary file which an attacker could then replace.
49 //! // Spawn the `touch` command inside the temporary directory and collect the exit status
[all …]
Ddir.rs19 /// Create a new temporary directory.
50 /// let file_path = dir.path().join("my-temporary-note.txt");
68 /// Create a new temporary directory.
99 /// let file_path = dir.path().join("my-temporary-note.txt");
126 /// can be configured to manage a temporary directory in any location
135 /// inside the temporary directory once it has been deleted.
148 /// receiving a signal like `SIGINT`, then the temporary directory
153 /// Create a temporary directory with a generated name:
168 /// Create a temporary directory with a prefix in its name:
200 /// Attempts to make a temporary directory inside of `env::temp_dir()`.
[all …]
/external/armnn/src/armnnUtils/
DFilesystem.cpp16 * @brief Construct a temporary file name.
19 * system temporary directory. If the file already exists it is deleted. This
22 * @param fileName the file name required in the temporary directory.
23 * @return path consisting of system temporary directory and file name.
37 * @brief Construct a temporary directory
40 * system temporary directory. If the directory already exists, it is deleted,
43 * @param path is the path required in the temporary directory.
44 * @return path consisting of system temporary directory.
56 …armnn::ConditionalThrow<armnn::RuntimeException>((result == 0), "Was unable to create temporary di… in CreateDirectory()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dtempfile_ext.py13 """A context manager that manages a temporary directory.
18 This can be used to automatically manage the lifetime of a temporary file
20 scenarios where a parent process calls a child process to create a temporary
35 """A conext manager to hold a named temporary file.
38 - The file is _not_ deleted when you close the temporary file handle, so you
51 The parent directory of the file is a newly clreated temporary directory,
55 The entire parent directory, possibly including the named temporary file and
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_branches.c41 struct proxy_info Temporary[RC_REGISTER_MAX_INDEX]; member
113 return &sap->Proxies->Temporary[index]; in get_proxy_info()
145 * temporary registers.
163 if (proxies->Temporary[index].Proxied) { in allocate_and_insert_proxies()
167 inst_mov->U.I.DstReg.Index = proxies->Temporary[index].Index; in allocate_and_insert_proxies()
222 if (IfProxies.Temporary[index].Proxied || ElseProxies.Temporary[index].Proxied) { in handle_endif()
224 IfProxies.Temporary[index], ElseProxies.Temporary[index]); in handle_endif()
245 unsigned int Temporary:RC_REGISTER_INDEX_BITS; member
255 *pindex = data->Temporary; in remap_output_function()
262 * temporary registers.
[all …]
/external/vogar/src/vogar/android/
DDeviceFileCache.java69 File temporary = new File(cachedFile + ".tmp"); in copyToCache() local
70 cp(source, temporary); in copyToCache()
71 mv(cachedFile, temporary); in copyToCache()
74 private void mv(File cachedFile, File temporary) { in mv() argument
75 new Command(log, "adb", "shell", "mv", temporary.getPath(), cachedFile.getPath()).execute(); in mv()
78 private void cp(File source, File temporary) { in cp() argument
80 new Command(log, "adb", "shell", "cat", source.getPath(), ">", temporary.getPath()) in cp()
/external/ltp/testcases/kernel/syscalls/mremap/
Dmremap01.c36 * Create temporary directory.
52 * Delete the temporary directory created.
151 * Creat a temporary directory and a file under it.
153 * write 1 byte (\0). Map the temporary file for the length of virtual
178 /* Creat a temporary file used for mapping */ in setup()
189 /* Write one byte data into temporary file */ in setup()
196 * beginning of temporary file (offset is 0) into memory. in setup()
211 /* Write one byte data into temporary file */ in setup()
223 * Close the temporary file.
224 * Remove the temporary directory.
[all …]
/external/python/cpython2/Lib/
Dtempfile.py1 """Temporary files.
4 creating temporary files and directories. All of the interfaces
13 template - the default prefix for all temporary names.
17 another candidate location to store temporary files.
149 """Generate a list of candidate temporary directories which
177 """Calculate the default directory to use for temporary files.
217 ("No usable temporary directory found in %s" % dirlist))
257 raise IOError, (_errno.EEXIST, "No usable temporary file name found")
281 """User-callable function to create and return a unique temporary
318 """User-callable function to create and return a unique temporary
[all …]
/external/libpng/contrib/libtests/
Dtimepng.c76 perror("temporary file");
77 fprintf(stderr, "temporary file PNG write failed\n");
93 /* Set up for a copy to the temporary file: */ in read_by_row()
208 perror("temporary file"); in perform_one_test()
216 perror("temporary file"); in perform_one_test()
277 perror("temporary file"); in add_one_file()
278 fprintf(stderr, "temporary file fgetpos error\n"); in add_one_file()
302 perror("temporary file"); in add_one_file()
303 fprintf(stderr, "temporary file write error\n"); in add_one_file()
310 /* Did not read the file successfully, simply rewind the temporary in add_one_file()
[all …]
/external/clang/test/Analysis/
Dtemp-obj-dtors-cfg-output.cpp2 // RUN: %clang_cc1 -analyze -analyzer-checker=debug.DumpCFG -analyzer-config cfg-temporary-dtors=tr…
4 // RUN: %clang_cc1 -analyze -analyzer-checker=debug.DumpCFG -analyzer-config cfg-temporary-dtors=tr…
209 // CHECK: 6: ~A() (Temporary object destructor)
267 // CHECK: 6: ~A() (Temporary object destructor)
290 // CHECK: 15: ~B() (Temporary object destructor)
291 // CHECK: 16: ~A() (Temporary object destructor)
308 // CHECK: 33: ~B() (Temporary object destructor)
309 // CHECK: 34: ~A() (Temporary object destructor)
318 // CHECK: 1: ~A() (Temporary object destructor)
323 // CHECK: 1: ~B() (Temporary object destructor)
[all …]

12345678910>>...221