/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/grpc-grpc/ |
D | .travis.yml | 12 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false" 15 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false" 18 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false" 22 # WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false" 25 WORKSPACE="HelloWorld.xcworkspace" TEST_PATH="examples/objective-c/helloworld" 28 WORKSPACE="RouteGuideClient.xcworkspace" TEST_PATH="examples/objective-c/route_guide" 31 WORKSPACE="AuthSample.xcworkspace" TEST_PATH="examples/objective-c/auth_sample" 34 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true" 37 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true" 40 WORKSPACE="SwiftSample.xcworkspace" TEST_PATH="src/objective-c/examples/SwiftSample" [all …]
|
/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/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,
|
/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/autotest/client/site_tests/platform_SecureEraseFile/ |
D | platform_SecureEraseFile.py | 15 TEST_PATH = '/mnt/stateful_partition/' + PARTITION_TEST_PATH variable 81 self.__write_test_file(TEST_PATH, blocksize, count) 85 res = utils.run('xxd %s' % TEST_PATH) 88 partition = self.__get_partition(TEST_PATH) 91 raise error.TestError('No extents found for ' + TEST_PATH) 93 utils.run('%s %s' % (BINARY, TEST_PATH)) 98 if os.path.exists(TEST_PATH): 114 if os.path.exists(TEST_PATH): 115 os.unlink(TEST_PATH)
|
/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/webrtc/webrtc/base/ |
D | httpcommon_unittest.cc | 19 #define TEST_PATH "/folder/file.html" macro 21 #define TEST_URL TEST_PROTOCOL TEST_HOST TEST_PATH TEST_QUERY 29 EXPECT_STREQ(TEST_PATH, url.path().c_str()); in TEST() 32 EXPECT_STREQ(TEST_PATH TEST_QUERY, url.full_path().c_str()); in TEST() 38 Url<char> url(TEST_PATH TEST_QUERY, TEST_HOST, 80); in TEST() 43 EXPECT_STREQ(TEST_PATH, url.path().c_str()); in TEST() 46 EXPECT_STREQ(TEST_PATH TEST_QUERY, url.full_path().c_str()); in TEST() 60 url.set_path(TEST_PATH); in TEST() 66 EXPECT_STREQ(TEST_PATH, url.path().c_str()); in TEST() 69 EXPECT_STREQ(TEST_PATH TEST_QUERY, url.full_path().c_str()); in TEST()
|
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 44 @param test_path: the path to the control file. 234 def get_control_file_contents(self, test_path): argument 236 Get the contents of the control file at |test_path|. 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 300 Return the contents of |test_path| from |self._dev_server|. 302 Get the contents of the control file at |test_path| for |self._build| on 305 @return The contents of |test_path|. None on failure. [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/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/ltp/testcases/kernel/syscalls/statvfs/ |
D | statvfs01.c | 33 #define TEST_PATH "/" macro 54 TEST(statvfs(TEST_PATH, &buf)); in main() 58 TEST_PATH); in main() 60 tst_resm(TPASS, "statvfs(%s, ...) passed", TEST_PATH); in main() 67 TEST_PATH); in main()
|
/external/antlr/runtime/Ruby/lib/antlr3/test/ |
D | functional.rb | 15 attr_accessor :test_path accessor 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/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/tensorflow/tensorflow/tools/ci_build/builds/ |
D | py_test_delegate.sh | 20 # Usage: test_delegate.sh <PYTHON_BIN_PATH> <TEST_PATH> <TEST_LOG> 23 TEST_PATH=$2 32 TEST_DIR=$(dirname ${TEST_PATH}) 37 ${PYTHON_BIN_PATH} ${TEST_PATH} >${TEST_LOG} 2>&1
|
/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/perfetto/tools/ |
D | add_tp_diff_test.sh | 8 TEST_PATH=$ROOTDIR/test 9 TRACE_PROC_PATH=$TEST_PATH/trace_processor 16 TRACE_PATH=$TEST_PATH/$tracefile
|
/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/ltp/scripts/tests/ |
D | test_abspath.sh | 25 TEST_PATH=$("$SCRIPTS_DIR/realpath.sh" "$SCRIPTS_DIR/lib") 27 pushd "$TEST_PATH" >/dev/null 53 ..:$(dirname "$TEST_PATH") \ 54 ../..:$(dirname "$(dirname "$TEST_PATH")") \
|