HomeSort by relevance Sort by last modified time
    Searched refs:Rows (Results 1 - 16 of 16) sorted by null

  /external/chromium/chrome/browser/
remove_rows_table_model.h 13 // A table model that also supports removing rows. Used for example for the
17 typedef std::set<size_t> Rows;
19 // Returns whether or not the rows can be removed.
20 virtual bool CanRemoveRows(const Rows& rows) const = 0;
22 // Remove the rows from the table.
23 virtual void RemoveRows(const Rows& rows) = 0;
25 // Removes all the rows.
plugin_exceptions_table_model.h 32 virtual bool CanRemoveRows(const Rows& rows) const;
33 virtual void RemoveRows(const Rows& rows);
plugin_exceptions_table_model.cc 29 bool PluginExceptionsTableModel::CanRemoveRows(const Rows& rows) const {
30 return !rows.empty();
33 void PluginExceptionsTableModel::RemoveRows(const Rows& rows) {
36 // Iterate over the rows starting with the highest ones so we can delete
38 for (Rows::const_reverse_iterator it = rows.rbegin();
39 it != rows.rend(); ++it) {
plugin_exceptions_table_model_unittest.cc 165 RemoveRowsTableModel::Rows rows; local
166 rows.insert(1);
167 table_model_->RemoveRows(rows);
179 RemoveRowsTableModel::Rows rows; local
180 rows.insert(0);
181 table_model_->RemoveRows(rows);
197 rows.clear();
198 rows.insert(0)
    [all...]
  /external/chromium/chrome/browser/geolocation/
geolocation_exceptions_table_model.h 25 // Return whether the given set of rows can be removed. A parent with setting
28 virtual bool CanRemoveRows(const Rows& rows) const;
35 virtual void RemoveRows(const Rows& rows);
geolocation_exceptions_table_model.cc 78 const Rows& rows) const {
79 for (Rows::const_iterator i(rows.begin()); i != rows.end(); ++i) {
85 if (!rows.count(j))
90 return !rows.empty();
93 void GeolocationExceptionsTableModel::RemoveRows(const Rows& rows) {
94 for (Rows::const_reverse_iterator i(rows.rbegin()); i != rows.rend(); ++i)
    [all...]
geolocation_exceptions_table_model_unittest.cc 65 GeolocationExceptionsTableModel::Rows rows; local
66 rows.insert(0U);
67 EXPECT_TRUE(model_->CanRemoveRows(rows));
76 EXPECT_FALSE(model_->CanRemoveRows(rows));
79 rows.clear();
80 rows.insert(1U);
81 rows.insert(2U);
82 EXPECT_TRUE(model_->CanRemoveRows(rows));
91 GeolocationExceptionsTableModel::Rows rows local
    [all...]
  /external/chromium/chrome/browser/notifications/
notification_exceptions_table_model.h 24 virtual bool CanRemoveRows(const Rows& rows) const;
25 virtual void RemoveRows(const Rows& rows);
notification_exceptions_table_model.cc 39 const Rows& rows) const {
40 return !rows.empty();
43 void NotificationExceptionsTableModel::RemoveRows(const Rows& rows) {
45 // This is O(n^2) in rows.size(). Since n is small, that's ok.
46 for (Rows::const_reverse_iterator i(rows.rbegin()); i != rows.rend(); ++i) {
notification_exceptions_table_model_unittest.cc 109 RemoveRowsTableModel::Rows rows; local
110 rows.insert(0); // allowed.com
111 rows.insert(3); // e-allowed2.com
112 model_->RemoveRows(rows);
119 RemoveRowsTableModel::Rows rows; local
120 rows.insert(0);
121 rows.insert(1);
122 rows.insert(2)
    [all...]
  /external/skia/gpu/src/
GrDrawMesh.cpp 32 void GrMesh::init(const SkRect& bounds, int rows, int cols,
34 SkASSERT(rows > 0 && cols > 0);
37 fRows = rows;
41 fCount = (rows + 1) * (cols + 1);
46 fIndexCount = rows * cols * 6;
50 const SkScalar dx = bounds.width() / rows;
53 const SkScalar dtx = texture.width() / rows;
58 for (int x = 0; x <= rows; x++) {
64 if (y < cols && x < rows) {
66 *idx++ = index + rows + 1
    [all...]
  /external/skia/samplecode/
SampleWarp.cpp 136 const int Rows = 16;
138 SkPoint pts[Rows * Cols];
139 patch.evalPatch(pts, Rows, Cols);
150 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
179 const int Rows = 16;
181 SkPoint pts[Rows * Cols];
182 patch.evalPatch(pts, Rows, Cols);
197 SkMeshUtils::Draw(canvas, bm, Rows, Cols, pts, NULL, paint);
209 void init(const SkRect& bounds, int rows, int cols,
214 int rows() const { return fRows; function in class:Mesh
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
gtk_tree.h 44 // Writes all the indexes of selected rows into |out|.
95 // Add all model rows corresponding to the given list store indices to |rows|.
97 RemoveRowsTableModel::Rows* model_rows);
105 // Callback checking whether a row may be selected. We use some rows in the
gtk_tree.cc 118 RemoveRowsTableModel::Rows* model_rows) {
  /external/clang/tools/scan-build/
scan-build 538 var Rows = document.getElementsByTagName("tr");
539 for ( var i = 0 ; i < Rows.length; ++i ) {
540 if (Rows[i].className == RowClass) {
541 Rows[i].style.display = DisplayVal;
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Program.cpp 1295 int rows = VariableRowCount(varying->type); local
1363 int rows = VariableRowCount(varying->type); local
1432 int rows = VariableRowCount(varying->type); local
1570 int rows = VariableRowCount(attribute->type); local
1593 int rows = VariableRowCount(attribute->type); local
1610 int rows = std::max(VariableRowCount(mLinkedAttribute[attributeIndex].type), 1); local
    [all...]

Completed in 382 milliseconds