Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 25 of 45) sorted by relevance

12

/external/libchrome/base/files/
Dscoped_temp_dir_unittest.cc16 FilePath test_path; in TEST() local
18 &test_path); in TEST()
21 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
24 EXPECT_TRUE(dir.Set(test_path)); in TEST()
27 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
31 EXPECT_TRUE(dir.Set(test_path)); in TEST()
33 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
36 EXPECT_EQ(path.value(), test_path.value()); in TEST()
39 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
44 EXPECT_TRUE(dir.Set(test_path)); in TEST()
[all …]
/external/skqp/tests/
DTessellatingPathRendererTests.cpp636 static void test_path(GrContext* ctx, in test_path() function
683 test_path(ctx, rtc.get(), create_path_0()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
684 test_path(ctx, rtc.get(), create_path_1()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
685 test_path(ctx, rtc.get(), create_path_2()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
686 test_path(ctx, rtc.get(), create_path_3()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
687 test_path(ctx, rtc.get(), create_path_4()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
688 test_path(ctx, rtc.get(), create_path_5()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
689 test_path(ctx, rtc.get(), create_path_6()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
690 test_path(ctx, rtc.get(), create_path_7()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
691 test_path(ctx, rtc.get(), create_path_8()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
DPathRendererCacheTests.cpp71 static void test_path(skiatest::Reporter* reporter, in test_path() function
124 test_path(reporter, create_concave_path, createPR, kExpectedResources);
132 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kNone, style);
145 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage);
153 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage,
DColorSpaceTest.cpp46 static void test_path(skiatest::Reporter* r, const char* path, in test_path() function
77 test_path(r, "images/color_wheel_with_profile.png", g_sRGB_R, g_sRGB_G, g_sRGB_B, true); in DEF_TEST()
83 test_path(r, "images/icc-v2-gbr.jpg", red, green, blue); in DEF_TEST()
85 test_path(r, "images/webp-color-profile-crash.webp", in DEF_TEST()
87 test_path(r, "images/webp-color-profile-lossless.webp", in DEF_TEST()
89 test_path(r, "images/webp-color-profile-lossy.webp", in DEF_TEST()
91 test_path(r, "images/webp-color-profile-lossy-alpha.webp", in DEF_TEST()
/external/llvm-project/debuginfo-tests/dexter/dex/tools/
DTestToolBase.py81 options.test_path = os.path.abspath(options.test_path)
82 options.test_path = os.path.normcase(options.test_path)
83 if not os.path.isfile(options.test_path) and not os.path.isdir(options.test_path):
86 options.test_path))
103 if os.path.isdir(options.test_path):
106 r for r, _, f in os.walk(options.test_path)
122 options.source_files = [options.test_path]
123 self._run_test(self._get_test_name(options.test_path))
131 def _get_test_name(self, test_path): argument
137 test_name = os.path.relpath(test_path,
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py41 test_path = '/test/host/file.dat'
46 out = md5sum.CalculateHostMd5Sums(test_path)
76 test_path = '/storage/emulated/legacy/test/file.dat'
83 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
91 test_path = [
103 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
114 test_path = ('/storage/emulated/legacy/test/file%d.dat' % n
125 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
137 test_path = '/storage/emulated/legacy/test/file.dat'
149 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
[all …]
/external/harfbuzz_ng/test/api/
Dhb-test.h190 hb_test_add_func (const char *test_path, in hb_test_add_func() argument
193 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func()
200 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument
204 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
211 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument
215 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func()
222 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument
227 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
235 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument
242 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable()
[all …]
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dgenerated_examples_zip_test.cc64 string test_path = GetParam(); in TEST_P() local
65 string tflite_test_case = test_path + "_tests.txt"; in TEST_P()
66 string tflite_dir = test_path.substr(0, test_path.find_last_of("/")); in TEST_P()
67 string test_name = test_path.substr(test_path.find_last_of('/')); in TEST_P()
/external/rust/crates/nix/test/
Dtest_mount.rs42 let test_path = tempdir.path().join("test"); in test_mount_tmpfs_without_flags_allows_rwx() localVariable
49 .open(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
72 File::open(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
79 Command::new(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
115 let test_path = tempdir.path().join("test"); in test_mount_noexec_disallows_exec() localVariable
121 .open(&test_path) in test_mount_noexec_disallows_exec()
126 let mode = stat::Mode::from_bits_truncate(fs::metadata(&test_path) in test_mount_noexec_disallows_exec()
134 &test_path); in test_mount_noexec_disallows_exec()
138 Command::new(&test_path).status().unwrap_err().raw_os_error().unwrap()); in test_mount_noexec_disallows_exec()
/external/harfbuzz_ng/test/subset/
Dsubset_test_suite.py48 def __init__(self, test_path, definition): argument
49 self.test_path = test_path
56 test_name = os.path.splitext(os.path.basename(self.test_path))[0]
57 data_dir = os.path.join(os.path.dirname(self.test_path), "..")
76 return os.path.dirname(os.path.dirname(self.test_path))
/external/llvm-project/llvm/utils/
Dupdate_mca_test_checks.py265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument
305 test_path)
434 def _write_output(test_path, input_lines, prefix_list, block_infos, # noqa argument
527 common.debug('Writing', len(output_lines), 'lines to', test_path, '..\n\n')
529 with open(test_path, 'wb') as f:
535 for test_path in test_paths:
536 sys.stderr.write('Test: {}\n'.format(test_path))
543 if not os.path.isfile(test_path):
544 raise Error('could not find test file: {}'.format(test_path))
546 with open(test_path) as f:
[all …]
/external/fonttools/Snippets/
Dchecksum.py85 test_path = line_list[1]
90 if not os.path.exists(test_path):
91 print(test_path + ": Filepath is not valid, ignored")
93 file_contents = _read_binary(test_path)
96 print(test_path + ": OK")
99 print(test_path + ": === FAIL ===")
/external/antlr/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb18 File.basename( test_path, '.rb' )
22 File.dirname( test_path )
159 klass.test_path = call_stack[ 0 ].file
166 def test_path method in ANTLR3.Test.Functional
167 self.class.test_path
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Drun_tests.sh86 test_path=$(echo $target | tr : /)
87 exec_path=bazel-bin/$(echo $test_path | cut -c 3-)
97 test_path=$(echo $target | tr : /)
98 exec_path=bazel-bin/$(echo $test_path | cut -c 3-)
/external/autotest/server/cros/dynamic_suite/
Dcontrol_file_getter.py44 def get_control_file_contents(self, test_path): argument
239 def get_control_file_contents(self, test_path): argument
247 return utils.read_file(test_path)
250 msg = "Can't retrieve {0}: {1} ({2})".format(test_path,
304 def get_control_file_contents(self, test_path): argument
315 return self._dev_server.get_control_file(self._build, test_path)
/external/skia/tests/
DPathRendererCacheTests.cpp74 static void test_path(skiatest::Reporter* reporter, in test_path() function
143 test_path(reporter, create_concave_path, createPR, kExpectedResources, false);
151 test_path(reporter, create_concave_path, createPR, kExpectedResources, false, GrAAType::kNone,
165 test_path(reporter, create_concave_path, createPR, kExpectedResources, true,
174 test_path(reporter, create_concave_path, createPR, kExpectedResources, true,
DTriangulatingPathRendererTests.cpp710 static void test_path(GrRecordingContext* rContext, in test_path() function
756 test_path(ctx, rtc.get(), createPath()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
760 test_path(ctx, rtc.get(), create_path_17(), nonInvertibleMatrix, GrAAType::kCoverage, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
762 test_path(ctx, rtc.get(), create_path_20(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
763 test_path(ctx, rtc.get(), create_path_21(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
764 test_path(ctx, rtc.get(), create_path_25(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
765 test_path(ctx, rtc.get(), create_path_26(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
766 test_path(ctx, rtc.get(), create_path_27(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
767 test_path(ctx, rtc.get(), create_path_28(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
768 test_path(ctx, rtc.get(), create_path_31(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
DColorSpaceTest.cpp47 static void test_path(skiatest::Reporter* r, const char* path, in test_path() function
78 test_path(r, "images/color_wheel_with_profile.png", g_sRGB_R, g_sRGB_G, g_sRGB_B, true); in DEF_TEST()
84 test_path(r, "images/icc-v2-gbr.jpg", red, green, blue); in DEF_TEST()
86 test_path(r, "images/webp-color-profile-crash.webp", in DEF_TEST()
88 test_path(r, "images/webp-color-profile-lossless.webp", in DEF_TEST()
90 test_path(r, "images/webp-color-profile-lossy.webp", in DEF_TEST()
92 test_path(r, "images/webp-color-profile-lossy-alpha.webp", in DEF_TEST()
/external/skqp/gm/
Dpathreverse.cpp50 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() function
61 test_path(canvas, path); in test_rev()
67 test_path(canvas, rev); in test_rev()
/external/skia/gm/
Dpathreverse.cpp53 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path() function
64 test_path(canvas, path); in test_rev()
70 test_path(canvas, rev); in test_rev()
/external/autotest/client/site_tests/platform_Pkcs11LiveTest/
Dplatform_Pkcs11LiveTest.py26 test_path = os.path.join(SYSTEM_SBIN, live_test)
27 exit_status = utils.system(test_path, ignore_status=True)
/external/llvm-project/lldb/packages/Python/lldbsuite/
D__init__.py17 test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
18 if os.path.isfile(test_path):
/external/bcc/tests/lua/
Dtest_helper.lua5 local test_path = cwd.."/?.lua;"
6 package.path = bpf_path..test_path..package.path
/external/llvm-project/lldb/scripts/
Duse_lldb_suite.py14 test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
15 if os.path.isfile(test_path):
/external/llvm-project/lldb/test/API/
Duse_lldb_suite.py15 test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
16 if os.path.isfile(test_path):

12