Home
last modified time | relevance | path

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

12345678910>>...260

/external/cronet/third_party/libc++/src/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(os.path.join(tempfile.gettempdir(), "tmp"))
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, stat.S_IFREG | mode)
64 fh = os.fdopen(temporary[0], "w+b")
65 self.assertEqual(temporary[0], fh.fileno())
75 temporary = tempfile.mkstemp(dir="/dir")
76 self.assertEqual(2, len(temporary))
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/output/
DDeferredFileOutputStream.java95 * Sets the temporary file directory.
97 * @param directory Temporary file directory.
106 * Sets the temporary file directory.
108 * @param directory Temporary file directory.
141 * Sets the prefix to use for the temporary file.
143 * @param prefix Prefix to use for the temporary file.
152 * Sets the suffix to use for the temporary file.
154 * @param suffix Suffix to use for the temporary file.
216 * The temporary file prefix.
221 * The temporary file suffix.
[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/sdv/vsomeip/third_party/boost/numeric/ublas/include/boost/numeric/ublas/
Doperation_sparse.hpp38 vector<value_type> temporary (e2 ().size2 ()); in sparse_prod() local
39 temporary.clear (); in sparse_prod()
43 size_type jb (temporary.size ()); in sparse_prod()
53 // temporary.plus_assign (*it2 * row (e2 (), it2.index2 ())); in sparse_prod()
59 temporary (j) += *it2 * *itr; in sparse_prod()
67 if (temporary (j) != value_type/*zero*/()) { in sparse_prod()
69 // m.push_back (it1.index1 (), j, temporary (j)); in sparse_prod()
71 // m.insert (it1.index1 (), j, temporary (j)); in sparse_prod()
73 m (it1.index1 (), j) = temporary (j); in sparse_prod()
74 temporary (j) = value_type/*zero*/(); in sparse_prod()
[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/google-breakpad/src/common/linux/
Dscoped_tmpfile.h29 // Utility class for creating a temporary file for that is deleted in the
39 // Small RAII wrapper for temporary files.
48 // Initialize the ScopedTmpFile object - this does not create the temporary
52 // Destroy temporary file on scope exit.
55 // Creates the empty temporary file - returns true iff the temporary file was
59 // Creates the temporary file with the provided C string. The terminating null
60 // is not written. Returns true iff the temporary file was created
64 // Creates the temporary file with the provided data. Returns true iff the
65 // temporary file was created successfully and the contents were written
76 // Set the contents of the temporary file, and seek back to the start of the
/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/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/mesa3d/src/vulkan/runtime/
Dvk_semaphore.c170 * temporary unless that temporary is also used as a semaphore signal in vk_common_CreateSemaphore()
225 if (semaphore->temporary == NULL) in vk_semaphore_reset_temporary()
228 vk_sync_destroy(device, semaphore->temporary); in vk_semaphore_reset_temporary()
229 semaphore->temporary = NULL; in vk_semaphore_reset_temporary()
436 struct vk_sync *temporary = NULL, *sync; in vk_common_ImportSemaphoreWin32HandleKHR() local
457 0 /* initial_value */, &temporary); in vk_common_ImportSemaphoreWin32HandleKHR()
461 sync = temporary; in vk_common_ImportSemaphoreWin32HandleKHR()
480 if (temporary != NULL) in vk_common_ImportSemaphoreWin32HandleKHR()
481 vk_sync_destroy(device, temporary); in vk_common_ImportSemaphoreWin32HandleKHR()
486 * semaphore's temporary payload with the new vk_sync at the top. However, in vk_common_ImportSemaphoreWin32HandleKHR()
[all …]
Dvk_semaphore.h41 /* Temporary semaphore state.
43 * A semaphore *may* have temporary state. That state is added to the
45 * semaphore is reset. A semaphore with temporary state cannot be signaled
46 * because the semaphore must already be signaled before the temporary
50 struct vk_sync *temporary; member
70 return semaphore->temporary ? semaphore->temporary : &semaphore->permanent; in vk_semaphore_get_active_sync()
Dvk_fence.h38 /* Temporary fence state.
40 * A fence *may* have temporary state. That state is added to the fence by
42 * A fence with temporary state cannot be signaled because the fence must
43 * already be signaled before the temporary state can be exported from the
46 struct vk_sync *temporary; member
75 return fence->temporary ? fence->temporary : &fence->permanent; in vk_fence_get_active_sync()
/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/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/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/boringssl/src/crypto/test/
Dfile_util.h76 // temporary files should be skipped because of platform issues.
79 // TemporaryFile manages a temporary file for testing.
92 // Init initializes the temporary file with the specified content. It returns
107 // path returns the path to the temporary file.
114 // TemporaryDirectory manages a temporary directory for testing.
128 // Init initializes the temporary directory. It returns true on success and
133 // path returns the path to the temporary directory.
136 // AddFile adds a file to the temporary directory with the specified content.
138 // temporary directory are not currently supported.
147 // GetFilePath returns the path to the speciifed file within the temporary
/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

12345678910>>...260