Home
last modified time | relevance | path

Searched refs:AppendASCII (Results 1 – 25 of 51) sorted by relevance

123

/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc172 return temp_dir_.GetPath().AppendASCII("FilePathWatcherTest"); in test_file()
176 return temp_dir_.GetPath().AppendASCII("FilePathWatcherTest.lnk"); in test_link()
253 FilePath source_file(temp_dir_.GetPath().AppendASCII("source")); in TEST_F()
339 FilePath dir(temp_dir_.GetPath().AppendASCII("dir")); in TEST_F()
340 FilePath file(dir.AppendASCII("file")); in TEST_F()
368 path = path.AppendASCII(dir); in TEST_F()
372 FilePath file(path.AppendASCII("file")); in TEST_F()
379 sub_path = sub_path.AppendASCII(*d); in TEST_F()
398 FilePath dir(temp_dir_.GetPath().AppendASCII("dir")); in TEST_F()
399 FilePath file(dir.AppendASCII("file")); in TEST_F()
[all …]
Dfile_enumerator_unittest.cc80 const FilePath file = path.AppendASCII("test.txt"); in TEST()
95 ASSERT_TRUE(CreateDummyFile(path.AppendASCII("test.txt"))); in TEST()
109 const FilePath file = path.AppendASCII("test.txt"); in TEST()
128 const FilePath foo_txt = path.AppendASCII("foo.txt"); in TEST()
129 const FilePath bar_txt = path.AppendASCII("bar.txt"); in TEST()
190 const FilePath subdir_foo = path.AppendASCII("foo"); in TEST()
191 const FilePath subdir_bar = path.AppendASCII("bar"); in TEST()
214 const FilePath file = path.AppendASCII("test.txt"); in TEST()
241 const FilePath foo_txt = path.AppendASCII("foo.txt"); in TEST()
242 const FilePath bar_txt = temp_subdir.GetPath().AppendASCII("bar.txt"); in TEST()
[all …]
Dfile_unittest.cc24 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file_1"); in TEST()
98 file_path = temp_dir.GetPath().AppendASCII("create_file_2"); in TEST()
113 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file_1"); in TEST()
123 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file"); in TEST()
141 FilePath file_path = temp_dir.GetPath().AppendASCII("create_file_1"); in TEST()
168 FilePath file_path = temp_dir.GetPath().AppendASCII("read_write_file"); in TEST()
252 FilePath nonexistent_path(temp_dir.GetPath().AppendASCII("nonexistent")); in TEST()
263 FilePath file_path = temp_dir.GetPath().AppendASCII("append_file"); in TEST()
315 FilePath file_path = temp_dir.GetPath().AppendASCII("truncate_file"); in TEST()
374 File file(temp_dir.GetPath().AppendASCII("touch_get_info_file"),
[all …]
Dfile_locking_unittest.cc45 File file(signal_dir.AppendASCII(signal_file), in SignalEvent()
52 File file(signal_dir.AppendASCII(signal_file), in CheckEvent()
93 File file(temp_path.AppendASCII(kLockFile), in MULTIPROCESS_TEST_MAIN()
133 temp_dir_.GetPath().AppendASCII(kLockFile), in SetUp()
Dimportant_file_writer_unittest.cc121 file_ = temp_dir_.GetPath().AppendASCII("test-file"); in SetUp()
185 ImportantFileWriter writer(FilePath().AppendASCII("bad/../path"), in TEST_F()
339 FilePath invalid_file_ = FilePath().AppendASCII("bad/../non_existent/path"); in TEST_F()
/external/zlib/google/
Dzip_unittest.cc173 *path = path->AppendASCII("third_party"); in GetTestDataDirectory()
174 *path = path->AppendASCII("zlib"); in GetTestDataDirectory()
175 *path = path->AppendASCII("google"); in GetTestDataDirectory()
176 *path = path->AppendASCII("test"); in GetTestDataDirectory()
177 *path = path->AppendASCII("data"); in GetTestDataDirectory()
194 original_dir = original_dir.AppendASCII("test"); in TestUnzipFile()
252 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp()
253 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp()
254 base::FilePath out_dir = temp_dir.GetPath().AppendASCII("output"); in TestTimeStamp()
256 base::FilePath src_file = src_dir.AppendASCII("test.txt"); in TestTimeStamp()
[all …]
Dzip_reader_unittest.cc152 test_zip_file_ = test_data_dir_.AppendASCII("test.zip"); in SetUp()
153 encrypted_zip_file_ = test_data_dir_.AppendASCII("test_encrypted.zip"); in SetUp()
154 evil_zip_file_ = test_data_dir_.AppendASCII("evil.zip"); in SetUp()
155 evil_via_invalid_utf8_zip_file_ = test_data_dir_.AppendASCII( in SetUp()
157 evil_via_absolute_file_name_zip_file_ = test_data_dir_.AppendASCII( in SetUp()
182 *path = path->AppendASCII("third_party"); in GetTestDataDirectory()
183 *path = path->AppendASCII("zlib"); in GetTestDataDirectory()
184 *path = path->AppendASCII("google"); in GetTestDataDirectory()
185 *path = path->AppendASCII("test"); in GetTestDataDirectory()
186 *path = path->AppendASCII("data"); in GetTestDataDirectory()
[all …]
/external/angle/third_party/zlib/google/
Dzip_unittest.cc202 *path = path->AppendASCII(s); in GetTestDataDirectory()
220 original_dir = original_dir.AppendASCII("test"); in TestUnzipFile()
283 base::FilePath zip_file = temp_dir.GetPath().AppendASCII("out.zip"); in TestTimeStamp()
284 base::FilePath src_dir = temp_dir.GetPath().AppendASCII("input"); in TestTimeStamp()
285 base::FilePath out_dir = temp_dir.GetPath().AppendASCII("output"); in TestTimeStamp()
287 base::FilePath src_file = src_dir.AppendASCII("test.txt"); in TestTimeStamp()
288 base::FilePath out_file = out_dir.AppendASCII("test.txt"); in TestTimeStamp()
347 path = path.AppendASCII("evil.zip"); in TEST_F()
351 base::FilePath output_dir = test_dir_.AppendASCII("out"); in TEST_F()
354 evil_file = evil_file.AppendASCII( in TEST_F()
[all …]
Dzip_reader_unittest.cc152 test_zip_file_ = test_data_dir_.AppendASCII("test.zip"); in SetUp()
153 encrypted_zip_file_ = test_data_dir_.AppendASCII("test_encrypted.zip"); in SetUp()
154 evil_zip_file_ = test_data_dir_.AppendASCII("evil.zip"); in SetUp()
155 evil_via_invalid_utf8_zip_file_ = test_data_dir_.AppendASCII( in SetUp()
157 evil_via_absolute_file_name_zip_file_ = test_data_dir_.AppendASCII( in SetUp()
182 *path = path->AppendASCII("third_party"); in GetTestDataDirectory()
183 *path = path->AppendASCII("zlib"); in GetTestDataDirectory()
184 *path = path->AppendASCII("google"); in GetTestDataDirectory()
185 *path = path->AppendASCII("test"); in GetTestDataDirectory()
186 *path = path->AppendASCII("data"); in GetTestDataDirectory()
[all …]
/external/libjpeg-turbo/gtest/
Dtjbench-gtest-wrapper.cpp64 resource_path = resource_path.AppendASCII("third_party"); in SetUpTestSuite()
65 resource_path = resource_path.AppendASCII("libjpeg_turbo"); in SetUpTestSuite()
66 resource_path = resource_path.AppendASCII("testimages"); in SetUpTestSuite()
67 resource_path = resource_path.AppendASCII("testorig.ppm"); in SetUpTestSuite()
71 target_path = target_path.AppendASCII("testout_tile.ppm"); in SetUpTestSuite()
98 test_image_path = test_image_path.AppendASCII(std::get<0>(GetParam())); in TEST_P()
134 resource_path = resource_path.AppendASCII("third_party"); in SetUpTestSuite()
135 resource_path = resource_path.AppendASCII("libjpeg_turbo"); in SetUpTestSuite()
136 resource_path = resource_path.AppendASCII("testimages"); in SetUpTestSuite()
137 resource_path = resource_path.AppendASCII("testorig.ppm"); in SetUpTestSuite()
[all …]
Ddjpeg-gtest-wrapper.cpp70 output_path = output_path.AppendASCII(std::get<1>(GetParam())); in TEST_P()
103 output_path = output_path.AppendASCII("testout_420_islow_256.bmp"); in TEST()
132 output_path = output_path.AppendASCII("testout_420_islow_565.bmp"); in TEST()
162 output_path = output_path.AppendASCII("testout_420_islow_565D.bmp"); in TEST()
190 output_path = output_path.AppendASCII("testout_420m_islow_565.bmp"); in TEST()
221 output_path = output_path.AppendASCII("testout_420m_islow_565D.bmp"); in TEST()
250 output_path = output_path.AppendASCII("testout_420_islow_skip15_31.ppm"); in TEST()
280 output_path = output_path.AppendASCII( in TEST()
310 output_path = output_path.AppendASCII( in TEST()
340 output_path = output_path.AppendASCII("testout_420m_ifast_ari.ppm"); in TEST()
[all …]
Dgtest-utils.cpp44 *path = path->AppendASCII("third_party"); in GetTestFilePath()
45 *path = path->AppendASCII("libjpeg_turbo"); in GetTestFilePath()
46 *path = path->AppendASCII("testimages"); in GetTestFilePath()
47 *path = path->AppendASCII(filename); in GetTestFilePath()
Dcjpeg-gtest-wrapper.cpp38 output_path = output_path.AppendASCII("testout_rgb_islow.jpg"); in TEST()
67 output_path = output_path.AppendASCII("testout_422_ifast_opt.jpg"); in TEST()
98 output_path = output_path.AppendASCII("testout_420_q100_ifast_prog.jpg"); in TEST()
131 output_path = output_path.AppendASCII("testout_gray_islow.jpg"); in TEST()
158 output_path = output_path.AppendASCII("testout_420s_ifast_opt.jpg"); in TEST()
189 output_path = output_path.AppendASCII("testout_3x2_float_prog.jpg"); in TEST()
222 output_path = output_path.AppendASCII("testout_3x2_ifast_prog.jpg"); in TEST()
252 output_path = output_path.AppendASCII("testout_420_islow_ari.jpg"); in TEST()
279 output_path = output_path.AppendASCII("testout_444_islow_progari.jpg"); in TEST()
309 output_path = output_path.AppendASCII("testout_444_islow_ari.jpg"); in TEST()
[all …]
Djpegtran-gtest-wrapper.cpp38 output_path = output_path.AppendASCII("testout_rgb_islow2.jpg"); in TEST()
66 output_path = output_path.AppendASCII("testout_crop.jpg"); in TEST()
95 output_path = output_path.AppendASCII("testout_420_islow_ari2.jpg"); in TEST()
119 output_path = output_path.AppendASCII("testout_420_islow.jpg"); in TEST()
/external/libchrome/base/
Dpath_service_unittest.cc134 FilePath fake_cache_dir(temp_dir.GetPath().AppendASCII("cache")); in TEST_F()
140 FilePath fake_cache_dir2(temp_dir.GetPath().AppendASCII("cache2")); in TEST_F()
155 MakeAbsoluteFilePath(temp_dir.GetPath()).AppendASCII("non_existent")); in TEST_F()
186 FilePath fake_cache_dir1(temp_dir.GetPath().AppendASCII("1")); in TEST_F()
189 ASSERT_EQ(1, WriteFile(fake_cache_dir1.AppendASCII("t1"), ".", 1)); in TEST_F()
191 FilePath fake_cache_dir2(temp_dir.GetPath().AppendASCII("2")); in TEST_F()
194 ASSERT_EQ(1, WriteFile(fake_cache_dir2.AppendASCII("t2"), ".", 1)); in TEST_F()
200 EXPECT_TRUE(PathExists(result.AppendASCII("t1"))); in TEST_F()
202 EXPECT_TRUE(PathExists(result.AppendASCII("t2"))); in TEST_F()
/external/libchrome/base/test/metrics/
Dhistogram_enum_reader.cc92 base::FilePath enums_xml = src_root.AppendASCII("tools") in ReadEnumFromEnumsXml()
93 .AppendASCII("metrics") in ReadEnumFromEnumsXml()
94 .AppendASCII("histograms") in ReadEnumFromEnumsXml()
95 .AppendASCII("enums.xml"); in ReadEnumFromEnumsXml()
/external/libbrillo/brillo/
Dscoped_umask_test.cc42 CheckFilePermissions(tmpdir.GetPath().AppendASCII("file1.txt"), in TEST()
48 CheckFilePermissions(tmpdir.GetPath().AppendASCII("file2.txt"), in TEST()
53 CheckFilePermissions(tmpdir.GetPath().AppendASCII("file3.txt"), in TEST()
/external/libchrome/components/policy/core/common/
Dpreg_parser_unittest.cc95 test_data_dir_ = test_data_dir_.AppendASCII(kRegistryPolBaseDir); in SetUp()
119 base::FilePath test_file(test_data_dir_.AppendASCII(kRegistryPolFile)); in TEST_F()
146 base::FilePath test_file(test_data_dir_.AppendASCII(kRegistryPolFile)); in TEST_F()
167 test_data_dir_.AppendASCII(kInvalidEncodingRegistryPolFile)); in TEST_F()
182 test_data_dir_.AppendASCII(kNonExistingRegistryPolFile)); in TEST_F()
/external/libchrome/mojo/public/cpp/base/
Dfile_unittest.cc19 temp_dir.GetPath().AppendASCII("test_file.txt"), in TEST()
42 base::FilePath path = temp_dir.GetPath().AppendASCII("async_test_file.txt"); in TEST()
63 temp_dir.GetPath().AppendASCII("test_file.txt"), in TEST()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc152 FilePath temp_file(tempdir.GetPath().AppendASCII("test.json")); in TEST()
176 FilePath temp_file(tempdir.GetPath().AppendASCII("test.json")); in TEST()
408 original_file_path = original_file_path.AppendASCII("serializer_test.json"); in TEST_F()
436 temp_dir_.GetPath().AppendASCII("test_output.js"); in TEST_F()
452 original_file_path.AppendASCII("serializer_nested_test.json"); in TEST_F()
462 temp_dir_.GetPath().AppendASCII("test_output.json"); in TEST_F()
478 source_file_path.AppendASCII("serializer_test_nowhitespace.json"); in TEST_F()
/external/libchrome/base/metrics/
Dpersistent_histogram_storage.cc56 FilePath storage_dir = storage_base_dir_.AppendASCII(allocator->Name()); in ~PersistentHistogramStorage()
89 .AppendASCII(StringPrintf("%04d%02d%02d%02d%02d%02d", exploded.year, in ~PersistentHistogramStorage()
/external/libchrome/base/process/
Dmemory_linux.cc77 FilePath oom_file = oom_path.AppendASCII("oom_score_adj"); in AdjustOOMScore()
88 oom_file = oom_path.AppendASCII("oom_adj"); in AdjustOOMScore()
/external/libchrome/libchrome_tools/patch/
Dmojom_disable_trace_and_mem_dump.patch157 - .AppendASCII(entry.interface_name)
158 - .AppendASCII(base::NumberToString(identifier));
168 - base::FilePath path = message_directory.AppendASCII(filename);
184 +// .AppendASCII(entry.interface_name)
185 +// .AppendASCII(base::NumberToString(identifier));
195 +// base::FilePath path = message_directory.AppendASCII(filename);
Dpath_service.patch54 path = path.AppendASCII("json");
65 original_file_path = original_file_path.AppendASCII("serializer_test.json");
/external/libchrome/base/android/
Dcontent_uri_utils_unittest.cc20 data_dir = data_dir.AppendASCII("file_util"); in TEST()

123