Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dfile_utils.cc266 std::string temp_name = path.AddExtension(random_suffix).value(); in WriteToFileAtomic() local
268 HANDLE_EINTR(open(temp_name.c_str(), O_CREAT | O_EXCL | O_WRONLY, mode)); in WriteToFileAtomic()
270 PLOG(WARNING) << "Could not open " << temp_name << " for atomic write"; in WriteToFileAtomic()
271 unlink(temp_name.c_str()); in WriteToFileAtomic()
280 PLOG(WARNING) << "Could not write " << temp_name; in WriteToFileAtomic()
282 unlink(temp_name.c_str()); in WriteToFileAtomic()
289 PLOG(WARNING) << "Could not fsync " << temp_name; in WriteToFileAtomic()
291 unlink(temp_name.c_str()); in WriteToFileAtomic()
295 PLOG(WARNING) << "Could not close " << temp_name; in WriteToFileAtomic()
296 unlink(temp_name.c_str()); in WriteToFileAtomic()
[all …]
/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/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/tensorflow/tensorflow/python/autograph/pyct/common_transformers/
Danf.py142 temp_name = self._gensym.new_name()
144 'temp_name = expr', temp_name=temp_name, expr=node)[0]
146 answer = templates.replace('temp_name', temp_name=temp_name)[0]
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dbitwriter.ml26 let temp_name, temp_oc = Filename.open_temp_file ~mode:[Open_binary] "" "" in
31 let temp_buf = read_file temp_name in
/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/swiftshader/third_party/llvm-7.0/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/u-boot/tools/env/
Dfw_env.c1231 char *temp_name = NULL; in flash_open_tempfile() local
1241 rc = asprintf(&temp_name, "%s/XXXXXX", *dname); in flash_open_tempfile()
1245 rc = mkstemp(temp_name); in flash_open_tempfile()
1249 "Can't create %s: %s\n", temp_name, strerror(errno)); in flash_open_tempfile()
1250 free(temp_name); in flash_open_tempfile()
1252 *target_temp = temp_name; in flash_open_tempfile()
/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/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/mapi/glapi/gen/
Dgl_XML.py940 temp_name = child.get( "name" )
941 self.category_dict[ temp_name ] = [cat_name, cat_number]
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp4258 char *temp_name = get_var_name(uni->name); in calculate_array_size_and_stride() local
4259 if (!temp_name) { in calculate_array_size_and_stride()
4264 var_name = get_top_level_name(temp_name); in calculate_array_size_and_stride()
4265 free(temp_name); in calculate_array_size_and_stride()
/external/v8/src/parsing/
Dparser.cc2161 const AstRawString* temp_name = ast_value_factory()->dot_for_string(); in DesugarLexicalBindingsInForStatement() local
2167 Variable* temp = NewTemporary(temp_name); in DesugarLexicalBindingsInForStatement()
2180 first = NewTemporary(temp_name); in DesugarLexicalBindingsInForStatement()
2257 Variable* flag = NewTemporary(temp_name); in DesugarLexicalBindingsInForStatement()