Home
last modified time | relevance | path

Searched refs:temp_name (Results 1 – 16 of 16) 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/cronet/base/metrics/
Dpersistent_histogram_allocator_unittest.cc166 const char temp_name[] = "CreateWithFileTest"; in TEST_F() local
169 FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); in TEST_F()
174 GlobalHistogramAllocator::CreateWithFile(temp_file, temp_size, 0, 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()
187 EXPECT_EQ(std::string(temp_name), in TEST_F()
195 const char temp_name[] = "CreateSpareFileTest.pma"; in TEST_F() local
198 FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); in TEST_F()
460 const char temp_name[] = "MovePersistentFileTest.pma"; in TEST_F() local
463 FilePath temp_file = temp_dir.GetPath().AppendASCII(temp_name); in TEST_F()
[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/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dconcat_z.cc108 const std::string temp_name = "t" + std::to_string(read_index); in GetConcatKernelCode() local
109 c += " " + tensor_name + "::type " + temp_name + " = " + tensor_name + in GetConcatKernelCode()
113 c += temp_name + postfix[ch] + ";\n"; in GetConcatKernelCode()
/external/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf.py158 temp_name = self._gensym.new_name()
160 'temp_name = expr', temp_name=temp_name, expr=node)[0]
162 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/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.py64 temp_name = temp.name
70 cmd = '{} && set'.format(temp_name)
73 cmd = '. {} && env'.format(temp_name)
/external/cronet/base/files/
Dfile_util_win.cc614 FilePath temp_name; in CreateAndOpenTemporaryFileInDir() local
620 temp_name = dir.Append(FormatTemporaryFileName(UTF8ToWide(GenerateGUID()))); in CreateAndOpenTemporaryFileInDir()
621 file.Initialize(temp_name, kFlags); in CreateAndOpenTemporaryFileInDir()
633 GetLongPathName(temp_name.value().c_str(), long_temp_name, MAX_PATH); in CreateAndOpenTemporaryFileInDir()
639 *temp_file = std::move(temp_name); in CreateAndOpenTemporaryFileInDir()
/external/libpng/contrib/tools/
Dpngfix.c3860 char temp_name[FILENAME_MAX+1]; in main() local
3987 memcpy(temp_name, prefix, prefixlen); in main()
3988 memcpy(temp_name+prefixlen, *argv, outlen); in main()
3990 outfile = temp_name; in main()
3994 memcpy(temp_name, *argv, outlen); in main()
3996 temp_name[outlen] = 0; in main()
4010 memcpy(temp_name+outlen, suffix, suffixlen); in main()
4012 temp_name[outlen] = 0; in main()
4013 outfile = temp_name; in main()
/external/libcap/progs/
Dcapsh.c438 char *temp_name = cap_to_name(cap_max_bits() - 1); in main() local
439 if (temp_name[0] != 'c') { in main()
443 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]
/external/armnn/third-party/ghc/
Dfilesystem.hpp4346 for (auto temp_name = temp_vars; *temp_name != nullptr; ++temp_name) { in temp_directory_path() local
4347 temp_path = std::getenv(*temp_name); in temp_directory_path()