/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_stream.py | 38 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace
|
test_stream_hixie75.py | 38 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace
|
/external/chromium_org/apps/ |
saved_files_service.h | 39 const base::FilePath& path, 46 // The path to a file entry that the app had permission to access. 47 base::FilePath path; member in struct:apps::SavedFileEntry
|
/external/chromium_org/base/android/ |
path_utils.cc | 19 ScopedJavaLocalRef<jstring> path = local 21 FilePath data_path(ConvertJavaStringToUTF8(path)); 28 ScopedJavaLocalRef<jstring> path = local 30 FilePath data_path(ConvertJavaStringToUTF8(path)); 37 ScopedJavaLocalRef<jstring> path = local 39 FilePath cache_path(ConvertJavaStringToUTF8(path)); 46 ScopedJavaLocalRef<jstring> path = local 48 FilePath downloads_path(ConvertJavaStringToUTF8(path)); 55 ScopedJavaLocalRef<jstring> path = local 57 FilePath library_path(ConvertJavaStringToUTF8(path)); 64 ScopedJavaLocalRef<jstring> path = local [all...] |
/external/chromium_org/base/debug/ |
proc_maps_linux.h | 17 // Describes a region of mapped memory and the path of the file mapped. 30 // Byte offset into |path| of the range mapped into memory. 38 // NOTE: path names aren't guaranteed to point at valid files. For example, 41 std::string path; member in struct:base::debug::MappedMemoryRegion
|
/external/chromium_org/base/files/ |
important_file_writer.h | 54 // Save |data| to |path| in an atomic manner (see the class comment above). 56 static bool WriteFileAtomically(const FilePath& path, 60 // |path| is the name of file to write. 64 ImportantFileWriter(const FilePath& path, 71 const FilePath& path() const { return path_; } function in class:base::ImportantFileWriter 101 // Path being written to.
|
scoped_temp_dir_unittest.cc | 34 FilePath path = dir.Take(); local 35 EXPECT_EQ(path.value(), test_path.value()); 55 test_path = dir.path(); 65 // Create a path which will contain a unique temp path. 74 test_path = dir.path(); 104 FilePath file_path(dir.path().Append(FILE_PATH_LITERAL("temp"))); 110 EXPECT_FALSE(dir.path().empty()); // We should still have a valid path.
|
/external/chromium_org/base/i18n/ |
file_util_icu_unittest.cc | 99 base::FilePath path(kNormalizeFileNameEncodingTestCases[i].original_path); 100 file_util::NormalizeFileNameEncoding(&path); 103 path); local
|
/external/chromium_org/base/nix/ |
xdg_util.cc | 29 FilePath path; local 32 path = FilePath(env_value); 34 path = GetHomeDir().Append(fallback_dir); 35 return path.StripTrailingSeparators(); 39 FilePath path; local 42 path = FilePath(xdg_dir); 45 path = GetHomeDir().Append(fallback_dir); 47 return path.StripTrailingSeparators();
|
/external/chromium_org/base/ |
path_service_unittest.cc | 26 // Returns true if PathService::Get returns true and sets the path parameter 29 base::FilePath path; local 30 bool result = PathService::Get(dir_type, &path); 33 // |result| is true and !path.empty() is the best we can do. 36 // If chromium has never been started on this account, the cache path may not 42 // On the linux try-bots: a path is returned (e.g. /home/chrome-bot/Desktop), 50 // exist by default. At least confirm that the path returned begins with the 51 // Default User's profile path. 57 StartsWith(path.value(), default_profile_path, false)); 68 if (path.ReferencesParent() 84 base::FilePath path; local [all...] |
/external/chromium_org/build/android/pylib/host_driven/ |
test_server.py | 21 import os.path namespace 28 # Otherwise os.path.join() will (correctly) treat them as absolute paths 40 # The correct path is determined based on the build type. E.g. out/Debug for 55 'response': 'Default response given for path' 77 test_server_path: The path (relative to the root src dir) of the server 84 abs_dirs = [os.path.join(src_dir, d) for d in _PYTHONPATH_DIRS] 85 # Add the generated python files to the path 86 abs_dirs.extend([os.path.join(src_dir, constants.GetOutDirectory(), d) 96 # system path for finding includes. 97 cmd = ['python', os.path.join(src_dir, test_server_path) [all...] |
/external/chromium_org/build/toolchain/win/ |
setup_toolchain.py | 14 'Path', 23 if envvar == 'Path': 25 # Chromium rely on python being in the path. Add the path to this 26 # python here so that if it's not in the path when ninja is run 28 result[envvar.upper()] = os.path.dirname(sys.executable) + \ 35 'required to be set to valid path' % required) 39 # VC setup will add a path like this in 32-bit mode: 45 # What we get as the path when running this will depend on which VS setup 49 def FixupPath32(path) 113 path = important_env_vars["PATH"].split(";") variable [all...] |
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_remover_browsertest.cc | 30 void SetUrlRequestMock(const base::FilePath& path) { 31 content::URLRequestMockHTTPJob::AddUrlHandler(path); 40 base::FilePath path; variable 41 PathService::Get(content::DIR_TEST_DATA, &path); 43 BrowserThread::IO, FROM_HERE, base::Bind(&SetUrlRequestMock, path)); 66 prefs::kDownloadDefaultDirectory, downloads_directory.path());
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_change.h | 32 FileChange(const base::FilePath& path, Type type); 36 static FileChangeSet CreateSingleSet(const base::FilePath& path, Type type); 39 return path_ == file_change.path() && type_ == file_change.type(); 43 return (path_ < file_change.path()) || 44 (path_ == file_change.path() && type_ < file_change.type()); 47 const base::FilePath& path() const { return path_; } function in class:drive::FileChange
|
file_system_util_unittest.cc | 26 base::FilePath path; local 28 // Path with alphabets and numbers. 29 path = GetDriveMyDriveRootPath().AppendASCII("foo/bar012.txt"); 30 EXPECT_EQ(path, DriveURLToFilePath(FilePathToDriveURL(path))); 32 // Path with symbols. 33 path = GetDriveMyDriveRootPath().AppendASCII( 35 EXPECT_EQ(path, DriveURLToFilePath(FilePathToDriveURL(path))); 37 // Path with '%' [all...] |
file_task_executor.cc | 44 base::FilePath path = util::ExtractDrivePathFromFileSystemUrl(file_urls[i]); local 45 if (path.empty()) { 49 paths.push_back(path);
|
write_on_cache_file_unittest.cc | 20 FILE_PATH_LITERAL("drive/invalid/path"); 66 base::FilePath path; local 72 google_apis::test_util::CreateCopyResultCallback(&error, &path)); 76 EXPECT_EQ(kLocalPath, path.value()); 87 base::FilePath path; local 94 google_apis::test_util::CreateCopyResultCallback(&error, &path)); 98 EXPECT_TRUE(path.empty());
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
search_operation_unittest.cc | 19 const char* path; member in struct:drive::file_system::__anon6905::SearchResultPair 52 EXPECT_EQ(kExpectedResults[i].path, results->at(i).path.AsUTF8Unsafe()); 72 // system snapshot are expected to be returned in the "right" path. New 92 EXPECT_EQ(kExpectedResultsBeforeLoad[i].path, 93 results->at(i).path.AsUTF8Unsafe()); 116 EXPECT_EQ(kExpectedResultsAfterLoad[i].path, 117 results->at(i).path.AsUTF8Unsafe());
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_mount.cc | 41 const base::FilePath path = file_manager::util::GetLocalPathFromURL( local 44 if (path.empty()) 47 // Check if the source path is under Drive cache directory. 48 if (drive::util::IsUnderDriveMountPoint(path)) { 55 drive::util::ExtractDrivePath(path), 58 this, path.BaseName())); 61 path.BaseName(), drive::FILE_ERROR_OK, path); 77 // Pass back the actual source path of the mount point.
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
install_limiter.h | 39 const base::FilePath& path); 45 const base::FilePath& path); 49 const base::FilePath path; member in struct:extensions::InstallLimiter::DeferredInstall 59 const base::FilePath& path, 68 const base::FilePath& path);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
desktop_notifications_unittest.cc | 31 const std::string& path, 36 params.path = path; 42 const std::string& path) OVERRIDE { 46 params.path = path; 60 std::string path; member in struct:file_manager::__anon6975::RecordedDesktopNotifications::ShowAndHideParams 95 EXPECT_EQ(notification_path, notifications.params()[0].path); 117 EXPECT_EQ(notification_path, notifications.params()[0].path); 123 EXPECT_EQ(notification_path, notifications.params()[0].path); [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
resource_loader_browsertest.cc | 24 base::FilePath path; local 25 EXPECT_TRUE(base::CreateTemporaryFile(&path)); 26 EXPECT_TRUE(file_util::WriteFile(path, content.c_str(), content.size())); 27 return GURL("file:///" + path.AsUTF8Unsafe()); 48 " cr.define = function (path, builder) {"
|
/external/chromium_org/chrome/browser/component_updater/test/ |
test_installer.cc | 64 base::FilePath path; local 65 path = install_directory_.AppendASCII(version.GetString()); 66 base::CreateDirectory(path.DirName()); 67 if (!base::Move(unpack_path, path)) 76 base::FilePath path; local 77 path = install_directory_.AppendASCII(current_version_.GetString()); 78 *installed_file = path.Append(base::FilePath::FromUTF8Unsafe(file));
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_messaging_host_manifest.cc | 93 std::string path; local 95 if (!dictionary->GetString("path", &path) || 96 (path_ = base::FilePath::FromUTF8Unsafe(path)).empty()) { 97 *error_message = "Invalid value for path.";
|
native_messaging_host_manifest.h | 41 const base::FilePath& path() const { return path_; } function in class:extensions::NativeMessagingHostManifest
|