/external/libchrome/base/files/ |
D | scoped_temp_dir_unittest.cc | 16 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/ |
D | TessellatingPathRendererTests.cpp | 636 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 …]
|
D | PathRendererCacheTests.cpp | 71 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,
|
D | ColorSpaceTest.cpp | 46 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/ |
D | TessellatingPathRendererTests.cpp | 636 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 …]
|
D | PathRendererCacheTests.cpp | 71 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,
|
D | ColorSpaceTest.cpp | 46 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/chromium-trace/catapult/devil/devil/android/ |
D | md5sum_test.py | 42 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/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
D | text_datasets.py | 43 test_path = os.path.join(data_dir, 'dbpedia_csv/test.csv') 44 if not (gfile.Exists(train_path) and gfile.Exists(test_path)): 59 test_path = os.path.join(data_dir, 'dbpedia_csv', 'test.csv') 64 base.shrink_csv(test_path, 1000) 66 test_path = test_path.replace('test.csv', 'test_small.csv') 70 test_path = os.path.join(module_path, 'data', 'text_test.csv') 75 test_path, target_dtype=np.int32, features_dtype=np.str, target_column=0)
|
/external/harfbuzz_ng/test/api/ |
D | hb-test.h | 180 hb_test_add_func (const char *test_path, in hb_test_add_func() argument 183 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func() 190 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument 194 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor() 201 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument 205 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func() 212 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument 217 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor() 225 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument 232 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable() [all …]
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | generated_examples_zip_test.cc | 64 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/swiftshader/third_party/llvm-7.0/llvm/utils/ |
D | update_mca_test_checks.py | 225 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/harfbuzz_ng/test/subset/ |
D | subset_test_suite.py | 43 def __init__(self, test_path, definition): argument 44 self.test_path = test_path 51 test_name = os.path.splitext(os.path.basename(self.test_path))[0] 52 data_dir = os.path.join(os.path.dirname(self.test_path), "..") 73 return os.path.dirname(os.path.dirname(self.test_path))
|
/external/fonttools/Snippets/ |
D | checksum.py | 85 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/ |
D | filerotatingstream_unittest.cc | 29 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/autotest/server/cros/dynamic_suite/ |
D | control_file_getter.py | 40 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/antlr/runtime/Ruby/lib/antlr3/test/ |
D | functional.rb | 18 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/toolchain-utils/ |
D | weekly_report.py | 50 for test_path in vanilla_image_paths: 51 pieces = test_path.split('/') 59 os.path.join(test_path, 'chromiumos_test_image.bin')) 104 for test_path in test_image_paths: 105 pieces = test_path.split('/') 113 os.path.join(test_path, 'chromiumos_test_image.bin'))
|
/external/v8/tools/ninja/ |
D | ninja_output.py | 31 def is_release_newer(test_path): argument 33 debug_mtime = os.path.getmtime(os.path.join(debug_path, test_path)) 37 rel_mtime = os.path.getmtime(os.path.join(release_path, test_path))
|
/external/tensorflow/tensorflow/lite/testing/ |
D | generated_examples_zip_test.cc | 254 string test_path = GetParam(); in TEST_P() local 255 string tflite_test_case = test_path + "_tests.txt"; in TEST_P() 256 string tflite_dir = test_path.substr(0, test_path.find_last_of("/")); in TEST_P() 257 string test_name = test_path.substr(test_path.find_last_of('/')); in TEST_P()
|
/external/skqp/gm/ |
D | pathreverse.cpp | 50 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/ |
D | pathreverse.cpp | 50 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/ |
D | platform_Pkcs11LiveTest.py | 26 test_path = os.path.join(SYSTEM_SBIN, live_test) 27 exit_status = utils.system(test_path, ignore_status=True)
|
/external/bcc/tests/lua/ |
D | test_helper.lua | 5 local test_path = cwd.."/?.lua;" 6 package.path = bpf_path..test_path..package.path
|
/external/v8/tools/ |
D | v8_presubmit.py | 523 test_path = join(dirname(TOOLS_PATH), 'test') 529 for suitepath in os.listdir(test_path): 532 test_path, suitename, suitename + ".status") 538 if file_path.startswith(test_path): 540 pieces = file_path[len(test_path):].lstrip(os.sep).split(os.sep) 544 if not os.path.isdir(join(test_path, pieces[0])): 546 status_file = join(test_path, pieces[0], pieces[0] + ".status")
|