Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 25 of 37) 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/skia/tests/
DTessellatingPathRendererTests.cpp701 static void test_path(GrContext* ctx, in test_path() function
747 test_path(ctx, rtc.get(), create_path_0()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
748 test_path(ctx, rtc.get(), create_path_1()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
749 test_path(ctx, rtc.get(), create_path_2()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
750 test_path(ctx, rtc.get(), create_path_3()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
751 test_path(ctx, rtc.get(), create_path_4()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
752 test_path(ctx, rtc.get(), create_path_5()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
753 test_path(ctx, rtc.get(), create_path_6()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
754 test_path(ctx, rtc.get(), create_path_7()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
755 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
121 test_path(reporter, create_concave_path, createPR, kExpectedResources);
129 test_path(
143 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage);
151 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage,
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/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py42 test_path = '/test/host/file.dat'
47 out = md5sum.CalculateHostMd5Sums(test_path)
100 test_path = '/storage/emulated/legacy/test/file.dat'
110 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
118 test_path = ['/storage/emulated/legacy/test/file0.dat',
130 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
141 test_path = ('/storage/emulated/legacy/test/file%d.dat' % n
154 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
166 test_path = '/storage/emulated/legacy/test/file.dat'
179 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/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/swiftshader/third_party/llvm-7.0/llvm/utils/
Dupdate_mca_test_checks.py225 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument
261 test_path)
378 def _write_output(test_path, input_lines, prefix_list, block_infos, # noqa argument
458 'Writing {} lines to {}...\n\n'.format(len(output_lines), test_path))
460 with open(test_path, 'wb') as f:
466 for test_path in test_paths:
467 sys.stderr.write('Test: {}\n'.format(test_path))
476 'Scanning for RUN lines in test file: {}\n'.format(test_path))
478 if not os.path.isfile(test_path):
479 raise Error('could not find test file: {}'.format(test_path))
[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/webrtc/webrtc/base/
Dfilerotatingstream_unittest.cc29 Pathname test_path; in Init() local
30 ASSERT_TRUE(Filesystem::GetAppTempFolder(&test_path)); in Init()
32 test_path.AppendFolder(dir_name); in Init()
33 ASSERT_TRUE(Filesystem::CreateFolder(test_path)); in Init()
34 dir_path_ = test_path.pathname(); in Init()
188 Pathname test_path; in Init() local
189 ASSERT_TRUE(Filesystem::GetAppTempFolder(&test_path)); in Init()
191 test_path.AppendFolder(dir_name); in Init()
192 ASSERT_TRUE(Filesystem::CreateFolder(test_path)); in Init()
193 dir_path_ = test_path.pathname(); in Init()
/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.sh80 test_path=$(echo $target | tr : /)
81 exec_path=bazel-bin/$(echo $test_path | cut -c 3-)
91 test_path=$(echo $target | tr : /)
92 exec_path=bazel-bin/$(echo $test_path | cut -c 3-)
/external/autotest/server/cros/dynamic_suite/
Dcontrol_file_getter.py39 def get_control_file_contents(self, test_path): argument
234 def get_control_file_contents(self, test_path): argument
242 return utils.read_file(test_path)
244 msg = "Can't retrieve {0}: {1} ({2})".format(test_path,
298 def get_control_file_contents(self, test_path): argument
309 return self._dev_server.get_control_file(self._build, test_path)
/external/toolchain-utils/deprecated/
Dweekly_report.py52 for test_path in vanilla_image_paths:
53 pieces = test_path.split('/')
61 os.path.join(test_path, 'chromiumos_test_image.bin'))
106 for test_path in test_image_paths:
107 pieces = test_path.split('/')
115 os.path.join(test_path, 'chromiumos_test_image.bin'))
/external/tensorflow/tensorflow/lite/testing/
Dgenerated_examples_zip_test.cc297 string test_path = GetParam(); in TEST_P() local
298 string tflite_test_case = test_path + "_tests.txt"; in TEST_P()
299 string tflite_dir = test_path.substr(0, test_path.find_last_of("/")); in TEST_P()
300 string test_name = test_path.substr(test_path.find_last_of('/')); in TEST_P()
310 if (test_path.find("fully_quantize=True") != std::string::npos) { in TEST_P()
/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/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/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/bcc/tests/lua/
Dtest_helper.lua5 local test_path = cwd.."/?.lua;"
6 package.path = bpf_path..test_path..package.path
/external/python/cpython2/Lib/test/
Dtest_importhooks.py33 test_path = "!!!_test_!!!" variable
52 def __init__(self, path=test_path):
53 if path != test_path:
225 sys.path.append(test_path)
/external/OpenCL-CTS/test_conformance/
Drun_conformance.py58 test_path = string.replace(device_specific_match.group(3), '/', os.sep)
60 tests.append((test_name, test_path))
66 test_path = string.replace(match.group(2), '/', os.sep)
68 tests.append((test_name, test_path))

12