Home
last modified time | relevance | path

Searched refs:temporary (Results 1 – 25 of 982) sorted by relevance

12345678910>>...40

/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/rust/crates/tempfile/
DNEWS27 * Add an example for reopening a named temporary file.
57 * Temporary files (except unnamed temporary files on Windows and Linux >= 3.11)
58 now use absolute path names. This will break programs that create temporary
71 * Use absolute paths for named temporary files to guard against changes in the
73 * Use absolute paths when creating unnamed temporary files on platforms that
74 can't create unlinked or auto-deleted temporary files. This fixes a very
75 unlikely race where the current directory could change while the temporary
86 * Don't hide temporary files on windows, fixing #66 and #69.
93 * Added a spooled temporary file implementation. This temporary file variant
94 starts out as an in-memory temporary file but "rolls-over" onto disk when it
[all …]
DREADME.md7 A secure, cross-platform, temporary file library for Rust. In addition to creating
8 temporary files, this library also allows users to securely open multiple
9 independent references to the same temporary file (useful for consumer/producer
/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/rust/crates/anyhow/tests/ui/
Dtemporary-value.stderr1 error[E0716]: temporary value dropped while borrowed
2 --> $DIR/temporary-value.rs:4:22
5 | ---------^^^^^^^^^^^^^-- temporary value is freed at the end of this statement
7 | | creates a temporary which is freed while still in use
/external/clang/test/CodeGenCXX/
Dconst-init-cxx1y.cpp23 struct A { int &&temporary; int x; };
25 A a = { 6, f(a.temporary) };
29 A b = { 7, ++b.temporary };
36 A c = { 10, (++c.temporary, b.x) };
/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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_DestroyTemporaryVariable.pbtxt6 A reference to the temporary variable tensor.
12 Name of the temporary variable, usually the name of the matching
16 summary: "Destroys the temporary variable and returns its final value."
19 the temporary variable called 'var_name'.
/external/mesa3d/src/intel/vulkan/
Danv_queue.c301 assert(semaphore->temporary.type == ANV_SEMAPHORE_TYPE_NONE); in anv_queue_submit_timeline_locked()
419 assert(semaphore->temporary.type == ANV_SEMAPHORE_TYPE_NONE); in anv_queue_task()
862 struct anv_semaphore_impl *impl = &semaphore->temporary; in maybe_transfer_temporary_semaphore()
1032 semaphore->temporary.type != ANV_SEMAPHORE_TYPE_NONE ? in anv_queue_submit()
1033 &semaphore->temporary : &semaphore->permanent; in anv_queue_submit()
1099 fence->temporary.type != ANV_FENCE_TYPE_NONE ? in anv_queue_submit()
1100 &fence->temporary : &fence->permanent; in anv_queue_submit()
1147 assert(fence->temporary.type == ANV_FENCE_TYPE_NONE); in anv_queue_submit()
1405 if (fence->temporary.type == ANV_FENCE_TYPE_NONE) in anv_fence_reset_temporary()
1408 anv_fence_impl_cleanup(device, &fence->temporary); in anv_fence_reset_temporary()
[all …]
/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/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
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
106 Creates a temporary file in the most secure manner possible. There are
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_drm.c40 uint32_t permanent, temporary; member
473 sync->temporary = 0; in sync_create()
482 if (sync->temporary) { in sync_set_temporary()
484 &(struct drm_syncobj_destroy) { .handle = sync->temporary }); in sync_set_temporary()
486 sync->temporary = syncobj; in sync_set_temporary()
505 sync_import(VkDevice _device, struct tu_syncobj *sync, bool temporary, bool sync_fd, int fd) in sync_import() argument
511 uint32_t *dst = temporary ? &sync->temporary : &sync->permanent; in sync_import()
525 assert(temporary); in sync_import()
562 .handle = sync->temporary ?: sync->permanent, in sync_export()
651 .handle = sem->temporary ?: sem->permanent, in tu_QueueSubmit()
[all …]
/external/vogar/src/vogar/
DHostFileCache.java65 … File temporary = new File(cachedFile + ".tmp" + String.valueOf(ProcessHandle.current().pid())); in copyToCache() local
66 cp(source, temporary); in copyToCache()
67 mv(temporary, cachedFile); in copyToCache()
/external/clang/test/SemaCXX/
Ddecl-init-ref.cpp35 struct A { int &&temporary; int x, y; };
37 const A &c = { 10, ++c.temporary };
/external/angle/tools/flex-bison/third_party/m4sugar/
Dforeach.m467 # that temporary macro. Thus, the recursion is done in m4_for without
88 # Use m4_for to create a temporary macro in terms of a boilerplate
90 # odd, then rounding the last $# up in the temporary macro is
119 # We build the temporary macro _m4_b:
151 # We only have to speed up _m4_cond, by building the temporary _m4_c:
180 # temporary _m4_p:
203 # _m4_shiftn. If N is 3, then we build the temporary _m4_s, defined as
217 # Here, we use the temporary macro _m4_do, defined as
236 # Invoke _m4_r($@) with the temporary _m4_r built as
250 # Build the temporary macro _m4_map_args_pair, with the $2([$m+1])
[all …]
/external/autotest/client/site_tests/network_Dhcpv6Basic/
Dcontrol10 non-temporary address and prefix delegation via DHCPv6 server.
19 Tests that we can acquire an DHCPv6 non-temporary address and prefix
/external/clang/test/Rewriter/
Drewrite-unique-block-api.mm2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.c…
4 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-mode…
Drewrite-byref-in-nested-blocks.mm2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"_…
4 // RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"_…
Drewrite-nested-ivar.mm2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"_…
4 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"_…
Drewrite-nested-blocks-2.mm2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"_…
5 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec…
Drewrite-block-literal-1.mm2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspe…
5 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspe…
Drewrite-rewritten-initializer.mm2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec…
4 // RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__…
/external/mesa3d/src/amd/vulkan/
Dradv_wsi.c264 fence->temporary.kind != RADV_FENCE_NONE ? in radv_AcquireNextImage2KHR()
265 &fence->temporary : &fence->permanent; in radv_AcquireNextImage2KHR()
282 semaphore->temporary.kind != RADV_SEMAPHORE_NONE ? in radv_AcquireNextImage2KHR()
283 &semaphore->temporary : &semaphore->permanent; in radv_AcquireNextImage2KHR()
/external/llvm/test/MC/Mips/
Dmips-noat.s3 # Check that using the assembler temporary when .set noat is in effect is an error.
5 # We start with the assembler temporary enabled
/external/python/cpython2/Lib/
Dbdb.py142 if (flag and bp.temporary):
251 def set_break(self, filename, lineno, temporary=0, cond = None, argument
264 bp = Breakpoint(filename, lineno, temporary, cond, funcname)
473 def __init__(self, file, line, temporary=0, cond=None, funcname=None): argument
479 self.temporary = temporary
511 if self.temporary:

12345678910>>...40