Home
last modified time | relevance | path

Searched refs:AsUTF8Unsafe (Results 1 – 25 of 190) sorted by relevance

12345678

/external/chromium_org/chrome/browser/chromeos/file_system_provider/
Dmount_path_util_unittest.cc106 EXPECT_EQ(expected, result.AsUTF8Unsafe()); in TEST_F()
150 EXPECT_EQ(kFilePath.AsUTF8Unsafe(), parser.file_path().AsUTF8Unsafe()); in TEST_F()
173 EXPECT_EQ(kFilePath.AsUTF8Unsafe(), parser.file_path().AsUTF8Unsafe()); in TEST_F()
238 EXPECT_EQ(kFilePath.AsUTF8Unsafe(), parser.file_path().AsUTF8Unsafe()); in TEST_F()
262 EXPECT_EQ(kFilePath.AsUTF8Unsafe(), parser.file_path().AsUTF8Unsafe()); in TEST_F()
283 EXPECT_EQ(kFilePath.AsUTF8Unsafe(), parser.file_path().AsUTF8Unsafe()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/
Dsearch_metadata_unittest.cc195 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
217 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
239 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
241 result->at(1).path.AsUTF8Unsafe()); in TEST_F()
262 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
280 EXPECT_EQ("drive/root/Directory 1", result->at(0).path.AsUTF8Unsafe()); in TEST_F()
300 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
336 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
357 result->at(0).path.AsUTF8Unsafe()); in TEST_F()
359 result->at(1).path.AsUTF8Unsafe()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_manager_private_apitest.cc155 "mount_path1").AsUTF8Unsafe(), in InitMountPoints()
163 "mount_path2").AsUTF8Unsafe(), in InitMountPoints()
171 "mount_path3").AsUTF8Unsafe(), in InitMountPoints()
179 "mount_path3/archive.zip").AsUTF8Unsafe(), in InitMountPoints()
181 "archive_mount_path").AsUTF8Unsafe(), in InitMountPoints()
255 "archive_mount_path").AsUTF8Unsafe(), in IN_PROC_BROWSER_TEST_F()
Dprivate_api_mount.cc158 SetResult(new base::StringValue(file_path.AsUTF8Unsafe())); in RunAfterMarkCacheFileAsMounted()
164 file_path.AsUTF8Unsafe(), in RunAfterMarkCacheFileAsMounted()
165 base::FilePath(display_name.Extension()).AsUTF8Unsafe(), in RunAfterMarkCacheFileAsMounted()
166 display_name.AsUTF8Unsafe(), in RunAfterMarkCacheFileAsMounted()
243 log_string += volume_info_list[i].mount_path.AsUTF8Unsafe(); in RunAsync()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dsearch_operation_unittest.cc46 EXPECT_TRUE(expected_results.count(results->at(i).path.AsUTF8Unsafe())) in TEST_F()
47 << results->at(i).path.AsUTF8Unsafe(); in TEST_F()
86 EXPECT_TRUE(expected_results.count(results->at(i).path.AsUTF8Unsafe())) in TEST_F()
87 << results->at(i).path.AsUTF8Unsafe(); in TEST_F()
107 EXPECT_TRUE(expected_results.count(results->at(i).path.AsUTF8Unsafe())) in TEST_F()
108 << results->at(i).path.AsUTF8Unsafe(); in TEST_F()
Dmove_operation.cc45 base::FilePath(dest_path.Extension()).AsUTF8Unsafe(); in UpdateLocalState()
52 dest_path.BaseName().RemoveExtension().AsUTF8Unsafe() : in UpdateLocalState()
53 dest_path.BaseName().AsUTF8Unsafe(); in UpdateLocalState()
/external/chromium_org/chrome/browser/sync_file_system/
Dsyncable_file_system_util_unittest.cc54 CreateFileSystemURL(kSyncableFileSystemRootURI + path.AsUTF8Unsafe()); in TEST()
68 CreateNormalizedFilePath(kPath).AsUTF8Unsafe(); in TEST()
91 kNonRegisteredFileSystemRootURI + normalized_path.AsUTF8Unsafe(); in TEST()
93 kNonSyncableFileSystemRootURI + normalized_path.AsUTF8Unsafe(); in TEST()
/external/chromium_org/chrome/common/media_galleries/
Dpicasa_test_util.cc63 filename_vector.push_back(test_folder_1_path.AsUTF8Unsafe()); in WriteTestAlbumTable()
66 filename_vector.push_back(test_folder_2_path.AsUTF8Unsafe()); in WriteTestAlbumTable()
70 name_vector.push_back(test_folder_1_path.BaseName().AsUTF8Unsafe()); in WriteTestAlbumTable()
73 name_vector.push_back(test_folder_2_path.BaseName().AsUTF8Unsafe()); in WriteTestAlbumTable()
/external/chromium_org/third_party/leveldatabase/
Denv_chromium_unittest.cc198 Status status = DB::Open(options, dir.AsUTF8Unsafe(), &db); in TEST()
216 status = leveldb::DB::Open(options, dir.AsUTF8Unsafe(), &db); in TEST()
229 options.env->DeleteFile(ldb_file.AsUTF8Unsafe()); in TEST()
243 leveldb::Status status = env->GetChildren(dir.AsUTF8Unsafe(), &result); in TEST()
254 FILE* f = fopen(new_file_dir.AsUTF8Unsafe().c_str(), "w"); in TEST()
262 leveldb::Status status = env->GetChildren(dir.AsUTF8Unsafe(), &result); in TEST()
267 status = env->GetChildren(dir.AsUTF8Unsafe(), &result); in TEST()
/external/chromium_org/content/browser/download/
Ddownload_net_log_parameters.cc81 dict->SetString("old_filename", old_filename->AsUTF8Unsafe()); in ItemRenamedNetLogCallback()
82 dict->SetString("new_filename", new_filename->AsUTF8Unsafe()); in ItemRenamedNetLogCallback()
155 dict->SetString("file_name", file_name->AsUTF8Unsafe()); in FileOpenedNetLogCallback()
177 dict->SetString("old_filename", old_filename->AsUTF8Unsafe()); in FileRenamedNetLogCallback()
178 dict->SetString("new_filename", new_filename->AsUTF8Unsafe()); in FileRenamedNetLogCallback()
/external/chromium_org/chrome/browser/chromeos/file_system_provider/operations/
Dcopy_entry.cc39 options.source_path = source_path_.AsUTF8Unsafe(); in Execute()
40 options.target_path = target_path_.AsUTF8Unsafe(); in Execute()
Dmove_entry.cc39 options.source_path = source_path_.AsUTF8Unsafe(); in Execute()
40 options.target_path = target_path_.AsUTF8Unsafe(); in Execute()
/external/chromium_org/chrome/browser/chromeos/fileapi/
Dexternal_file_url_util_unittest.cc78 EXPECT_EQ(url.virtual_path().AsUTF8Unsafe(), in TEST_F()
80 .AsUTF8Unsafe()); in TEST_F()
/external/chromium_org/chrome/browser/
Dload_library_perf_test.cc26 library_name.AsUTF8Unsafe(), in MeasureSizeAndTimeToLoadNativeLibrary()
40 library_name.AsUTF8Unsafe(), in MeasureSizeAndTimeToLoadNativeLibrary()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Diapps_finder_impl_win.cc55 callback.Run(library_file.AsUTF8Unsafe()); in TryDefaultLocation()
67 callback.Run(library_file.AsUTF8Unsafe()); in FinishedParsingPrefXML()
/external/chromium_org/chrome/browser/policy/test/
Dlocal_policy_test_server.cc241 arguments->SetString("config-file", config_file_.AsUTF8Unsafe()); in GenerateAdditionalArguments()
243 arguments->SetString("policy-key", policy_key_.AsUTF8Unsafe()); in GenerateAdditionalArguments()
245 arguments->SetString("data-dir", server_data_dir_.path().AsUTF8Unsafe()); in GenerateAdditionalArguments()
256 arguments->SetString("client-state", client_state_file.AsUTF8Unsafe()); in GenerateAdditionalArguments()
/external/chromium_org/chrome/browser/download/
Ddownload_target_determiner.cc223 DVLOG(20) << "Generated virtual path: " << virtual_path_.AsUTF8Unsafe(); in DoGenerateTargetPath()
257 DVLOG(20) << "Extension suggested path: " << suggested_path.AsUTF8Unsafe(); in NotifyExtensionsDone()
303 DVLOG(20) << "Reserved path: " << path.AsUTF8Unsafe() in ReserveVirtualPathDone()
333 DVLOG(20) << "User selected path:" << virtual_path.AsUTF8Unsafe(); in PromptUserForDownloadPathDone()
364 DVLOG(20) << "Local path: " << local_path.AsUTF8Unsafe(); in DetermineLocalPathDone()
711 DVLOG(20) << "Scheduling callback. Virtual:" << virtual_path_.AsUTF8Unsafe() in ScheduleCallbackAndDeleteSelf()
712 << " Local:" << local_path_.AsUTF8Unsafe() in ScheduleCallbackAndDeleteSelf()
713 << " Intermediate:" << intermediate_path_.AsUTF8Unsafe() in ScheduleCallbackAndDeleteSelf()
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dwrite_from_file_operation_unittest.cc31 test_utils_.GetDevicePath().AsUTF8Unsafe()); in TEST_F()
54 test_utils_.GetDevicePath().AsUTF8Unsafe()); in TEST_F()
Dimage_writer_private_apitest.cc40 expected1->storage_unit_id = test_utils_.GetDevicePath().AsUTF8Unsafe(); in SetUpInProcessBrowserTestFixture()
51 expected2->storage_unit_id = test_utils_.GetDevicePath().AsUTF8Unsafe(); in SetUpInProcessBrowserTestFixture()
Doperation_manager_unittest.cc114 test_utils_.GetDevicePath().AsUTF8Unsafe(), in TEST_F()
139 test_utils_.GetDevicePath().AsUTF8Unsafe(), in TEST_F()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_preferences_unittest.cc1139 path.AsUTF8Unsafe()); in TEST_F()
1153 StorageInfo::MakeDeviceId(StorageInfo::ITUNES, path.AsUTF8Unsafe()); in TEST_F()
1164 StorageInfo::MakeDeviceId(StorageInfo::PICASA, path.AsUTF8Unsafe()); in TEST_F()
1177 path.AsUTF8Unsafe()); in TEST_F()
1291 EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("unique")).AsUTF8Unsafe(), in TEST()
1330 if (got_music_path && unique_id == music_path.AsUTF8Unsafe()) { in TEST_F()
1334 } else if (got_pictures_path && unique_id == pictures_path.AsUTF8Unsafe()) { in TEST_F()
1338 } else if (got_videos_path && unique_id == videos_path.AsUTF8Unsafe()) { in TEST_F()
1389 EXPECT_EQ(old_music_path.AsUTF8Unsafe(), unique_id); in TEST_F()
1394 EXPECT_EQ(old_pictures_path.AsUTF8Unsafe(), unique_id); in TEST_F()
[all …]
/external/chromium_org/gin/test/
Dfile.cc44 path.AsUTF8Unsafe()); in GetSourceRootDirectory()
59 names.push_back(name.BaseName().AsUTF8Unsafe()); in GetFilesInDirectory()
/external/chromium_org/storage/browser/fileapi/
Disolated_context.cc64 std::string utf8name = base::FilePath(name).AsUTF8Unsafe(); in AddPath()
71 base::FilePath(name).RemoveExtension().AsUTF8Unsafe(); in AddPath()
73 base::FilePath(base::FilePath(name).Extension()).AsUTF8Unsafe(); in AddPath()
237 name = base::FilePath(GetRegisterNameForPath(path)).AsUTF8Unsafe(); in RegisterFileSystemForPath()
337 std::string name = base::FilePath(*component_iter++).AsUTF8Unsafe(); in CrackVirtualPath()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dlocal_to_remote_syncer.cc109 url_.path().AsUTF8Unsafe().c_str(), in RunPreflight()
328 target_path_.AsUTF8Unsafe().c_str(), in SyncCompleted()
370 remote_details.title() == title.AsUTF8Unsafe() && in HandleConflict()
568 details.title() == title.AsUTF8Unsafe() && in DidUploadExistingFile()
632 title.AsUTF8Unsafe(), in UploadNewFile()
676 title.AsUTF8Unsafe())); in CreateRemoteFolder()
/external/chromium_org/third_party/zlib/google/
Dzip.cc57 std::string str_path = relative_path.AsUTF8Unsafe(); in AddEntryToZip()
129 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(), in ZipWithFilterCallback()

12345678