Home
last modified time | relevance | path

Searched refs:base_path (Results 1 – 25 of 115) sorted by relevance

12345

/external/chromium_org/chrome/browser/ui/webui/
Dprofiler_ui.cc70 base::FilePath base_path; in StartDataRequest() local
71 PathService::Get(base::DIR_SOURCE_ROOT, &base_path); in StartDataRequest()
72 base_path = base_path.AppendASCII("chrome"); in StartDataRequest()
73 base_path = base_path.AppendASCII("browser"); in StartDataRequest()
74 base_path = base_path.AppendASCII("resources"); in StartDataRequest()
75 base_path = base_path.AppendASCII("profiler"); in StartDataRequest()
81 file_path = base_path.AppendASCII(filename); in StartDataRequest()
/external/chromium_org/content/public/test/
Dtest_file_system_context.cc19 const base::FilePath& base_path) { in CreateFileSystemContextForTesting() argument
22 base::MessageLoopProxy::current().get(), base_path)); in CreateFileSystemContextForTesting()
24 quota_manager_proxy, additional_providers.Pass(), base_path); in CreateFileSystemContextForTesting()
31 const base::FilePath& base_path) { in CreateFileSystemContextWithAdditionalProvidersForTesting() argument
40 base_path, in CreateFileSystemContextWithAdditionalProvidersForTesting()
48 const base::FilePath& base_path) { in CreateFileSystemContextWithAutoMountersForTesting() argument
57 base_path, in CreateFileSystemContextWithAutoMountersForTesting()
63 const base::FilePath& base_path) { in CreateIncognitoFileSystemContextForTesting() argument
73 base_path, in CreateIncognitoFileSystemContextForTesting()
Dtest_file_system_context.h25 const base::FilePath& base_path);
33 const base::FilePath& base_path);
39 const base::FilePath& base_path);
43 const base::FilePath& base_path);
/external/chromium_org/chrome/common/extensions/docs/server2/
Dserver_instance.py34 base_path='/'): argument
64 assert base_path.startswith('/') and base_path.endswith('/')
65 self.base_path = base_path
77 self.base_path)
101 def ForTest(file_system=None, file_system_provider=None, base_path='/'): argument
119 base_path=base_path)
Dappengine_url_fetcher.py36 def __init__(self, base_path=None): argument
37 assert base_path is None or not base_path.endswith('/'), base_path
38 self._base_path = base_path
Dfake_url_fetcher.py20 def __init__(self, base_path): argument
21 self._base_path = base_path
102 def __init__(self, file_system, base_path): argument
103 AssertIsDirectory(base_path)
104 self._base_path = base_path
114 def UpdateFS(self, file_system, base_path=None): argument
118 self._base_path = base_path or self._base_path
Dlocal_file_system.py71 def __init__(self, base_path): argument
73 base_path = base_path.replace(os.sep, '/')
74 AssertIsDirectory(base_path)
75 self._base_path = _ConvertToFilepath(base_path)
Dsamples_model.py42 base_path, argument
53 self._base_path = base_path
110 def _MakeSamplesList(self, base_path, files): argument
122 posixpath.join(base_path, js_file)).Get()
163 posixpath.join(base_path, sample_path),
/external/chromium_org/extensions/browser/api/storage/
Dleveldb_settings_storage_factory.cc15 base::FilePath GetDatabasePath(const base::FilePath& base_path, in GetDatabasePath() argument
17 return base_path.AppendASCII(extension_id); in GetDatabasePath()
23 const base::FilePath& base_path, in Create() argument
25 return new LeveldbValueStore(GetDatabasePath(base_path, extension_id)); in Create()
29 const base::FilePath& base_path, in DeleteDatabaseIfExists() argument
31 base::FilePath path = GetDatabasePath(base_path, extension_id); in DeleteDatabaseIfExists()
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/test/
Dcoverage.rake15 unless File.exist?(base_path.join('node_modules'))
35 rm_rf base_path.join('covershot')
36 rm_rf base_path.join('tmp')
41 coverage_path = base_path.join('tmp/coverage')
55 input = base_path.join('tmp/coverage/lib').to_s
56 output = base_path.join('tmp/coverage/lib-cov').to_s
65 coverage_path = base_path.join('tmp/coverage')
100 jasmine_node = base_path.join('node_modules/jasmine-node/bin/jasmine-node').to_s
101 spec = base_path.join('spec').to_s
109 covershot = base_path.join('node_modules/covershot/bin/covershot').to_s
[all …]
/external/chromium_org/ui/ozone/platform/test/
Dtest_window.cc30 base::FilePath base_path = manager_->base_path(); in path() local
31 if (base_path.empty() || base_path == base::FilePath("/dev/null")) in path()
32 return base_path; in path()
35 return base_path.Append(base::IntToString(widget_)); in path()
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/
Dgl-matrix.rb27 File.expand_path GLMatrix.base_path.join('spec/jasmine.yml')
51 env = Sprockets::Environment.new base_path
52 env.append_path base_path.join('src')
56 def base_path method
64 dest = base_path.join dest
72 puts "compiled #{source} to #{dest.relative_path_from base_path}"
81 puts "minified #{source} to #{dest.relative_path_from base_path}"
/external/chromium_org/chrome/installer/mini_installer/
Dmini_installer.cc45 const wchar_t* base_path; member
351 if (!full_path.assign(ctx->base_path) || in OnResourceFound()
381 const wchar_t* base_path, PathString* archive_path, in UnpackBinaryResources() argument
385 if (!setup_dest_path.assign(base_path) || in UnpackBinaryResources()
392 base_path, in UnpackBinaryResources()
527 void DeleteExtractedFiles(const wchar_t* base_path, in DeleteExtractedFiles() argument
533 ::RemoveDirectory(base_path); in DeleteExtractedFiles()
546 bool CreateWorkDir(const wchar_t* base_path, PathString* work_dir) { in CreateWorkDir() argument
547 if (!work_dir->assign(base_path) || !work_dir->append(kTempPrefix)) in CreateWorkDir()
595 PathString base_path; in GetWorkDir() local
[all …]
/external/chromium_org/mojo/services/network/
Dmain.cc26 base::FilePath base_path; in Initialize() local
27 CHECK(PathService::Get(base::DIR_TEMP, &base_path)); in Initialize()
28 base_path = base_path.Append(FILE_PATH_LITERAL("network_service")); in Initialize()
29 context_.reset(new mojo::NetworkContext(base_path)); in Initialize()
Dnetwork_context.cc15 NetworkContext::NetworkContext(const base::FilePath& base_path) { in NetworkContext() argument
21 builder.set_transport_security_persister_path(base_path); in NetworkContext()
24 cache_params.path = base_path.Append(FILE_PATH_LITERAL("Cache")); in NetworkContext()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view_unittest.cc52 std::string base_path() const { return "file:///c:/tmp/"; } in base_path() function in BookmarkEditorViewTest
55 return model_->GetMostRecentlyAddedUserNodeForURL(GURL(base_path() + name)); in GetNode()
134 std::string test_base = base_path(); in AddTestData()
197 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->url()); in TEST_F()
208 SetURLText(UTF8ToUTF16(GURL(base_path() + "new_a").spec())); in TEST_F()
216 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->url()); in TEST_F()
231 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->url()); in TEST_F()
242 SetURLText(UTF8ToUTF16(GURL(base_path() + "new_a").spec())); in TEST_F()
249 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->url()); in TEST_F()
297 SetURLText(UTF8ToUTF16(GURL(base_path() + "a").spec())); in TEST_F()
[all …]
/external/chromium_org/base/files/
Dscoped_temp_dir_unittest.cc66 FilePath base_path; in TEST() local
68 &base_path)); in TEST()
73 EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path)); in TEST()
76 EXPECT_TRUE(base_path.IsParent(test_path)); in TEST()
77 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos); in TEST()
80 base::DeleteFile(base_path, true); in TEST()
Dscoped_temp_dir.cc32 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
37 if (!base::CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
41 if (!base::CreateTemporaryDirInDir(base_path, in CreateUniqueTempDirUnderPath()
/external/chromium_org/content/shell/app/
Dwebkit_test_platform_support_linux.cc32 base::FilePath base_path; in WebKitTestPlatformInitialize() local
33 PathService::Get(base::DIR_MODULE, &base_path); in WebKitTestPlatformInitialize()
35 base_path.Append(FILE_PATH_LITERAL("fonts.conf")))) in WebKitTestPlatformInitialize()
45 if (!gfx::LoadFontIntoFontconfig(base_path.Append(kLocalFonts[i]))) in WebKitTestPlatformInitialize()
/external/chromium_org/tools/grit/grit/gather/
Dchrome_html.py56 base_path, filename, scale_factors, distribution, argument
94 filepath = os.path.join(base_path, filename)
99 scale_path = os.path.split(os.path.join(base_path, filename))
129 src_match, base_path, scale_factors, distribution, argument
152 base_path, filename, scale_factors, distribution,
163 src_match, base_path, scale_factors, distribution, argument
181 lambda m: UrlToImageSet(m, base_path, scale_factors, distribution,
189 src_match, base_path, scale_factors, distribution, argument
198 base_path, filename, scale_factors, distribution,
/external/chromium_org/tools/gyp/pylib/gyp/generator/
Danalyzer.py101 def _AddSources(sources, base_path, base_path_components, result): argument
120 result.append(base_path + source)
125 def _ExtractSourcesFromAction(action, base_path, base_path_components, argument
128 _AddSources(action['inputs'], base_path, base_path_components, results)
144 base_path = posixpath.dirname(_ToLocalPath(toplevel_dir, _ToGypPath(target)))
145 base_path_components = base_path.split('/')
148 if len(base_path):
149 base_path += '/'
152 print 'ExtractSources', target, base_path
156 _AddSources(target_dict['sources'], base_path, base_path_components,
[all …]
/external/chromium_org/chrome/browser/chromeos/display/
Doverscan_calibrator.cc42 SkPath base_path; in DrawTriangle() local
43 base_path.moveTo(0, SkIntToScalar(-kCalibrationArrowHeight)); in DrawTriangle()
44 base_path.lineTo(SkIntToScalar(-kCalibrationArrowHeight), 0); in DrawTriangle()
45 base_path.lineTo(SkIntToScalar(kCalibrationArrowHeight), 0); in DrawTriangle()
46 base_path.close(); in DrawTriangle()
54 base_path.transform(rotate_transform.matrix(), &path); in DrawTriangle()
/external/chromium_org/net/test/url_request/
Durl_request_mock_http_job.cc34 const base::FilePath& base_path, in MockJobInterceptor() argument
37 : base_path_(base_path), in MockJobInterceptor()
92 const base::FilePath& base_path, in AddUrlHandler() argument
97 "http", kMockHostname, CreateInterceptor(base_path, worker_pool)); in AddUrlHandler()
123 const base::FilePath& base_path, in CreateInterceptor() argument
126 new MockJobInterceptor(base_path, false, worker_pool)); in CreateInterceptor()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dnative_process_launcher_posix.cc22 base::FilePath base_path; in FindManifestInDir() local
23 if (PathService::Get(dir_key, &base_path)) { in FindManifestInDir()
24 base::FilePath path = base_path.Append(host_name + ".json"); in FindManifestInDir()
/external/jsoncpp/test/
Drunjsontests.py76 base_path = os.path.splitext(input_path)[0]
77 actual_output = safeReadFile( base_path + '.actual' )
78 actual_rewrite_output = safeReadFile( base_path + '.actual-rewrite' )
79 file(base_path + '.process-output','wt').write( process_output )

12345