/external/libbrillo/brillo/ |
D | file_utils.cc | 467 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/ |
D | persistent_histogram_allocator_unittest.cc | 166 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/ |
D | jmemsys.h | 136 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/ |
D | persistent_histogram_allocator_unittest.cc | 160 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/ |
D | concat_z.cc | 108 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/ |
D | anf.py | 158 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/ |
D | bitwriter.ml | 29 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/ |
D | shared_memory.py | 128 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/ |
D | environment_test.py | 64 temp_name = temp.name 70 cmd = '{} && set'.format(temp_name) 73 cmd = '. {} && env'.format(temp_name)
|
/external/cronet/base/files/ |
D | file_util_win.cc | 614 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/ |
D | pngfix.c | 3860 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/ |
D | capsh.c | 438 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/ |
D | activity_tracker_unittest.cc | 352 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/ |
D | link_uniforms.cpp | 211 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/ |
D | gl_XML.py | 903 temp_name = child.get( "name" ) 904 self.category_dict[ temp_name ] = [cat_name, cat_number]
|
/external/armnn/third-party/ghc/ |
D | filesystem.hpp | 4346 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()
|