Searched defs:test_file (Results 1 - 14 of 14) sorted by relevance

/external/autotest/client/site_tests/security_Minijail0/src/
H A Dmountns-enter-child.py9 test_file = sys.argv[1] variable
11 # We entered a mount namespace where |test_file| should not be accessible.
12 if os.access(test_file, os.F_OK):
H A Dmountns-enter.py16 test_file = os.path.join(tmpdir, "test") variable
17 with open(test_file, "w") as t:
22 sys.executable, child_path, test_file])
/external/clang/bindings/python/tests/cindex/
H A Dtest_file.py3 def test_file(): function
/external/google-breakpad/src/common/linux/
H A Dmemory_mapped_file_unittest.cc86 string test_file = temp_dir.path() + "/empty_file"; local
87 ASSERT_TRUE(WriteFile(test_file.c_str(), NULL, 0));
90 MemoryMappedFile mapped_file(test_file.c_str(), 0);
95 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0));
108 string test_file = temp_dir.path() + "/test_file"; local
109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size));
112 MemoryMappedFile mapped_file(test_file.c_str(), 0);
120 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0));
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem_unittest_test.py46 def test_file(self): member in class:TestPyfakefsUnittest
/external/pdfium/core/fpdfapi/parser/
H A Dcpdf_parser_unittest.cpp85 std::string test_file; local
87 &test_file));
88 ASSERT_TRUE(parser.InitTestFromFile(test_file.c_str())) << test_file;
101 std::string test_file; local
103 "parser_rebuildxref_error_notrailer.pdf", &test_file));
104 ASSERT_TRUE(parser.InitTestFromFile(test_file.c_str())) << test_file;
/external/webrtc/talk/media/devices/
H A Dfilevideocapturer_unittest.cc194 const std::string test_file = local
197 cricket::FileVideoCapturer::CreateFileVideoCapturerDevice(test_file);
H A Ddevicemanager_unittest.cc209 const std::string test_file = local
211 EXPECT_TRUE(dm->GetVideoCaptureDevice(test_file, &device));
/external/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink03.c152 char *test_file; /* testfile name */ local
170 test_file = Test_cases[ind].file;
183 TEST(symlink(test_file, sym_file));
/external/skia/tests/
H A DPDFDocumentTest.cpp72 static void test_file(skiatest::Reporter* reporter) { function
116 test_file(reporter);
/external/webrtc/webrtc/modules/video_coding/codecs/tools/
H A Dvideo_quality_measurement.cc156 FILE* test_file; local
157 test_file = fopen(FLAGS_input_filename.c_str(), "rb");
158 if (test_file == NULL) {
163 fclose(test_file);
196 test_file = fopen(config->output_filename.c_str(), "wb");
197 if (test_file == NULL) {
202 fclose(test_file);
/external/libchrome/base/files/
H A Dfile_path_watcher_unittest.cc178 FilePath test_file() { function in class:base::__anon9859::FilePathWatcherTest
236 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
238 ASSERT_TRUE(WriteFile(test_file(), "content"));
245 ASSERT_TRUE(WriteFile(test_file(), "content"));
249 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
252 ASSERT_TRUE(WriteFile(test_file(), "new content"));
264 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
267 ASSERT_TRUE(base::Move(source_file, test_file()));
273 ASSERT_TRUE(WriteFile(test_file(), "content"));
277 ASSERT_TRUE(SetupWatch(test_file(),
[all...]
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c173 int test_file(void) function
221 return test_harness(test_file, "subpage_prot_file");
/external/ltp/testcases/kernel/fs/fsx-linux/
H A Dfsx-linux.c375 struct test_file { struct
389 struct test_file *get_tf(void)
425 struct test_file *tf = get_tf();
431 struct test_file *tf;
465 struct test_file *tf;
545 char *fill_tf_buf(struct test_file *tf)
555 output_line(struct test_file *tf, int op, unsigned offset,
592 struct test_file *tf = get_tf();
647 struct test_file *tf = get_tf();
725 struct test_file *t
[all...]

Completed in 474 milliseconds