Home
last modified time | relevance | path

Searched refs:temp_name (Results 1 – 15 of 15) sorted by relevance

/external/libbrillo/brillo/
Dfile_utils.cc467 std::string temp_name = path.AddExtension(random_suffix).value(); in WriteToFileAtomic() local
469 HANDLE_EINTR(open(temp_name.c_str(), O_CREAT | O_EXCL | O_WRONLY, mode)); in WriteToFileAtomic()
471 PLOG(WARNING) << "Could not open " << temp_name << " for atomic write"; in WriteToFileAtomic()
472 unlink(temp_name.c_str()); in WriteToFileAtomic()
481 PLOG(WARNING) << "Could not write " << temp_name; in WriteToFileAtomic()
483 unlink(temp_name.c_str()); in WriteToFileAtomic()
490 PLOG(WARNING) << "Could not fsync " << temp_name; in WriteToFileAtomic()
492 unlink(temp_name.c_str()); in WriteToFileAtomic()
496 PLOG(WARNING) << "Could not close " << temp_name; in WriteToFileAtomic()
497 unlink(temp_name.c_str()); in WriteToFileAtomic()
[all …]
/external/libjpeg-turbo/
Djmemsys.h136 char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */ member
142 char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */ member
146 char temp_name[TEMP_NAME_LENGTH]; /* name of temp file */ member
/external/libchrome/base/metrics/
Dpersistent_histogram_allocator_unittest.cc160 const char temp_name[] = "CreateWithFileTest"; in TEST_F() local
163 FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); in TEST_F()
168 GlobalHistogramAllocator::CreateWithFile(temp_file, temp_size, 0, temp_name); in TEST_F()
169 EXPECT_EQ(std::string(temp_name), in TEST_F()
175 EXPECT_EQ(std::string(temp_name), in TEST_F()
181 EXPECT_EQ(std::string(temp_name), in TEST_F()
189 const char temp_name[] = "CreateSpareFileTest.pma"; in TEST_F() local
192 FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); in TEST_F()
/external/llvm-project/openmp/runtime/tools/lib/
Dtools.pm1613 my $temp_name;
1628 ( $temp_handle, $temp_name ) =
1659 $temp_name = $redir;
1661 $temp_name = File::Spec->devnull();
1663 $temp_handle = IO::File->new( $temp_name, $mode )
1664 …or runtime_error( "file \"$temp_name\" could not be opened for " . ( $mode eq "<" ? "input" : "out…
1674 $arg->{ temp_name } = $temp_name;
1691 my $temp_name = $arg->{ temp_name };
1732 delete( $arg->{ temp_name } );
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dconcat_z.cc94 const std::string temp_name = "t" + std::to_string(read_index); in GetConcatKernelCode() local
95 c += " FLT4 " + temp_name + " = " + tensor_name + ".Read(" + coords + in GetConcatKernelCode()
99 c += temp_name + postfix[ch] + ";\n"; in GetConcatKernelCode()
/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf.py163 temp_name = self._gensym.new_name()
165 'temp_name = expr', temp_name=temp_name, expr=node)[0]
167 answer = templates.replace('temp_name', temp_name=temp_name)[0]
/external/llvm/test/Bindings/OCaml/
Dbitwriter.ml29 let temp_name, temp_oc = Filename.open_temp_file ~mode:[Open_binary] "" "" in
34 let temp_buf = read_file temp_name in
/external/llvm-project/llvm/test/Bindings/OCaml/
Dbitwriter.ml29 let temp_name, temp_oc = Filename.open_temp_file ~mode:[Open_binary] "" "" in
34 let temp_buf = read_file temp_name in
/external/python/cpython3/Lib/multiprocessing/
Dshared_memory.py128 temp_name = _make_filename() if name is None else name
137 temp_name
151 self._mmap = mmap.mmap(-1, size, tagname=temp_name)
154 self._name = temp_name
/external/pigweed/pw_env_setup/py/
Denvironment_test.py63 temp_name = temp.name
69 cmd = '{} && set'.format(temp_name)
72 cmd = '. {} && env'.format(temp_name)
/external/libpng/contrib/tools/
Dpngfix.c3860 char temp_name[FILENAME_MAX+1]; in main() local
3979 memcpy(temp_name, prefix, prefixlen); in main()
3980 memcpy(temp_name+prefixlen, *argv, outlen); in main()
3982 outfile = temp_name; in main()
3986 memcpy(temp_name, *argv, outlen); in main()
3988 temp_name[outlen] = 0; in main()
4002 memcpy(temp_name+outlen, suffix, suffixlen); in main()
4004 temp_name[outlen] = 0; in main()
4005 outfile = temp_name; in main()
/external/libcap/progs/
Dcapsh.c380 char *temp_name = cap_to_name(cap_max_bits() - 1); in main() local
381 if (temp_name[0] != 'c') { in main()
385 cap_free(temp_name); in main()
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc352 const char temp_name[] = "CreateWithFileTest"; in TEST_F() local
355 FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); in TEST_F()
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp211 char *temp_name = get_var_name(uni->name); in calculate_array_size_and_stride() local
212 if (!temp_name) { in calculate_array_size_and_stride()
217 var_name = get_top_level_name(temp_name); in calculate_array_size_and_stride()
218 free(temp_name); in calculate_array_size_and_stride()
/external/mesa3d/src/mapi/glapi/gen/
Dgl_XML.py903 temp_name = child.get( "name" )
904 self.category_dict[ temp_name ] = [cat_name, cat_number]