Home
last modified time | relevance | path

Searched refs:Database (Results 1 – 25 of 224) sorted by relevance

123456789

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DDatabase.cpp60 PassRefPtrWillBeRawPtr<Database> Database::create(ExecutionContext*, PassRefPtrWillBeRawPtr<Databas… in create()
66 return static_cast<Database*>(backend.get()); in create()
69 Database::Database(DatabaseContext* databaseContext, in Database() function in WebCore::Database
82 Database::~Database() in ~Database()
86 void Database::trace(Visitor* visitor) in trace()
92 Database* Database::from(DatabaseBackend* backend) in from()
94 return static_cast<Database*>(backend->m_frontend); in from()
97 PassRefPtrWillBeRawPtr<DatabaseBackend> Database::backend() in backend()
102 String Database::version() const in version()
107 void Database::closeImmediately() in closeImmediately()
[all …]
DInspectorDatabaseResource.h42 class Database; variable
47 …static PassRefPtrWillBeRawPtr<InspectorDatabaseResource> create(PassRefPtrWillBeRawPtr<Database>, …
50 void bind(InspectorFrontend::Database*);
51 Database* database() { return m_database.get(); } in database()
52 void setDatabase(PassRefPtrWillBeRawPtr<Database> database) { m_database = database; } in setDatabase()
56 …InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& na…
58 RefPtrWillBeMember<Database> m_database;
DInspectorDatabaseResource.cpp41 …abaseResource> InspectorDatabaseResource::create(PassRefPtrWillBeRawPtr<Database> database, const … in create()
46 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtrWillBeRawPtr<Database> database, con… in InspectorDatabaseResource()
60 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend) in bind()
62 RefPtr<TypeBuilder::Database::Database> jsonObject = TypeBuilder::Database::Database::create() in bind()
DSQLTransaction.h44 class Database; variable
56 …static PassRefPtrWillBeRawPtr<SQLTransaction> create(Database*, PassOwnPtr<SQLTransactionCallback>,
66 Database* database() { return m_database.get(); } in database()
71 SQLTransaction(Database*, PassOwnPtr<SQLTransactionCallback>,
100 RefPtrWillBeMember<Database> m_database;
DDatabase.h51 class Database FINAL : public DatabaseBackend, public DatabaseBase, public ScriptWrappable {
53 virtual ~Database();
63 static Database* from(DatabaseBackend*);
75 Database(DatabaseContext*, const String& name,
78 …static PassRefPtrWillBeRawPtr<Database> create(ExecutionContext*, PassRefPtrWillBeRawPtr<DatabaseB…
DInspectorDatabaseAgent.h41 class Database; variable
70 …void didOpenDatabase(PassRefPtrWillBeRawPtr<Database>, const String& domain, const String& name, c…
74 Database* databaseForId(const String& databaseId);
77 InspectorFrontend::Database* m_frontend;
DSQLStatement.h42 class Database; variable
50 static PassOwnPtrWillBeRawPtr<SQLStatement> create(Database*,
62 … SQLStatement(Database*, PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>);
DDatabaseManager.cpp72 …static PassOwnPtr<DatabaseCreationCallbackTask> create(PassRefPtrWillBeRawPtr<Database> database, … in create()
83 …DatabaseCreationCallbackTask(PassRefPtrWillBeRawPtr<Database> database, PassOwnPtr<DatabaseCallbac… in DatabaseCreationCallbackTask()
89 RefPtrWillBePersistent<Database> m_database;
210 PassRefPtrWillBeRawPtr<Database> DatabaseManager::openDatabase(ExecutionContext* context, in openDatabase()
223 RefPtrWillBeRawPtr<Database> database = Database::create(context, backend); in openDatabase()
DDatabaseCallback.h36 class Database; variable
42 virtual bool handleEvent(Database*) = 0;
DInspectorDatabaseAgent.cpp64 RefPtr<TypeBuilder::Database::Error> errorObject = TypeBuilder::Database::Error::create() in reportTransactionFailed()
194 void InspectorDatabaseAgent::didOpenDatabase(PassRefPtrWillBeRawPtr<Database> database, const Strin… in didOpenDatabase()
269 Database* database = databaseForId(databaseId); in getDatabaseTableNames()
287 Database* database = databaseForId(databaseId); in executeSQL()
308 Database* InspectorDatabaseAgent::databaseForId(const String& databaseId) in databaseForId()
DDOMWindowWebDatabase.h39 class Database; variable
46 …static PassRefPtrWillBeRawPtr<Database> openDatabase(LocalDOMWindow&, const String& name, const St…
DDatabaseTask.cpp121 Database::from(database())->close(); in doPerformTask()
135 : DatabaseTask(Database::from(transaction->database()), 0) in DatabaseTransactionTask()
181 m_tableNames = Database::from(database())->performGetTableNames(); in doPerformTask()
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/
Dperformance_monitor_ui_util.h13 typedef std::vector<Database::MetricVector> VectorOfMetricVectors;
32 const Database::MetricVector* metrics,
46 virtual scoped_ptr<Database::MetricVector> AggregateInterval(
48 Database::MetricVector::const_iterator* metric,
49 const Database::MetricVector::const_iterator& metric_end,
58 virtual scoped_ptr<Database::MetricVector> AggregateInterval(
60 Database::MetricVector::const_iterator* metric,
61 const Database::MetricVector::const_iterator& metric_end,
69 virtual scoped_ptr<Database::MetricVector> AggregateInterval(
71 Database::MetricVector::const_iterator* metric,
[all …]
Dperformance_monitor_ui_util.cc40 const Database::MetricVector* metrics, in AggregateMetrics()
46 Database::MetricVector::const_iterator metric = metrics->begin(); in AggregateMetrics()
70 scoped_ptr<Database::MetricVector> NoAggregation::AggregateInterval( in AggregateInterval()
72 Database::MetricVector::const_iterator* metric, in AggregateInterval()
73 const Database::MetricVector::const_iterator& metric_end, in AggregateInterval()
77 scoped_ptr<Database::MetricVector> aggregated_series( in AggregateInterval()
78 new Database::MetricVector()); in AggregateInterval()
86 scoped_ptr<Database::MetricVector> MedianAggregation::AggregateInterval( in AggregateInterval()
88 Database::MetricVector::const_iterator* metric, in AggregateInterval()
89 const Database::MetricVector::const_iterator& metric_end, in AggregateInterval()
[all …]
Dperformance_monitor_ui_util_unittest.cc21 scoped_ptr<Database::MetricVector> AggregateSingleInterval( in AggregateSingleInterval()
23 const Database::MetricVector* metrics, in AggregateSingleInterval()
28 Database::MetricVector::const_iterator metric = metrics->begin(); in AggregateSingleInterval()
45 return scoped_ptr<Database::MetricVector>(); in AggregateSingleInterval()
53 Database::MetricVector metric_vector; in TEST_F()
59 scoped_ptr<Database::MetricVector> aggregated_metric = in TEST_F()
80 Database::MetricVector metric_vector; in TEST_F()
82 Database::MetricVector aggregated_metric = in TEST_F()
110 Database::MetricVector metric_vector; in TEST_F()
119 Database::MetricVector aggregated_metric = in TEST_F()
[all …]
/external/chromium_org/chrome/browser/performance_monitor/
Ddatabase_unittest.cc32 explicit DatabaseTestHelper(Database* database) : database_(database) { } in DatabaseTestHelper()
79 Database* database_;
83 class TestingClock : public Database::Clock {
104 db_ = Database::Create(temp_dir_.path()); in PerformanceMonitorDatabaseEventTest()
106 db_->set_clock(scoped_ptr<Database::Clock>(clock_)); in PerformanceMonitorDatabaseEventTest()
122 scoped_ptr<Database> db_;
123 Database::Clock* clock_;
156 db_ = Database::Create(temp_dir_.path()); in PerformanceMonitorDatabaseMetricTest()
158 db_->set_clock(scoped_ptr<Database::Clock>(clock_)); in PerformanceMonitorDatabaseMetricTest()
182 scoped_ptr<Database> db_;
[all …]
Ddatabase.cc70 const char Database::kDatabaseSequenceToken[] =
84 base::Time Database::SystemClock::GetTime() { in GetTime()
89 scoped_ptr<Database> Database::Create(base::FilePath path) { in Create()
95 scoped_ptr<Database> database; in Create()
98 database.reset(new Database(path)); in Create()
106 bool Database::AddStateValue(const std::string& key, const std::string& value) { in AddStateValue()
113 std::string Database::GetStateValue(const std::string& key) { in GetStateValue()
120 bool Database::AddEvent(const Event& event) { in AddEvent()
130 std::vector<TimeRange> Database::GetActiveIntervals(const base::Time& start, in GetActiveIntervals()
160 Database::EventVector Database::GetEvents(EventType type, in GetEvents()
[all …]
Dperformance_monitor_browsertest.cc131 const Database::EventVector& events) { in CheckEventTypes()
143 const Database::EventVector& events, in CheckExtensionEvents()
194 void GetEventsOnBackgroundThread(Database::EventVector* events) { in GetEventsOnBackgroundThread()
207 Database::EventVector GetEvents() { in GetEvents()
213 Database::EventVector events; in GetEvents()
215 Database::kDatabaseSequenceToken, in GetEvents()
225 void GetStatsOnBackgroundThread(Database::MetricVector* metrics, in GetStatsOnBackgroundThread()
233 Database::MetricVector GetStats(MetricType type) { in GetStats()
237 Database::MetricVector metrics; in GetStats()
239 Database::kDatabaseSequenceToken, in GetStats()
[all …]
Ddatabase.h99 class Database {
118 virtual ~Database();
120 static scoped_ptr<Database> Create(base::FilePath path);
252 explicit Database(const base::FilePath& path);
318 DISALLOW_COPY_AND_ASSIGN(Database);
Dperformance_monitor.h35 class Database; variable
95 Database* database() { return database_.get(); } in database()
195 scoped_ptr<Database> database_;
Dperformance_monitor.cc88 void DeleteDatabaseOnBackgroundThread(Database* database) { in DeleteDatabaseOnBackgroundThread()
112 Database::kDatabaseSequenceToken, in ~PerformanceMonitor()
174 database_ = Database::Create(database_path_); in InitOnBackgroundThread()
200 Database::kDatabaseSequenceToken, in FinishInit()
273 Database::kDatabaseSequenceToken, in CheckForUncleanExits()
335 Database::kDatabaseSequenceToken, in AddEvent()
427 Database::kDatabaseSequenceToken, in UpdateLiveProfiles()
466 Database::kDatabaseSequenceToken, in GatherMetricsMapOnIOThread()
625 Database::kDatabaseSequenceToken, in Observe()
640 Database::kDatabaseSequenceToken, in Observe()
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp45 std::unique_ptr<CompilationDatabase> Database( in getAllFiles() local
47 if (!Database) { in getAllFiles()
51 return Database->getAllFiles(); in getAllFiles()
56 std::unique_ptr<CompilationDatabase> Database( in getAllCompileCommands() local
58 if (!Database) { in getAllCompileCommands()
62 return Database->getAllCompileCommands(); in getAllCompileCommands()
118 std::unique_ptr<CompilationDatabase> Database( in findCompileArgsInJsonDatabase() local
120 if (!Database) in findCompileArgsInJsonDatabase()
122 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
404 FixedCompilationDatabase Database(".", CommandLine); in TEST() local
[all …]
/external/clang/include/clang/Tooling/
DJSONCompilationDatabase.h84 JSONCompilationDatabase(llvm::MemoryBuffer *Database) in JSONCompilationDatabase() argument
85 : Database(Database), YAMLStream(Database->getBuffer(), SM) {} in JSONCompilationDatabase()
107 std::unique_ptr<llvm::MemoryBuffer> Database; variable
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp125 std::unique_ptr<CompilationDatabase> Database( in loadFromDirectory() local
127 if (!Database) in loadFromDirectory()
129 return Database.release(); in loadFromDirectory()
153 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromFile() local
155 if (!Database->parse(ErrorMessage)) in loadFromFile()
157 return Database.release(); in loadFromFile()
165 std::unique_ptr<JSONCompilationDatabase> Database( in loadFromBuffer() local
167 if (!Database->parse(ErrorMessage)) in loadFromBuffer()
169 return Database.release(); in loadFromBuffer()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DDatabase.js37 WebInspector.Database = function(model, id, domain, name, version) class in WebInspector
46 WebInspector.Database.prototype = {
203 this._model._addDatabase(new WebInspector.Database(

123456789