Home
last modified time | relevance | path

Searched refs:CreateTempFile (Results 1 – 25 of 32) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc101 void CreateTempFile(const string& name, const string& contents);
329 void CommandLineInterfaceTest::CreateTempFile( in CreateTempFile() function in google::protobuf::compiler::__anondc5646070111::CommandLineInterfaceTest
453 CreateTempFile("foo.proto", in TEST_F()
467 CreateTempFile("foo.proto", in TEST_F()
481 CreateTempFile("foo.proto", in TEST_F()
496 CreateTempFile("foo.proto", in TEST_F()
499 CreateTempFile("bar.proto", in TEST_F()
520 CreateTempFile("foo.proto", in TEST_F()
523 CreateTempFile("bar.proto", in TEST_F()
529 CreateTempFile("baz.proto", in TEST_F()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_cp.py262 return self.CreateTempFile(file_name=name, contents=contents)
267 fpath = self.CreateTempFile(contents='bar')
279 fpath = self.CreateTempFile(contents='foo')
405 fpath = self.CreateTempFile(contents='foo/bar\n')
423 fpath = self.CreateTempFile(contents='foo/bar\n')
520 fpath = self.CreateTempFile()
636 fpath1 = self.CreateTempFile(contents='data1')
661 fpath1 = self.CreateTempFile(tmpdir=tmpdir, contents='data2')
691 fpath1 = self.CreateTempFile(tmpdir=tmpdir, contents='data2')
711 fpath1 = self.CreateTempFile(tmpdir=tmpdir, contents='data1')
[all …]
Dtest_copy_helper_funcs.py92 fpath = self.CreateTempFile(file_name='foo', contents=contents)
103 fpath = self.CreateTempFile(file_name='foo', contents='')
112 tracker_file = self.CreateTempFile(file_name='foo', contents='asdf')
127 tracker_file = self.CreateTempFile(file_name='foo', contents='asdf')
150 tracker_file = self.CreateTempFile(file_name='foo', contents='asdf')
157 fpath_uploaded_correctly = self.CreateTempFile(file_name='foo1',
178 fpath_not_uploaded = self.CreateTempFile(file_name='foo2', contents='2')
190 fpath_wrong_contents = self.CreateTempFile(file_name='foo4', contents='4')
194 with open(self.CreateTempFile(contents='_')) as f_in:
208 fpath_remote_deleted = self.CreateTempFile(file_name='foo5', contents='5')
[all …]
Dtest_cors.py99 fpath = self.CreateTempFile(contents=self.empty_doc1)
107 fpath = self.CreateTempFile(contents=self.empty_doc2)
115 fpath = self.CreateTempFile(contents=self.cors_doc)
123 fpath = self.CreateTempFile(contents=self.xml_cors_doc)
130 fpath = self.CreateTempFile(contents=self.cors_bad)
139 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.cors_doc)
145 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.empty_doc1)
155 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.cors_doc2)
161 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.empty_doc1)
171 fpath = self.CreateTempFile(contents=self.cors_doc)
[all …]
Dtest_lifecycle.py81 fpath = self.CreateTempFile(contents=self.empty_doc1)
89 fpath = self.CreateTempFile(contents=self.lifecycle_doc)
97 fpath = self.CreateTempFile(contents=self.lifecycle_doc_bucket_style)
105 fpath = self.CreateTempFile(contents=self.lifecycle_created_before_doc)
113 fpath = self.CreateTempFile(contents=self.bad_doc)
120 fpath = self.CreateTempFile(contents=self.xml_doc)
129 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.lifecycle_doc)
135 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.empty_doc1)
145 fpath = self.CreateTempFile(contents=self.lifecycle_doc)
182 fpath = self.CreateTempFile(contents=self.lifecycle_doc)
Dtest_rsync.py297 self.CreateTempFile(tmpdir=tmpdir, file_name='obj1', contents='obj1')
298 self.CreateTempFile(tmpdir=tmpdir, file_name='.obj2', contents='.obj2')
299 self.CreateTempFile(tmpdir=subdir, file_name='obj3', contents='subdir/obj3')
370 self.CreateTempFile(tmpdir=tmpdir, file_name='obj6', contents='obj6')
412 self.CreateTempFile(tmpdir=tmpdir1, file_name='obj1', contents='obj1')
413 self.CreateTempFile(tmpdir=tmpdir1, file_name='.obj2', contents='.obj2')
414 self.CreateTempFile(
416 self.CreateTempFile(tmpdir=tmpdir2, file_name='.obj2', contents='.OBJ2')
417 self.CreateTempFile(tmpdir=tmpdir2, file_name='obj4', contents='obj4')
418 self.CreateTempFile(
[all …]
Dtest_daisy_chain_wrapper.py47 self._temp_test_file = self.CreateTempFile(
104 upload_file = self.CreateTempFile()
121 upload_file = self.CreateTempFile()
155 upload_file = self.CreateTempFile()
193 upload_file = self.CreateTempFile()
217 upload_file = self.CreateTempFile()
248 upload_file = self.CreateTempFile()
270 upload_file = self.CreateTempFile()
Dtest_parallel_cp.py49 src_file = self.CreateTempFile(file_name='f0')
59 src_file0 = self.CreateTempFile(file_name='f0')
60 src_file1 = self.CreateTempFile(file_name='f1')
78 src_file = self.CreateTempFile(tmpdir=tmpdir, file_name='obj', contents='')
122 src_file = self.CreateTempFile(file_name='f0')
156 self.CreateTempFile(tmpdir=src_dir + '/dir1/dir2', file_name='foo')
Dtest_hash.py33 tmp_file = self.CreateTempFile(contents=self._TEST_FILE_CONTENTS)
55 tmp_file = self.CreateTempFile(contents=self._TEST_FILE_CONTENTS)
71 tmp_file = self.CreateTempFile(contents=self._TEST_FILE_CONTENTS)
Dtest_file_part.py32 fpath = self.CreateTempFile(file_name=filename, contents=contents)
45 fpath = self.CreateTempFile(file_name=filename, contents=contents)
77 fpath = self.CreateTempFile(file_name=filename, contents=contents)
Dtest_acl.py61 inpath = self.CreateTempFile(contents='badAcl')
69 inpath = self.CreateTempFile(contents='badAcl')
77 inpath = self.CreateTempFile(contents='<ValidXml></ValidXml>')
86 inpath = self.CreateTempFile(contents='<ValidXml></ValidXml>')
97 inpath = self.CreateTempFile(contents=acl_string)
115 inpath = self.CreateTempFile(contents=acl_string)
124 inpath = self.CreateTempFile(contents=acl_string)
161 inpath = self.CreateTempFile(contents=acl_string)
177 inpath = self.CreateTempFile(contents='def')
642 set_contents = self.CreateTempFile(contents=stdout)
[all …]
Dtest_mv.py84 fpath1 = self.CreateTempFile(tmpdir=tmpdir, contents='data1')
85 fpath2 = self.CreateTempFile(tmpdir=tmpdir, contents='data2')
101 fpath1 = self.CreateTempFile(contents='data1')
Dtest_bucketconfig.py58 lifecycle_path = self.CreateTempFile(contents=self.lifecycle_doc)
59 cors_path = self.CreateTempFile(contents=self.cors_doc)
Dtest_Doption.py38 fpath = self.CreateTempFile(contents=file_contents)
53 fpath = self.CreateTempFile(contents='a1b2c3d4')
Dtest_naming.py92 src_file = self.CreateTempFile(file_name='f0')
103 src_file0 = self.CreateTempFile(file_name='f0')
104 src_file1 = self.CreateTempFile(file_name='f1')
125 src_file = self.CreateTempFile(tmpdir=tmpdir, file_name='obj', contents='')
295 src_file = self.CreateTempFile(file_name='foo')
306 src_file = self.CreateTempFile(file_name='f0')
316 src_file = self.CreateTempFile(contents='plaintext', file_name='f2.txt')
414 self.CreateTempFile(tmpdir=src_dir + '/dir1/dir2', file_name='foo')
458 src_file = self.CreateTempFile()
478 dst_file = self.CreateTempFile()
[all …]
Dtest_setmeta.py33 inpath = self.CreateTempFile()
48 inpath = self.CreateTempFile()
Dtest_command_runner.py136 self.timestamp_file = self.CreateTempFile()
401 self.timestamp_file = self.CreateTempFile(contents='0')
418 with SetBotoConfigFileForTest(self.CreateTempFile(
Dtest_hashing_helper.py43 self._temp_test_file = self.CreateTempFile(
49 tmp_file = self.CreateTempFile(contents='a' * TRANSFER_BUFFER_SIZE * 4)
Dtest_rsync_funcs.py35 self.CreateTempFile(tmpdir=tmpdir, file_name='obj1', contents='obj1')
Dtest_perfdiag.py131 outpath = self.CreateTempFile()
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/testcase/
Dbase.py116 self.CreateTempFile(tmpdir=tmpdir, file_name=name, contents='test %d' % i)
119 def CreateTempFile(self, tmpdir=None, contents=None, file_name=None): member in GsUtilTestCase
/external/lzma/CPP/Windows/
DFileDir.cpp468 static bool CreateTempFile(CFSTR prefix, bool addRandom, FString &path, NIO::COutFile *outFile) in CreateTempFile() function
525 if (!CreateTempFile(prefix, false, _path, outFile)) in Create()
538 if (!CreateTempFile(tempPath + namePrefix, true, _path, outFile)) in CreateRandomInTempFolder()
569 if (!CreateTempFile(tempPath + prefix, true, _path, NULL)) in Create()
/external/lzma/CPP/7zip/UI/Common/
DWorkDir.h22 HRESULT CreateTempFile(const FString &originalPath);
DWorkDir.cpp63 HRESULT CWorkDirTempFile::CreateTempFile(const FString &originalPath) in CreateTempFile() function in CWorkDirTempFile
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/
DMainPage.xaml.h42 std::string CreateTempFile(const std::string &suffix);

12